Skip to content

Commit caa143d

Browse files
author
msftbot[bot]
authored
[ReleasePR reservations] Fix S360 Linting Errors in Microsoft.Capacity (#2064)
Create to sync Azure/azure-rest-api-specs#16775 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/reservations?expand=1)
2 parents 480dffb + 8b40aac commit caa143d

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

schemas/2020-10-25/Microsoft.Capacity.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,21 @@
7777
"description": "Additional properties for the specified resource provider."
7878
},
7979
"resourceType": {
80-
"type": "object",
81-
"properties": {},
80+
"oneOf": [
81+
{
82+
"type": "string",
83+
"enum": [
84+
"standard",
85+
"dedicated",
86+
"lowPriority",
87+
"shared",
88+
"serviceSpecific"
89+
]
90+
},
91+
{
92+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
93+
}
94+
],
8295
"description": "The name of the resource type."
8396
},
8497
"unit": {

0 commit comments

Comments
 (0)