Skip to content

Commit 03457de

Browse files
zhenglaizhangLeiWang3
authored andcommitted
extract SkuTier as seperate definition for common-types/v3.json (Azure#15898)
1 parent 529417b commit 03457de

File tree

1 file changed

+15
-12
lines changed
  • specification/common-types/resource-management/v3

1 file changed

+15
-12
lines changed

specification/common-types/resource-management/v3/types.json

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,20 @@
190190
},
191191
"x-ms-azure-resource": true
192192
},
193+
"SkuTier": {
194+
"type": "string",
195+
"enum": [
196+
"Free",
197+
"Basic",
198+
"Standard",
199+
"Premium"
200+
],
201+
"x-ms-enum": {
202+
"name": "SkuTier",
203+
"modelAsString": false
204+
},
205+
"description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."
206+
},
193207
"Sku": {
194208
"description": "The resource model definition representing SKU",
195209
"type": "object",
@@ -199,18 +213,7 @@
199213
"description": "The name of the SKU. Ex - P3. It is typically a letter+number code"
200214
},
201215
"tier": {
202-
"type": "string",
203-
"enum": [
204-
"Free",
205-
"Basic",
206-
"Standard",
207-
"Premium"
208-
],
209-
"x-ms-enum": {
210-
"name": "SkuTier",
211-
"modelAsString": false
212-
},
213-
"description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."
216+
"$ref": "#/definitions/SkuTier"
214217
},
215218
"size": {
216219
"type": "string",

0 commit comments

Comments
 (0)