Skip to content

Commit

Permalink
move to verbatim definition of Sku, as suggested by Azure/autorest#4262
Browse files Browse the repository at this point in the history
  • Loading branch information
forteddyt committed Aug 18, 2021
1 parent d18ee4f commit b72eb6c
Showing 1 changed file with 34 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5420,7 +5420,7 @@
},
"sku": {
"description": "Sku details required for ARM contract for Autoscaling.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku",
"$ref": "#/definitions/Sku",
"x-nullable": true
},
"systemData": {
Expand Down Expand Up @@ -5552,7 +5552,7 @@
},
"sku": {
"description": "Sku details required for ARM contract for Autoscaling.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku",
"$ref": "#/definitions/Sku",
"x-nullable": true
},
"systemData": {
Expand Down Expand Up @@ -8380,7 +8380,7 @@
},
"sku": {
"description": "Sku details required for ARM contract for Autoscaling.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku",
"$ref": "#/definitions/Sku",
"x-nullable": true
},
"systemData": {
Expand Down Expand Up @@ -8524,7 +8524,7 @@
},
"sku": {
"description": "Sku details required for ARM contract for Autoscaling.",
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku",
"$ref": "#/definitions/Sku",
"x-nullable": true
},
"systemData": {
Expand Down Expand Up @@ -9590,6 +9590,35 @@
"x-ms-discriminator-value": "ServicePrincipal",
"additionalProperties": false
},
"Sku": {
"description": "The resource model definition representing SKU",
"required": [
"name"
],
"type": "object",
"properties": {
"capacity": {
"format": "int32",
"description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.",
"type": "integer"
},
"family": {
"description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.",
"type": "string"
},
"name": {
"description": "The name of the SKU. Ex - P3. It is typically a letter+number code",
"type": "string"
},
"size": {
"description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ",
"type": "string"
},
"tier": {
"$ref": "#/definitions/SkuTier"
}
}
},
"SkuCapacity": {
"description": "SKU capacity information",
"type": "object",
Expand Down Expand Up @@ -9661,8 +9690,7 @@
"x-ms-enum": {
"name": "SkuTier",
"modelAsString": false
},
"additionalProperties": false
}
},
"SweepJob": {
"description": "Sweep job definition.",
Expand Down

0 comments on commit b72eb6c

Please sign in to comment.