EmailServices Interface

public interface EmailServices

Resource collection API of EmailServices.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new EmailServiceResource resource.

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

Delete Operation to delete a EmailService.

abstract void deleteById(String id)

Delete Operation to delete a EmailService.

abstract void deleteByIdWithResponse(String id, Context context)

Delete Operation to delete a EmailService.

abstract void deleteByResourceGroup(String resourceGroupName, String emailServiceName)

Delete Operation to delete a EmailService.

abstract EmailServiceResource getById(String id)

Get Get the EmailService and its properties.

abstract Response<EmailServiceResource> getByIdWithResponse(String id, Context context)

Get Get the EmailService and its properties.

abstract EmailServiceResource getByResourceGroup(String resourceGroupName, String emailServiceName)

Get Get the EmailService and its properties.

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

Get Get the EmailService and its properties.

abstract PagedIterable<EmailServiceResource> list()

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

abstract PagedIterable<EmailServiceResource> list(Context context)

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

abstract PagedIterable<EmailServiceResource> listByResourceGroup(String resourceGroupName)

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

abstract PagedIterable<EmailServiceResource> 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.

Method Details

define

public abstract EmailServiceResource.DefinitionStages.Blank define(String name)

Begins definition for a new EmailServiceResource resource.

Parameters:

name - resource name.

Returns:

the first stage of the new EmailServiceResource definition.

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.

deleteById

public abstract void deleteById(String id)

Delete Operation to delete a EmailService.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Delete Operation to delete a EmailService.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract void deleteByResourceGroup(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.

getById

public abstract EmailServiceResource getById(String id)

Get Get the EmailService and its properties.

Parameters:

id - the resource ID.

Returns:

the EmailService and its properties along with Response<T>.

getByIdWithResponse

public abstract Response<EmailServiceResource> getByIdWithResponse(String id, Context context)

Get Get the EmailService and its properties.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the EmailService and its properties along with Response<T>.

getByResourceGroup

public abstract EmailServiceResource 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<EmailServiceResource> 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<EmailServiceResource> 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<EmailServiceResource> 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<EmailServiceResource> 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<EmailServiceResource> 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>.

Applies to