Interface ConfigurationsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<NginxConfigurationInner> list(String resourceGroupName, String deploymentName)
      List the Nginx configuration of given Nginx deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      Returns:
      response of a 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<NginxConfigurationInner> list(String resourceGroupName, String deploymentName, com.azure.core.util.Context context)
      List the Nginx configuration of given 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:
      response of a 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

      NginxConfigurationInner get(String resourceGroupName, String deploymentName, String configurationName)
      Get the Nginx configuration of given Nginx deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      Returns:
      the Nginx configuration of given 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.
    • getWithResponse

      com.azure.core.http.rest.Response<NginxConfigurationInner> getWithResponse(String resourceGroupName, String deploymentName, String configurationName, com.azure.core.util.Context context)
      Get the Nginx configuration of given Nginx deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      context - The context to associate with this operation.
      Returns:
      the Nginx configuration of given 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxConfigurationInner>,NginxConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String deploymentName, String configurationName, NginxConfigurationInner body)
      Create or update the Nginx configuration for given Nginx deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      body - The Nginx configuration.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NginxConfigurationInner>,NginxConfigurationInner> beginCreateOrUpdate(String resourceGroupName, String deploymentName, String configurationName, NginxConfigurationInner body, com.azure.core.util.Context context)
      Create or update the Nginx configuration for given Nginx deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      body - The Nginx configuration.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • createOrUpdate

      NginxConfigurationInner createOrUpdate(String resourceGroupName, String deploymentName, String configurationName, NginxConfigurationInner body)
      Create or update the Nginx configuration for given Nginx deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      body - The Nginx configuration.
      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.
    • createOrUpdate

      NginxConfigurationInner createOrUpdate(String resourceGroupName, String deploymentName, String configurationName)
      Create or update the Nginx configuration for given Nginx deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      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.
    • createOrUpdate

      NginxConfigurationInner createOrUpdate(String resourceGroupName, String deploymentName, String configurationName, NginxConfigurationInner body, com.azure.core.util.Context context)
      Create or update the Nginx configuration for given Nginx deployment.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      body - The Nginx configuration.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String deploymentName, String configurationName)
      Reset the Nginx configuration of given Nginx deployment to default.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String deploymentName, String configurationName, com.azure.core.util.Context context)
      Reset the Nginx configuration of given Nginx deployment to default.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • delete

      void delete(String resourceGroupName, String deploymentName, String configurationName)
      Reset the Nginx configuration of given Nginx deployment to default.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      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, String configurationName, com.azure.core.util.Context context)
      Reset the Nginx configuration of given Nginx deployment to default.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      deploymentName - The name of targeted Nginx deployment.
      configurationName - The name of configuration, only 'default' is supported value due to the singleton of Nginx conf.
      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.