{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://schema.api.gov/microsoft-azure/subscription", "title": "Azure Subscription", "description": "An Azure subscription is a logical container used to provision resources in Azure. It holds the details of all your resources like virtual machines (VMs), databases, and more. When you create an Azure resource, you choose the subscription to deploy it to.", "type": "object", "properties": { "id": { "type": "string", "description": "The fully qualified ID for the subscription. Format: /subscriptions/{subscriptionId}.", "readOnly": true, "examples": [ "/subscriptions/00000000-0000-0000-0000-000000000000" ] }, "subscriptionId": { "type": "string", "format": "uuid", "description": "The subscription ID.", "readOnly": true, "examples": [ "00000000-0000-0000-0000-000000000000" ] }, "displayName": { "type": "string", "description": "The subscription display name.", "readOnly": true, "examples": [ "My Azure Subscription", "Pay-As-You-Go", "Visual Studio Enterprise" ] }, "tenantId": { "type": "string", "format": "uuid", "description": "The subscription tenant ID.", "readOnly": true }, "state": { "type": "string", "description": "The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.", "readOnly": true, "enum": [ "Enabled", "Warned", "PastDue", "Disabled", "Deleted" ] }, "subscriptionPolicies": { "type": "object", "description": "The subscription policies.", "properties": { "locationPlacementId": { "type": "string", "description": "The subscription location placement ID. The ID indicates which regions are visible for a subscription.", "readOnly": true }, "quotaId": { "type": "string", "description": "The subscription quota ID.", "readOnly": true }, "spendingLimit": { "type": "string", "description": "The subscription spending limit.", "readOnly": true, "enum": [ "On", "Off", "CurrentPeriodOff" ] } } }, "authorizationSource": { "type": "string", "description": "The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct, and Management." }, "tags": { "type": "object", "description": "The tags attached to the subscription.", "additionalProperties": { "type": "string" } } } }