Microsoft Azure · Schema

Subscription

Subscription information.

Cloud ComputingDatabasesInfrastructureMachine LearningNetworkingPlatform as a ServiceStorage

Properties

Name Type Description
id string
subscriptionId string
displayName string
state string
subscriptionPolicies object
authorizationSource string
managedByTenants array
View JSON Schema on GitHub

JSON Schema

azure-subscription-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure/refs/heads/main/json-schema/azure-subscription-schema.json",
  "title": "Subscription",
  "description": "Subscription information.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true
    },
    "subscriptionId": {
      "type": "string",
      "readOnly": true
    },
    "displayName": {
      "type": "string"
    },
    "state": {
      "type": "string",
      "enum": [
        "Enabled",
        "Disabled",
        "Deleted",
        "PastDue",
        "Warned"
      ]
    },
    "subscriptionPolicies": {
      "type": "object",
      "properties": {
        "locationPlacementId": {
          "type": "string"
        },
        "quotaId": {
          "type": "string"
        },
        "spendingLimit": {
          "type": "string",
          "enum": [
            "On",
            "Off",
            "CurrentPeriodOff"
          ]
        }
      }
    },
    "authorizationSource": {
      "type": "string"
    },
    "managedByTenants": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string"
          }
        }
      }
    }
  }
}