Interface DomainsClient
-
Method Summary
Modifier and TypeMethodDescriptionbeginCancelVerification
(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters) Cancel VerificationbeginCancelVerification
(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters, com.azure.core.util.Context context) Cancel Verificationcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DomainResourceInner>,
DomainResourceInner> beginCreateOrUpdate
(String resourceGroupName, String emailServiceName, String domainName, DomainResourceInner parameters) Create Or Updatecom.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 UpdatebeginDelete
(String resourceGroupName, String emailServiceName, String domainName) DeletebeginDelete
(String resourceGroupName, String emailServiceName, String domainName, com.azure.core.util.Context context) DeletebeginInitiateVerification
(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters) Initiate VerificationbeginInitiateVerification
(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters, com.azure.core.util.Context context) Initiate Verificationcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DomainResourceInner>,
DomainResourceInner> beginUpdate
(String resourceGroupName, String emailServiceName, String domainName, UpdateDomainRequestParameters parameters) Updatecom.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) Updatevoid
cancelVerification
(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters) Cancel Verificationvoid
cancelVerification
(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters, com.azure.core.util.Context context) Cancel VerificationcreateOrUpdate
(String resourceGroupName, String emailServiceName, String domainName, DomainResourceInner parameters) Create Or UpdatecreateOrUpdate
(String resourceGroupName, String emailServiceName, String domainName, DomainResourceInner parameters, com.azure.core.util.Context context) Create Or Updatevoid
Deletevoid
delete
(String resourceGroupName, String emailServiceName, String domainName, com.azure.core.util.Context context) DeleteGetcom.azure.core.http.rest.Response<DomainResourceInner>
getWithResponse
(String resourceGroupName, String emailServiceName, String domainName, com.azure.core.util.Context context) Getvoid
initiateVerification
(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters) Initiate Verificationvoid
initiateVerification
(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters, com.azure.core.util.Context context) Initiate Verificationcom.azure.core.http.rest.PagedIterable<DomainResourceInner>
listByEmailServiceResource
(String resourceGroupName, String emailServiceName) List by EmailServicecom.azure.core.http.rest.PagedIterable<DomainResourceInner>
listByEmailServiceResource
(String resourceGroupName, String emailServiceName, com.azure.core.util.Context context) List by EmailServiceupdate
(String resourceGroupName, String emailServiceName, String domainName, UpdateDomainRequestParameters parameters) Updateupdate
(String resourceGroupName, String emailServiceName, String domainName, UpdateDomainRequestParameters parameters, com.azure.core.util.Context context) Update
-
Method Details
-
get
GetGet 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) GetGet 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 UpdateAdd 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 UpdateAdd 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 UpdateAdd 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 UpdateAdd 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) DeleteOperation 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) DeleteOperation 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
DeleteOperation 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) DeleteOperation 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) UpdateOperation 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) UpdateOperation 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) UpdateOperation 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) UpdateOperation 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 EmailServiceHandles 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 EmailServiceHandles 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 VerificationInitiate 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 VerificationInitiate 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 VerificationInitiate 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 VerificationInitiate 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 VerificationCancel 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 VerificationCancel 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 VerificationCancel 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 VerificationCancel 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.
-