The labs/notificationchannels 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.DevTestLab/labs/notificationchannels resource, add the following JSON to your template.
{
"type": "Microsoft.DevTestLab/labs/notificationchannels",
"apiVersion": "2018-09-15",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"properties": {
"description": "string",
"emailRecipient": "string",
"events": [
{
"eventName": "string"
}
],
"notificationLocale": "string",
"webHookUrl": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.DevTestLab/labs/notificationchannels' |
apiVersion | The resource api version | '2018-09-15' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
location | The location of the resource. | string |
tags | The tags of the resource. | Dictionary of tag names and values. See Tags in templates |
properties | The properties of the resource. | NotificationChannelProperties (required) |
Name | Description | Value |
---|---|---|
description | Description of notification. | string |
emailRecipient | The email recipient to send notifications to (can be a list of semi-colon separated email addresses). | string |
events | The list of event for which this notification is enabled. | Event[] |
notificationLocale | The locale to use when sending a notification (fallback for unsupported languages is EN). | string |
webHookUrl | The webhook URL to send notifications to. | string |
Name | Description | Value |
---|---|---|
eventName | The event type for which this notification is enabled (i.e. AutoShutdown, Cost) | 'AutoShutdown' 'Cost' |