{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-canonical-support-plan-response-envelope-schema.json",
  "title": "CanonicalSupportPlanResponseEnvelope",
  "description": "The status of the Canonical support plan.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-addondetails-api-openapi.yml#/components/schemas/CanonicalSupportPlanResponseEnvelope",
  "type": "object",
  "required": [
    "properties"
  ],
  "properties": {
    "id": {
      "readOnly": true,
      "type": "string",
      "description": "The id of the ARM resource, e.g. \"/subscriptions/{id}/providers/Microsoft.Addons/supportProvider/{supportProviderName}/supportPlanTypes/{planTypeName}\"."
    },
    "name": {
      "readOnly": true,
      "type": "string",
      "description": "The name of the Canonical support plan, i.e. \"essential\", \"standard\" or \"advanced\"."
    },
    "type": {
      "readOnly": true,
      "type": "string",
      "description": "Microsoft.Addons/supportProvider"
    },
    "properties": {
      "type": "object",
      "$ref": "#/$defs/CanonicalSupportPlanProperties",
      "description": "Describes Canonical support plan type and status.",
      "x-ms-client-flatten": true
    }
  },
  "x-ms-azure-resource": true,
  "$defs": {
    "CanonicalSupportPlanProperties": {
      "type": "object",
      "description": "The properties of the Canonical support plan.",
      "properties": {
        "provisioningState": {
          "type": "string",
          "description": "The provisioning state of the resource.",
          "enum": [
            "Succeeded",
            "Failed",
            "Cancelled",
            "Purchasing",
            "Downgrading",
            "Cancelling",
            "Upgrading"
          ],
          "x-ms-enum": {
            "name": "ProvisioningState",
            "modelAsString": true
          }
        }
      }
    }
  }
}