Interface ProjectEnvironmentTypesClient


public interface ProjectEnvironmentTypesClient
An instance of this class provides access to all the operations defined in ProjectEnvironmentTypesClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<ProjectEnvironmentTypeInner> list(String resourceGroupName, String projectName)
      Lists environment types for a project.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      projectName - The name of the project.
      Returns:
      result of the project environment type list operation as 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<ProjectEnvironmentTypeInner> list(String resourceGroupName, String projectName, Integer top, com.azure.core.util.Context context)
      Lists environment types for a project.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      projectName - The name of the project.
      top - The maximum number of resources to return from the operation. Example: '$top=10'.
      context - The context to associate with this operation.
      Returns:
      result of the project environment type list operation as 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.
    • get

      ProjectEnvironmentTypeInner get(String resourceGroupName, String projectName, String environmentTypeName)
      Gets a project environment type.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      projectName - The name of the project.
      environmentTypeName - The name of the environment type.
      Returns:
      a project environment type.
      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<ProjectEnvironmentTypeInner> getWithResponse(String resourceGroupName, String projectName, String environmentTypeName, com.azure.core.util.Context context)
      Gets a project environment type.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      projectName - The name of the project.
      environmentTypeName - The name of the environment type.
      context - The context to associate with this operation.
      Returns:
      a project environment type 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.
    • createOrUpdate

      ProjectEnvironmentTypeInner createOrUpdate(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeInner body)
      Creates or updates a project environment type.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      projectName - The name of the project.
      environmentTypeName - The name of the environment type.
      body - Represents a Project Environment Type.
      Returns:
      represents an environment type.
      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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<ProjectEnvironmentTypeInner> createOrUpdateWithResponse(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeInner body, com.azure.core.util.Context context)
      Creates or updates a project environment type.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      projectName - The name of the project.
      environmentTypeName - The name of the environment type.
      body - Represents a Project Environment Type.
      context - The context to associate with this operation.
      Returns:
      represents an environment type 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.
    • update

      ProjectEnvironmentTypeInner update(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeUpdate body)
      Partially updates a project environment type.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      projectName - The name of the project.
      environmentTypeName - The name of the environment type.
      body - Updatable project environment type properties.
      Returns:
      represents an environment type.
      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.
    • updateWithResponse

      com.azure.core.http.rest.Response<ProjectEnvironmentTypeInner> updateWithResponse(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeUpdate body, com.azure.core.util.Context context)
      Partially updates a project environment type.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      projectName - The name of the project.
      environmentTypeName - The name of the environment type.
      body - Updatable project environment type properties.
      context - The context to associate with this operation.
      Returns:
      represents an environment type 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.
    • delete

      void delete(String resourceGroupName, String projectName, String environmentTypeName)
      Deletes a project environment type.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      projectName - The name of the project.
      environmentTypeName - The name of the environment type.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String projectName, String environmentTypeName, com.azure.core.util.Context context)
      Deletes a project environment type.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      projectName - The name of the project.
      environmentTypeName - The name of the environment type.
      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.