Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SKU schema update as per the ARM Contract #20359

Merged
merged 6 commits into from
Aug 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1320,30 +1320,42 @@
"description": "List of ResourceType Sku",
"type": "array",
"items": {
"$ref": "#/definitions/ResourceTypeSku"
"$ref": "#/definitions/SkuInformation"
},
"x-ms-identifiers": [],
"readOnly": true
},
"nextLink": {
"description": "Links to the next set of results",
"type": "string",
"readOnly": true
}
}
},
"ResourceTypeSku": {
"description": "SkuInformation object",
"SkuInformation": {
"description": "ElasticSAN SKU and its properties",
"type": "object",
"required": [
"name"
],
"properties": {
"sku": {
"description": "The Sku tier",
"name": {
"type": "string",
"description": "Sku Name",
"$ref": "#/definitions/SkuName"
},
"tier": {
"type": "string",
"description": "Sku Tier",
"$ref": "#/definitions/SkuTier"
},
"resourceType": {
"readOnly": true,
"type": "string",
"description": "The type of the resource."
},
"locations": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/definitions/Sku"
"type": "string"
},
"x-ms-identifiers": [],
"readOnly": true
"description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)."
},
"locationInfo": {
"description": "Availability of the SKU for the location/zone",
Expand All @@ -1354,124 +1366,32 @@
"x-ms-identifiers": [],
"readOnly": true
},
"elasticSan": {
"description": "Scalability targets for the San account for a given tier",
"type": "object",
"$ref": "#/definitions/SanTierInfo"
},
"volumeGroup": {
"description": "Volume Group targets for the San account for a given tier",
"type": "object",
"$ref": "#/definitions/VolumeGroupTierInfo"
},
"volume": {
"description": "Volume targets for the San account for a given tier",
"type": "object",
"$ref": "#/definitions/VolumeTierInfo"
}
}
},
"SanTierInfo": {
"description": "San scalability target",
"type": "object",
"properties": {
"maxSizeTiB": {
"type": "integer",
"format": "int64",
"description": "Maximum San account capacity in TiB",
"readOnly": true
},
"minSizeTiB": {
"type": "integer",
"format": "int64",
"description": "Minimum San account capacity in TiB",
"readOnly": true
},
"minIncrementSizeTiB": {
"type": "integer",
"format": "int64",
"description": "Increment the San capacity in TiB",
"readOnly": true
},
"iopsPerBaseTiB": {
"type": "integer",
"format": "int64",
"description": "Maximum IOPS per BaseTiB",
"readOnly": true
},
"mbpsPerBaseTiB": {
"type": "integer",
"format": "int64",
"description": "Maximum MBps per BaseTiB",
"readOnly": true
},
"maxMBps": {
"type": "integer",
"format": "int64",
"description": "Maximum MBps",
"readOnly": true
},
"maxVolumeGroupCount": {
"type": "integer",
"format": "int64",
"description": "Maximum number of volume groups per San account",
"readOnly": true
}
}
},
"VolumeGroupTierInfo": {
"description": "Volume Group scalability target",
"type": "object",
"properties": {
"maxVolumeCount": {
"type": "integer",
"format": "int64",
"description": "Maximum number of Volumes per Volume Groups per San account",
"readOnly": true
"capabilities": {
"readOnly": true,
"type": "array",
"items": {
"$ref": "#/definitions/SKUCapability"
},
"x-ms-identifiers": [],
"description": "The capability information in the specified SKU."
}
}
},
"VolumeTierInfo": {
"description": "Volume scalability target",
"type": "object",
"SKUCapability": {
"properties": {
"maxSizeGiB": {
"type": "integer",
"format": "int64",
"description": "Maximum volume capacity in GiB",
"readOnly": true
},
"minSizeGiB": {
"type": "integer",
"format": "int64",
"description": "Minimum volume capacity in GiB",
"readOnly": true
},
"minIncrementSizeGiB": {
"type": "integer",
"format": "int64",
"description": "Increment volume capacity in GiB",
"readOnly": true
},
"iopsPerBaseGiB": {
"type": "integer",
"format": "int64",
"description": "Maximum IOPS per GiB",
"readOnly": true
},
"maxIops": {
"type": "integer",
"format": "int64",
"description": "Maximum IOPS",
"readOnly": true
"name": {
"readOnly": true,
"type": "string",
"description": "The name of capability."
},
"maxMBps": {
"type": "integer",
"format": "int64",
"description": "Maximum MBps",
"readOnly": true
"value": {
"readOnly": true,
"type": "string",
"description": "A string value to indicate states of given capability."
}
}
},
"description": "The capability information in the specified SKU.",
"type": "object"
},
"SkuLocationInfo": {
"description": "The location info.",
Expand Down Expand Up @@ -1499,47 +1419,53 @@
],
"properties": {
"name": {
"type": "string",
"enum": [
"Premium_LRS",
"Premium_ZRS"
],
"x-ms-enum": {
"name": "name",
"modelAsString": true,
"values": [
{
"value": "Premium_LRS",
"description": "Premium locally redundant storage"
},
{
"value": "Premium_ZRS",
"description": "Premium zone redundant storage"
}
]
},
"description": "The sku name."
"$ref": "#/definitions/SkuName"
},
"tier": {
"type": "string",
"enum": [
"Premium"
],
"x-ms-enum": {
"name": "tier",
"modelAsString": true,
"values": [
{
"value": "Premium",
"description": "Premium Tier"
}
]
},
"description": "The sku tier."
"$ref": "#/definitions/SkuTier"
}
},
"description": "The SKU name. Required for account creation; optional for update."
},
"SkuName": {
"type": "string",
"enum": [
"Premium_LRS",
"Premium_ZRS"
],
"x-ms-enum": {
"name": "SkuName",
"modelAsString": true,
"values": [
{
"value": "Premium_LRS",
"description": "Premium locally redundant storage"
},
{
"value": "Premium_ZRS",
"description": "Premium zone redundant storage"
}
]
},
"description": "The sku name."
},
"SkuTier": {
"type": "string",
"enum": [
"Premium"
],
"x-ms-enum": {
"name": "SkuTier",
"modelAsString": true,
"values": [
{
"value": "Premium",
"description": "Premium Tier"
}
]
},
"description": "The sku tier."
},
"IscsiTargetInfo": {
"type": "object",
"description": "Iscsi target information",
Expand Down
Loading