Interface DomainsClient


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

    • get

      DomainResourceInner get(String resourceGroupName, String emailServiceName, String domainName)
      Get

      Get the Domains resource and its properties.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      Returns:
      the Domains resource and its properties.
      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<DomainResourceInner> getWithResponse(String resourceGroupName, String emailServiceName, String domainName, com.azure.core.util.Context context)
      Get

      Get the Domains resource and its properties.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      context - The context to associate with this operation.
      Returns:
      the Domains resource and its properties 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<DomainResourceInner>,DomainResourceInner> beginCreateOrUpdate(String resourceGroupName, String emailServiceName, String domainName, DomainResourceInner parameters)
      Create Or Update

      Add a new Domains resource under the parent EmailService resource or update an existing Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Parameters for the create or update operation.
      Returns:
      the SyncPoller for polling of a class representing a Domains 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<DomainResourceInner>,DomainResourceInner> beginCreateOrUpdate(String resourceGroupName, String emailServiceName, String domainName, DomainResourceInner parameters, com.azure.core.util.Context context)
      Create Or Update

      Add a new Domains resource under the parent EmailService resource or update an existing Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Parameters for the create or update operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a class representing a Domains 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

      DomainResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, String domainName, DomainResourceInner parameters)
      Create Or Update

      Add a new Domains resource under the parent EmailService resource or update an existing Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Parameters for the create or update operation.
      Returns:
      a class representing a Domains 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

      DomainResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, String domainName, DomainResourceInner parameters, com.azure.core.util.Context context)
      Create Or Update

      Add a new Domains resource under the parent EmailService resource or update an existing Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Parameters for the create or update operation.
      context - The context to associate with this operation.
      Returns:
      a class representing a Domains 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String emailServiceName, String domainName)
      Delete

      Operation to delete a Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      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 emailServiceName, String domainName, com.azure.core.util.Context context)
      Delete

      Operation to delete a Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      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 emailServiceName, String domainName)
      Delete

      Operation to delete a Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains 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 emailServiceName, String domainName, com.azure.core.util.Context context)
      Delete

      Operation to delete a Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DomainResourceInner>,DomainResourceInner> beginUpdate(String resourceGroupName, String emailServiceName, String domainName, UpdateDomainRequestParameters parameters)
      Update

      Operation to update an existing Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Parameters for the update operation.
      Returns:
      the SyncPoller for polling of a class representing a Domains 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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DomainResourceInner>,DomainResourceInner> beginUpdate(String resourceGroupName, String emailServiceName, String domainName, UpdateDomainRequestParameters parameters, com.azure.core.util.Context context)
      Update

      Operation to update an existing Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Parameters for the update operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a class representing a Domains 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.
    • update

      DomainResourceInner update(String resourceGroupName, String emailServiceName, String domainName, UpdateDomainRequestParameters parameters)
      Update

      Operation to update an existing Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Parameters for the update operation.
      Returns:
      a class representing a Domains 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.
    • update

      DomainResourceInner update(String resourceGroupName, String emailServiceName, String domainName, UpdateDomainRequestParameters parameters, com.azure.core.util.Context context)
      Update

      Operation to update an existing Domains resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Parameters for the update operation.
      context - The context to associate with this operation.
      Returns:
      a class representing a Domains 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.
    • listByEmailServiceResource

      com.azure.core.http.rest.PagedIterable<DomainResourceInner> listByEmailServiceResource(String resourceGroupName, String emailServiceName)
      List by EmailService

      Handles requests to list all Domains resources under the parent EmailServices resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      Returns:
      object that includes an array of Domains resource and a possible link for next set 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.
    • listByEmailServiceResource

      com.azure.core.http.rest.PagedIterable<DomainResourceInner> listByEmailServiceResource(String resourceGroupName, String emailServiceName, com.azure.core.util.Context context)
      List by EmailService

      Handles requests to list all Domains resources under the parent EmailServices resource.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      context - The context to associate with this operation.
      Returns:
      object that includes an array of Domains resource and a possible link for next set 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.
    • beginInitiateVerification

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginInitiateVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters)
      Initiate Verification

      Initiate verification of DNS record.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Type of verification to be initiated.
      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.
    • beginInitiateVerification

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginInitiateVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters, com.azure.core.util.Context context)
      Initiate Verification

      Initiate verification of DNS record.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Type of verification to be initiated.
      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.
    • initiateVerification

      void initiateVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters)
      Initiate Verification

      Initiate verification of DNS record.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Type of verification to be initiated.
      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.
    • initiateVerification

      void initiateVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters, com.azure.core.util.Context context)
      Initiate Verification

      Initiate verification of DNS record.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Type of verification to be initiated.
      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.
    • beginCancelVerification

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginCancelVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters)
      Cancel Verification

      Cancel verification of DNS record.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Type of verification to be canceled.
      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.
    • beginCancelVerification

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginCancelVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters, com.azure.core.util.Context context)
      Cancel Verification

      Cancel verification of DNS record.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Type of verification to be canceled.
      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.
    • cancelVerification

      void cancelVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters)
      Cancel Verification

      Cancel verification of DNS record.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Type of verification to be canceled.
      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.
    • cancelVerification

      void cancelVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters, com.azure.core.util.Context context)
      Cancel Verification

      Cancel verification of DNS record.

      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      emailServiceName - The name of the EmailService resource.
      domainName - The name of the Domains resource.
      parameters - Type of verification to be canceled.
      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.