Interface GitHubOwnersClient
public interface GitHubOwnersClient
An instance of this class provides access to all the operations defined in GitHubOwnersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubOwnerInner>,
GitHubOwnerInner> beginCreateOrUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner) Create or update a monitored GitHub owner.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubOwnerInner>,
GitHubOwnerInner> beginCreateOrUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner, com.azure.core.util.Context context) Create or update a monitored GitHub owner.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubOwnerInner>,
GitHubOwnerInner> beginUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName) Patch a monitored GitHub repository.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubOwnerInner>,
GitHubOwnerInner> beginUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner, com.azure.core.util.Context context) Patch a monitored GitHub repository.createOrUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner) Create or update a monitored GitHub owner.createOrUpdate
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner, com.azure.core.util.Context context) Create or update a monitored GitHub owner.Returns a monitored GitHub repository.com.azure.core.http.rest.Response<GitHubOwnerInner>
getWithResponse
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, com.azure.core.util.Context context) Returns a monitored GitHub repository.com.azure.core.http.rest.PagedIterable<GitHubOwnerInner>
Returns a list of monitored GitHub owners.com.azure.core.http.rest.PagedIterable<GitHubOwnerInner>
Returns a list of monitored GitHub owners.Patch a monitored GitHub repository.update
(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner, com.azure.core.util.Context context) Patch a monitored GitHub repository.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<GitHubOwnerInner> list(String resourceGroupName, String gitHubConnectorName) Returns a list of monitored GitHub owners.- 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.
-
list
com.azure.core.http.rest.PagedIterable<GitHubOwnerInner> list(String resourceGroupName, String gitHubConnectorName, com.azure.core.util.Context context) Returns a list of monitored GitHub owners.- 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.
-
getWithResponse
com.azure.core.http.rest.Response<GitHubOwnerInner> getWithResponse(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, 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.context
- The context to associate with this operation.- Returns:
- gitHub repo owner 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
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.- Returns:
- gitHub repo owner 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<GitHubOwnerInner>,GitHubOwnerInner> beginCreateOrUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner) Create or update a monitored GitHub owner.- 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.gitHubOwner
- Github owner.- Returns:
- the
SyncPoller
for polling of gitHub repo owner 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<GitHubOwnerInner>,GitHubOwnerInner> beginCreateOrUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner, com.azure.core.util.Context context) Create or update a monitored GitHub owner.- 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.gitHubOwner
- Github owner.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of gitHub repo owner 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
GitHubOwnerInner createOrUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner) Create or update a monitored GitHub owner.- 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.gitHubOwner
- Github owner.- Returns:
- gitHub repo owner 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
GitHubOwnerInner createOrUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner, com.azure.core.util.Context context) Create or update a monitored GitHub owner.- 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.gitHubOwner
- Github owner.context
- The context to associate with this operation.- Returns:
- gitHub repo owner 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<GitHubOwnerInner>,GitHubOwnerInner> beginUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName) 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.- Returns:
- the
SyncPoller
for polling of gitHub repo owner 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<GitHubOwnerInner>,GitHubOwnerInner> beginUpdate(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner, 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.gitHubOwner
- Github owner.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of gitHub repo owner 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
GitHubOwnerInner update(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName) 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.- Returns:
- gitHub repo owner 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
GitHubOwnerInner update(String resourceGroupName, String gitHubConnectorName, String gitHubOwnerName, GitHubOwnerInner gitHubOwner, 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.gitHubOwner
- Github owner.context
- The context to associate with this operation.- Returns:
- gitHub repo owner 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.
-