Skip to content

Commit 8a970f8

Browse files
author
SDKAuto
committed
CodeGen from PR 19206 in Azure/azure-rest-api-specs
Adds identity type to patch monitor request. (#19206) * Adds identity type to patch monitor request. * Updates description. * Makes patch body required
1 parent fc5075d commit 8a970f8

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

schemas/2021-12-01-preview/Microsoft.Workloads.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@
1313
"2021-12-01-preview"
1414
]
1515
},
16+
"identity": {
17+
"oneOf": [
18+
{
19+
"$ref": "#/definitions/UserAssignedServiceIdentity"
20+
},
21+
{
22+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
23+
}
24+
],
25+
"description": "Managed service identity (user assigned identities)"
26+
},
1627
"location": {
1728
"type": "string",
1829
"description": "The geo-location where the resource lives"
@@ -82,6 +93,17 @@
8293
"2021-12-01-preview"
8394
]
8495
},
96+
"identity": {
97+
"oneOf": [
98+
{
99+
"$ref": "#/definitions/UserAssignedServiceIdentity"
100+
},
101+
{
102+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
103+
}
104+
],
105+
"description": "Managed service identity (user assigned identities)"
106+
},
85107
"name": {
86108
"type": "string",
87109
"description": "Name of the provider instance."
@@ -1375,6 +1397,17 @@
13751397
"2021-12-01-preview"
13761398
]
13771399
},
1400+
"identity": {
1401+
"oneOf": [
1402+
{
1403+
"$ref": "#/definitions/UserAssignedServiceIdentity"
1404+
},
1405+
{
1406+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1407+
}
1408+
],
1409+
"description": "Managed service identity (user assigned identities)"
1410+
},
13781411
"name": {
13791412
"type": "string",
13801413
"description": "Name of the provider instance."

0 commit comments

Comments
 (0)