Interface GitHubRepoesClient
public interface GitHubRepoesClient
An instance of this class provides access to all the operations defined in GitHubRepoesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubRepoInner>,
GitHubRepoInner> beginCreateOrUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo) Create or update a monitored GitHub repository.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubRepoInner>,
GitHubRepoInner> beginCreateOrUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo, com.azure.core.util.Context context) Create or update a monitored GitHub repository.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubRepoInner>,
GitHubRepoInner> beginUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName) Patch a monitored GitHub repository.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubRepoInner>,
GitHubRepoInner> beginUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo, com.azure.core.util.Context context) Patch a monitored GitHub repository.createOrUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo) Create or update a monitored GitHub repository.createOrUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo, com.azure.core.util.Context context) Create or update a monitored GitHub repository.get
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName) Returns a monitored GitHub repository.com.azure.core.http.rest.Response<GitHubRepoInner>
getWithResponse
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, com.azure.core.util.Context context) Returns a monitored GitHub repository.com.azure.core.http.rest.PagedIterable<GitHubRepoInner>
Returns a list of monitored GitHub repositories.com.azure.core.http.rest.PagedIterable<GitHubRepoInner>
list
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, com.azure.core.util.Context context) Returns a list of monitored GitHub repositories.com.azure.core.http.rest.PagedIterable<GitHubRepoInner>
listByConnector
(String resourceGroupName, String gitHubConnectorName) Returns a list of monitored GitHub repositories.com.azure.core.http.rest.PagedIterable<GitHubRepoInner>
listByConnector
(String resourceGroupName, String gitHubConnectorName, com.azure.core.util.Context context) Returns a list of monitored GitHub repositories.update
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName) Patch a monitored GitHub repository.update
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo, com.azure.core.util.Context context) Patch a monitored GitHub repository.
-
Method Details
-
listByConnector
com.azure.core.http.rest.PagedIterable<GitHubRepoInner> listByConnector(String resourceGroupName, String gitHubConnectorName) Returns a list of monitored GitHub repositories.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.- Returns:
- the paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByConnector
com.azure.core.http.rest.PagedIterable<GitHubRepoInner> listByConnector(String resourceGroupName, String gitHubConnectorName, com.azure.core.util.Context context) Returns a list of monitored GitHub repositories.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.context
- The context to associate with this operation.- Returns:
- the paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<GitHubRepoInner> list(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName) Returns a list of monitored GitHub repositories.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.- Returns:
- the paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<GitHubRepoInner> list(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, com.azure.core.util.Context context) Returns a list of monitored GitHub repositories.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.context
- The context to associate with this operation.- Returns:
- the paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<GitHubRepoInner> getWithResponse(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, com.azure.core.util.Context context) Returns a monitored GitHub repository.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.gitHubRepoName
- Name of the GitHub Repo.context
- The context to associate with this operation.- Returns:
- gitHub repo Proxy Resource along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
GitHubRepoInner get(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName) Returns a monitored GitHub repository.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.gitHubRepoName
- Name of the GitHub Repo.- Returns:
- gitHub repo Proxy Resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubRepoInner>,GitHubRepoInner> beginCreateOrUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo) Create or update a monitored GitHub repository.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.gitHubRepoName
- Name of the GitHub Repo.gitHubRepo
- Github repo.- Returns:
- the
SyncPoller
for polling of gitHub repo Proxy Resource. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubRepoInner>,GitHubRepoInner> beginCreateOrUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo, com.azure.core.util.Context context) Create or update a monitored GitHub repository.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.gitHubRepoName
- Name of the GitHub Repo.gitHubRepo
- Github repo.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of gitHub repo Proxy Resource. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
GitHubRepoInner createOrUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo) Create or update a monitored GitHub repository.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.gitHubRepoName
- Name of the GitHub Repo.gitHubRepo
- Github repo.- Returns:
- gitHub repo Proxy Resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
GitHubRepoInner createOrUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo, com.azure.core.util.Context context) Create or update a monitored GitHub repository.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.gitHubRepoName
- Name of the GitHub Repo.gitHubRepo
- Github repo.context
- The context to associate with this operation.- Returns:
- gitHub repo Proxy Resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubRepoInner>,GitHubRepoInner> beginUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName) Patch a monitored GitHub repository.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.gitHubRepoName
- Name of the GitHub Repo.- Returns:
- the
SyncPoller
for polling of gitHub repo Proxy Resource. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubRepoInner>,GitHubRepoInner> beginUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo, com.azure.core.util.Context context) Patch a monitored GitHub repository.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.gitHubRepoName
- Name of the GitHub Repo.gitHubRepo
- Github repo.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of gitHub repo Proxy Resource. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
GitHubRepoInner update(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName) Patch a monitored GitHub repository.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.gitHubRepoName
- Name of the GitHub Repo.- Returns:
- gitHub repo Proxy Resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
GitHubRepoInner update(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, String gitHubRepoName, GitHubRepoInner gitHubRepo, com.azure.core.util.Context context) Patch a monitored GitHub repository.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubOwnerName
- Name of the GitHub Owner.gitHubRepoName
- Name of the GitHub Repo.gitHubRepo
- Github repo.context
- The context to associate with this operation.- Returns:
- gitHub repo Proxy Resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-