EmailServices interface

Interface representing a EmailServices.

Methods

beginCreateOrUpdate(string, string, EmailServiceResource, EmailServicesCreateOrUpdateOptionalParams)

Create a new EmailService or update an existing EmailService.

beginCreateOrUpdateAndWait(string, string, EmailServiceResource, EmailServicesCreateOrUpdateOptionalParams)

Create a new EmailService or update an existing EmailService.

beginDelete(string, string, EmailServicesDeleteOptionalParams)

Operation to delete a EmailService.

beginDeleteAndWait(string, string, EmailServicesDeleteOptionalParams)

Operation to delete a EmailService.

beginUpdate(string, string, EmailServiceResourceUpdate, EmailServicesUpdateOptionalParams)

Operation to update an existing EmailService.

beginUpdateAndWait(string, string, EmailServiceResourceUpdate, EmailServicesUpdateOptionalParams)

Operation to update an existing EmailService.

get(string, string, EmailServicesGetOptionalParams)

Get the EmailService and its properties.

listByResourceGroup(string, EmailServicesListByResourceGroupOptionalParams)

Handles requests to list all resources in a resource group.

listBySubscription(EmailServicesListBySubscriptionOptionalParams)

Handles requests to list all resources in a subscription.

listVerifiedExchangeOnlineDomains(EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams)

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

Method Details

beginCreateOrUpdate(string, string, EmailServiceResource, EmailServicesCreateOrUpdateOptionalParams)

Create a new EmailService or update an existing EmailService.

function beginCreateOrUpdate(resourceGroupName: string, emailServiceName: string, parameters: EmailServiceResource, options?: EmailServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<EmailServiceResource>, EmailServiceResource>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

emailServiceName

string

The name of the EmailService resource.

parameters
EmailServiceResource

Parameters for the create or update operation

options
EmailServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<EmailServiceResource>, EmailServiceResource>>

beginCreateOrUpdateAndWait(string, string, EmailServiceResource, EmailServicesCreateOrUpdateOptionalParams)

Create a new EmailService or update an existing EmailService.

function beginCreateOrUpdateAndWait(resourceGroupName: string, emailServiceName: string, parameters: EmailServiceResource, options?: EmailServicesCreateOrUpdateOptionalParams): Promise<EmailServiceResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

emailServiceName

string

The name of the EmailService resource.

parameters
EmailServiceResource

Parameters for the create or update operation

options
EmailServicesCreateOrUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, EmailServicesDeleteOptionalParams)

Operation to delete a EmailService.

function beginDelete(resourceGroupName: string, emailServiceName: string, options?: EmailServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

emailServiceName

string

The name of the EmailService resource.

options
EmailServicesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, EmailServicesDeleteOptionalParams)

Operation to delete a EmailService.

function beginDeleteAndWait(resourceGroupName: string, emailServiceName: string, options?: EmailServicesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

emailServiceName

string

The name of the EmailService resource.

options
EmailServicesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, EmailServiceResourceUpdate, EmailServicesUpdateOptionalParams)

Operation to update an existing EmailService.

function beginUpdate(resourceGroupName: string, emailServiceName: string, parameters: EmailServiceResourceUpdate, options?: EmailServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<EmailServiceResource>, EmailServiceResource>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

emailServiceName

string

The name of the EmailService resource.

parameters
EmailServiceResourceUpdate

Parameters for the update operation

options
EmailServicesUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<EmailServiceResource>, EmailServiceResource>>

beginUpdateAndWait(string, string, EmailServiceResourceUpdate, EmailServicesUpdateOptionalParams)

Operation to update an existing EmailService.

function beginUpdateAndWait(resourceGroupName: string, emailServiceName: string, parameters: EmailServiceResourceUpdate, options?: EmailServicesUpdateOptionalParams): Promise<EmailServiceResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

emailServiceName

string

The name of the EmailService resource.

parameters
EmailServiceResourceUpdate

Parameters for the update operation

options
EmailServicesUpdateOptionalParams

The options parameters.

Returns

get(string, string, EmailServicesGetOptionalParams)

Get the EmailService and its properties.

function get(resourceGroupName: string, emailServiceName: string, options?: EmailServicesGetOptionalParams): Promise<EmailServiceResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

emailServiceName

string

The name of the EmailService resource.

options
EmailServicesGetOptionalParams

The options parameters.

Returns

listByResourceGroup(string, EmailServicesListByResourceGroupOptionalParams)

Handles requests to list all resources in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: EmailServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<EmailServiceResource, EmailServiceResource[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
EmailServicesListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(EmailServicesListBySubscriptionOptionalParams)

Handles requests to list all resources in a subscription.

function listBySubscription(options?: EmailServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<EmailServiceResource, EmailServiceResource[], PageSettings>

Parameters

options
EmailServicesListBySubscriptionOptionalParams

The options parameters.

Returns

listVerifiedExchangeOnlineDomains(EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams)

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

function listVerifiedExchangeOnlineDomains(options?: EmailServicesListVerifiedExchangeOnlineDomainsOptionalParams): Promise<EmailServicesListVerifiedExchangeOnlineDomainsResponse>

Parameters

Returns