Interface Deployments


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

    • getByResourceGroup

      NginxDeployment getByResourceGroup(String resourceGroupName, String deploymentName)
      Get the Nginx deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      Returns:
      the Nginx deployment.
      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<NginxDeployment> getByResourceGroupWithResponse(String resourceGroupName, String deploymentName, com.azure.core.util.Context context)
      Get the Nginx deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      context - The context to associate with this operation.
      Returns:
      the Nginx deployment 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String deploymentName)
      Delete the Nginx deployment resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      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 deploymentName, com.azure.core.util.Context context)
      Delete the Nginx deployment resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      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<NginxDeployment> list()
      List the Nginx deployments resources.
      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<NginxDeployment> list(com.azure.core.util.Context context)
      List the Nginx deployments resources.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<NginxDeployment> listByResourceGroup(String resourceGroupName)
      List all Nginx deployments under the specified resource group.
      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<NginxDeployment> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      List all Nginx deployments under the specified resource group.
      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.
    • getById

      NginxDeployment getById(String id)
      Get the Nginx deployment.
      Parameters:
      id - the resource ID.
      Returns:
      the Nginx deployment 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<NginxDeployment> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get the Nginx deployment.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the Nginx deployment 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 the Nginx deployment resource.
      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 the Nginx deployment resource.
      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 NginxDeployment resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new NginxDeployment definition.