Interface GitHubConnectorsClient
public interface GitHubConnectorsClient
An instance of this class provides access to all the operations defined in GitHubConnectorsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubConnectorInner>,
GitHubConnectorInner> beginCreateOrUpdate
(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector) Create or update a monitored GitHub Connector resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubConnectorInner>,
GitHubConnectorInner> beginCreateOrUpdate
(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, com.azure.core.util.Context context) Create or update a monitored GitHub Connector resource.beginDelete
(String resourceGroupName, String gitHubConnectorName) Delete monitored GitHub Connector details.beginDelete
(String resourceGroupName, String gitHubConnectorName, com.azure.core.util.Context context) Delete monitored GitHub Connector details.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubConnectorInner>,
GitHubConnectorInner> beginUpdate
(String resourceGroupName, String gitHubConnectorName) Update monitored GitHub Connector details.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GitHubConnectorInner>,
GitHubConnectorInner> beginUpdate
(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, com.azure.core.util.Context context) Update monitored GitHub Connector details.createOrUpdate
(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector) Create or update a monitored GitHub Connector resource.createOrUpdate
(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, com.azure.core.util.Context context) Create or update a monitored GitHub Connector resource.void
Delete monitored GitHub Connector details.void
Delete monitored GitHub Connector details.getByResourceGroup
(String resourceGroupName, String gitHubConnectorName) Returns a monitored GitHub Connector resource for a given ID.com.azure.core.http.rest.Response<GitHubConnectorInner>
getByResourceGroupWithResponse
(String resourceGroupName, String gitHubConnectorName, com.azure.core.util.Context context) Returns a monitored GitHub Connector resource for a given ID.com.azure.core.http.rest.PagedIterable<GitHubConnectorInner>
list()
Returns a list of monitored GitHub Connectors.com.azure.core.http.rest.PagedIterable<GitHubConnectorInner>
list
(com.azure.core.util.Context context) Returns a list of monitored GitHub Connectors.com.azure.core.http.rest.PagedIterable<GitHubConnectorInner>
listByResourceGroup
(String resourceGroupName) The listByResourceGroup operation.com.azure.core.http.rest.PagedIterable<GitHubConnectorInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) The listByResourceGroup operation.Update monitored GitHub Connector details.update
(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, com.azure.core.util.Context context) Update monitored GitHub Connector details.
-
Method Details
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<GitHubConnectorInner> listByResourceGroup(String resourceGroupName) The listByResourceGroup operation.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<GitHubConnectorInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) The listByResourceGroup operation.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<GitHubConnectorInner> getByResourceGroupWithResponse(String resourceGroupName, String gitHubConnectorName, com.azure.core.util.Context context) Returns a monitored GitHub Connector resource for a given ID.- 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:
- represents an ARM resource for
/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors 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.
-
getByResourceGroup
Returns a monitored GitHub Connector resource for a given ID.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.- Returns:
- represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.
- 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<GitHubConnectorInner>,GitHubConnectorInner> beginCreateOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector) Create or update a monitored GitHub Connector resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubConnector
- Connector resource payload.- Returns:
- the
SyncPoller
for polling of represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors. - 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<GitHubConnectorInner>,GitHubConnectorInner> beginCreateOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, com.azure.core.util.Context context) Create or update a monitored GitHub Connector resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubConnector
- Connector resource payload.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors. - 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
GitHubConnectorInner createOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector) Create or update a monitored GitHub Connector resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubConnector
- Connector resource payload.- Returns:
- represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.
- 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
GitHubConnectorInner createOrUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, com.azure.core.util.Context context) Create or update a monitored GitHub Connector resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubConnector
- Connector resource payload.context
- The context to associate with this operation.- Returns:
- represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.
- 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<GitHubConnectorInner>,GitHubConnectorInner> beginUpdate(String resourceGroupName, String gitHubConnectorName) Update monitored GitHub Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.- Returns:
- the
SyncPoller
for polling of represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors. - 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<GitHubConnectorInner>,GitHubConnectorInner> beginUpdate(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, com.azure.core.util.Context context) Update monitored GitHub Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubConnector
- Connector resource payload.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors. - 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
Update monitored GitHub Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.- Returns:
- represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.
- 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
GitHubConnectorInner update(String resourceGroupName, String gitHubConnectorName, GitHubConnectorInner gitHubConnector, com.azure.core.util.Context context) Update monitored GitHub Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.gitHubConnector
- Connector resource payload.context
- The context to associate with this operation.- Returns:
- represents an ARM resource for /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.SecurityDevOps/gitHubConnectors.
- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String gitHubConnectorName) Delete monitored GitHub Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String gitHubConnectorName, com.azure.core.util.Context context) Delete monitored GitHub Connector details.- 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
SyncPoller
for polling of long-running operation. - 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.
-
delete
Delete monitored GitHub Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.gitHubConnectorName
- Name of the GitHub Connector.- 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.
-
delete
void delete(String resourceGroupName, String gitHubConnectorName, com.azure.core.util.Context context) Delete monitored GitHub Connector details.- 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.- 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<GitHubConnectorInner> list()Returns a list of monitored GitHub Connectors.- Returns:
- the paginated response with
PagedIterable
. - Throws:
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<GitHubConnectorInner> list(com.azure.core.util.Context context) Returns a list of monitored GitHub Connectors.- Parameters:
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.
-