{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-backup/json-schema/microsoft-azure-backup-protectable-container-resource-list-schema.json",
  "title": "ProtectableContainerResourceList",
  "description": "List of ProtectableContainer resources",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-backup-protectablecontainers-api-openapi.yml#/components/schemas/ProtectableContainerResourceList",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "List of resources.",
      "items": {
        "$ref": "#/$defs/ProtectableContainerResource"
      }
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ResourceList"
    }
  ],
  "$defs": {
    "Azure.Core.azureLocation": {
      "type": "string",
      "description": "Represents an Azure geography region where supported resource providers live."
    },
    "BackupManagementType": {
      "type": "string",
      "description": "Backup management type to execute the current job.",
      "enum": [
        "Invalid",
        "AzureIaasVM",
        "MAB",
        "DPM",
        "AzureBackupServer",
        "AzureSql",
        "AzureStorage",
        "AzureWorkload",
        "DefaultBackup"
      ],
      "x-ms-enum": {
        "name": "BackupManagementType",
        "modelAsString": true,
        "values": [
          {
            "name": "Invalid",
            "value": "Invalid"
          },
          {
            "name": "AzureIaasVM",
            "value": "AzureIaasVM"
          },
          {
            "name": "MAB",
            "value": "MAB"
          },
          {
            "name": "DPM",
            "value": "DPM"
          },
          {
            "name": "AzureBackupServer",
            "value": "AzureBackupServer"
          },
          {
            "name": "AzureSql",
            "value": "AzureSql"
          },
          {
            "name": "AzureStorage",
            "value": "AzureStorage"
          },
          {
            "name": "AzureWorkload",
            "value": "AzureWorkload"
          },
          {
            "name": "DefaultBackup",
            "value": "DefaultBackup"
          }
        ]
      }
    },
    "ProtectableContainer": {
      "type": "object",
      "description": "Protectable Container Class.",
      "properties": {
        "friendlyName": {
          "type": "string",
          "description": "Friendly name of the container."
        },
        "backupManagementType": {
          "$ref": "#/$defs/BackupManagementType",
          "description": "Type of backup management for the container."
        },
        "protectableContainerType": {
          "$ref": "#/$defs/ProtectableContainerType",
          "description": "Type of the container. The value of this property for\n1. Compute Azure VM is Microsoft.Compute/virtualMachines\n2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines"
        },
        "healthStatus": {
          "type": "string",
          "description": "Status of health of the container."
        },
        "containerId": {
          "type": "string",
          "description": "Fabric Id of the container such as ARM Id."
        }
      },
      "required": [
        "protectableContainerType"
      ]
    },
    "ProtectableContainerResource": {
      "type": "object",
      "description": "Protectable Container Class.",
      "properties": {
        "location": {
          "$ref": "#/$defs/Azure.Core.azureLocation",
          "description": "Resource location."
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "eTag": {
          "type": "string",
          "description": "Optional ETag."
        },
        "properties": {
          "$ref": "#/$defs/ProtectableContainer",
          "description": "ProtectableContainerResource properties"
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
        }
      ]
    },
    "ProtectableContainerType": {
      "type": "string",
      "description": "Type of the container. The value of this property for\n1. Compute Azure VM is Microsoft.Compute/virtualMachines\n2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines",
      "enum": [
        "Invalid",
        "Unknown",
        "IaasVMContainer",
        "IaasVMServiceContainer",
        "DPMContainer",
        "AzureBackupServerContainer",
        "MABContainer",
        "Cluster",
        "AzureSqlContainer",
        "Windows",
        "VCenter",
        "VMAppContainer",
        "SQLAGWorkLoadContainer",
        "StorageContainer",
        "GenericContainer",
        "Microsoft.ClassicCompute/virtualMachines",
        "Microsoft.Compute/virtualMachines",
        "AzureWorkloadContainer"
      ],
      "x-ms-enum": {
        "name": "ProtectableContainerType",
        "modelAsString": false
      }
    },
    "ResourceList": {
      "type": "object",
      "description": "Base for all lists of resources.",
      "properties": {
        "nextLink": {
          "type": "string",
          "description": "The URI to fetch the next page of resources, with each API call returning up to 200 resources per page. Use ListNext() to fetch the next page if the total number of resources exceeds 200."
        }
      }
    }
  }
}