diff --git a/schemas/2023-02-01/Microsoft.Quota.json b/schemas/2023-02-01/Microsoft.Quota.json new file mode 100644 index 0000000000..8b49de35ff --- /dev/null +++ b/schemas/2023-02-01/Microsoft.Quota.json @@ -0,0 +1,148 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.Quota.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Quota", + "description": "Microsoft Quota Resource Types", + "resourceDefinitions": {}, + "unknown_resourceDefinitions": { + "quotas": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-02-01" + ] + }, + "name": { + "type": "string", + "description": "Resource name for a given resource provider. For example:\r\n- SKU name for Microsoft.Compute\r\n- SKU or TotalLowPriorityCores for Microsoft.MachineLearningServices\r\n For Microsoft.Network PublicIPAddresses." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/QuotaProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Quota properties for the specified resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Quota/quotas" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Quota/quotas" + } + }, + "definitions": { + "LimitJsonObject": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/LimitObject" + } + ], + "properties": {}, + "description": "LimitJson abstract class." + }, + "LimitObject": { + "type": "object", + "properties": { + "limitObjectType": { + "type": "string", + "enum": [ + "LimitValue" + ] + }, + "limitType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Independent", + "Shared" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "value": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The quota/limit value" + } + }, + "required": [ + "limitObjectType", + "value" + ], + "description": "The resource quota limit value." + }, + "QuotaProperties": { + "type": "object", + "properties": { + "limit": { + "oneOf": [ + { + "$ref": "#/definitions/LimitJsonObject" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "LimitJson abstract class." + }, + "name": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceName" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the resource provided by the resource Provider. When requesting quota, use this property name." + }, + "properties": { + "type": "object", + "properties": {}, + "description": "Additional properties for the specific resource provider." + }, + "resourceType": { + "type": "string", + "description": "Resource types. For extensibility, it is a string. Optional field." + } + }, + "description": "Quota properties for the specified resource." + }, + "ResourceName": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "Resource name." + } + }, + "description": "Name of the resource provided by the resource Provider. When requesting quota, use this property name." + } + } +} \ No newline at end of file