Skip to content

Commit 435f3ac

Browse files
napolishjosuh
authored andcommitted
[Hub Generated] Review request for Microsoft.AlertsManagement to add version stable/2019-06-01 (Azure#11833)
* Changing Swagger file * Changing examples * Fixing tags example * Fixing tags example * Fixing tags example * prettier fix for white spaces
1 parent 62351af commit 435f3ac

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,10 @@
384384
},
385385
"tags": {
386386
"type": "object",
387-
"description": "The resource tags."
387+
"description": "The resource tags.",
388+
"additionalProperties": {
389+
"type": "string"
390+
}
388391
}
389392
},
390393
"x-ms-azure-resource": true,
@@ -440,7 +443,10 @@
440443
},
441444
"tags": {
442445
"type": "object",
443-
"description": "The resource tags."
446+
"description": "The resource tags.",
447+
"additionalProperties": {
448+
"type": "string"
449+
}
444450
},
445451
"properties": {
446452
"x-ms-client-flatten": true,

specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_CreateOrUpdate.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
3737
"name": "MyAlertRule",
3838
"location": "global",
39-
"tags": "",
39+
"tags": {},
4040
"properties": {
4141
"description": "Sample smart detector alert rule description",
4242
"state": "Enabled",
@@ -65,7 +65,7 @@
6565
"type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
6666
"name": "MyAlertRule",
6767
"location": "global",
68-
"tags": "",
68+
"tags": {},
6969
"properties": {
7070
"description": "Sample smart detector alert rule description",
7171
"state": "Enabled",

specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_Get.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
1313
"name": "MyAlertRule",
1414
"location": "global",
15-
"tags": "",
15+
"tags": {},
1616
"properties": {
1717
"description": "Sample smart detector alert rule description",
1818
"state": "Enabled",

specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_List.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
1515
"name": "MyAlertRule",
1616
"location": "global",
17-
"tags": "",
17+
"tags": {},
1818
"properties": {
1919
"description": "Sample smart detector alert rule description",
2020
"state": "Enabled",
@@ -41,7 +41,7 @@
4141
"type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
4242
"name": "MySecondAlertRule",
4343
"location": "global",
44-
"tags": "",
44+
"tags": {},
4545
"properties": {
4646
"description": "Sample smart detector alert rule description",
4747
"state": "Disabled",

specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/stable/2019-06-01/examples/SmartDetectorAlertRule_ListByResourceGroup.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
1515
"name": "MyAlertRule",
1616
"location": "global",
17-
"tags": "",
17+
"tags": {},
1818
"properties": {
1919
"description": "Sample smart detector alert rule description",
2020
"state": "Enabled",
@@ -41,7 +41,7 @@
4141
"type": "Microsoft.AlertsManagement/smartDetectorAlertRules",
4242
"name": "MySecondAlertRule",
4343
"location": "global",
44-
"tags": "",
44+
"tags": {},
4545
"properties": {
4646
"description": "Sample smart detector alert rule description",
4747
"state": "Disabled",

0 commit comments

Comments
 (0)