Interface AzureDevOpsProjects


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

    • list

      com.azure.core.http.rest.PagedIterable<AzureDevOpsProject> list(String resourceGroupName, String azureDevOpsConnectorName, String azureDevOpsOrgName)
      The list operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      azureDevOpsConnectorName - Name of the AzureDevOps Connector.
      azureDevOpsOrgName - Name of the AzureDevOps Org.
      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<AzureDevOpsProject> list(String resourceGroupName, String azureDevOpsConnectorName, String azureDevOpsOrgName, com.azure.core.util.Context context)
      The list operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      azureDevOpsConnectorName - Name of the AzureDevOps Connector.
      azureDevOpsOrgName - Name of the AzureDevOps Org.
      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<AzureDevOpsProject> getWithResponse(String resourceGroupName, String azureDevOpsConnectorName, String azureDevOpsOrgName, String azureDevOpsProjectName, com.azure.core.util.Context context)
      Returns a monitored AzureDevOps Project resource for a given ID.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      azureDevOpsConnectorName - Name of the AzureDevOps Connector.
      azureDevOpsOrgName - Name of the AzureDevOps Org.
      azureDevOpsProjectName - Name of the AzureDevOps Project.
      context - The context to associate with this operation.
      Returns:
      azure DevOps Project 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

      AzureDevOpsProject get(String resourceGroupName, String azureDevOpsConnectorName, String azureDevOpsOrgName, String azureDevOpsProjectName)
      Returns a monitored AzureDevOps Project resource for a given ID.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      azureDevOpsConnectorName - Name of the AzureDevOps Connector.
      azureDevOpsOrgName - Name of the AzureDevOps Org.
      azureDevOpsProjectName - Name of the AzureDevOps Project.
      Returns:
      azure DevOps Project 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.
    • getById

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

      com.azure.core.http.rest.Response<AzureDevOpsProject> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Returns a monitored AzureDevOps Project resource for a given ID.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      azure DevOps Project 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.
    • define

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