azure-resource-manager-schemas/schemas/2021-04-01/Microsoft.RecoveryServices....

4327 строки
136 KiB
JSON
Исходник Постоянная ссылка Обычный вид История

2021-05-18 13:24:41 +03:00
{
"id": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.RecoveryServices.Backup.json#",
"title": "Microsoft.RecoveryServices",
"description": "Microsoft RecoveryServices Resource Types",
"$schema": "http://json-schema.org/draft-04/schema#",
2021-05-18 13:24:41 +03:00
"resourceDefinitions": {
"vaults_backupEncryptionConfigs": {
"description": "Microsoft.RecoveryServices/vaults/backupEncryptionConfigs",
2021-05-18 13:24:41 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"location": {
"description": "Resource location.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"name": {
"oneOf": [
{
"pattern": "^.*/backupResourceEncryptionConfig$",
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "BackupResourceEncryptionConfigResource properties",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/BackupResourceEncryptionConfig"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"tags": {
"description": "Resource tags.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs"
],
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"required": [
"name",
"properties",
"apiVersion",
2021-05-18 13:24:41 +03:00
"type"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
"vaults_backupFabrics_backupProtectionIntent": {
"description": "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent",
2021-05-18 13:24:41 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"location": {
"description": "Resource location.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"name": {
"description": "Intent object name.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"properties": {
"description": "ProtectionIntentResource properties",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/ProtectionIntent"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent"
],
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"required": [
"name",
"properties",
"apiVersion",
2021-05-18 13:24:41 +03:00
"type"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
"vaults_backupFabrics_protectionContainers": {
"description": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers",
2021-05-18 13:24:41 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"location": {
"description": "Resource location.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"name": {
"description": "Name of the container to be registered.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"properties": {
"description": "ProtectionContainerResource properties",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/ProtectionContainer"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"resources": {
"items": {
"oneOf": [
{
"$ref": "#/definitions/vaults_backupFabrics_protectionContainers_protectedItems_childResource"
}
]
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
"tags": {
"description": "Resource tags.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers"
],
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"required": [
"name",
"properties",
"apiVersion",
2021-05-18 13:24:41 +03:00
"type"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
"vaults_backupFabrics_protectionContainers_protectedItems": {
"description": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
2021-05-18 13:24:41 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"location": {
"description": "Resource location.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"name": {
"description": "Item name to be backed up.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"properties": {
"description": "ProtectedItemResource properties",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/ProtectedItem"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"tags": {
"description": "Resource tags.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems"
],
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"required": [
"name",
"properties",
"apiVersion",
2021-05-18 13:24:41 +03:00
"type"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
"vaults_backupPolicies": {
"description": "Microsoft.RecoveryServices/vaults/backupPolicies",
2021-05-18 13:24:41 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"location": {
"description": "Resource location.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"name": {
"description": "Backup policy to be created.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"properties": {
"description": "ProtectionPolicyResource properties",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/ProtectionPolicy"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"tags": {
"description": "Resource tags.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupPolicies"
],
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"required": [
"name",
"properties",
"apiVersion",
2021-05-18 13:24:41 +03:00
"type"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
"vaults_backupconfig": {
"description": "Microsoft.RecoveryServices/vaults/backupconfig",
2021-05-18 13:24:41 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"location": {
"description": "Resource location.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"name": {
"oneOf": [
{
"pattern": "^.*/vaultconfig$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"properties": {
"description": "BackupResourceVaultConfigResource properties",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/BackupResourceVaultConfig"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"tags": {
"description": "Resource tags.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupconfig"
],
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"required": [
"name",
"properties",
"apiVersion",
2021-05-18 13:24:41 +03:00
"type"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
2021-07-08 13:39:30 +03:00
"vaults_backupstorageconfig": {
"description": "Microsoft.RecoveryServices/vaults/backupstorageconfig",
2021-07-08 13:39:30 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
2021-07-08 13:39:30 +03:00
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
2021-07-08 13:39:30 +03:00
},
"location": {
"description": "Resource location.",
"type": "string"
2021-07-08 13:39:30 +03:00
},
"name": {
"oneOf": [
{
"pattern": "^.*/vaultstorageconfig$",
"type": "string"
2021-07-08 13:39:30 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "BackupResourceConfigResource properties",
2021-07-08 13:39:30 +03:00
"oneOf": [
{
"$ref": "#/definitions/BackupResourceConfig"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-07-08 13:39:30 +03:00
},
"tags": {
"description": "Resource tags.",
2021-07-08 13:39:30 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-07-08 13:39:30 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-07-08 13:39:30 +03:00
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupstorageconfig"
],
"type": "string"
2021-07-08 13:39:30 +03:00
}
},
"required": [
"name",
"properties",
"apiVersion",
2021-07-08 13:39:30 +03:00
"type"
],
"type": "object"
2021-07-08 13:39:30 +03:00
},
2021-05-18 13:24:41 +03:00
"vaults_privateEndpointConnections": {
"description": "Microsoft.RecoveryServices/vaults/privateEndpointConnections",
2021-05-18 13:24:41 +03:00
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"location": {
"description": "Resource location.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"name": {
"description": "The name of the private endpoint connection.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"properties": {
"description": "PrivateEndpointConnectionResource properties",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnection"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"tags": {
"description": "Resource tags.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/privateEndpointConnections"
],
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"required": [
"name",
"properties",
"apiVersion",
2021-05-18 13:24:41 +03:00
"type"
],
"type": "object"
2021-05-18 13:24:41 +03:00
}
},
"definitions": {
"AzureFileshareProtectedItemExtendedInfo": {
"description": "Additional information about Azure File Share backup item.",
2021-05-18 13:24:41 +03:00
"properties": {
"oldestRecoveryPoint": {
"description": "The oldest backup copy available for this item in the service.",
"format": "date-time",
"type": "string"
},
"policyState": {
"description": "Indicates consistency of policy object and policy applied to this backup item.",
"type": "string"
},
"recoveryPointCount": {
"description": "Number of available backup copies associated with this backup item.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2021-05-18 13:24:41 +03:00
]
}
},
"type": "object"
},
"AzureIaaSVMHealthDetails": {
"description": "Azure IaaS VM workload-specific Health Details.",
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"AzureIaaSVMProtectedItemExtendedInfo": {
"description": "Additional information on Azure IaaS VM specific backup item.",
2021-05-18 13:24:41 +03:00
"properties": {
"oldestRecoveryPoint": {
"description": "The oldest backup copy available for this backup item.",
"format": "date-time",
"type": "string"
},
"policyInconsistent": {
"description": "Specifies if backup policy associated with the backup item is inconsistent.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"recoveryPointCount": {
"description": "Number of backup copies available for this backup item.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"AzureSqlProtectedItemExtendedInfo": {
"description": "Additional information on Azure Sql specific protected item.",
"properties": {
"oldestRecoveryPoint": {
"description": "The oldest backup copy available for this item in the service.",
2021-05-18 13:24:41 +03:00
"format": "date-time",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"policyState": {
"description": "State of the backup policy associated with this backup item.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"recoveryPointCount": {
"description": "Number of available backup copies associated with this backup item.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"AzureVmWorkloadProtectedItemExtendedInfo": {
"description": "Additional information on Azure Workload for SQL specific backup item.",
2021-05-18 13:24:41 +03:00
"properties": {
"oldestRecoveryPoint": {
"description": "The oldest backup copy available for this backup item.",
2021-05-18 13:24:41 +03:00
"format": "date-time",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"policyState": {
"description": "Indicates consistency of policy object and policy applied to this backup item.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"recoveryPointCount": {
"description": "Number of backup copies available for this backup item.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"AzureWorkloadContainerExtendedInfo": {
"description": "Extended information of the container.",
2021-05-18 13:24:41 +03:00
"properties": {
"hostServerName": {
"description": "Host Os Name in case of Stand Alone and Cluster Name in case of distributed container.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"inquiryInfo": {
"description": "Inquiry Status for the container.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/InquiryInfo"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"nodesList": {
"description": "List of the nodes in case of distributed container.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"$ref": "#/definitions/DistributedNodesInfo"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"BackupResourceConfig": {
"description": "The resource storage details.",
2021-05-18 13:24:41 +03:00
"properties": {
"crossRegionRestoreFlag": {
"description": "Opt in details of Cross Region Restore feature.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"storageModelType": {
"description": "Storage type",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"GeoRedundant",
"LocallyRedundant",
"ZoneRedundant",
"ReadAccessGeoZoneRedundant"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"storageType": {
"description": "Storage type.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"GeoRedundant",
"LocallyRedundant",
"ZoneRedundant",
"ReadAccessGeoZoneRedundant"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"storageTypeState": {
"description": "Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"Locked",
"Unlocked"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"BackupResourceEncryptionConfig": {
2021-05-18 13:24:41 +03:00
"properties": {
"encryptionAtRestType": {
"description": "Encryption At Rest Type",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"MicrosoftManaged",
"CustomerManaged"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"infrastructureEncryptionState": {
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"Disabled",
"Enabled"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"keyUri": {
"description": "Key Vault Key URI",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"lastUpdateStatus": {
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"NotEnabled",
"PartiallySucceeded",
"PartiallyFailed",
"Failed",
"Succeeded",
"Initialized",
"FirstInitialization"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"subscriptionId": {
"description": "Key Vault Subscription Id",
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"BackupResourceVaultConfig": {
"description": "Backup resource vault config details.",
2021-05-18 13:24:41 +03:00
"properties": {
"enhancedSecurityState": {
"description": "Enabled or Disabled.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"Enabled",
"Disabled"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"softDeleteFeatureState": {
"description": "Soft Delete feature state",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"Enabled",
"Disabled"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"storageModelType": {
"description": "Storage type.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"GeoRedundant",
"LocallyRedundant",
"ZoneRedundant",
"ReadAccessGeoZoneRedundant"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"storageType": {
"description": "Storage type.",
"oneOf": [
{
"enum": [
"Invalid",
"GeoRedundant",
"LocallyRedundant",
"ZoneRedundant",
"ReadAccessGeoZoneRedundant"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"storageTypeState": {
"description": "Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"Locked",
"Unlocked"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"ContainerIdentityInfo": {
"description": "Container identity information",
2021-05-18 13:24:41 +03:00
"properties": {
"aadTenantId": {
"description": "Protection container identity - AAD Tenant",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"audience": {
"description": "Protection container identity - Audience",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"servicePrincipalClientId": {
"description": "Protection container identity - AAD Service Principal",
"type": "string"
},
"uniqueName": {
"description": "Unique name of the container",
"type": "string"
}
},
"type": "object"
},
"DPMContainerExtendedInfo": {
"description": "Additional information of the DPMContainer.",
"properties": {
"lastRefreshedAt": {
"description": "Last refresh time of the DPMContainer.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
},
"DPMProtectedItemExtendedInfo": {
"description": "Additional information of DPM Protected item.",
"properties": {
"diskStorageUsedInBytes": {
"description": "Used Disk storage in bytes.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"isCollocated": {
"description": "To check if backup item is collocated.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"isPresentOnCloud": {
"description": "To check if backup item is cloud protected.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupStatus": {
"description": "Last backup status information on backup item.",
"type": "string"
},
"lastRefreshedAt": {
"description": "Last refresh time on backup item.",
"format": "date-time",
"type": "string"
},
"oldestRecoveryPoint": {
"description": "Oldest cloud recovery point time.",
"format": "date-time",
"type": "string"
},
"onPremiseLatestRecoveryPoint": {
"description": "latest disk recovery point time.",
"format": "date-time",
"type": "string"
},
"onPremiseOldestRecoveryPoint": {
"description": "Oldest disk recovery point time.",
"format": "date-time",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"onPremiseRecoveryPointCount": {
"description": "disk recovery point count.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectableObjectLoadPath": {
"description": "Attribute to provide information on various DBs.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protected": {
"description": "To check if backup item is disk protected.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"protectionGroupName": {
"description": "Protection group name of the backup item.",
"type": "string"
},
"recoveryPointCount": {
"description": "cloud recovery point count.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"totalDiskStorageSizeInBytes": {
"description": "total Disk storage in bytes.",
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"DailyRetentionFormat": {
"description": "Daily retention format.",
2021-05-18 13:24:41 +03:00
"properties": {
"daysOfTheMonth": {
"description": "List of days of the month.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"$ref": "#/definitions/Day"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"DailyRetentionSchedule": {
"description": "Daily retention schedule.",
2021-05-18 13:24:41 +03:00
"properties": {
"retentionDuration": {
"description": "Retention duration of retention Policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/RetentionDuration"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionTimes": {
"description": "Retention times of retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"format": "date-time",
"type": "string"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"Day": {
"description": "Day of the week.",
2021-05-18 13:24:41 +03:00
"properties": {
"date": {
"description": "Date of the month",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"isLast": {
"description": "Whether Date is last date of month",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
2021-05-18 13:24:41 +03:00
]
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"DiskExclusionProperties": {
2021-05-18 13:24:41 +03:00
"properties": {
"diskLunList": {
"description": "List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"type": "integer"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"isInclusionList": {
"description": "Flag to indicate whether DiskLunList is to be included/ excluded from backup.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"DistributedNodesInfo": {
"description": "This is used to represent the various nodes of the distributed container.",
"properties": {
"errorDetail": {
"description": "Error Details if the Status is non-success.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/ErrorDetail"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"nodeName": {
"description": "Name of the node under a distributed container.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"status": {
"description": "Status of this Node.\r\nFailed | Succeeded",
"type": "string"
}
},
"type": "object"
},
"ErrorDetail": {
"description": "Error Detail class which encapsulates Code, Message and Recommendations.",
"properties": {},
"type": "object"
},
"ExtendedProperties": {
"description": "Extended Properties for Azure IaasVM Backup.",
"properties": {
"diskExclusionProperties": {
"description": "Extended Properties for Disk Exclusion.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/DiskExclusionProperties"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"GenericContainerExtendedInfo": {
"description": "Container extended information",
2021-05-18 13:24:41 +03:00
"properties": {
"containerIdentityInfo": {
"description": "Container identity information",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/ContainerIdentityInfo"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"rawCertData": {
"description": "Public key of container cert",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"serviceEndpoints": {
"description": "Azure Backup Service Endpoints for the container",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"InquiryInfo": {
"description": "Details about inquired protectable items under a given container.",
"properties": {
"errorDetail": {
"description": "Error Details if the Status is non-success.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/ErrorDetail"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"inquiryDetails": {
"description": "Inquiry Details which will have workload specific details.\r\nFor e.g. - For SQL and oracle this will contain different details.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"$ref": "#/definitions/WorkloadInquiryDetails"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"status": {
"description": "Inquiry Status for this container such as\r\nInProgress | Failed | Succeeded",
"type": "string"
}
},
"type": "object"
},
"InquiryValidation": {
"description": "Validation for inquired protectable items under a given container.",
"properties": {
"errorDetail": {
"description": "Error Detail in case the status is non-success.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/ErrorDetail"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"status": {
"description": "Status for the Inquiry Validation.",
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"InstantRPAdditionalDetails": {
2021-05-18 13:24:41 +03:00
"properties": {
"azureBackupRGNamePrefix": {
"type": "string"
},
"azureBackupRGNameSuffix": {
"type": "string"
}
},
"type": "object"
},
"KPIResourceHealthDetails": {
"description": "KPI Resource Health Details",
"properties": {
"resourceHealthDetails": {
"description": "Resource Health Status",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"$ref": "#/definitions/ResourceHealthDetails"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"resourceHealthStatus": {
"description": "Resource Health Status",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Healthy",
"TransientDegraded",
"PersistentDegraded",
"TransientUnhealthy",
"PersistentUnhealthy",
"Invalid"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"MABContainerHealthDetails": {
"description": "MAB workload-specific Health Details.",
2021-05-18 13:24:41 +03:00
"properties": {
"code": {
"description": "Health Code",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"message": {
"description": "Health Message",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"recommendations": {
"description": "Health Recommended Actions",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"type": "string"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"title": {
"description": "Health Title",
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"MabContainerExtendedInfo": {
"description": "Additional information of the container.",
2021-05-18 13:24:41 +03:00
"properties": {
"backupItemType": {
"description": "Type of backup items associated with this container.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"VM",
"FileFolder",
"AzureSqlDb",
"SQLDB",
"Exchange",
"Sharepoint",
"VMwareVM",
"SystemState",
"Client",
"GenericDataSource",
"SQLDataBase",
"AzureFileShare",
"SAPHanaDatabase",
"SAPAseDatabase"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"backupItems": {
"description": "List of backup items associated with this container.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"type": "string"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"lastBackupStatus": {
"description": "Latest backup status of this container.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"lastRefreshedAt": {
"description": "Time stamp when this container was refreshed.",
2021-05-18 13:24:41 +03:00
"format": "date-time",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"policyName": {
"description": "Backup policy associated with this container.",
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"MabFileFolderProtectedItemExtendedInfo": {
"description": "Additional information on the backed up item.",
2021-05-18 13:24:41 +03:00
"properties": {
"lastRefreshedAt": {
"description": "Last time when the agent data synced to service.",
2021-05-18 13:24:41 +03:00
"format": "date-time",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"oldestRecoveryPoint": {
"description": "The oldest backup copy available.",
2021-05-18 13:24:41 +03:00
"format": "date-time",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"recoveryPointCount": {
"description": "Number of backup copies associated with the backup item.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"MonthlyRetentionSchedule": {
"description": "Monthly retention schedule.",
2021-05-18 13:24:41 +03:00
"properties": {
"retentionDuration": {
"description": "Retention duration of retention Policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/RetentionDuration"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionScheduleDaily": {
"description": "Daily retention format for monthly retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/DailyRetentionFormat"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionScheduleFormatType": {
"description": "Retention schedule format type for monthly retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"Daily",
"Weekly"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionScheduleWeekly": {
"description": "Weekly retention format for monthly retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/WeeklyRetentionFormat"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionTimes": {
"description": "Retention times of retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"format": "date-time",
2021-05-18 13:24:41 +03:00
"type": "string"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"PrivateEndpoint": {
"description": "The Private Endpoint network resource that is linked to the Private Endpoint connection",
2021-05-18 13:24:41 +03:00
"properties": {
"id": {
"description": "Gets or sets id",
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"PrivateEndpointConnection": {
"description": "Private Endpoint Connection Response Properties",
2021-05-18 13:24:41 +03:00
"properties": {
"privateEndpoint": {
"description": "Gets or sets private endpoint associated with the private endpoint connection",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpoint"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"privateLinkServiceConnectionState": {
"description": "Gets or sets private link service connection state",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"provisioningState": {
"description": "Gets or sets provisioning state of the private endpoint connection",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Succeeded",
"Deleting",
"Failed",
"Pending"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"PrivateLinkServiceConnectionState": {
"description": "Private Link Service Connection State",
2021-05-18 13:24:41 +03:00
"properties": {
"actionRequired": {
"description": "Gets or sets actions required",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"description": {
"description": "Gets or sets description",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"status": {
"description": "Gets or sets the status",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Pending",
"Approved",
"Rejected",
"Disconnected"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"ProtectedItem": {
"description": "Base class for backup items.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"description": "Azure File Share workload-specific backup item.",
"properties": {
"extendedInfo": {
"description": "Additional information with this backup item.",
"oneOf": [
{
"$ref": "#/definitions/AzureFileshareProtectedItemExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"friendlyName": {
"description": "Friendly name of the fileshare represented by this backup item.",
"type": "string"
},
"kpisHealths": {
"description": "Health details of different KPIs",
"oneOf": [
{
"additionalProperties": {
"$ref": "#/definitions/KPIResourceHealthDetails"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupStatus": {
"description": "Last backup operation status. Possible values: Healthy, Unhealthy.",
"type": "string"
},
"lastBackupTime": {
"description": "Timestamp of the last backup operation on this backup item.",
"format": "date-time",
"type": "string"
},
2024-04-24 17:24:38 +03:00
"protectedItemType": {
"enum": [
"AzureFileShareProtectedItem"
],
"type": "string"
},
"protectionState": {
"description": "Backup state of this backup item.",
"oneOf": [
{
"enum": [
"Invalid",
"IRPending",
"Protected",
"ProtectionError",
"ProtectionStopped",
"ProtectionPaused"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectionStatus": {
"description": "Backup status of this backup item.",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectedItemType"
],
"type": "object"
},
{
"description": "IaaS VM workload-specific backup item representing the Classic Compute VM.",
"properties": {
"extendedInfo": {
"description": "Additional information for this backup item.",
"oneOf": [
{
"$ref": "#/definitions/AzureIaaSVMProtectedItemExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"extendedProperties": {
"description": "Extended Properties for Azure IaasVM Backup.",
"oneOf": [
{
"$ref": "#/definitions/ExtendedProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"friendlyName": {
"description": "Friendly name of the VM represented by this backup item.",
"type": "string"
},
"healthDetails": {
"description": "Health details on this backup item.",
"oneOf": [
{
"items": {
"$ref": "#/definitions/AzureIaaSVMHealthDetails"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"healthStatus": {
"description": "Health status of protected item.",
"oneOf": [
{
"enum": [
"Passed",
"ActionRequired",
"ActionSuggested",
"Invalid"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"kpisHealths": {
"description": "Health details of different KPIs",
"oneOf": [
{
"additionalProperties": {
"$ref": "#/definitions/KPIResourceHealthDetails"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupStatus": {
"description": "Last backup operation status.",
"type": "string"
},
"lastBackupTime": {
"description": "Timestamp of the last backup operation on this backup item.",
"format": "date-time",
"type": "string"
},
"protectedItemDataId": {
"description": "Data ID of the protected item.",
"type": "string"
},
2024-04-24 17:24:38 +03:00
"protectedItemType": {
"enum": [
"Microsoft.ClassicCompute/virtualMachines"
],
"type": "string"
},
"protectionState": {
"description": "Backup state of this backup item.",
"oneOf": [
{
"enum": [
"Invalid",
"IRPending",
"Protected",
"ProtectionError",
"ProtectionStopped",
"ProtectionPaused"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectionStatus": {
"description": "Backup status of this backup item.",
"type": "string"
},
"virtualMachineId": {
"description": "Fully qualified ARM ID of the virtual machine represented by this item.",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectedItemType"
],
"type": "object"
},
{
"description": "IaaS VM workload-specific backup item representing the Azure Resource Manager VM.",
"properties": {
"extendedInfo": {
"description": "Additional information for this backup item.",
"oneOf": [
{
"$ref": "#/definitions/AzureIaaSVMProtectedItemExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"extendedProperties": {
"description": "Extended Properties for Azure IaasVM Backup.",
"oneOf": [
{
"$ref": "#/definitions/ExtendedProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"friendlyName": {
"description": "Friendly name of the VM represented by this backup item.",
"type": "string"
},
"healthDetails": {
"description": "Health details on this backup item.",
"oneOf": [
{
"items": {
"$ref": "#/definitions/AzureIaaSVMHealthDetails"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"healthStatus": {
"description": "Health status of protected item.",
"oneOf": [
{
"enum": [
"Passed",
"ActionRequired",
"ActionSuggested",
"Invalid"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"kpisHealths": {
"description": "Health details of different KPIs",
"oneOf": [
{
"additionalProperties": {
"$ref": "#/definitions/KPIResourceHealthDetails"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupStatus": {
"description": "Last backup operation status.",
"type": "string"
},
"lastBackupTime": {
"description": "Timestamp of the last backup operation on this backup item.",
"format": "date-time",
"type": "string"
},
"protectedItemDataId": {
"description": "Data ID of the protected item.",
"type": "string"
},
2024-04-24 17:24:38 +03:00
"protectedItemType": {
"enum": [
"Microsoft.Compute/virtualMachines"
],
"type": "string"
},
"protectionState": {
"description": "Backup state of this backup item.",
"oneOf": [
{
"enum": [
"Invalid",
"IRPending",
"Protected",
"ProtectionError",
"ProtectionStopped",
"ProtectionPaused"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectionStatus": {
"description": "Backup status of this backup item.",
"type": "string"
},
"virtualMachineId": {
"description": "Fully qualified ARM ID of the virtual machine represented by this item.",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectedItemType"
],
"type": "object"
},
{
"description": "Azure VM workload-specific protected item representing SAP ASE Database.",
"properties": {
"extendedInfo": {
"description": "Additional information for this backup item.",
"oneOf": [
{
"$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"friendlyName": {
"description": "Friendly name of the DB represented by this backup item.",
"type": "string"
},
"kpisHealths": {
"description": "Health details of different KPIs",
"oneOf": [
{
"additionalProperties": {
"$ref": "#/definitions/KPIResourceHealthDetails"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupErrorDetail": {
"description": "Error details in last backup",
"oneOf": [
{
"$ref": "#/definitions/ErrorDetail"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupStatus": {
"description": "Last backup operation status. Possible values: Healthy, Unhealthy.",
"oneOf": [
{
"enum": [
"Invalid",
"Healthy",
"Unhealthy",
"IRPending"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupTime": {
"description": "Timestamp of the last backup operation on this backup item.",
"format": "date-time",
"type": "string"
},
"parentName": {
"description": "Parent name of the DB such as Instance or Availability Group.",
"type": "string"
},
"parentType": {
"description": "Parent type of protected item, example: for a DB, standalone server or distributed",
"type": "string"
},
"protectedItemDataSourceId": {
"description": "Data ID of the protected item.",
"type": "string"
},
"protectedItemHealthStatus": {
"description": "Health status of the backup item, evaluated based on last heartbeat received",
"oneOf": [
{
"enum": [
"Invalid",
"Healthy",
"Unhealthy",
"NotReachable",
"IRPending"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
2024-04-24 17:24:38 +03:00
"protectedItemType": {
"enum": [
"AzureVmWorkloadSAPAseDatabase"
],
"type": "string"
},
"protectionState": {
"description": "Backup state of this backup item.",
"oneOf": [
{
"enum": [
"Invalid",
"IRPending",
"Protected",
"ProtectionError",
"ProtectionStopped",
"ProtectionPaused"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectionStatus": {
"description": "Backup status of this backup item.",
"type": "string"
},
"serverName": {
"description": "Host/Cluster Name for instance or AG",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectedItemType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Azure VM workload-specific protected item representing SAP HANA Database.",
"properties": {
"extendedInfo": {
"description": "Additional information for this backup item.",
"oneOf": [
{
"$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"friendlyName": {
"description": "Friendly name of the DB represented by this backup item.",
"type": "string"
},
"kpisHealths": {
"description": "Health details of different KPIs",
"oneOf": [
{
"additionalProperties": {
"$ref": "#/definitions/KPIResourceHealthDetails"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupErrorDetail": {
"description": "Error details in last backup",
"oneOf": [
{
"$ref": "#/definitions/ErrorDetail"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupStatus": {
"description": "Last backup operation status. Possible values: Healthy, Unhealthy.",
"oneOf": [
{
"enum": [
"Invalid",
"Healthy",
"Unhealthy",
"IRPending"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupTime": {
"description": "Timestamp of the last backup operation on this backup item.",
"format": "date-time",
"type": "string"
},
"parentName": {
"description": "Parent name of the DB such as Instance or Availability Group.",
"type": "string"
},
"parentType": {
"description": "Parent type of protected item, example: for a DB, standalone server or distributed",
"type": "string"
},
"protectedItemDataSourceId": {
"description": "Data ID of the protected item.",
"type": "string"
},
"protectedItemHealthStatus": {
"description": "Health status of the backup item, evaluated based on last heartbeat received",
"oneOf": [
{
"enum": [
"Invalid",
"Healthy",
"Unhealthy",
"NotReachable",
"IRPending"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
2024-04-24 17:24:38 +03:00
"protectedItemType": {
"enum": [
"AzureVmWorkloadSAPHanaDatabase"
],
"type": "string"
},
"protectionState": {
"description": "Backup state of this backup item.",
"oneOf": [
{
"enum": [
"Invalid",
"IRPending",
"Protected",
"ProtectionError",
"ProtectionStopped",
"ProtectionPaused"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectionStatus": {
"description": "Backup status of this backup item.",
"type": "string"
},
"serverName": {
"description": "Host/Cluster Name for instance or AG",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectedItemType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Azure VM workload-specific protected item representing SQL Database.",
"properties": {
"extendedInfo": {
"description": "Additional information for this backup item.",
"oneOf": [
{
"$ref": "#/definitions/AzureVmWorkloadProtectedItemExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"friendlyName": {
"description": "Friendly name of the DB represented by this backup item.",
"type": "string"
},
"kpisHealths": {
"description": "Health details of different KPIs",
"oneOf": [
{
"additionalProperties": {
"$ref": "#/definitions/KPIResourceHealthDetails"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupErrorDetail": {
"description": "Error details in last backup",
"oneOf": [
{
"$ref": "#/definitions/ErrorDetail"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupStatus": {
"description": "Last backup operation status. Possible values: Healthy, Unhealthy.",
"oneOf": [
{
"enum": [
"Invalid",
"Healthy",
"Unhealthy",
"IRPending"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupTime": {
"description": "Timestamp of the last backup operation on this backup item.",
"format": "date-time",
"type": "string"
},
"parentName": {
"description": "Parent name of the DB such as Instance or Availability Group.",
"type": "string"
},
"parentType": {
"description": "Parent type of protected item, example: for a DB, standalone server or distributed",
"type": "string"
},
"protectedItemDataSourceId": {
"description": "Data ID of the protected item.",
"type": "string"
},
"protectedItemHealthStatus": {
"description": "Health status of the backup item, evaluated based on last heartbeat received",
"oneOf": [
{
"enum": [
"Invalid",
"Healthy",
"Unhealthy",
"NotReachable",
"IRPending"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
2024-04-24 17:24:38 +03:00
"protectedItemType": {
"enum": [
"AzureVmWorkloadSQLDatabase"
],
"type": "string"
},
"protectionState": {
"description": "Backup state of this backup item.",
"oneOf": [
{
"enum": [
"Invalid",
"IRPending",
"Protected",
"ProtectionError",
"ProtectionStopped",
"ProtectionPaused"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectionStatus": {
"description": "Backup status of this backup item.",
"type": "string"
},
"serverName": {
"description": "Host/Cluster Name for instance or AG",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectedItemType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Additional information on Backup engine specific backup item.",
"properties": {
"backupEngineName": {
"description": "Backup Management server protecting this backup item",
"type": "string"
},
"extendedInfo": {
"description": "Extended info of the backup item.",
"oneOf": [
{
"$ref": "#/definitions/DPMProtectedItemExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"friendlyName": {
"description": "Friendly name of the managed item",
"type": "string"
},
2024-04-24 17:24:38 +03:00
"protectedItemType": {
"enum": [
"DPMProtectedItem"
],
"type": "string"
},
"protectionState": {
"description": "Protection state of the backup engine",
"oneOf": [
{
"enum": [
"Invalid",
"IRPending",
"Protected",
"ProtectionError",
"ProtectionStopped",
"ProtectionPaused"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectedItemType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Base class for backup items.",
"properties": {
"fabricName": {
"description": "Name of this backup item's fabric.",
"type": "string"
},
"friendlyName": {
"description": "Friendly name of the container.",
"type": "string"
},
"policyState": {
"description": "Indicates consistency of policy object and policy applied to this backup item.",
"type": "string"
},
"protectedItemId": {
"description": "Data Plane Service ID of the protected item.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
2024-04-24 17:24:38 +03:00
"protectedItemType": {
"enum": [
"GenericProtectedItem"
],
"type": "string"
},
"protectionState": {
"description": "Backup state of this backup item.",
"oneOf": [
{
"enum": [
"Invalid",
"IRPending",
"Protected",
"ProtectionError",
"ProtectionStopped",
"ProtectionPaused"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"sourceAssociations": {
"description": "Loosely coupled (type, value) associations (example - parent of a protected item)",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectedItemType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "MAB workload-specific backup item.",
"properties": {
"computerName": {
"description": "Name of the computer associated with this backup item.",
"type": "string"
},
"deferredDeleteSyncTimeInUTC": {
"description": "Sync time for deferred deletion in UTC",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"extendedInfo": {
"description": "Additional information with this backup item.",
"oneOf": [
{
"$ref": "#/definitions/MabFileFolderProtectedItemExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"friendlyName": {
"description": "Friendly name of this backup item.",
"type": "string"
},
"lastBackupStatus": {
"description": "Status of last backup operation.",
"type": "string"
},
"lastBackupTime": {
"description": "Timestamp of the last backup operation on this backup item.",
"format": "date-time",
"type": "string"
},
2024-04-24 17:24:38 +03:00
"protectedItemType": {
"enum": [
"MabFileFolderProtectedItem"
],
"type": "string"
},
"protectionState": {
"description": "Protected, ProtectionStopped, IRPending or ProtectionError",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectedItemType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Azure SQL workload-specific backup item.",
"properties": {
"extendedInfo": {
"description": "Additional information for this backup item.",
"oneOf": [
{
"$ref": "#/definitions/AzureSqlProtectedItemExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectedItemDataId": {
"description": "Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.",
"type": "string"
},
2024-04-24 17:24:38 +03:00
"protectedItemType": {
"enum": [
"Microsoft.Sql/servers/databases"
],
"type": "string"
},
"protectionState": {
"description": "Backup state of the backed up item.",
"oneOf": [
{
"enum": [
"Invalid",
"IRPending",
"Protected",
"ProtectionError",
"ProtectionStopped",
"ProtectionPaused"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectedItemType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
}
],
"properties": {
"backupManagementType": {
"description": "Type of backup management for the backed up item.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"AzureIaasVM",
"MAB",
"DPM",
"AzureBackupServer",
"AzureSql",
"AzureStorage",
"AzureWorkload",
"DefaultBackup"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"backupSetName": {
"description": "Name of the backup set the backup item belongs to",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"containerName": {
"description": "Unique name of container",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"createMode": {
"description": "Create mode to indicate recovery of existing soft deleted data source or creation of new data source.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"Default",
"Recover"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"deferredDeleteTimeInUTC": {
"description": "Time for deferred deletion in UTC",
2021-05-18 13:24:41 +03:00
"format": "date-time",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"deferredDeleteTimeRemaining": {
"description": "Time remaining before the DS marked for deferred delete is permanently deleted",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"isDeferredDeleteScheduleUpcoming": {
"description": "Flag to identify whether the deferred deleted DS is to be purged soon",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"isRehydrate": {
"description": "Flag to identify that deferred deleted DS is to be moved into Pause state",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"isScheduledForDeferredDelete": {
"description": "Flag to identify whether the DS is scheduled for deferred delete",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"lastRecoveryPoint": {
"description": "Timestamp when the last (latest) backup copy was created for this backup item.",
2021-05-18 13:24:41 +03:00
"format": "date-time",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"policyId": {
"description": "ID of the backup policy with which this item is backed up.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"sourceResourceId": {
"description": "ARM ID of the resource to be backed up.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"workloadType": {
"description": "Type of workload this item represents.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"VM",
"FileFolder",
"AzureSqlDb",
"SQLDB",
"Exchange",
"Sharepoint",
"VMwareVM",
"SystemState",
"Client",
"GenericDataSource",
"SQLDataBase",
"AzureFileShare",
"SAPHanaDatabase",
"SAPAseDatabase"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"ProtectionContainer": {
"description": "Base class for container with backup items. Containers with specific workloads are derived from this class.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"description": "AzureBackupServer (DPMVenus) workload-specific protection container.",
"properties": {
"canReRegister": {
"description": "Specifies whether the container is re-registrable.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"containerId": {
"description": "ID of container.",
"type": "string"
},
2024-04-24 17:24:38 +03:00
"containerType": {
"enum": [
"AzureBackupServerContainer"
],
"type": "string"
},
"dpmAgentVersion": {
"description": "Backup engine Agent version",
"type": "string"
},
"dpmServers": {
"description": "List of BackupEngines protecting the container",
"oneOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"extendedInfo": {
"description": "Extended Info of the container.",
"oneOf": [
{
"$ref": "#/definitions/DPMContainerExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectedItemCount": {
"description": "Number of protected items in the BackupEngine",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectionStatus": {
"description": "Protection status of the container.",
"type": "string"
},
"upgradeAvailable": {
"description": "To check if upgrade available",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"containerType"
],
"type": "object"
},
{
"description": "Azure Sql workload-specific container.",
2024-04-24 17:24:38 +03:00
"properties": {
"containerType": {
"enum": [
"AzureSqlContainer"
],
"type": "string"
}
},
"required": [
"containerType"
],
"type": "object"
},
{
"description": "Container for SQL workloads under SQL Availability Group.",
"properties": {
2024-04-24 17:24:38 +03:00
"containerType": {
"enum": [
"SQLAGWorkLoadContainer"
],
"type": "string"
},
"extendedInfo": {
"description": "Additional details of a workload container.",
"oneOf": [
{
"$ref": "#/definitions/AzureWorkloadContainerExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastUpdatedTime": {
"description": "Time stamp when this container was updated.",
"format": "date-time",
"type": "string"
},
"operationType": {
"description": "Re-Do Operation",
"oneOf": [
{
"enum": [
"Invalid",
"Register",
"Reregister"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"sourceResourceId": {
"description": "ARM ID of the virtual machine represented by this Azure Workload Container",
"type": "string"
},
"workloadType": {
"description": "Workload type for which registration was sent.",
"oneOf": [
{
"enum": [
"Invalid",
"VM",
"FileFolder",
"AzureSqlDb",
"SQLDB",
"Exchange",
"Sharepoint",
"VMwareVM",
"SystemState",
"Client",
"GenericDataSource",
"SQLDataBase",
"AzureFileShare",
"SAPHanaDatabase",
"SAPAseDatabase"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"containerType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Container for SQL workloads under Azure Virtual Machines.",
"properties": {
2024-04-24 17:24:38 +03:00
"containerType": {
"enum": [
"VMAppContainer"
],
"type": "string"
},
"extendedInfo": {
"description": "Additional details of a workload container.",
"oneOf": [
{
"$ref": "#/definitions/AzureWorkloadContainerExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastUpdatedTime": {
"description": "Time stamp when this container was updated.",
"format": "date-time",
"type": "string"
},
"operationType": {
"description": "Re-Do Operation",
"oneOf": [
{
"enum": [
"Invalid",
"Register",
"Reregister"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"sourceResourceId": {
"description": "ARM ID of the virtual machine represented by this Azure Workload Container",
"type": "string"
},
"workloadType": {
"description": "Workload type for which registration was sent.",
"oneOf": [
{
"enum": [
"Invalid",
"VM",
"FileFolder",
"AzureSqlDb",
"SQLDB",
"Exchange",
"Sharepoint",
"VMwareVM",
"SystemState",
"Client",
"GenericDataSource",
"SQLDataBase",
"AzureFileShare",
"SAPHanaDatabase",
"SAPAseDatabase"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"containerType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Base class for generic container of backup items",
"properties": {
2024-04-24 17:24:38 +03:00
"containerType": {
"enum": [
"GenericContainer"
],
"type": "string"
},
"extendedInformation": {
"description": "Extended information (not returned in List container API calls)",
"oneOf": [
{
"$ref": "#/definitions/GenericContainerExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"fabricName": {
"description": "Name of the container's fabric",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"containerType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "IaaS VM workload-specific backup item representing a classic virtual machine.",
"properties": {
2024-04-24 17:24:38 +03:00
"containerType": {
"enum": [
"Microsoft.ClassicCompute/virtualMachines"
],
"type": "string"
},
"resourceGroup": {
"description": "Resource group name of Recovery Services Vault.",
"type": "string"
},
"virtualMachineId": {
"description": "Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.",
"type": "string"
},
"virtualMachineVersion": {
"description": "Specifies whether the container represents a Classic or an Azure Resource Manager VM.",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"containerType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.",
"properties": {
2024-04-24 17:24:38 +03:00
"containerType": {
"enum": [
"Microsoft.Compute/virtualMachines"
],
"type": "string"
},
"resourceGroup": {
"description": "Resource group name of Recovery Services Vault.",
"type": "string"
},
"virtualMachineId": {
"description": "Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.",
"type": "string"
},
"virtualMachineVersion": {
"description": "Specifies whether the container represents a Classic or an Azure Resource Manager VM.",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"containerType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Azure Storage Account workload-specific container.",
"properties": {
2024-04-24 17:24:38 +03:00
"containerType": {
"enum": [
"StorageContainer"
],
"type": "string"
},
"protectedItemCount": {
"description": "Number of items backed up in this container.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"resourceGroup": {
"description": "Resource group name of Recovery Services Vault.",
"type": "string"
},
"sourceResourceId": {
"description": "Fully qualified ARM url.",
"type": "string"
},
"storageAccountVersion": {
"description": "Storage account version.",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"containerType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Container with items backed up using MAB backup engine.",
"properties": {
"agentVersion": {
"description": "Agent version of this container.",
"type": "string"
},
"canReRegister": {
"description": "Can the container be registered one more time.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"containerHealthState": {
"description": "Health state of mab container.",
"type": "string"
},
"containerId": {
"description": "ContainerID represents the container.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
2024-04-24 17:24:38 +03:00
"containerType": {
"enum": [
"Windows"
],
"type": "string"
},
"extendedInfo": {
"description": "Additional information for this container",
"oneOf": [
{
"$ref": "#/definitions/MabContainerExtendedInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"mabContainerHealthDetails": {
"description": "Health details on this mab container.",
"oneOf": [
{
"items": {
"$ref": "#/definitions/MABContainerHealthDetails"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectedItemCount": {
"description": "Number of items backed up in this container.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"containerType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
}
],
"properties": {
"backupManagementType": {
"description": "Type of backup management for the container.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"AzureIaasVM",
"MAB",
"DPM",
"AzureBackupServer",
"AzureSql",
"AzureStorage",
"AzureWorkload",
"DefaultBackup"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"friendlyName": {
"description": "Friendly name of the container.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"healthStatus": {
"description": "Status of health of the container.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"registrationStatus": {
"description": "Status of registration of the container with the Recovery Services Vault.",
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"ProtectionIntent": {
"description": "Base class for backup ProtectionIntent.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"description": "IaaS VM specific backup protection intent item.",
"properties": {
"friendlyName": {
"description": "Friendly name of the VM represented by this backup item.",
"type": "string"
2024-04-24 17:24:38 +03:00
},
"protectionIntentItemType": {
"enum": [
"AzureResourceItem"
],
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectionIntentItemType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Azure Workload SQL Auto Protection intent item.",
"properties": {
2024-04-24 17:24:38 +03:00
"protectionIntentItemType": {
"enum": [
"AzureWorkloadSQLAutoProtectionIntent"
],
"type": "string"
},
"workloadItemType": {
"description": "Workload item type of the item for which intent is to be set",
"oneOf": [
{
"enum": [
"Invalid",
"SQLInstance",
"SQLDataBase",
"SAPHanaSystem",
"SAPHanaDatabase",
"SAPAseSystem",
"SAPAseDatabase"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"protectionIntentItemType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
}
],
"properties": {
"backupManagementType": {
"description": "Type of backup management for the backed up item.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"AzureIaasVM",
"MAB",
"DPM",
"AzureBackupServer",
"AzureSql",
"AzureStorage",
"AzureWorkload",
"DefaultBackup"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"itemId": {
"description": "ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"policyId": {
"description": "ID of the backup policy with which this item is backed up.",
"type": "string"
2021-05-18 13:24:41 +03:00
},
"protectionState": {
"description": "Backup state of this backup item.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"NotProtected",
"Protecting",
"Protected",
"ProtectionFailed"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"sourceResourceId": {
"description": "ARM ID of the resource to be backed up.",
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"ProtectionPolicy": {
"description": "Base class for backup policy. Workload-specific backup policies are derived from this class.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"description": "IaaS VM workload-specific backup policy.",
"properties": {
2024-04-24 17:24:38 +03:00
"backupManagementType": {
"enum": [
"AzureIaasVM"
],
"type": "string"
},
"instantRPDetails": {
"oneOf": [
{
"$ref": "#/definitions/InstantRPAdditionalDetails"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"instantRpRetentionRangeInDays": {
"description": "Instant RP retention policy range in days",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionPolicy": {
"description": "Retention policy with the details on backup copy retention ranges.",
"oneOf": [
{
"$ref": "#/definitions/RetentionPolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"schedulePolicy": {
"description": "Backup schedule specified as part of backup policy.",
"oneOf": [
{
"$ref": "#/definitions/SchedulePolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"timeZone": {
"description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"backupManagementType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Azure SQL workload-specific backup policy.",
"properties": {
2024-04-24 17:24:38 +03:00
"backupManagementType": {
"enum": [
"AzureSql"
],
"type": "string"
},
"retentionPolicy": {
"description": "Retention policy details.",
"oneOf": [
{
"$ref": "#/definitions/RetentionPolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"backupManagementType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "AzureStorage backup policy.",
"properties": {
2024-04-24 17:24:38 +03:00
"backupManagementType": {
"enum": [
"AzureStorage"
],
"type": "string"
},
"retentionPolicy": {
"description": "Retention policy with the details on backup copy retention ranges.",
"oneOf": [
{
"$ref": "#/definitions/RetentionPolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"schedulePolicy": {
"description": "Backup schedule specified as part of backup policy.",
"oneOf": [
{
"$ref": "#/definitions/SchedulePolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"timeZone": {
"description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".",
"type": "string"
},
"workLoadType": {
"description": "Type of workload for the backup management",
"oneOf": [
{
"enum": [
"Invalid",
"VM",
"FileFolder",
"AzureSqlDb",
"SQLDB",
"Exchange",
"Sharepoint",
"VMwareVM",
"SystemState",
"Client",
"GenericDataSource",
"SQLDataBase",
"AzureFileShare",
"SAPHanaDatabase",
"SAPAseDatabase"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"backupManagementType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Azure VM (Mercury) workload-specific backup policy.",
"properties": {
2024-04-24 17:24:38 +03:00
"backupManagementType": {
"enum": [
"AzureWorkload"
],
"type": "string"
},
"makePolicyConsistent": {
"description": "Fix the policy inconsistency",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"settings": {
"description": "Common settings for the backup management",
"oneOf": [
{
"$ref": "#/definitions/Settings"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"subProtectionPolicy": {
"description": "List of sub-protection policies which includes schedule and retention",
"oneOf": [
{
"items": {
"$ref": "#/definitions/SubProtectionPolicy"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"workLoadType": {
"description": "Type of workload for the backup management",
"oneOf": [
{
"enum": [
"Invalid",
"VM",
"FileFolder",
"AzureSqlDb",
"SQLDB",
"Exchange",
"Sharepoint",
"VMwareVM",
"SystemState",
"Client",
"GenericDataSource",
"SQLDataBase",
"AzureFileShare",
"SAPHanaDatabase",
"SAPAseDatabase"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"backupManagementType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Azure VM (Mercury) workload-specific backup policy.",
"properties": {
2024-04-24 17:24:38 +03:00
"backupManagementType": {
"enum": [
"GenericProtectionPolicy"
],
"type": "string"
},
"fabricName": {
"description": "Name of this policy's fabric.",
"type": "string"
},
"subProtectionPolicy": {
"description": "List of sub-protection policies which includes schedule and retention",
"oneOf": [
{
"items": {
"$ref": "#/definitions/SubProtectionPolicy"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"timeZone": {
"description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".",
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"backupManagementType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Mab container-specific backup policy.",
"properties": {
2024-04-24 17:24:38 +03:00
"backupManagementType": {
"enum": [
"MAB"
],
"type": "string"
},
"retentionPolicy": {
"description": "Retention policy details.",
"oneOf": [
{
"$ref": "#/definitions/RetentionPolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"schedulePolicy": {
"description": "Backup schedule of backup policy.",
"oneOf": [
{
"$ref": "#/definitions/SchedulePolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"backupManagementType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
}
],
"properties": {
"protectedItemsCount": {
"description": "Number of items associated with this policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"ResourceHealthDetails": {
"description": "Health Details for backup items.",
2021-05-18 13:24:41 +03:00
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"RetentionDuration": {
"description": "Retention duration.",
2021-05-18 13:24:41 +03:00
"properties": {
"count": {
"description": "Count of duration types. Retention duration is obtained by the counting the duration type Count times.\r\nFor example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"durationType": {
"description": "Retention duration type of retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"Days",
"Weeks",
"Months",
"Years"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"RetentionPolicy": {
"description": "Base class for retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"description": "Long term retention policy.",
"properties": {
"dailySchedule": {
"description": "Daily retention schedule of the protection policy.",
"oneOf": [
{
"$ref": "#/definitions/DailyRetentionSchedule"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"monthlySchedule": {
"description": "Monthly retention schedule of the protection policy.",
"oneOf": [
{
"$ref": "#/definitions/MonthlyRetentionSchedule"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
2024-04-24 17:24:38 +03:00
"retentionPolicyType": {
"enum": [
"LongTermRetentionPolicy"
],
"type": "string"
},
"weeklySchedule": {
"description": "Weekly retention schedule of the protection policy.",
"oneOf": [
{
"$ref": "#/definitions/WeeklyRetentionSchedule"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"yearlySchedule": {
"description": "Yearly retention schedule of the protection policy.",
"oneOf": [
{
"$ref": "#/definitions/YearlyRetentionSchedule"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"retentionPolicyType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Simple policy retention.",
"properties": {
"retentionDuration": {
"description": "Retention duration of the protection policy.",
"oneOf": [
{
"$ref": "#/definitions/RetentionDuration"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2024-04-24 17:24:38 +03:00
},
"retentionPolicyType": {
"enum": [
"SimpleRetentionPolicy"
],
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"retentionPolicyType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
}
],
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"SchedulePolicy": {
"description": "Base class for backup schedule.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"description": "Log policy schedule.",
"properties": {
"scheduleFrequencyInMins": {
"description": "Frequency of the log schedule operation of this policy in minutes.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2024-04-24 17:24:38 +03:00
},
"schedulePolicyType": {
"enum": [
"LogSchedulePolicy"
],
"type": "string"
}
},
2024-04-24 17:24:38 +03:00
"required": [
"schedulePolicyType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Long term policy schedule.",
2024-04-24 17:24:38 +03:00
"properties": {
"schedulePolicyType": {
"enum": [
"LongTermSchedulePolicy"
],
"type": "string"
}
},
"required": [
"schedulePolicyType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"description": "Simple policy schedule.",
"properties": {
2024-04-24 17:24:38 +03:00
"schedulePolicyType": {
"enum": [
"SimpleSchedulePolicy"
],
"type": "string"
},
"scheduleRunDays": {
"description": "List of days of week this schedule has to be run.",
"oneOf": [
{
"items": {
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"scheduleRunFrequency": {
"description": "Frequency of the schedule operation of this policy.",
"oneOf": [
{
"enum": [
"Invalid",
"Daily",
"Weekly"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"scheduleRunTimes": {
"description": "List of times of day this schedule has to be run.",
"oneOf": [
{
"items": {
"format": "date-time",
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"scheduleWeeklyFrequency": {
"description": "At every number weeks this schedule has to be run.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
2024-04-24 17:24:38 +03:00
"required": [
"schedulePolicyType"
],
"type": "object"
2021-05-18 13:24:41 +03:00
}
],
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"Settings": {
"description": "Common settings field for backup management",
2021-05-18 13:24:41 +03:00
"properties": {
"isCompression": {
"description": "Workload compression flag. This has been added so that 'isSqlCompression'\r\nwill be deprecated once clients upgrade to consider this flag.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"issqlcompression": {
"description": "SQL compression flag",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"timeZone": {
"description": "TimeZone optional input as string. For example: TimeZone = \"Pacific Standard Time\".",
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"SubProtectionPolicy": {
"description": "Sub-protection policy which includes schedule and retention",
2021-05-18 13:24:41 +03:00
"properties": {
"policyType": {
"description": "Type of backup policy type",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"Full",
"Differential",
"Log",
"CopyOnlyFull",
"Incremental"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionPolicy": {
"description": "Retention policy with the details on backup copy retention ranges.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/RetentionPolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"schedulePolicy": {
"description": "Backup schedule specified as part of backup policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/SchedulePolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"WeeklyRetentionFormat": {
"description": "Weekly retention format.",
2021-05-18 13:24:41 +03:00
"properties": {
"daysOfTheWeek": {
"description": "List of days of the week.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"type": "string"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"weeksOfTheMonth": {
"description": "List of weeks of month.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"enum": [
"First",
"Second",
"Third",
"Fourth",
"Last",
"Invalid"
],
"type": "string"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"WeeklyRetentionSchedule": {
"description": "Weekly retention schedule.",
2021-05-18 13:24:41 +03:00
"properties": {
"daysOfTheWeek": {
"description": "List of days of week for weekly retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"type": "string"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionDuration": {
"description": "Retention duration of retention Policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/RetentionDuration"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionTimes": {
"description": "Retention times of retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"format": "date-time",
2021-05-18 13:24:41 +03:00
"type": "string"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"WorkloadInquiryDetails": {
"description": "Details of an inquired protectable item.",
2021-05-18 13:24:41 +03:00
"properties": {
"inquiryValidation": {
"description": "Inquiry validation such as permissions and other backup validations.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/InquiryValidation"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"itemCount": {
"description": "Contains the protectable item Count inside this Container.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"type": {
"description": "Type of the Workload such as SQL, Oracle etc.",
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"type": "object"
2021-05-18 13:24:41 +03:00
},
"YearlyRetentionSchedule": {
"description": "Yearly retention schedule.",
2021-05-18 13:24:41 +03:00
"properties": {
"monthsOfYear": {
"description": "List of months of year of yearly retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"enum": [
"Invalid",
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
"type": "string"
},
"type": "array"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionDuration": {
"description": "Retention duration of retention Policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/RetentionDuration"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionScheduleDaily": {
"description": "Daily retention format for yearly retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/DailyRetentionFormat"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionScheduleFormatType": {
"description": "Retention schedule format for yearly retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"enum": [
"Invalid",
"Daily",
"Weekly"
],
"type": "string"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionScheduleWeekly": {
"description": "Weekly retention format for yearly retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"$ref": "#/definitions/WeeklyRetentionFormat"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
2021-05-18 13:24:41 +03:00
},
"retentionTimes": {
"description": "Retention times of retention policy.",
2021-05-18 13:24:41 +03:00
"oneOf": [
{
"items": {
"format": "date-time",
2021-05-18 13:24:41 +03:00
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"vaults_backupFabrics_protectionContainers_protectedItems_childResource": {
"description": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems",
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
},
"location": {
"description": "Resource location.",
"type": "string"
},
"name": {
"description": "Item name to be backed up.",
"type": "string"
},
"properties": {
"description": "ProtectedItemResource properties",
"oneOf": [
{
"$ref": "#/definitions/ProtectedItem"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
2021-05-18 13:24:41 +03:00
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"protectedItems"
2021-05-18 13:24:41 +03:00
],
"type": "string"
2021-05-18 13:24:41 +03:00
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
2021-05-18 13:24:41 +03:00
}
}
}