예제 #1
0
 /// <summary>
 /// Updates an Email Template.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the API Management service.
 /// </param>
 /// <param name='templateName'>
 /// Email Template Name Identifier. Possible values include:
 /// 'applicationApprovedNotificationMessage', 'accountClosedDeveloper',
 /// 'quotaLimitApproachingDeveloperNotificationMessage',
 /// 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault',
 /// 'inviteUserNotificationMessage', 'newCommentNotificationMessage',
 /// 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage',
 /// 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault',
 /// 'passwordResetByAdminNotificationMessage',
 /// 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage'
 /// </param>
 /// <param name='parameters'>
 /// Email Template update parameters.
 /// </param>
 /// <param name='ifMatch'>
 /// ETag of the Entity. Not required when creating an entity, but required when
 /// updating an entity.
 /// </param>
 public static EmailTemplateContract CreateOrUpdate(this IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName, EmailTemplateUpdateParameters parameters, string ifMatch = default(string))
 {
     return(operations.CreateOrUpdateAsync(resourceGroupName, serviceName, templateName, parameters, ifMatch).GetAwaiter().GetResult());
 }