Skip to content
Closed
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
148 changes: 148 additions & 0 deletions schemas/2023-02-01/Microsoft.Quota.json
Original file line number Diff line number Diff line change
@@ -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."
}
}
}