Share via


EmailTemplateOperationsExtensions.CreateOrUpdate Method

Definition

Updates an Email Template.

public static Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateContract CreateOrUpdate (this Microsoft.Azure.Management.ApiManagement.IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName, Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateUpdateParameters parameters, string ifMatch = default);
static member CreateOrUpdate : Microsoft.Azure.Management.ApiManagement.IEmailTemplateOperations * string * string * string * Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateUpdateParameters * string -> Microsoft.Azure.Management.ApiManagement.Models.EmailTemplateContract
<Extension()>
Public Function CreateOrUpdate (operations As IEmailTemplateOperations, resourceGroupName As String, serviceName As String, templateName As String, parameters As EmailTemplateUpdateParameters, Optional ifMatch As String = Nothing) As 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'

parameters
EmailTemplateUpdateParameters

Email Template update parameters.

ifMatch
String

ETag of the Entity. Not required when creating an entity, but required when updating an entity.

Returns

Applies to