Microsoft Azure · JSON Structure

Azure Subscription Structure

Subscription information.

Type: object Properties: 7
Cloud ComputingDatabasesInfrastructureMachine LearningNetworkingPlatform as a ServiceStorage

Subscription is a JSON Structure definition published by Microsoft Azure, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id subscriptionId displayName state subscriptionPolicies authorizationSource managedByTenants

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure/refs/heads/main/json-structure/azure-subscription-structure.json",
  "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"
          }
        }
      }
    }
  },
  "name": "Subscription"
}