你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EmailTemplates Interface

Implements

com.microsoft.azure.arm.collection.SupportsCreating<Blank> com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.apimanagement.v2019_01_01.implementation.EmailTemplatesInner>

public interface EmailTemplates
extends com.microsoft.azure.arm.collection.SupportsCreating<Blank>, com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.apimanagement.v2019_01_01.implementation.EmailTemplatesInner>

Type representing EmailTemplates.

Method Summary

Modifier and Type Method and Description
abstract rx.Completable deleteAsync(String resourceGroupName, String serviceName, TemplateName templateName, String ifMatch)

Reset the Email Template to default template provided by the API Management service instance.

abstract rx.Observable<EmailTemplateContract> getAsync(String resourceGroupName, String serviceName, TemplateName templateName)

Gets the details of the email template specified by its identifier.

abstract rx.Completable getEntityTagAsync(String resourceGroupName, String serviceName, TemplateName templateName)

Gets the entity state (Etag) version of the email template specified by its identifier.

abstract rx.Observable<EmailTemplateContract> listByServiceAsync(String resourceGroupName, String serviceName)

Lists a collection of properties defined within a service instance.

Method Details

deleteAsync

public abstract Completable deleteAsync(String resourceGroupName, String serviceName, TemplateName templateName, String ifMatch)

Reset the Email Template to default template provided by the API Management service instance.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
templateName - Email Template Name Identifier. Possible values include: 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', 'quotaLimitApproachingDeveloperNotificationMessage', 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault', 'inviteUserNotificationMessage', 'newCommentNotificationMessage', 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage'
ifMatch - ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

Returns:

the observable for the request

getAsync

public abstract Observable<EmailTemplateContract> getAsync(String resourceGroupName, String serviceName, TemplateName templateName)

Gets the details of the email template specified by its identifier.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
templateName - Email Template Name Identifier. Possible values include: 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', 'quotaLimitApproachingDeveloperNotificationMessage', 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault', 'inviteUserNotificationMessage', 'newCommentNotificationMessage', 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage'

Returns:

the observable for the request

getEntityTagAsync

public abstract Completable getEntityTagAsync(String resourceGroupName, String serviceName, TemplateName templateName)

Gets the entity state (Etag) version of the email template specified by its identifier.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.
templateName - Email Template Name Identifier. Possible values include: 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', 'quotaLimitApproachingDeveloperNotificationMessage', 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault', 'inviteUserNotificationMessage', 'newCommentNotificationMessage', 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage'

Returns:

the observable for the request

listByServiceAsync

public abstract Observable<EmailTemplateContract> listByServiceAsync(String resourceGroupName, String serviceName)

Lists a collection of properties defined within a service instance.

Parameters:

resourceGroupName - The name of the resource group.
serviceName - The name of the API Management service.

Returns:

the observable for the request

Applies to