Microsoft.ApiManagement service/templates 2019-12-01

Template format

To create a Microsoft.ApiManagement/service/templates resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.ApiManagement/service/templates",
  "apiVersion": "2019-12-01",
  "properties": {
    "subject": "string",
    "title": "string",
    "description": "string",
    "body": "string",
    "parameters": [
      {
        "name": "string",
        "title": "string",
        "description": "string"
      }
    ]
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ApiManagement/service/templates object

Name Type Required Value
name enum Yes Email Template Name Identifier. - applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage
type enum Yes templates
-or-
Microsoft.ApiManagement/service/templates

See Set name and type for child resources.
apiVersion enum Yes 2019-12-01
properties object Yes Email Template Update contract properties. - EmailTemplateUpdateParameterProperties object

EmailTemplateUpdateParameterProperties object

Name Type Required Value
subject string No Subject of the Template.
title string No Title of the Template.
description string No Description of the Email Template.
body string No Email Template Body. This should be a valid XDocument
parameters array No Email Template Parameter values. - EmailTemplateParametersContractProperties object

EmailTemplateParametersContractProperties object

Name Type Required Value
name string No Template parameter name.
title string No Template parameter title.
description string No Template parameter description.