using System.Collections.Generic; using System.Threading.Tasks; namespace Octokit { /// /// A client for GitHub's Actions Self-hosted runner groups API. /// /// /// See the Actions Self-hosted runner groups API documentation for more information. /// public interface IActionsSelfHostedRunnerGroupsClient { /// /// Get a self-hosted runner group for an enterprise /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#get-a-self-hosted-runner-group-for-an-enterprise /// /// The enterprise name. /// Unique identifier of the self-hosted runner group. Task GetRunnerGroupForEnterprise(string enterprise, long runnerGroupId); /// /// Get a self-hosted runner group for an organization /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#get-a-self-hosted-runner-group-for-an-organization /// /// The organization name. /// Unique identifier of the self-hosted runner group. Task GetRunnerGroupForOrganization(string org, long runnerGroupId); /// /// List self-hosted runner groups for an enterprise /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-self-hosted-runner-groups-for-an-enterprise /// /// The enterprise name Task ListAllRunnerGroupsForEnterprise(string enterprise); /// /// List self-hosted runner groups for an enterprise /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-self-hosted-runner-groups-for-an-enterprise /// /// The enterprise name /// Options for changing the API response Task ListAllRunnerGroupsForEnterprise(string enterprise, ApiOptions options); /// /// List self-hosted runners groups for an organization /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-self-hosted-runner-groups-for-an-organization /// /// The organization name Task ListAllRunnerGroupsForOrganization(string org); /// /// List self-hosted runners groups for an organization /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-self-hosted-runner-groups-for-an-organization /// /// The organization name /// Options for changing the API response Task ListAllRunnerGroupsForOrganization(string org, ApiOptions options); /// /// List self-hosted runners in a group for an enterprise /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-self-hosted-runners-in-a-group-for-an-enterprise /// /// The enterprise. /// The runner group ID. Task ListAllRunnersForEnterpriseRunnerGroup(string enterprise, long runnerGroupId); /// /// List self-hosted runners in a group for an enterprise /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-self-hosted-runners-in-a-group-for-an-enterprise /// /// The enterprise. /// The runner group ID. /// Options to change the API response. Task ListAllRunnersForEnterpriseRunnerGroup(string enterprise, long runnerGroupId, ApiOptions options); /// /// List self-hosted runners in a group for an organization /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-self-hosted-runners-in-a-group-for-an-organization /// /// The organization. /// The runner group ID. Task ListAllRunnersForOrganizationRunnerGroup(string organization, long runnerGroupId); /// /// List self-hosted runners in a group for an organization /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-self-hosted-runners-in-a-group-for-an-organization /// /// The organization. /// The runner group ID. /// Options to change the API response. Task ListAllRunnersForOrganizationRunnerGroup(string organization, long runnerGroupId, ApiOptions options); /// /// List organization access to a self-hosted runner group in an enterprise /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise /// /// The enterprise name /// The runner group id Task ListAllRunnerGroupOrganizationsForEnterprise(string enterprise, long runnerGroupId); /// /// List organization access to a self-hosted runner group in an enterprise /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise /// /// The enterprise name /// The runner group id /// Options for changing the API response Task ListAllRunnerGroupOrganizationsForEnterprise(string enterprise, long runnerGroupId, ApiOptions options); /// /// List repository access to a self-hosted runner group in an organization /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-repository-access-to-a-self-hosted-runner-group-in-an-organization /// /// The organization name /// The runner group id Task ListAllRunnerGroupRepositoriesForOrganization(string org, long runnerGroupId); /// /// List repository access to a self-hosted runner group in an organization /// /// /// https://docs.github.com/en/enterprise-cloud@latest/rest/actions/self-hosted-runner-groups?apiVersion=2022-11-28#list-repository-access-to-a-self-hosted-runner-group-in-an-organization /// /// The organization name /// The runner group id /// Options for changing the API response Task ListAllRunnerGroupRepositoriesForOrganization(string org, long runnerGroupId, ApiOptions options); } }