Skip to content

Commit

Permalink
extract SkuTier as seperate definition for common-types/v3.json (Azur…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenglaizhang authored Sep 22, 2021
1 parent 1ebd7cb commit a62f0a7
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions specification/common-types/resource-management/v3/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,20 @@
},
"x-ms-azure-resource": true
},
"SkuTier": {
"type": "string",
"enum": [
"Free",
"Basic",
"Standard",
"Premium"
],
"x-ms-enum": {
"name": "SkuTier",
"modelAsString": false
},
"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."
},
"Sku": {
"description": "The resource model definition representing SKU",
"type": "object",
Expand All @@ -199,18 +213,7 @@
"description": "The name of the SKU. Ex - P3. It is typically a letter+number code"
},
"tier": {
"type": "string",
"enum": [
"Free",
"Basic",
"Standard",
"Premium"
],
"x-ms-enum": {
"name": "SkuTier",
"modelAsString": false
},
"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."
"$ref": "#/definitions/SkuTier"
},
"size": {
"type": "string",
Expand Down

0 comments on commit a62f0a7

Please sign in to comment.