Skip to content

Commit 8dc5f1d

Browse files
added notifications settings (#15500)
1 parent d3c50e4 commit 8dc5f1d

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed

specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/Marketplace.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,6 +1334,48 @@
13341334
"additionalProperties": {
13351335
"type": "string"
13361336
}
1337+
},
1338+
"notificationsSettings": {
1339+
"description": "Gets or sets notifications settings",
1340+
"$ref": "#/definitions/NotificationsSettingsProperties",
1341+
"x-ms-client-flatten": true
1342+
}
1343+
}
1344+
},
1345+
"NotificationsSettingsProperties": {
1346+
"description": "Describes the json payload for notifications settings",
1347+
"type": "object",
1348+
"properties": {
1349+
"recipients": {
1350+
"description": "Gets or sets list of notified recipients for new requests",
1351+
"type": "array",
1352+
"items": {
1353+
"$ref": "#/definitions/Recipient"
1354+
}
1355+
},
1356+
"sendToAllMarketplaceAdmins": {
1357+
"description": "Gets or sets whether to send email to all marketplace admins for new requests",
1358+
"type": "boolean"
1359+
}
1360+
}
1361+
},
1362+
"Recipient": {
1363+
"description": "Describes the json payload for a notified recipient for new requests",
1364+
"type": "object",
1365+
"properties": {
1366+
"principalId": {
1367+
"description": "Principal ID",
1368+
"type": "string"
1369+
},
1370+
"emailAddress": {
1371+
"description": "Email Address",
1372+
"type": "string",
1373+
"readOnly": true
1374+
},
1375+
"displayName": {
1376+
"description": "Display Name",
1377+
"type": "string",
1378+
"readOnly": true
13371379
}
13381380
}
13391381
},

specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/GetPrivateStore.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@
2222
"branding": {
2323
"iconUrl": "https://some-images.someDomail.com/image/stroeIcon.12345678-4321",
2424
"color": "blue"
25+
},
26+
"notificationsSettings": {
27+
"recipients": [
28+
{
29+
"principalId": "6d583005-403b-407a-8ac0-c4af72b47ce9",
30+
"emailAddress": "john_doe@microsoft.com",
31+
"displayName": "John Doe"
32+
},
33+
{
34+
"principalId": "c5b680d4-aac2-4940-9e1c-399454056ff2",
35+
"emailAddress": "jane_doe@microsoft.com",
36+
"displayName": "Jane Doe"
37+
}
38+
],
39+
"sendToAllMarketplaceAdmins": true
2540
}
2641
}
2742
}

specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/GetPrivateStores.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@
2424
"branding": {
2525
"iconUrl": "https://some-images.someDomail.com/image/stroeIcon.12345678-4321",
2626
"color": "blue"
27+
},
28+
"notificationsSettings": {
29+
"recipients": [
30+
{
31+
"principalId": "6d583005-403b-407a-8ac0-c4af72b47ce9",
32+
"emailAddress": "john_doe@microsoft.com",
33+
"displayName": "John Doe"
34+
},
35+
{
36+
"principalId": "c5b680d4-aac2-4940-9e1c-399454056ff2",
37+
"emailAddress": "jane_doe@microsoft.com",
38+
"displayName": "Jane Doe"
39+
}
40+
],
41+
"sendToAllMarketplaceAdmins": true
2742
}
2843
}
2944
}

0 commit comments

Comments
 (0)