Interface WordpressInstancesClient


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

    • list

      com.azure.core.http.rest.PagedIterable<WordpressInstanceResourceInner> list(String resourceGroupName, String phpWorkloadName)
      Lists WordPress instance resources under a phpWorkload resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      phpWorkloadName - Php workload name.
      Returns:
      wordPress instance resource list 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<WordpressInstanceResourceInner> list(String resourceGroupName, String phpWorkloadName, com.azure.core.util.Context context)
      Lists WordPress instance resources under a phpWorkload resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      phpWorkloadName - Php workload name.
      context - The context to associate with this operation.
      Returns:
      wordPress instance resource list 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

      WordpressInstanceResourceInner get(String resourceGroupName, String phpWorkloadName)
      Gets the WordPress instance resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      phpWorkloadName - Php workload name.
      Returns:
      the WordPress instance 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.
    • getWithResponse

      com.azure.core.http.rest.Response<WordpressInstanceResourceInner> getWithResponse(String resourceGroupName, String phpWorkloadName, com.azure.core.util.Context context)
      Gets the WordPress instance resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      phpWorkloadName - Php workload name.
      context - The context to associate with this operation.
      Returns:
      the WordPress instance 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WordpressInstanceResourceInner>,WordpressInstanceResourceInner> beginCreateOrUpdate(String resourceGroupName, String phpWorkloadName, WordpressInstanceResourceInner wordpressInstanceResource)
      Create or updated WordPress instance resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      phpWorkloadName - Php workload name.
      wordpressInstanceResource - Resource create or update request payload.
      Returns:
      the SyncPoller for polling of wordPress instance 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WordpressInstanceResourceInner>,WordpressInstanceResourceInner> beginCreateOrUpdate(String resourceGroupName, String phpWorkloadName, WordpressInstanceResourceInner wordpressInstanceResource, com.azure.core.util.Context context)
      Create or updated WordPress instance resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      phpWorkloadName - Php workload name.
      wordpressInstanceResource - Resource create or update request payload.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of wordPress instance 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.
    • createOrUpdate

      WordpressInstanceResourceInner createOrUpdate(String resourceGroupName, String phpWorkloadName, WordpressInstanceResourceInner wordpressInstanceResource)
      Create or updated WordPress instance resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      phpWorkloadName - Php workload name.
      wordpressInstanceResource - Resource create or update request payload.
      Returns:
      wordPress instance 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.
    • createOrUpdate

      WordpressInstanceResourceInner createOrUpdate(String resourceGroupName, String phpWorkloadName, WordpressInstanceResourceInner wordpressInstanceResource, com.azure.core.util.Context context)
      Create or updated WordPress instance resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      phpWorkloadName - Php workload name.
      wordpressInstanceResource - Resource create or update request payload.
      context - The context to associate with this operation.
      Returns:
      wordPress instance 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.
    • delete

      void delete(String resourceGroupName, String phpWorkloadName)
      Delete WordPress instance resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      phpWorkloadName - Php workload name.
      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 phpWorkloadName, com.azure.core.util.Context context)
      Delete WordPress instance resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      phpWorkloadName - Php workload name.
      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.