Interface DomainsClient
-
public interface DomainsClient
An instance of this class provides access to all the operations defined in DomainsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 of DNS record.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 of DNS record.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DomainResourceInner>,DomainResourceInner>
beginCreateOrUpdate(String resourceGroupName, String emailServiceName, String domainName, DomainResourceInner parameters)
Add a new Domains resource under the parent EmailService resource or update an existing Domains resource.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)
Add a new Domains resource under the parent EmailService resource or update an existing Domains resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String emailServiceName, String domainName)
Operation to delete a Domains resource.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)
Operation to delete a Domains resource.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 of DNS record.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 of DNS record.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DomainResourceInner>,DomainResourceInner>
beginUpdate(String resourceGroupName, String emailServiceName, String domainName, UpdateDomainRequestParameters parameters)
Operation to update an existing Domains resource.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)
Operation to update an existing Domains resource.void
cancelVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters)
Cancel verification of DNS record.void
cancelVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters, com.azure.core.util.Context context)
Cancel verification of DNS record.DomainResourceInner
createOrUpdate(String resourceGroupName, String emailServiceName, String domainName, DomainResourceInner parameters)
Add a new Domains resource under the parent EmailService resource or update an existing Domains resource.DomainResourceInner
createOrUpdate(String resourceGroupName, String emailServiceName, String domainName, DomainResourceInner parameters, com.azure.core.util.Context context)
Add a new Domains resource under the parent EmailService resource or update an existing Domains resource.void
delete(String resourceGroupName, String emailServiceName, String domainName)
Operation to delete a Domains resource.void
delete(String resourceGroupName, String emailServiceName, String domainName, com.azure.core.util.Context context)
Operation to delete a Domains resource.DomainResourceInner
get(String resourceGroupName, String emailServiceName, String domainName)
Get the Domains resource and its properties.com.azure.core.http.rest.Response<DomainResourceInner>
getWithResponse(String resourceGroupName, String emailServiceName, String domainName, com.azure.core.util.Context context)
Get the Domains resource and its properties.void
initiateVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters)
Initiate verification of DNS record.void
initiateVerification(String resourceGroupName, String emailServiceName, String domainName, VerificationParameter parameters, com.azure.core.util.Context context)
Initiate verification of DNS record.com.azure.core.http.rest.PagedIterable<DomainResourceInner>
listByEmailServiceResource(String resourceGroupName, String emailServiceName)
Handles requests to list all Domains resources under the parent EmailServices resource.com.azure.core.http.rest.PagedIterable<DomainResourceInner>
listByEmailServiceResource(String resourceGroupName, String emailServiceName, com.azure.core.util.Context context)
Handles requests to list all Domains resources under the parent EmailServices resource.DomainResourceInner
update(String resourceGroupName, String emailServiceName, String domainName, UpdateDomainRequestParameters parameters)
Operation to update an existing Domains resource.DomainResourceInner
update(String resourceGroupName, String emailServiceName, String domainName, UpdateDomainRequestParameters parameters, com.azure.core.util.Context context)
Operation to update an existing Domains resource.
-
-
-
Method Detail
-
get
DomainResourceInner get(String resourceGroupName, String emailServiceName, String domainName)
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 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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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 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 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 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 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 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 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 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 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.
-
-