Skip to content

Commit 83c0c48

Browse files
authored
adding the changes again; trying to fix prettier errors (#15322)
* adding the changes again; trying to fix prettier errors * fixing model validation errors * prettier error fix * fixed the last prettier errors: * reverted to original package-lock.json
1 parent de77aca commit 83c0c48

File tree

6 files changed

+46
-10
lines changed

6 files changed

+46
-10
lines changed

specification/changeanalysis/resource-manager/Microsoft.ChangeAnalysis/preview/2020-04-01-preview/changeanalysis.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,25 @@
287287
"workspaceResourceId": {
288288
"description": "The Azure Monitor workspace ARM Resource ID. The resource ID should be in the following format: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}",
289289
"type": "string"
290+
},
291+
"includeChangeDetails": {
292+
"$ref": "#/definitions/ChangeDetailsMode"
290293
}
291294
}
292295
},
296+
"ChangeDetailsMode": {
297+
"description": "The mode of includeChangeDetails feature. The flag configures whether to include or exclude content of the change before and after values.",
298+
"enum": [
299+
"None",
300+
"Include",
301+
"Exclude"
302+
],
303+
"type": "string",
304+
"x-ms-enum": {
305+
"name": "ChangeDetailsMode",
306+
"modelAsString": true
307+
}
308+
},
293309
"NotificationsState": {
294310
"description": "The state of notifications feature.",
295311
"enum": [
@@ -376,6 +392,10 @@
376392
},
377393
"properties": {
378394
"$ref": "#/definitions/ConfigurationProfileResourceProperties"
395+
},
396+
"location": {
397+
"description": "The location where the resource is to be deployed.",
398+
"type": "string"
379399
}
380400
}
381401
},

specification/changeanalysis/resource-manager/Microsoft.ChangeAnalysis/preview/2020-04-01-preview/examples/ConfigurationProfileCreate.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882",
44
"profileName": "default",
55
"api-version": "2020-04-01-preview",
6-
"resource": {}
6+
"resource": {
7+
"location": "centralus"
8+
}
79
},
810
"responses": {
911
"200": {
@@ -13,11 +15,13 @@
1315
"notifications": {
1416
"azureMonitorWorkspaceProperties": {
1517
"workspaceId": null,
16-
"workspaceResourceId": null
18+
"workspaceResourceId": null,
19+
"includeChangeDetails": "None"
1720
},
1821
"activationState": "None"
1922
}
2023
},
24+
"location": "centralus",
2125
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/providers/Microsoft.ChangeAnalysis/profile/default",
2226
"name": "default"
2327
}

specification/changeanalysis/resource-manager/Microsoft.ChangeAnalysis/preview/2020-04-01-preview/examples/ConfigurationProfileCreateWithIdentity.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"resource": {
77
"identity": {
88
"type": "SystemAssigned"
9-
}
9+
},
10+
"location": "centralus"
1011
}
1112
},
1213
"responses": {
@@ -17,7 +18,8 @@
1718
"notifications": {
1819
"azureMonitorWorkspaceProperties": {
1920
"workspaceId": null,
20-
"workspaceResourceId": null
21+
"workspaceResourceId": null,
22+
"includeChangeDetails": "None"
2123
},
2224
"activationState": "None"
2325
}
@@ -27,6 +29,7 @@
2729
"tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB",
2830
"type": "SystemAssigned"
2931
},
32+
"location": "centralus",
3033
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/providers/Microsoft.ChangeAnalysis/profile/default",
3134
"name": "default"
3235
}

specification/changeanalysis/resource-manager/Microsoft.ChangeAnalysis/preview/2020-04-01-preview/examples/ConfigurationProfileGet.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"notifications": {
1313
"azureMonitorWorkspaceProperties": {
1414
"workspaceId": null,
15-
"workspaceResourceId": null
15+
"workspaceResourceId": null,
16+
"includeChangeDetails": "None"
1617
},
1718
"activationState": "None"
1819
}
@@ -22,6 +23,7 @@
2223
"tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB",
2324
"type": "SystemAssigned"
2425
},
26+
"location": "centralus",
2527
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/providers/Microsoft.ChangeAnalysis/profile/default",
2628
"name": "default"
2729
}

specification/changeanalysis/resource-manager/Microsoft.ChangeAnalysis/preview/2020-04-01-preview/examples/ConfigurationProfileUpdate.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
"notifications": {
99
"azureMonitorWorkspaceProperties": {
1010
"workspaceId": "workspaceIdValue",
11-
"workspaceResourceId": "workspace resource Id"
11+
"workspaceResourceId": "workspace resource Id",
12+
"includeChangeDetails": "None"
1213
},
1314
"activationState": "Enabled"
1415
}
15-
}
16+
},
17+
"location": "centralus"
1618
}
1719
},
1820
"responses": {
@@ -23,12 +25,14 @@
2325
"notifications": {
2426
"azureMonitorWorkspaceProperties": {
2527
"workspaceId": "workspaceIdValue",
26-
"workspaceResourceId": "workspace resource Id"
28+
"workspaceResourceId": "workspace resource Id",
29+
"includeChangeDetails": "None"
2730
},
2831
"activationState": "Enabled"
2932
}
3033
}
3134
},
35+
"location": "centralus",
3236
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/providers/Microsoft.ChangeAnalysis/profile/default",
3337
"name": "default"
3438
}

specification/changeanalysis/resource-manager/Microsoft.ChangeAnalysis/preview/2020-04-01-preview/examples/ConfigurationProfileUpdateWithIdentity.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
},
1616
"identity": {
1717
"type": "SystemAssigned"
18-
}
18+
},
19+
"location": "centralus"
1920
}
2021
},
2122
"responses": {
@@ -26,7 +27,8 @@
2627
"notifications": {
2728
"azureMonitorWorkspaceProperties": {
2829
"workspaceId": "workspaceIdValue",
29-
"workspaceResourceId": "workspace resource Id"
30+
"workspaceResourceId": "workspace resource Id",
31+
"includeChangeDetails": "None"
3032
},
3133
"activationState": "Enabled"
3234
}
@@ -36,6 +38,7 @@
3638
"tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB",
3739
"type": "SystemAssigned"
3840
},
41+
"location": "centralus",
3942
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/providers/Microsoft.ChangeAnalysis/profile/default",
4043
"name": "default"
4144
}

0 commit comments

Comments
 (0)