Interface AzureDevOpsConnectorsClient
public interface AzureDevOpsConnectorsClient
An instance of this class provides access to all the operations defined in AzureDevOpsConnectorsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureDevOpsConnectorInner>,
AzureDevOpsConnectorInner> beginCreateOrUpdate
(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector) Creates or updates an Azure DevOps Connector.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureDevOpsConnectorInner>,
AzureDevOpsConnectorInner> beginCreateOrUpdate
(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector, com.azure.core.util.Context context) Creates or updates an Azure DevOps Connector.beginDelete
(String resourceGroupName, String azureDevOpsConnectorName) Delete monitored AzureDevOps Connector details.beginDelete
(String resourceGroupName, String azureDevOpsConnectorName, com.azure.core.util.Context context) Delete monitored AzureDevOps Connector details.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureDevOpsConnectorInner>,
AzureDevOpsConnectorInner> beginUpdate
(String resourceGroupName, String azureDevOpsConnectorName) Update monitored AzureDevOps Connector details.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureDevOpsConnectorInner>,
AzureDevOpsConnectorInner> beginUpdate
(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector, com.azure.core.util.Context context) Update monitored AzureDevOps Connector details.createOrUpdate
(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector) Creates or updates an Azure DevOps Connector.createOrUpdate
(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector, com.azure.core.util.Context context) Creates or updates an Azure DevOps Connector.void
Delete monitored AzureDevOps Connector details.void
delete
(String resourceGroupName, String azureDevOpsConnectorName, com.azure.core.util.Context context) Delete monitored AzureDevOps Connector details.getByResourceGroup
(String resourceGroupName, String azureDevOpsConnectorName) Returns a monitored AzureDevOps Connector resource for a given ID.com.azure.core.http.rest.Response<AzureDevOpsConnectorInner>
getByResourceGroupWithResponse
(String resourceGroupName, String azureDevOpsConnectorName, com.azure.core.util.Context context) Returns a monitored AzureDevOps Connector resource for a given ID.com.azure.core.http.rest.PagedIterable<AzureDevOpsConnectorInner>
list()
Returns a list of monitored AzureDevOps Connectors.com.azure.core.http.rest.PagedIterable<AzureDevOpsConnectorInner>
list
(com.azure.core.util.Context context) Returns a list of monitored AzureDevOps Connectors.com.azure.core.http.rest.PagedIterable<AzureDevOpsConnectorInner>
listByResourceGroup
(String resourceGroupName) The listByResourceGroup operation.com.azure.core.http.rest.PagedIterable<AzureDevOpsConnectorInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) The listByResourceGroup operation.Update monitored AzureDevOps Connector details.update
(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector, com.azure.core.util.Context context) Update monitored AzureDevOps Connector details.
-
Method Details
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AzureDevOpsConnectorInner> 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<AzureDevOpsConnectorInner> 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<AzureDevOpsConnectorInner> getByResourceGroupWithResponse(String resourceGroupName, String azureDevOpsConnectorName, com.azure.core.util.Context context) Returns a monitored AzureDevOps Connector resource for a given ID.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.context
- The context to associate with this operation.- Returns:
- the response body 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
AzureDevOpsConnectorInner getByResourceGroup(String resourceGroupName, String azureDevOpsConnectorName) Returns a monitored AzureDevOps Connector resource for a given ID.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.- Returns:
- the 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureDevOpsConnectorInner>,AzureDevOpsConnectorInner> beginCreateOrUpdate(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector) Creates or updates an Azure DevOps Connector.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.azureDevOpsConnector
- Connector resource payload.- 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureDevOpsConnectorInner>,AzureDevOpsConnectorInner> beginCreateOrUpdate(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector, com.azure.core.util.Context context) Creates or updates an Azure DevOps Connector.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.azureDevOpsConnector
- Connector resource payload.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.
-
createOrUpdate
AzureDevOpsConnectorInner createOrUpdate(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector) Creates or updates an Azure DevOps Connector.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.azureDevOpsConnector
- Connector resource payload.- Returns:
- the 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.
-
createOrUpdate
AzureDevOpsConnectorInner createOrUpdate(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector, com.azure.core.util.Context context) Creates or updates an Azure DevOps Connector.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.azureDevOpsConnector
- Connector resource payload.context
- The context to associate with this operation.- Returns:
- the 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureDevOpsConnectorInner>,AzureDevOpsConnectorInner> beginUpdate(String resourceGroupName, String azureDevOpsConnectorName) Update monitored AzureDevOps Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AzureDevOpsConnectorInner>,AzureDevOpsConnectorInner> beginUpdate(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector, com.azure.core.util.Context context) Update monitored AzureDevOps Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.azureDevOpsConnector
- Connector resource payload.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.
-
update
Update monitored AzureDevOps Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.- Returns:
- the 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.
-
update
AzureDevOpsConnectorInner update(String resourceGroupName, String azureDevOpsConnectorName, AzureDevOpsConnectorInner azureDevOpsConnector, com.azure.core.util.Context context) Update monitored AzureDevOps Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps Connector.azureDevOpsConnector
- Connector resource payload.context
- The context to associate with this operation.- Returns:
- the 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String azureDevOpsConnectorName) Delete monitored AzureDevOps Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps 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 azureDevOpsConnectorName, com.azure.core.util.Context context) Delete monitored AzureDevOps Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps 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 AzureDevOps Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps 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 azureDevOpsConnectorName, com.azure.core.util.Context context) Delete monitored AzureDevOps Connector details.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.azureDevOpsConnectorName
- Name of the AzureDevOps 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<AzureDevOpsConnectorInner> list()Returns a list of monitored AzureDevOps 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<AzureDevOpsConnectorInner> list(com.azure.core.util.Context context) Returns a list of monitored AzureDevOps 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.
-