Skip to content

Commit

Permalink
[ReleasePR marketplace] added notifications settings (#1857)
Browse files Browse the repository at this point in the history
  • Loading branch information
msftbot[bot] committed Aug 24, 2021
2 parents 919c8e7 + 646feef commit 1772169
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions schemas/2021-06-01/Microsoft.Marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,37 @@
},
"description": "The collection details"
},
"NotificationsSettingsProperties": {
"type": "object",
"properties": {
"recipients": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/Recipient"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets list of notified recipients for new requests"
},
"sendToAllMarketplaceAdmins": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Gets or sets whether to send email to all marketplace admins for new requests"
}
},
"description": "Describes the json payload for notifications settings"
},
"OfferProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -497,6 +528,17 @@
],
"description": "Is government"
},
"notificationsSettings": {
"oneOf": [
{
"$ref": "#/definitions/NotificationsSettingsProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Describes the json payload for notifications settings"
},
"privateStoreName": {
"type": "string",
"description": "Private Store Name"
Expand Down Expand Up @@ -663,6 +705,16 @@
],
"description": "Microsoft.Marketplace/privateStores/requestApprovals"
},
"Recipient": {
"type": "object",
"properties": {
"principalId": {
"type": "string",
"description": "Principal ID"
}
},
"description": "Describes the json payload for a notified recipient for new requests"
},
"RequestApprovalProperties": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 1772169

Please sign in to comment.