{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-backup/json-schema/microsoft-azure-backup-deleted-backup-vault-resource-list-result-schema.json",
  "title": "DeletedBackupVaultResourceListResult",
  "description": "The response of a DeletedBackupVaultResource list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-backup-deletedbackupvaults-api-openapi.yml#/components/schemas/DeletedBackupVaultResourceListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The DeletedBackupVaultResource items on this page",
      "items": {
        "$ref": "#/$defs/DeletedBackupVaultResource"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AlertsState": {
      "type": "string",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "AlertsState",
        "modelAsString": true,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled"
          },
          {
            "name": "Disabled",
            "value": "Disabled"
          }
        ]
      }
    },
    "AzureMonitorAlertSettings": {
      "type": "object",
      "description": "Settings for Azure Monitor based alerts",
      "properties": {
        "alertsForAllJobFailures": {
          "$ref": "#/$defs/AlertsState"
        }
      }
    },
    "BCDRSecurityLevel": {
      "type": "string",
      "description": "Security Level of Backup Vault",
      "enum": [
        "Poor",
        "Fair",
        "Good",
        "Excellent",
        "NotSupported"
      ],
      "x-ms-enum": {
        "name": "BCDRSecurityLevel",
        "modelAsString": true,
        "values": [
          {
            "name": "Poor",
            "value": "Poor"
          },
          {
            "name": "Fair",
            "value": "Fair"
          },
          {
            "name": "Good",
            "value": "Good"
          },
          {
            "name": "Excellent",
            "value": "Excellent"
          },
          {
            "name": "NotSupported",
            "value": "NotSupported"
          }
        ]
      }
    },
    "CmkKekIdentity": {
      "type": "object",
      "description": "The details of the managed identity used for CMK",
      "properties": {
        "identityType": {
          "$ref": "#/$defs/IdentityType",
          "description": "The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity."
        },
        "identityId": {
          "type": "string",
          "description": "The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only."
        }
      }
    },
    "CmkKeyVaultProperties": {
      "type": "object",
      "description": "The properties of the Key Vault which hosts CMK",
      "properties": {
        "keyUri": {
          "type": "string",
          "description": "The key uri of the Customer Managed Key"
        }
      }
    },
    "CostManagementSettings": {
      "type": "object",
      "description": "Cost Management Settings of the vault",
      "properties": {
        "granularityLevel": {
          "$ref": "#/$defs/GranularityLevel",
          "description": "Settings for granularity level"
        }
      }
    },
    "CrossRegionRestoreSettings": {
      "type": "object",
      "properties": {
        "state": {
          "$ref": "#/$defs/CrossRegionRestoreState",
          "description": "CrossRegionRestore state"
        }
      }
    },
    "CrossRegionRestoreState": {
      "type": "string",
      "description": "CrossRegionRestore state",
      "enum": [
        "Disabled",
        "Enabled"
      ],
      "x-ms-enum": {
        "name": "CrossRegionRestoreState",
        "modelAsString": true,
        "values": [
          {
            "name": "Disabled",
            "value": "Disabled"
          },
          {
            "name": "Enabled",
            "value": "Enabled"
          }
        ]
      }
    },
    "CrossSubscriptionRestoreSettings": {
      "type": "object",
      "description": "CrossSubscriptionRestore Settings",
      "properties": {
        "state": {
          "$ref": "#/$defs/CrossSubscriptionRestoreState",
          "description": "CrossSubscriptionRestore state"
        }
      }
    },
    "CrossSubscriptionRestoreState": {
      "type": "string",
      "description": "CrossSubscriptionRestore state",
      "enum": [
        "Disabled",
        "PermanentlyDisabled",
        "Enabled"
      ],
      "x-ms-enum": {
        "name": "CrossSubscriptionRestoreState",
        "modelAsString": true,
        "values": [
          {
            "name": "Disabled",
            "value": "Disabled"
          },
          {
            "name": "PermanentlyDisabled",
            "value": "PermanentlyDisabled"
          },
          {
            "name": "Enabled",
            "value": "Enabled"
          }
        ]
      }
    },
    "DeletedBackupVault": {
      "type": "object",
      "description": "Deleted Backup Vault - uses composition with BackupVault and additional deletion metadata",
      "properties": {
        "monitoringSettings": {
          "$ref": "#/$defs/MonitoringSettings",
          "description": "Monitoring Settings"
        },
        "costManagementSettings": {
          "$ref": "#/$defs/CostManagementSettings",
          "description": "Cost Management Settings of the vault"
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "Provisioning state of the BackupVault resource",
          "readOnly": true
        },
        "resourceMoveState": {
          "$ref": "#/$defs/ResourceMoveState",
          "description": "Resource move state for backup vault",
          "readOnly": true
        },
        "resourceMoveDetails": {
          "$ref": "#/$defs/ResourceMoveDetails",
          "description": "Resource move details for backup vault",
          "readOnly": true
        },
        "securitySettings": {
          "$ref": "#/$defs/SecuritySettings",
          "description": "Security Settings"
        },
        "storageSettings": {
          "type": "array",
          "description": "Storage Settings",
          "items": {
            "$ref": "#/$defs/StorageSetting"
          },
          "x-ms-identifiers": []
        },
        "isVaultProtectedByResourceGuard": {
          "type": "boolean",
          "description": "Is vault protected by resource guard",
          "readOnly": true
        },
        "featureSettings": {
          "$ref": "#/$defs/FeatureSettings",
          "description": "Feature Settings"
        },
        "secureScore": {
          "$ref": "#/$defs/SecureScoreLevel",
          "description": "Secure Score of Backup Vault",
          "readOnly": true
        },
        "bcdrSecurityLevel": {
          "$ref": "#/$defs/BCDRSecurityLevel",
          "description": "Security Level of Backup Vault",
          "readOnly": true
        },
        "resourceGuardOperationRequests": {
          "type": "array",
          "description": "ResourceGuardOperationRequests on which LAC check will be performed",
          "items": {
            "type": "string"
          }
        },
        "replicatedRegions": {
          "type": "array",
          "description": "List of replicated regions for Backup Vault",
          "items": {
            "type": "string"
          }
        },
        "originalBackupVaultId": {
          "type": "string",
          "description": "Resource Id of the original backup vault",
          "readOnly": true
        },
        "originalBackupVaultName": {
          "type": "string",
          "description": "Resource name of the original backup vault",
          "readOnly": true
        },
        "originalBackupVaultResourcePath": {
          "type": "string",
          "description": "Resource path of the original backup vault",
          "readOnly": true
        },
        "resourceDeletionInfo": {
          "$ref": "#/$defs/ResourceDeletionInfo",
          "description": "Deletion info for the tracked resource (Backup Vault)",
          "readOnly": true
        }
      },
      "required": [
        "originalBackupVaultId",
        "originalBackupVaultName",
        "originalBackupVaultResourcePath",
        "resourceDeletionInfo"
      ]
    },
    "DeletedBackupVaultResource": {
      "type": "object",
      "description": "Deleted Backup Vault Resource (available from version 2025-09-01)",
      "properties": {
        "properties": {
          "$ref": "#/$defs/DeletedBackupVault",
          "description": "The resource-specific properties for this resource."
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "EncryptionState": {
      "type": "string",
      "description": "Encryption state of the Backup Vault.",
      "enum": [
        "Enabled",
        "Disabled",
        "Inconsistent"
      ],
      "x-ms-enum": {
        "name": "EncryptionState",
        "modelAsString": true,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "CMK encryption is enabled on the Backup Vault"
          },
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "CMK encryption is disabled on the Backup Vault. User can not set this state once Encryption State is 'Enabled'."
          },
          {
            "name": "Inconsistent",
            "value": "Inconsistent",
            "description": "CMK encryption is in inconsistent state on the Backup Vault. This state indicates that user needs to retry the encryption settings operation immediately to correct the state."
          }
        ]
      }
    },
    "FeatureSettings": {
      "type": "object",
      "description": "Class containing feature settings of vault",
      "properties": {
        "crossSubscriptionRestoreSettings": {
          "$ref": "#/$defs/CrossSubscriptionRestoreSettings",
          "description": "CrossSubscriptionRestore Settings"
        },
        "crossRegionRestoreSettings": {
          "$ref": "#/$defs/CrossRegionRestoreSettings"
        }
      }
    },
    "GranularityLevel": {
      "type": "string",
      "enum": [
        "VaultLevel",
        "ProtectedItemLevel",
        "ProtectedItemWithParentTag"
      ],
      "x-ms-enum": {
        "name": "GranularityLevel",
        "modelAsString": true,
        "values": [
          {
            "name": "VaultLevel",
            "value": "VaultLevel"
          },
          {
            "name": "ProtectedItemLevel",
            "value": "ProtectedItemLevel"
          },
          {
            "name": "ProtectedItemWithParentTag",
            "value": "ProtectedItemWithParentTag"
          }
        ]
      }
    },
    "IdentityType": {
      "type": "string",
      "description": "The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity.",
      "enum": [
        "SystemAssigned",
        "UserAssigned"
      ],
      "x-ms-enum": {
        "name": "IdentityType",
        "modelAsString": true,
        "values": [
          {
            "name": "SystemAssigned",
            "value": "SystemAssigned"
          },
          {
            "name": "UserAssigned",
            "value": "UserAssigned"
          }
        ]
      }
    },
    "ImmutabilityConfiguration": {
      "type": "object",
      "description": "Immutability configuration containing type and duration.",
      "properties": {
        "type": {
          "$ref": "#/$defs/ImmutabilityType",
          "description": "Type of immutability. Supported values: AsPerPolicy or TimeBased."
        },
        "durationInDays": {
          "type": "integer",
          "format": "int32",
          "description": "Duration in days for time-based immutability.\nRequired when type is TimeBased. Must be null when type is AsPerPolicy."
        }
      }
    },
    "ImmutabilitySettings": {
      "type": "object",
      "description": "Immutability Settings at vault level",
      "properties": {
        "state": {
          "$ref": "#/$defs/ImmutabilityState",
          "description": "Immutability state"
        },
        "configuration": {
          "$ref": "#/$defs/ImmutabilityConfiguration",
          "description": "Immutability configuration containing type and duration."
        }
      }
    },
    "ImmutabilityState": {
      "type": "string",
      "description": "Immutability state",
      "enum": [
        "Disabled",
        "Unlocked",
        "Locked"
      ],
      "x-ms-enum": {
        "name": "ImmutabilityState",
        "modelAsString": true,
        "values": [
          {
            "name": "Disabled",
            "value": "Disabled"
          },
          {
            "name": "Unlocked",
            "value": "Unlocked"
          },
          {
            "name": "Locked",
            "value": "Locked"
          }
        ]
      }
    },
    "ImmutabilityType": {
      "type": "string",
      "description": "Type of immutability configuration.",
      "enum": [
        "AsPerPolicy",
        "TimeBased"
      ],
      "x-ms-enum": {
        "name": "ImmutabilityType",
        "modelAsString": true,
        "values": [
          {
            "name": "AsPerPolicy",
            "value": "AsPerPolicy",
            "description": "Immutability is enforced as per the backup policy retention."
          },
          {
            "name": "TimeBased",
            "value": "TimeBased",
            "description": "Time-based immutability with a configurable duration window."
          }
        ]
      }
    },
    "InfrastructureEncryptionState": {
      "type": "string",
      "description": "Enabling/Disabling the Double Encryption state",
      "enum": [
        "Enabled",
        "Disabled"
      ],
      "x-ms-enum": {
        "name": "InfrastructureEncryptionState",
        "modelAsString": true,
        "values": [
          {
            "name": "Enabled",
            "value": "Enabled"
          },
          {
            "name": "Disabled",
            "value": "Disabled"
          }
        ]
      }
    },
    "MonitoringSettings": {
      "type": "object",
      "description": "Monitoring Settings",
      "properties": {
        "azureMonitorAlertSettings": {
          "$ref": "#/$defs/AzureMonitorAlertSettings",
          "description": "Settings for Azure Monitor based alerts"
        }
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "Provisioning state of the BackupVault resource",
      "enum": [
        "Failed",
        "Provisioning",
        "Succeeded",
        "Unknown",
        "Updating"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Provisioning",
            "value": "Provisioning"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "Unknown",
            "value": "Unknown"
          },
          {
            "name": "Updating",
            "value": "Updating"
          }
        ]
      },
      "readOnly": true
    },
    "ResourceDeletionInfo": {
      "type": "object",
      "description": "Deletion info for a tracked resource (Backup Vault)",
      "properties": {
        "deletionTime": {
          "type": "string",
          "format": "date-time",
          "description": "Specifies time of deletion for the tracked resource (Backup Vault)",
          "readOnly": true
        },
        "scheduledPurgeTime": {
          "type": "string",
          "format": "date-time",
          "description": "Specifies the scheduled purge time for the tracked resource (Backup Vault)",
          "readOnly": true
        },
        "deleteActivityId": {
          "type": "string",
          "description": "Delete activity ID for troubleshooting the deletion of the tracked resource",
          "readOnly": true
        }
      }
    },
    "ResourceMoveDetails": {
      "type": "object",
      "description": "ResourceMoveDetails will be returned in response to GetResource call from ARM",
      "properties": {
        "operationId": {
          "type": "string",
          "description": "CorrelationId of latest ResourceMove operation attempted"
        },
        "startTimeUtc": {
          "type": "string",
          "description": "Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format."
        },
        "completionTimeUtc": {
          "type": "string",
          "description": "Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format."
        },
        "sourceResourcePath": {
          "type": "string",
          "description": "ARM resource path of source resource"
        },
        "targetResourcePath": {
          "type": "string",
          "description": "ARM resource path of target resource used in latest ResourceMove operation"
        }
      }
    },
    "ResourceMoveState": {
      "type": "string",
      "description": "Resource move state for backup vault",
      "enum": [
        "Unknown",
        "InProgress",
        "PrepareFailed",
        "CommitFailed",
        "Failed",
        "PrepareTimedout",
        "CommitTimedout",
        "CriticalFailure",
        "PartialSuccess",
        "MoveSucceeded"
      ],
      "x-ms-enum": {
        "name": "ResourceMoveState",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown"
          },
          {
            "name": "InProgress",
            "value": "InProgress"
          },
          {
            "name": "PrepareFailed",
            "value": "PrepareFailed"
          },
          {
            "name": "CommitFailed",
            "value": "CommitFailed"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "PrepareTimedout",
            "value": "PrepareTimedout"
          },
          {
            "name": "CommitTimedout",
            "value": "CommitTimedout"
          },
          {
            "name": "CriticalFailure",
            "value": "CriticalFailure"
          },
          {
            "name": "PartialSuccess",
            "value": "PartialSuccess"
          },
          {
            "name": "MoveSucceeded",
            "value": "MoveSucceeded"
          }
        ]
      }
    },
    "SecureScoreLevel": {
      "type": "string",
      "description": "Secure Score of Backup Vault",
      "enum": [
        "None",
        "Minimum",
        "Adequate",
        "Maximum",
        "NotSupported"
      ],
      "x-ms-enum": {
        "name": "SecureScoreLevel",
        "modelAsString": true,
        "values": [
          {
            "name": "None",
            "value": "None"
          },
          {
            "name": "Minimum",
            "value": "Minimum"
          },
          {
            "name": "Adequate",
            "value": "Adequate"
          },
          {
            "name": "Maximum",
            "value": "Maximum"
          },
          {
            "name": "NotSupported",
            "value": "NotSupported"
          }
        ]
      }
    },
    "SecuritySettings": {
      "type": "object",
      "description": "Class containing security settings of vault",
      "properties": {
        "softDeleteSettings": {
          "$ref": "#/$defs/SoftDeleteSettings",
          "description": "Soft delete related settings"
        },
        "immutabilitySettings": {
          "$ref": "#/$defs/ImmutabilitySettings",
          "description": "Immutability Settings at vault level"
        },
        "encryptionSettings": {
          "$ref": "#/$defs/encryptionSettings",
          "description": "Customer Managed Key details of the resource."
        }
      }
    },
    "SoftDeleteSettings": {
      "type": "object",
      "description": "Soft delete related settings",
      "properties": {
        "state": {
          "$ref": "#/$defs/SoftDeleteState",
          "description": "State of soft delete"
        },
        "retentionDurationInDays": {
          "type": "number",
          "format": "double",
          "description": "Soft delete retention duration"
        }
      }
    },
    "SoftDeleteState": {
      "type": "string",
      "description": "State of soft delete",
      "enum": [
        "Off",
        "On",
        "AlwaysOn"
      ],
      "x-ms-enum": {
        "name": "SoftDeleteState",
        "modelAsString": true,
        "values": [
          {
            "name": "Off",
            "value": "Off",
            "description": "Soft Delete is turned off for the BackupVault"
          },
          {
            "name": "On",
            "value": "On",
            "description": "Soft Delete is enabled for the BackupVault but can be turned off"
          },
          {
            "name": "AlwaysOn",
            "value": "AlwaysOn",
            "description": "Soft Delete is permanently enabled for the BackupVault and the setting cannot be changed"
          }
        ]
      }
    },
    "StorageSetting": {
      "type": "object",
      "description": "Storage setting",
      "properties": {
        "datastoreType": {
          "$ref": "#/$defs/StorageSettingStoreTypes",
          "description": "Gets or sets the type of the datastore."
        },
        "type": {
          "$ref": "#/$defs/StorageSettingTypes",
          "description": "Gets or sets the type."
        }
      }
    },
    "StorageSettingStoreTypes": {
      "type": "string",
      "description": "Gets or sets the type of the datastore.",
      "enum": [
        "ArchiveStore",
        "OperationalStore",
        "VaultStore"
      ],
      "x-ms-enum": {
        "name": "StorageSettingStoreTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "ArchiveStore",
            "value": "ArchiveStore"
          },
          {
            "name": "OperationalStore",
            "value": "OperationalStore"
          },
          {
            "name": "VaultStore",
            "value": "VaultStore"
          }
        ]
      }
    },
    "StorageSettingTypes": {
      "type": "string",
      "description": "Gets or sets the type.",
      "enum": [
        "GeoRedundant",
        "LocallyRedundant",
        "ZoneRedundant"
      ],
      "x-ms-enum": {
        "name": "StorageSettingTypes",
        "modelAsString": true,
        "values": [
          {
            "name": "GeoRedundant",
            "value": "GeoRedundant"
          },
          {
            "name": "LocallyRedundant",
            "value": "LocallyRedundant"
          },
          {
            "name": "ZoneRedundant",
            "value": "ZoneRedundant"
          }
        ]
      }
    },
    "encryptionSettings": {
      "type": "object",
      "description": "Customer Managed Key details of the resource.",
      "properties": {
        "state": {
          "$ref": "#/$defs/EncryptionState",
          "description": "Encryption state of the Backup Vault."
        },
        "keyVaultProperties": {
          "$ref": "#/$defs/CmkKeyVaultProperties",
          "description": "The properties of the Key Vault which hosts CMK"
        },
        "kekIdentity": {
          "$ref": "#/$defs/CmkKekIdentity",
          "description": "The details of the managed identity used for CMK"
        },
        "infrastructureEncryption": {
          "$ref": "#/$defs/InfrastructureEncryptionState",
          "description": "Enabling/Disabling the Double Encryption state"
        }
      }
    }
  }
}