Interface AzureDevOpsConnectors


public interface AzureDevOpsConnectors
Resource collection API of AzureDevOpsConnectors.
  • Method Details

    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AzureDevOpsConnector> 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<AzureDevOpsConnector> 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<AzureDevOpsConnector> 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

      AzureDevOpsConnector 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(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.
      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<AzureDevOpsConnector> 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<AzureDevOpsConnector> 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.
    • getById

      Returns a monitored AzureDevOps Connector resource for a given ID.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<AzureDevOpsConnector> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Returns a monitored AzureDevOps Connector resource for a given ID.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Delete monitored AzureDevOps Connector details.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete monitored AzureDevOps Connector details.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new AzureDevOpsConnector resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new AzureDevOpsConnector definition.