Interface EmailServicesClient
-
public interface EmailServicesClient
An instance of this class provides access to all the operations defined in EmailServicesClient.
-
-
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<EmailServiceResourceInner>,EmailServiceResourceInner>
beginCreateOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters)
Create a new EmailService or update an existing EmailService.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EmailServiceResourceInner>,EmailServiceResourceInner>
beginCreateOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters, com.azure.core.util.Context context)
Create a new EmailService or update an existing EmailService.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String emailServiceName)
Operation to delete a EmailService.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String emailServiceName, com.azure.core.util.Context context)
Operation to delete a EmailService.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EmailServiceResourceInner>,EmailServiceResourceInner>
beginUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters)
Operation to update an existing EmailService.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EmailServiceResourceInner>,EmailServiceResourceInner>
beginUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters, com.azure.core.util.Context context)
Operation to update an existing EmailService.EmailServiceResourceInner
createOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters)
Create a new EmailService or update an existing EmailService.EmailServiceResourceInner
createOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters, com.azure.core.util.Context context)
Create a new EmailService or update an existing EmailService.void
delete(String resourceGroupName, String emailServiceName)
Operation to delete a EmailService.void
delete(String resourceGroupName, String emailServiceName, com.azure.core.util.Context context)
Operation to delete a EmailService.EmailServiceResourceInner
getByResourceGroup(String resourceGroupName, String emailServiceName)
Get the EmailService and its properties.com.azure.core.http.rest.Response<EmailServiceResourceInner>
getByResourceGroupWithResponse(String resourceGroupName, String emailServiceName, com.azure.core.util.Context context)
Get the EmailService and its properties.com.azure.core.http.rest.PagedIterable<EmailServiceResourceInner>
list()
Handles requests to list all resources in a subscription.com.azure.core.http.rest.PagedIterable<EmailServiceResourceInner>
list(com.azure.core.util.Context context)
Handles requests to list all resources in a subscription.com.azure.core.http.rest.PagedIterable<EmailServiceResourceInner>
listByResourceGroup(String resourceGroupName)
Handles requests to list all resources in a resource group.com.azure.core.http.rest.PagedIterable<EmailServiceResourceInner>
listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Handles requests to list all resources in a resource group.List<String>
listVerifiedExchangeOnlineDomains()
Get a list of domains that are fully verified in Exchange Online.com.azure.core.http.rest.Response<List<String>>
listVerifiedExchangeOnlineDomainsWithResponse(com.azure.core.util.Context context)
Get a list of domains that are fully verified in Exchange Online.EmailServiceResourceInner
update(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters)
Operation to update an existing EmailService.EmailServiceResourceInner
update(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters, com.azure.core.util.Context context)
Operation to update an existing EmailService.
-
-
-
Method Detail
-
getByResourceGroup
EmailServiceResourceInner getByResourceGroup(String resourceGroupName, String emailServiceName)
Get the EmailService and its properties.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService resource.- Returns:
- the EmailService 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<EmailServiceResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String emailServiceName, com.azure.core.util.Context context)
Get the EmailService and its properties.- 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:
- the EmailService 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<EmailServiceResourceInner>,EmailServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters)
Create a new EmailService or update an existing EmailService.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService resource.parameters
- Parameters for the create or update operation.- Returns:
- the
SyncPoller
for polling of a class representing an EmailService 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<EmailServiceResourceInner>,EmailServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters, com.azure.core.util.Context context)
Create a new EmailService or update an existing EmailService.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService 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 an EmailService 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
EmailServiceResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters)
Create a new EmailService or update an existing EmailService.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService resource.parameters
- Parameters for the create or update operation.- Returns:
- a class representing an EmailService 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
EmailServiceResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters, com.azure.core.util.Context context)
Create a new EmailService or update an existing EmailService.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService resource.parameters
- Parameters for the create or update operation.context
- The context to associate with this operation.- Returns:
- a class representing an EmailService 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)
Operation to delete a EmailService.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService 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, com.azure.core.util.Context context)
Operation to delete a EmailService.- 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:
- 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)
Operation to delete a EmailService.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService 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, com.azure.core.util.Context context)
Operation to delete a EmailService.- 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.- 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<EmailServiceResourceInner>,EmailServiceResourceInner> beginUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters)
Operation to update an existing EmailService.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService resource.parameters
- Parameters for the update operation.- Returns:
- the
SyncPoller
for polling of a class representing an EmailService 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<EmailServiceResourceInner>,EmailServiceResourceInner> beginUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters, com.azure.core.util.Context context)
Operation to update an existing EmailService.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService resource.parameters
- Parameters for the update operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a class representing an EmailService 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
EmailServiceResourceInner update(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters)
Operation to update an existing EmailService.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService resource.parameters
- Parameters for the update operation.- Returns:
- a class representing an EmailService 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
EmailServiceResourceInner update(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters, com.azure.core.util.Context context)
Operation to update an existing EmailService.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.emailServiceName
- The name of the EmailService resource.parameters
- Parameters for the update operation.context
- The context to associate with this operation.- Returns:
- a class representing an EmailService 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.
-
list
com.azure.core.http.rest.PagedIterable<EmailServiceResourceInner> list()
Handles requests to list all resources in a subscription.- Returns:
- object that includes an array of EmailServices and a possible link for next set as paginated response
with
PagedIterable
. - Throws:
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<EmailServiceResourceInner> list(com.azure.core.util.Context context)
Handles requests to list all resources in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- object that includes an array of EmailServices 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<EmailServiceResourceInner> listByResourceGroup(String resourceGroupName)
Handles requests to list all resources in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- object that includes an array of EmailServices 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<EmailServiceResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Handles requests to list all resources in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- object that includes an array of EmailServices 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.
-
listVerifiedExchangeOnlineDomains
List<String> listVerifiedExchangeOnlineDomains()
Get a list of domains that are fully verified in Exchange Online.- Returns:
- a list of domains that are fully verified in Exchange Online.
- Throws:
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.
-
listVerifiedExchangeOnlineDomainsWithResponse
com.azure.core.http.rest.Response<List<String>> listVerifiedExchangeOnlineDomainsWithResponse(com.azure.core.util.Context context)
Get a list of domains that are fully verified in Exchange Online.- Parameters:
context
- The context to associate with this operation.- Returns:
- a list of domains that are fully verified in Exchange Online 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.
-
-