ARM template resource definition
The testBaseAccounts/customerEvents 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.TestBase/testBaseAccounts/customerEvents resource, add the following JSON to your template.
{
"type": "Microsoft.TestBase/testBaseAccounts/customerEvents",
"apiVersion": "2022-04-01-preview",
"name": "string",
"properties": {
"eventName": "string",
"receivers": [
{
"receiverType": "string",
"receiverValue": {
"distributionGroupListReceiverValue": {
"distributionGroups": [ "string" ]
},
"subscriptionReceiverValue": {
"role": "string",
"subscriptionId": "string",
"subscriptionName": "string"
},
"userObjectReceiverValue": {
"userObjectIds": [ "string" ]
}
}
}
]
}
}
Property values
testBaseAccounts/customerEvents
Name |
Description |
Value |
type |
The resource type |
'Microsoft.TestBase/testBaseAccounts/customerEvents' |
apiVersion |
The resource api version |
'2022-04-01-preview' |
name |
The resource name
See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties |
Customer Notification Event properties. |
CustomerEventProperties |
CustomerEventProperties
Name |
Description |
Value |
eventName |
The name of the event subscribed to. |
string (required) |
receivers |
The notification event receivers. |
NotificationEventReceiver[] (required) |
NotificationEventReceiver
Name |
Description |
Value |
receiverType |
The type of the notification event receiver. |
string |
receiverValue |
The notification event receiver value. |
NotificationReceiverValue |
NotificationReceiverValue
DistributionGroupListReceiverValue
Name |
Description |
Value |
distributionGroups |
The list of distribution groups. |
string[] |
SubscriptionReceiverValue
Name |
Description |
Value |
role |
The role of the notification receiver. |
string |
subscriptionId |
The subscription id of the notification receiver. |
string |
subscriptionName |
The subscription name of the notification receiver. |
string |
UserObjectReceiverValue
Name |
Description |
Value |
userObjectIds |
user object ids. |
string[] |