diff --git a/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/Marketplace.json b/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/Marketplace.json index 66059897c269..0425f494c645 100644 --- a/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/Marketplace.json +++ b/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/Marketplace.json @@ -1334,6 +1334,48 @@ "additionalProperties": { "type": "string" } + }, + "notificationsSettings": { + "description": "Gets or sets notifications settings", + "$ref": "#/definitions/NotificationsSettingsProperties", + "x-ms-client-flatten": true + } + } + }, + "NotificationsSettingsProperties": { + "description": "Describes the json payload for notifications settings", + "type": "object", + "properties": { + "recipients": { + "description": "Gets or sets list of notified recipients for new requests", + "type": "array", + "items": { + "$ref": "#/definitions/Recipient" + } + }, + "sendToAllMarketplaceAdmins": { + "description": "Gets or sets whether to send email to all marketplace admins for new requests", + "type": "boolean" + } + } + }, + "Recipient": { + "description": "Describes the json payload for a notified recipient for new requests", + "type": "object", + "properties": { + "principalId": { + "description": "Principal ID", + "type": "string" + }, + "emailAddress": { + "description": "Email Address", + "type": "string", + "readOnly": true + }, + "displayName": { + "description": "Display Name", + "type": "string", + "readOnly": true } } }, diff --git a/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/GetPrivateStore.json b/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/GetPrivateStore.json index 7072c63294a8..9a1e8c7fb8f9 100644 --- a/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/GetPrivateStore.json +++ b/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/GetPrivateStore.json @@ -22,6 +22,21 @@ "branding": { "iconUrl": "https://some-images.someDomail.com/image/stroeIcon.12345678-4321", "color": "blue" + }, + "notificationsSettings": { + "recipients": [ + { + "principalId": "6d583005-403b-407a-8ac0-c4af72b47ce9", + "emailAddress": "john_doe@microsoft.com", + "displayName": "John Doe" + }, + { + "principalId": "c5b680d4-aac2-4940-9e1c-399454056ff2", + "emailAddress": "jane_doe@microsoft.com", + "displayName": "Jane Doe" + } + ], + "sendToAllMarketplaceAdmins": true } } } diff --git a/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/GetPrivateStores.json b/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/GetPrivateStores.json index b282178aafcc..3d69e896db29 100644 --- a/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/GetPrivateStores.json +++ b/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2021-06-01/examples/GetPrivateStores.json @@ -24,6 +24,21 @@ "branding": { "iconUrl": "https://some-images.someDomail.com/image/stroeIcon.12345678-4321", "color": "blue" + }, + "notificationsSettings": { + "recipients": [ + { + "principalId": "6d583005-403b-407a-8ac0-c4af72b47ce9", + "emailAddress": "john_doe@microsoft.com", + "displayName": "John Doe" + }, + { + "principalId": "c5b680d4-aac2-4940-9e1c-399454056ff2", + "emailAddress": "jane_doe@microsoft.com", + "displayName": "Jane Doe" + } + ], + "sendToAllMarketplaceAdmins": true } } }