The service/templates resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.ApiManagement/service/templates resource, add the following JSON to your template.
{
"type": "Microsoft.ApiManagement/service/templates",
"apiVersion": "2023-05-01-preview",
"name": "string",
"properties": {
"body": "string",
"description": "string",
"parameters": [
{
"description": "string",
"name": "string",
"title": "string"
}
],
"subject": "string",
"title": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.ApiManagement/service/templates' |
apiVersion | The resource api version | '2023-05-01-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) Character limit: 1-80 Valid characters: Alphanumerics and hyphens. Start with letter and end with alphanumeric. |
properties | Email Template Update contract properties. | EmailTemplateUpdateParameterPropertiesOrEmailTemplat... |
Name | Description | Value |
---|---|---|
body | Email Template Body. This should be a valid XDocument | string |
description | Description of the Email Template. | string |
parameters | Email Template Parameter values. | EmailTemplateParametersContractProperties[] |
subject | Subject of the Template. | string |
title | Title of the Template. | string |
Name | Description | Value |
---|---|---|
description | Template parameter description. | string |
name | Template parameter name. | string |
title | Template parameter title. | string |