Skip to content

Commit a3b2431

Browse files
oravital7FredericHeem
authored andcommitted
Adding supported clouds param (Azure#17580)
1 parent f6e6975 commit a3b2431

File tree

5 files changed

+37
-0
lines changed

5 files changed

+37
-0
lines changed

specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/GetStandard_example.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
{
2626
"key": "dbd0cb49-b563-45e7-9724-889e799fa648"
2727
}
28+
],
29+
"supportedClouds": [
30+
"GCP"
2831
]
2932
},
3033
"systemData": {

specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/ListBySubscriptionStandards_example.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
{
5555
"key": "dbd0cb49-b563-45e7-9724-889e799fa648"
5656
}
57+
],
58+
"supportedClouds": [
59+
"GCP"
5760
]
5861
},
5962
"systemData": {

specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/ListStandards_example.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
{
2727
"key": "dbd0cb49-b563-45e7-9724-889e799fa648"
2828
}
29+
],
30+
"supportedClouds": [
31+
"GCP"
2932
]
3033
},
3134
"systemData": {

specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/examples/Standards/PutStandard_example.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
{
1717
"key": "dbd0cb49-b563-45e7-9724-889e799fa648"
1818
}
19+
],
20+
"supportedClouds": [
21+
"GCP"
1922
]
2023
}
2124
}
@@ -40,6 +43,9 @@
4043
{
4144
"key": "dbd0cb49-b563-45e7-9724-889e799fa648"
4245
}
46+
],
47+
"supportedClouds": [
48+
"GCP"
4349
]
4450
},
4551
"systemData": {
@@ -71,6 +77,9 @@
7177
{
7278
"key": "dbd0cb49-b563-45e7-9724-889e799fa648"
7379
}
80+
],
81+
"supportedClouds": [
82+
"GCP"
7483
]
7584
},
7685
"systemData": {

specification/security/resource-manager/Microsoft.Security/preview/2021-08-01-preview/standards.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,13 @@
316316
"items": {
317317
"$ref": "#/definitions/StandardComponentProperties"
318318
}
319+
},
320+
"supportedClouds": {
321+
"description": "List of all standard supported clouds.",
322+
"type": "array",
323+
"items": {
324+
"$ref": "#/definitions/StandardSupportedClouds"
325+
}
319326
}
320327
}
321328
},
@@ -328,6 +335,18 @@
328335
"type": "string"
329336
}
330337
}
338+
},
339+
"StandardSupportedClouds": {
340+
"type": "string",
341+
"description": "The cloud that the standard is supported on.",
342+
"enum": [
343+
"AWS",
344+
"GCP"
345+
],
346+
"x-ms-enum": {
347+
"name": "StandardSupportedClouds",
348+
"modelAsString": false
349+
}
331350
}
332351
},
333352
"parameters": {

0 commit comments

Comments
 (0)