Microsoft Azure · Schema

Azure Subscription

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.

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
id string The fully qualified ID for the subscription. Format: /subscriptions/{subscriptionId}.
subscriptionId string The subscription ID.
displayName string The subscription display name.
tenantId string The subscription tenant ID.
state string The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.
subscriptionPolicies object The subscription policies.
authorizationSource string The authorization source of the request. Valid values are one or more combinations of Legacy, RoleBased, Bypassed, Direct, and Management.
tags object The tags attached to the subscription.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-subscription-schema.json Raw ↑
{
  "$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"
      }
    }
  }
}