Interface ProjectEnvironmentTypes


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

    • list

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

      ProjectEnvironmentType 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<ProjectEnvironmentType> 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.
    • 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.
    • getById

      Gets a project environment type.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<ProjectEnvironmentType> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets a project environment type.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes a project environment type.
      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

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes a project environment type.
      Parameters:
      id - the resource ID.
      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.
    • define

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