diff --git a/schemas/2017-12-30-preview/Microsoft.Consumption.json b/schemas/2017-12-30-preview/Microsoft.Consumption.json deleted file mode 100644 index 3a9102d044..0000000000 --- a/schemas/2017-12-30-preview/Microsoft.Consumption.json +++ /dev/null @@ -1,230 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-12-30-preview/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": {}, - "subscription_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-12-30-preview" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or something else." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2018-01-31/Microsoft.Consumption.json b/schemas/2018-01-31/Microsoft.Consumption.json deleted file mode 100644 index 1711e18b16..0000000000 --- a/schemas/2018-01-31/Microsoft.Consumption.json +++ /dev/null @@ -1,341 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-01-31/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-01-31" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "subscription_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-01-31" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost", - "Usage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filters": { - "oneOf": [ - { - "$ref": "#/definitions/Filters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Filters": { - "type": "object", - "properties": { - "meters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on meters, mandatory for budgets of usage category. " - }, - "resourceGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on resource groups, allowed at subscription level only." - }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of filters on resources." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2018-03-31/Microsoft.Consumption.json b/schemas/2018-03-31/Microsoft.Consumption.json deleted file mode 100644 index da8f3b692a..0000000000 --- a/schemas/2018-03-31/Microsoft.Consumption.json +++ /dev/null @@ -1,437 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-03-31/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-31" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "subscription_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-31" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "extension_resourceDefinitions": { - "costTags": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-31" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "enum": [ - "costTags" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CostTagProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the cost tag." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/costTags" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/costTags" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost", - "Usage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filters": { - "oneOf": [ - { - "$ref": "#/definitions/Filters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "CostTag": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Cost tag key." - } - }, - "description": "The cost tag." - }, - "CostTagProperties": { - "type": "object", - "properties": { - "costTags": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CostTag" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cost tags." - } - }, - "description": "The properties of the cost tag." - }, - "Filters": { - "type": "object", - "properties": { - "meters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. " - }, - "resourceGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on resource groups, allowed at subscription level only." - }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of filters on resources." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The dictionary of filters on tags." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index c78e27d3d8..ba46745970 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -761,51 +761,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-12-01/Microsoft.Confluent.json#/subscription_resourceDefinitions/agreements" }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-12-30-preview/Microsoft.Consumption.json#/subscription_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-01-31/Microsoft.Consumption.json#/subscription_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-31/Microsoft.Consumption.json#/subscription_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-06-30/Microsoft.Consumption.json#/subscription_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-08-31/Microsoft.Consumption.json#/subscription_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Consumption.json#/subscription_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-04-01-preview/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-01-preview/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-11-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, { "$ref": "https://schema.management.azure.com/schemas/2018-05-31/Microsoft.CostManagement.json#/subscription_resourceDefinitions/reportconfigs" }, diff --git a/schemas/2018-06-30/Microsoft.Consumption.json b/schemas/2018-06-30/Microsoft.Consumption.json deleted file mode 100644 index d94e09189d..0000000000 --- a/schemas/2018-06-30/Microsoft.Consumption.json +++ /dev/null @@ -1,437 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-06-30/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-06-30" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "subscription_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-06-30" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "extension_resourceDefinitions": { - "costTags": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-06-30" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "enum": [ - "costTags" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CostTagsModel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cost tag." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/costTags" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/costTags" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost", - "Usage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filters": { - "oneOf": [ - { - "$ref": "#/definitions/Filters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "CostTagProperties": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Cost tag key." - } - }, - "description": "The properties of the cost tag." - }, - "CostTagsModel": { - "type": "object", - "properties": { - "costTags": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/CostTagProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cost tags." - } - }, - "description": "The cost tag." - }, - "Filters": { - "type": "object", - "properties": { - "meters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. " - }, - "resourceGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on resource groups, allowed at subscription level only." - }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of filters on resources." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The dictionary of filters on tags." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2018-08-31/Microsoft.Consumption.json b/schemas/2018-08-31/Microsoft.Consumption.json deleted file mode 100644 index e052e1fd79..0000000000 --- a/schemas/2018-08-31/Microsoft.Consumption.json +++ /dev/null @@ -1,360 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-08-31/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-08-31" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "subscription_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-08-31" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost", - "Usage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filters": { - "oneOf": [ - { - "$ref": "#/definitions/Filters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Filters": { - "type": "object", - "properties": { - "meters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. " - }, - "resourceGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on resource groups, allowed at subscription level only." - }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of filters on resources." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The dictionary of filters on tags." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2018-10-01/Microsoft.Consumption.json b/schemas/2018-10-01/Microsoft.Consumption.json deleted file mode 100644 index 737c3ebe5f..0000000000 --- a/schemas/2018-10-01/Microsoft.Consumption.json +++ /dev/null @@ -1,360 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "subscription_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost", - "Usage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filters": { - "oneOf": [ - { - "$ref": "#/definitions/Filters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Filters": { - "type": "object", - "properties": { - "meters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. " - }, - "resourceGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on resource groups, allowed at subscription level only." - }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of filters on resources." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The dictionary of filters on tags." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2019-01-01/Microsoft.Consumption.json b/schemas/2019-01-01/Microsoft.Consumption.json deleted file mode 100644 index 5ada4367b5..0000000000 --- a/schemas/2019-01-01/Microsoft.Consumption.json +++ /dev/null @@ -1,319 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-01-01" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost", - "Usage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filters": { - "oneOf": [ - { - "$ref": "#/definitions/Filters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually", - "BillingMonth", - "BillingQuarter", - "BillingAnnual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Filters": { - "type": "object", - "properties": { - "meters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. " - }, - "resourceGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on resource groups, allowed at subscription level only." - }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of filters on resources." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The dictionary of filters on tags." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2019-04-01-preview/Microsoft.Consumption.json b/schemas/2019-04-01-preview/Microsoft.Consumption.json deleted file mode 100644 index ddb03fa491..0000000000 --- a/schemas/2019-04-01-preview/Microsoft.Consumption.json +++ /dev/null @@ -1,316 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-04-01-preview/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-04-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost", - "Usage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filters": { - "oneOf": [ - { - "$ref": "#/definitions/Filters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Filters": { - "type": "object", - "properties": { - "meters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. " - }, - "resourceGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on resource groups, allowed at subscription level only." - }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of filters on resources." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The dictionary of filters on tags." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2019-05-01-preview/Microsoft.Consumption.json b/schemas/2019-05-01-preview/Microsoft.Consumption.json deleted file mode 100644 index 71fa589e38..0000000000 --- a/schemas/2019-05-01-preview/Microsoft.Consumption.json +++ /dev/null @@ -1,316 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-05-01-preview/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-01-preview" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost", - "Usage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filters": { - "oneOf": [ - { - "$ref": "#/definitions/Filters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Filters": { - "type": "object", - "properties": { - "meters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. " - }, - "resourceGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on resource groups, allowed at subscription level only." - }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of filters on resources." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The dictionary of filters on tags." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2019-05-01/Microsoft.Consumption.json b/schemas/2019-05-01/Microsoft.Consumption.json deleted file mode 100644 index e53a021da6..0000000000 --- a/schemas/2019-05-01/Microsoft.Consumption.json +++ /dev/null @@ -1,333 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-05-01/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost", - "Usage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/Filter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by user-specified dimensions and/or tags." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually", - "BillingMonth", - "BillingQuarter", - "BillingAnnual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Filter": { - "type": "object", - "properties": { - "meters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. " - }, - "resourceGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on resource groups, allowed at subscription level only." - }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of filters on resources." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The dictionary of filters on tags." - } - }, - "description": "May be used to filter budgets by user-specified dimensions and/or tags." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - }, - "thresholdType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Actual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of threshold." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2019-06-01/Microsoft.Consumption.json b/schemas/2019-06-01/Microsoft.Consumption.json deleted file mode 100644 index 7c16b7b0bd..0000000000 --- a/schemas/2019-06-01/Microsoft.Consumption.json +++ /dev/null @@ -1,319 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-06-01" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost", - "Usage" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filters": { - "oneOf": [ - { - "$ref": "#/definitions/Filters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually", - "BillingMonth", - "BillingQuarter", - "BillingAnnual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Filters": { - "type": "object", - "properties": { - "meters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. " - }, - "resourceGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of filters on resource groups, allowed at subscription level only." - }, - "resources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of filters on resources." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The dictionary of filters on tags." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01/Microsoft.Consumption.json b/schemas/2019-10-01/Microsoft.Consumption.json deleted file mode 100644 index 78ab6cbdaf..0000000000 --- a/schemas/2019-10-01/Microsoft.Consumption.json +++ /dev/null @@ -1,430 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetComparisonExpression": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the column to use in comparison." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "In" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operator to use for comparison." - }, - "values": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of values to use for comparison" - } - }, - "required": [ - "name", - "operator", - "values" - ], - "description": "The comparison expression to be used in the budgets." - }, - "BudgetFilter": { - "type": "object", - "properties": { - "and": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/BudgetFilterProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The logical \"AND\" expression. Must have at least 2 items." - }, - "dimensions": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - }, - "not": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetFilterProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Dimensions or Tags to filter a budget by." - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "BudgetFilterProperties": { - "type": "object", - "properties": { - "dimensions": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - } - }, - "description": "The Dimensions or Tags to filter a budget by." - }, - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetFilter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually", - "BillingMonth", - "BillingQuarter", - "BillingAnnual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "locale": { - "oneOf": [ - { - "type": "string", - "enum": [ - "en-us", - "ja-jp", - "zh-cn", - "de-de", - "es-es", - "fr-fr", - "it-it", - "ko-kr", - "pt-br", - "ru-ru", - "zh-tw", - "cs-cz", - "pl-pl", - "tr-tr", - "da-dk", - "en-gb", - "hu-hu", - "nb-no", - "nl-nl", - "pt-pt", - "sv-se" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Language in which the recipient will receive the notification." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - }, - "thresholdType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Actual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of threshold." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2019-11-01/Microsoft.Consumption.json b/schemas/2019-11-01/Microsoft.Consumption.json deleted file mode 100644 index fbf059a581..0000000000 --- a/schemas/2019-11-01/Microsoft.Consumption.json +++ /dev/null @@ -1,397 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-11-01/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-11-01" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetComparisonExpression": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the column to use in comparison." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "In" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operator to use for comparison." - }, - "values": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of values to use for comparison" - } - }, - "required": [ - "name", - "operator", - "values" - ], - "description": "The comparison expression to be used in the budgets." - }, - "BudgetFilter": { - "type": "object", - "properties": { - "and": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/BudgetFilterProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The logical \"AND\" expression. Must have at least 2 items." - }, - "dimensions": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - }, - "not": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetFilterProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Dimensions or Tags to filter a budget by." - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "BudgetFilterProperties": { - "type": "object", - "properties": { - "dimensions": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - } - }, - "description": "The Dimensions or Tags to filter a budget by." - }, - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetFilter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually", - "BillingMonth", - "BillingQuarter", - "BillingAnnual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - }, - "thresholdType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Actual", - "Forecasted" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of threshold." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2021-05-01/Microsoft.Consumption.json b/schemas/2021-05-01/Microsoft.Consumption.json deleted file mode 100644 index 32ccbbcd36..0000000000 --- a/schemas/2021-05-01/Microsoft.Consumption.json +++ /dev/null @@ -1,396 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-05-01" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetComparisonExpression": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the column to use in comparison." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "In" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operator to use for comparison." - }, - "values": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of values to use for comparison" - } - }, - "required": [ - "name", - "operator", - "values" - ], - "description": "The comparison expression to be used in the budgets." - }, - "BudgetFilter": { - "type": "object", - "properties": { - "and": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/BudgetFilterProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The logical \"AND\" expression. Must have at least 2 items." - }, - "dimensions": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - }, - "not": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetFilterProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Dimensions or Tags to filter a budget by." - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "BudgetFilterProperties": { - "type": "object", - "properties": { - "dimensions": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - } - }, - "description": "The Dimensions or Tags to filter a budget by." - }, - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetFilter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually", - "BillingMonth", - "BillingQuarter", - "BillingAnnual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - }, - "thresholdType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Actual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of threshold." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/2021-10-01/Microsoft.Consumption.json b/schemas/2021-10-01/Microsoft.Consumption.json deleted file mode 100644 index ed5f7fee7c..0000000000 --- a/schemas/2021-10-01/Microsoft.Consumption.json +++ /dev/null @@ -1,420 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Consumption.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Consumption", - "description": "Microsoft Consumption Resource Types", - "resourceDefinitions": {}, - "unknown_resourceDefinitions": { - "budgets": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "eTag": { - "type": "string", - "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not." - }, - "name": { - "type": "string", - "description": "Budget Name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of the budget." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Consumption/budgets" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Consumption/budgets" - } - }, - "definitions": { - "BudgetComparisonExpression": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the column to use in comparison." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "In" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operator to use for comparison." - }, - "values": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of values to use for comparison" - } - }, - "required": [ - "name", - "operator", - "values" - ], - "description": "The comparison expression to be used in the budgets." - }, - "BudgetFilter": { - "type": "object", - "properties": { - "and": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/BudgetFilterProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The logical \"AND\" expression. Must have at least 2 items." - }, - "dimensions": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - } - }, - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "BudgetFilterProperties": { - "type": "object", - "properties": { - "dimensions": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - }, - "tags": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetComparisonExpression" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison expression to be used in the budgets." - } - }, - "description": "The Dimensions or Tags to filter a budget by." - }, - "BudgetProperties": { - "type": "object", - "properties": { - "amount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The total amount of cost to track with the budget" - }, - "category": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Cost" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The category of the budget, whether the budget tracks cost or usage." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetFilter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "May be used to filter budgets by resource group, resource, or meter." - }, - "notifications": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Notification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications." - }, - "timeGrain": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monthly", - "Quarterly", - "Annually", - "BillingMonth", - "BillingQuarter", - "BillingAnnual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers." - }, - "timePeriod": { - "oneOf": [ - { - "$ref": "#/definitions/BudgetTimePeriod" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The start and end date for a budget." - } - }, - "required": [ - "amount", - "category", - "timeGrain", - "timePeriod" - ], - "description": "The properties of the budget." - }, - "BudgetTimePeriod": { - "type": "object", - "properties": { - "endDate": { - "type": "string", - "format": "date-time", - "description": "The end date for the budget. If not provided, we default this to 10 years from the start date." - }, - "startDate": { - "type": "string", - "format": "date-time", - "description": "The start date for the budget." - } - }, - "required": [ - "startDate" - ], - "description": "The start and end date for a budget." - }, - "Notification": { - "type": "object", - "properties": { - "contactEmails": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified." - }, - "contactGroups": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes." - }, - "contactRoles": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contact roles to send the budget notification to when the threshold is exceeded." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The notification is enabled or not." - }, - "locale": { - "oneOf": [ - { - "type": "string", - "enum": [ - "en-us", - "ja-jp", - "zh-cn", - "de-de", - "es-es", - "fr-fr", - "it-it", - "ko-kr", - "pt-br", - "ru-ru", - "zh-tw", - "cs-cz", - "pl-pl", - "tr-tr", - "da-dk", - "en-gb", - "hu-hu", - "nb-no", - "nl-nl", - "pt-pt", - "sv-se" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Language in which the recipient will receive the notification." - }, - "operator": { - "oneOf": [ - { - "type": "string", - "enum": [ - "EqualTo", - "GreaterThan", - "GreaterThanOrEqualTo" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The comparison operator." - }, - "threshold": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000." - }, - "thresholdType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Actual", - "Forecasted" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of threshold." - } - }, - "required": [ - "contactEmails", - "enabled", - "operator", - "threshold" - ], - "description": "The notification associated with a budget." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 4afe0c787f..ca24fa9acc 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4246,48 +4246,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2020-10-01-preview/Microsoft.ConnectedVMwarevSphere.json#/resourceDefinitions/virtualNetworks" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-01-31/Microsoft.Consumption.json#/resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-31/Microsoft.Consumption.json#/resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-06-30/Microsoft.Consumption.json#/resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-08-31/Microsoft.Consumption.json#/resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.Consumption.json#/resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-01-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-04-01-preview/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-05-01-preview/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-06-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-11-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-05-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Consumption.json#/unknown_resourceDefinitions/budgets" - }, { "$ref": "https://schema.management.azure.com/schemas/2017-08-01-preview/Microsoft.ContainerInstance.json#/resourceDefinitions/containerGroups" },