EmailServicesClient Interface

public interface EmailServicesClient

An instance of this class provides access to all the operations defined in EmailServicesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<EmailServiceResourceInner>,EmailServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters)

Create Or Update Create a new EmailService or update an existing EmailService.

abstract SyncPoller<PollResult<EmailServiceResourceInner>,EmailServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters, Context context)

Create Or Update Create a new EmailService or update an existing EmailService.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String emailServiceName)

Delete Operation to delete a EmailService.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String emailServiceName, Context context)

Delete Operation to delete a EmailService.

abstract SyncPoller<PollResult<EmailServiceResourceInner>,EmailServiceResourceInner> beginUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters)

Update Operation to update an existing EmailService.

abstract SyncPoller<PollResult<EmailServiceResourceInner>,EmailServiceResourceInner> beginUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters, Context context)

Update Operation to update an existing EmailService.

abstract EmailServiceResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters)

Create Or Update Create a new EmailService or update an existing EmailService.

abstract EmailServiceResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters, Context context)

Create Or Update Create a new EmailService or update an existing EmailService.

abstract void delete(String resourceGroupName, String emailServiceName)

Delete Operation to delete a EmailService.

abstract void delete(String resourceGroupName, String emailServiceName, Context context)

Delete Operation to delete a EmailService.

abstract EmailServiceResourceInner getByResourceGroup(String resourceGroupName, String emailServiceName)

Get Get the EmailService and its properties.

abstract Response<EmailServiceResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String emailServiceName, Context context)

Get Get the EmailService and its properties.

abstract PagedIterable<EmailServiceResourceInner> list()

List By Subscription Handles requests to list all resources in a subscription.

abstract PagedIterable<EmailServiceResourceInner> list(Context context)

List By Subscription Handles requests to list all resources in a subscription.

abstract PagedIterable<EmailServiceResourceInner> listByResourceGroup(String resourceGroupName)

List By Resource Group Handles requests to list all resources in a resource group.

abstract PagedIterable<EmailServiceResourceInner> listByResourceGroup(String resourceGroupName, Context context)

List By Resource Group Handles requests to list all resources in a resource group.

abstract List<String> listVerifiedExchangeOnlineDomains()

List Verified Domains From Exchange Online Get a list of domains that are fully verified in Exchange Online.

abstract Response<List<String>> listVerifiedExchangeOnlineDomainsWithResponse(Context context)

List Verified Domains From Exchange Online Get a list of domains that are fully verified in Exchange Online.

abstract EmailServiceResourceInner update(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters)

Update Operation to update an existing EmailService.

abstract EmailServiceResourceInner update(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters, Context context)

Update Operation to update an existing EmailService.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<EmailServiceResourceInner>,EmailServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters)

Create Or Update 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<T,U> for polling of a class representing an EmailService resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<EmailServiceResourceInner>,EmailServiceResourceInner> beginCreateOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters, Context context)

Create Or Update 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<T,U> for polling of a class representing an EmailService resource.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String emailServiceName)

Delete 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<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String emailServiceName, Context context)

Delete 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<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<EmailServiceResourceInner>,EmailServiceResourceInner> beginUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters)

Update 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<T,U> for polling of a class representing an EmailService resource.

beginUpdate

public abstract SyncPoller<PollResult<EmailServiceResourceInner>,EmailServiceResourceInner> beginUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters, Context context)

Update 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<T,U> for polling of a class representing an EmailService resource.

createOrUpdate

public abstract EmailServiceResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters)

Create Or Update 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.

createOrUpdate

public abstract EmailServiceResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, EmailServiceResourceInner parameters, Context context)

Create Or Update 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.

delete

public abstract void delete(String resourceGroupName, String emailServiceName)

Delete 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.

delete

public abstract void delete(String resourceGroupName, String emailServiceName, Context context)

Delete 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.

getByResourceGroup

public abstract EmailServiceResourceInner getByResourceGroup(String resourceGroupName, String emailServiceName)

Get 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.

getByResourceGroupWithResponse

public abstract Response<EmailServiceResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String emailServiceName, Context context)

Get 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<T>.

list

public abstract PagedIterable<EmailServiceResourceInner> list()

List By Subscription 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<T>.

list

public abstract PagedIterable<EmailServiceResourceInner> list(Context context)

List By Subscription 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<T>.

listByResourceGroup

public abstract PagedIterable<EmailServiceResourceInner> listByResourceGroup(String resourceGroupName)

List By Resource Group 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<T>.

listByResourceGroup

public abstract PagedIterable<EmailServiceResourceInner> listByResourceGroup(String resourceGroupName, Context context)

List By Resource Group 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<T>.

listVerifiedExchangeOnlineDomains

public abstract List<String> listVerifiedExchangeOnlineDomains()

List Verified Domains From Exchange Online Get a list of domains that are fully verified in Exchange Online.

Returns:

a list of domains that are fully verified in Exchange Online.

listVerifiedExchangeOnlineDomainsWithResponse

public abstract Response<List<String>> listVerifiedExchangeOnlineDomainsWithResponse(Context context)

List Verified Domains From Exchange Online 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<T>.

update

public abstract EmailServiceResourceInner update(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters)

Update 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.

update

public abstract EmailServiceResourceInner update(String resourceGroupName, String emailServiceName, EmailServiceResourceUpdate parameters, Context context)

Update 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.

Applies to