Partager via


IEmailTemplateOperations.GetEntityTagWithHttpMessagesAsync Méthode

Définition

Obtient la version de l’état de l’entité (Etag) du modèle d’e-mail spécifié par son identificateur.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateGetEntityTagHeaders>> GetEntityTagWithHttpMessagesAsync (string resourceGroupName, string serviceName, string templateName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEntityTagWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateGetEntityTagHeaders>>
Public Function GetEntityTagWithHttpMessagesAsync (resourceGroupName As String, serviceName As String, templateName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationHeaderResponse(Of EmailTemplateGetEntityTagHeaders))

Paramètres

resourceGroupName
String

Nom du groupe de ressources.

serviceName
String

Nom du service Gestion des API.

templateName
String

Email identificateur de nom de modèle. Les valeurs possibles sont les suivantes : « applicationApprovedNotificationMessage », 'accountClosedDeveloper', 'quotaLimitApproachingDeveloperNotificationMessage', 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault', 'inviteUserNotificationMessage', 'newCommentNotificationMessage', 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', 'passwordResetByAdminNotificationMessage', ' rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage'

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code status non valide

Levée lorsqu’un paramètre requis a la valeur Null

S’applique à