Share via


EmailTemplateOperationsExtensions.GetEntityTagAsync Method

Definition

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

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

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'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to