Interface Domains
public interface Domains
Resource collection API of Domains.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 VerificationBegins definition for a new DomainResource resource.void
Deletevoid
delete
(String resourceGroupName, String emailServiceName, String domainName, com.azure.core.util.Context context) Deletevoid
deleteById
(String id) Deletevoid
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) DeleteGetGetcom.azure.core.http.rest.Response<DomainResource>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Getcom.azure.core.http.rest.Response<DomainResource>
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<DomainResource>
listByEmailServiceResource
(String resourceGroupName, String emailServiceName) List by EmailServicecom.azure.core.http.rest.PagedIterable<DomainResource>
listByEmailServiceResource
(String resourceGroupName, String emailServiceName, com.azure.core.util.Context context) List by EmailService
-
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<DomainResource> 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.
-
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.
-
listByEmailServiceResource
com.azure.core.http.rest.PagedIterable<DomainResource> 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<DomainResource> 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.
-
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.
-
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.
-
getById
GetGet the Domains resource and its properties.
- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<DomainResource> getByIdWithResponse(String id, com.azure.core.util.Context context) GetGet the Domains resource and its properties.
- Parameters:
id
- the resource ID.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.
-
deleteById
DeleteOperation to delete a Domains resource.
- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
DeleteOperation to delete a Domains resource.
- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new DomainResource resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new DomainResource definition.
-