다음을 통해 공유


EmailTemplateOperationsExtensions.UpdateAsync Method

Definition

Updates API Management email template

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateContract> UpdateAsync (this Microsoft.Azure.Management.ApiManagement.IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName, string ifMatch, Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.ApiManagement.IEmailTemplateOperations * string * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateContract>
<Extension()>
Public Function UpdateAsync (operations As IEmailTemplateOperations, resourceGroupName As String, serviceName As String, templateName As String, ifMatch As String, parameters As EmailTemplateUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EmailTemplateContract)

Parameters

operations
IEmailTemplateOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

templateName
String

Email Template Name Identifier. Possible values include: 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', 'quotaLimitApproachingDeveloperNotificationMessage', 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault', 'inviteUserNotificationMessage', 'newCommentNotificationMessage', 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', 'passwordResetByAdminNotificationMessage', 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage'

ifMatch
String

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.

parameters
EmailTemplateUpdateParameters

Update parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to