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

4327 строки
136 KiB
JSON

{
"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#",
"resourceDefinitions": {
"vaults_backupEncryptionConfigs": {
"description": "Microsoft.RecoveryServices/vaults/backupEncryptionConfigs",
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
},
"location": {
"description": "Resource location.",
"type": "string"
},
"name": {
"oneOf": [
{
"pattern": "^.*/backupResourceEncryptionConfig$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "BackupResourceEncryptionConfigResource properties",
"oneOf": [
{
"$ref": "#/definitions/BackupResourceEncryptionConfig"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupEncryptionConfigs"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"vaults_backupFabrics_backupProtectionIntent": {
"description": "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent",
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
},
"location": {
"description": "Resource location.",
"type": "string"
},
"name": {
"description": "Intent object name.",
"type": "string"
},
"properties": {
"description": "ProtectionIntentResource properties",
"oneOf": [
{
"$ref": "#/definitions/ProtectionIntent"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"vaults_backupFabrics_protectionContainers": {
"description": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers",
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
},
"location": {
"description": "Resource location.",
"type": "string"
},
"name": {
"description": "Name of the container to be registered.",
"type": "string"
},
"properties": {
"description": "ProtectionContainerResource properties",
"oneOf": [
{
"$ref": "#/definitions/ProtectionContainer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"resources": {
"items": {
"oneOf": [
{
"$ref": "#/definitions/vaults_backupFabrics_protectionContainers_protectedItems_childResource"
}
]
},
"type": "array"
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"vaults_backupFabrics_protectionContainers_protectedItems": {
"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"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"vaults_backupPolicies": {
"description": "Microsoft.RecoveryServices/vaults/backupPolicies",
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
},
"location": {
"description": "Resource location.",
"type": "string"
},
"name": {
"description": "Backup policy to be created.",
"type": "string"
},
"properties": {
"description": "ProtectionPolicyResource properties",
"oneOf": [
{
"$ref": "#/definitions/ProtectionPolicy"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupPolicies"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"vaults_backupconfig": {
"description": "Microsoft.RecoveryServices/vaults/backupconfig",
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
},
"location": {
"description": "Resource location.",
"type": "string"
},
"name": {
"oneOf": [
{
"pattern": "^.*/vaultconfig$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "BackupResourceVaultConfigResource properties",
"oneOf": [
{
"$ref": "#/definitions/BackupResourceVaultConfig"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupconfig"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"vaults_backupstorageconfig": {
"description": "Microsoft.RecoveryServices/vaults/backupstorageconfig",
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
},
"location": {
"description": "Resource location.",
"type": "string"
},
"name": {
"oneOf": [
{
"pattern": "^.*/vaultstorageconfig$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "BackupResourceConfigResource properties",
"oneOf": [
{
"$ref": "#/definitions/BackupResourceConfig"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/backupstorageconfig"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"vaults_privateEndpointConnections": {
"description": "Microsoft.RecoveryServices/vaults/privateEndpointConnections",
"properties": {
"apiVersion": {
"enum": [
"2021-04-01"
],
"type": "string"
},
"eTag": {
"description": "Optional ETag.",
"type": "string"
},
"location": {
"description": "Resource location.",
"type": "string"
},
"name": {
"description": "The name of the private endpoint connection.",
"type": "string"
},
"properties": {
"description": "PrivateEndpointConnectionResource properties",
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnection"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"tags": {
"description": "Resource tags.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.RecoveryServices/vaults/privateEndpointConnections"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
},
"definitions": {
"AzureFileshareProtectedItemExtendedInfo": {
"description": "Additional information about Azure File Share backup item.",
"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"
}
]
}
},
"type": "object"
},
"AzureIaaSVMHealthDetails": {
"description": "Azure IaaS VM workload-specific Health Details.",
"properties": {},
"type": "object"
},
"AzureIaaSVMProtectedItemExtendedInfo": {
"description": "Additional information on Azure IaaS VM specific backup item.",
"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.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"recoveryPointCount": {
"description": "Number of backup copies available for this backup item.",
"oneOf": [
{
"type": "integer"
},
{
"$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.",
"format": "date-time",
"type": "string"
},
"policyState": {
"description": "State of the backup policy associated with 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"
}
]
}
},
"type": "object"
},
"AzureVmWorkloadProtectedItemExtendedInfo": {
"description": "Additional information on Azure Workload for SQL specific backup item.",
"properties": {
"oldestRecoveryPoint": {
"description": "The oldest backup copy available for this backup item.",
"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 backup copies available for this backup item.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"AzureWorkloadContainerExtendedInfo": {
"description": "Extended information of the container.",
"properties": {
"hostServerName": {
"description": "Host Os Name in case of Stand Alone and Cluster Name in case of distributed container.",
"type": "string"
},
"inquiryInfo": {
"description": "Inquiry Status for the container.",
"oneOf": [
{
"$ref": "#/definitions/InquiryInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"nodesList": {
"description": "List of the nodes in case of distributed container.",
"oneOf": [
{
"items": {
"$ref": "#/definitions/DistributedNodesInfo"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"BackupResourceConfig": {
"description": "The resource storage details.",
"properties": {
"crossRegionRestoreFlag": {
"description": "Opt in details of Cross Region Restore feature.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"storageModelType": {
"description": "Storage type",
"oneOf": [
{
"enum": [
"Invalid",
"GeoRedundant",
"LocallyRedundant",
"ZoneRedundant",
"ReadAccessGeoZoneRedundant"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"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"
}
]
},
"storageTypeState": {
"description": "Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked.",
"oneOf": [
{
"enum": [
"Invalid",
"Locked",
"Unlocked"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"BackupResourceEncryptionConfig": {
"properties": {
"encryptionAtRestType": {
"description": "Encryption At Rest Type",
"oneOf": [
{
"enum": [
"Invalid",
"MicrosoftManaged",
"CustomerManaged"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"infrastructureEncryptionState": {
"oneOf": [
{
"enum": [
"Invalid",
"Disabled",
"Enabled"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"keyUri": {
"description": "Key Vault Key URI",
"type": "string"
},
"lastUpdateStatus": {
"oneOf": [
{
"enum": [
"Invalid",
"NotEnabled",
"PartiallySucceeded",
"PartiallyFailed",
"Failed",
"Succeeded",
"Initialized",
"FirstInitialization"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"subscriptionId": {
"description": "Key Vault Subscription Id",
"type": "string"
}
},
"type": "object"
},
"BackupResourceVaultConfig": {
"description": "Backup resource vault config details.",
"properties": {
"enhancedSecurityState": {
"description": "Enabled or Disabled.",
"oneOf": [
{
"enum": [
"Invalid",
"Enabled",
"Disabled"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"softDeleteFeatureState": {
"description": "Soft Delete feature state",
"oneOf": [
{
"enum": [
"Invalid",
"Enabled",
"Disabled"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"storageModelType": {
"description": "Storage type.",
"oneOf": [
{
"enum": [
"Invalid",
"GeoRedundant",
"LocallyRedundant",
"ZoneRedundant",
"ReadAccessGeoZoneRedundant"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"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"
}
]
},
"storageTypeState": {
"description": "Locked or Unlocked. Once a machine is registered against a resource, the storageTypeState is always Locked.",
"oneOf": [
{
"enum": [
"Invalid",
"Locked",
"Unlocked"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"ContainerIdentityInfo": {
"description": "Container identity information",
"properties": {
"aadTenantId": {
"description": "Protection container identity - AAD Tenant",
"type": "string"
},
"audience": {
"description": "Protection container identity - Audience",
"type": "string"
},
"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"
},
"isCollocated": {
"description": "To check if backup item is collocated.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"isPresentOnCloud": {
"description": "To check if backup item is cloud protected.",
"oneOf": [
{
"type": "boolean"
},
{
"$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"
},
"onPremiseRecoveryPointCount": {
"description": "disk recovery point count.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectableObjectLoadPath": {
"description": "Attribute to provide information on various DBs.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protected": {
"description": "To check if backup item is disk protected.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"protectionGroupName": {
"description": "Protection group name of the backup item.",
"type": "string"
},
"recoveryPointCount": {
"description": "cloud recovery point count.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"totalDiskStorageSizeInBytes": {
"description": "total Disk storage in bytes.",
"type": "string"
}
},
"type": "object"
},
"DailyRetentionFormat": {
"description": "Daily retention format.",
"properties": {
"daysOfTheMonth": {
"description": "List of days of the month.",
"oneOf": [
{
"items": {
"$ref": "#/definitions/Day"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"DailyRetentionSchedule": {
"description": "Daily retention schedule.",
"properties": {
"retentionDuration": {
"description": "Retention duration of retention Policy.",
"oneOf": [
{
"$ref": "#/definitions/RetentionDuration"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionTimes": {
"description": "Retention times of retention policy.",
"oneOf": [
{
"items": {
"format": "date-time",
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"Day": {
"description": "Day of the week.",
"properties": {
"date": {
"description": "Date of the month",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"isLast": {
"description": "Whether Date is last date of month",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"DiskExclusionProperties": {
"properties": {
"diskLunList": {
"description": "List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.",
"oneOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"isInclusionList": {
"description": "Flag to indicate whether DiskLunList is to be included/ excluded from backup.",
"oneOf": [
{
"type": "boolean"
},
{
"$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.",
"oneOf": [
{
"$ref": "#/definitions/ErrorDetail"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"nodeName": {
"description": "Name of the node under a distributed container.",
"type": "string"
},
"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.",
"oneOf": [
{
"$ref": "#/definitions/DiskExclusionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"GenericContainerExtendedInfo": {
"description": "Container extended information",
"properties": {
"containerIdentityInfo": {
"description": "Container identity information",
"oneOf": [
{
"$ref": "#/definitions/ContainerIdentityInfo"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"rawCertData": {
"description": "Public key of container cert",
"type": "string"
},
"serviceEndpoints": {
"description": "Azure Backup Service Endpoints for the container",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$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.",
"oneOf": [
{
"$ref": "#/definitions/ErrorDetail"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"inquiryDetails": {
"description": "Inquiry Details which will have workload specific details.\r\nFor e.g. - For SQL and oracle this will contain different details.",
"oneOf": [
{
"items": {
"$ref": "#/definitions/WorkloadInquiryDetails"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"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.",
"oneOf": [
{
"$ref": "#/definitions/ErrorDetail"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"status": {
"description": "Status for the Inquiry Validation.",
"type": "string"
}
},
"type": "object"
},
"InstantRPAdditionalDetails": {
"properties": {
"azureBackupRGNamePrefix": {
"type": "string"
},
"azureBackupRGNameSuffix": {
"type": "string"
}
},
"type": "object"
},
"KPIResourceHealthDetails": {
"description": "KPI Resource Health Details",
"properties": {
"resourceHealthDetails": {
"description": "Resource Health Status",
"oneOf": [
{
"items": {
"$ref": "#/definitions/ResourceHealthDetails"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"resourceHealthStatus": {
"description": "Resource Health Status",
"oneOf": [
{
"enum": [
"Healthy",
"TransientDegraded",
"PersistentDegraded",
"TransientUnhealthy",
"PersistentUnhealthy",
"Invalid"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"MABContainerHealthDetails": {
"description": "MAB workload-specific Health Details.",
"properties": {
"code": {
"description": "Health Code",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"message": {
"description": "Health Message",
"type": "string"
},
"recommendations": {
"description": "Health Recommended Actions",
"oneOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"title": {
"description": "Health Title",
"type": "string"
}
},
"type": "object"
},
"MabContainerExtendedInfo": {
"description": "Additional information of the container.",
"properties": {
"backupItemType": {
"description": "Type of backup items associated with this container.",
"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"
}
]
},
"backupItems": {
"description": "List of backup items associated with this container.",
"oneOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastBackupStatus": {
"description": "Latest backup status of this container.",
"type": "string"
},
"lastRefreshedAt": {
"description": "Time stamp when this container was refreshed.",
"format": "date-time",
"type": "string"
},
"policyName": {
"description": "Backup policy associated with this container.",
"type": "string"
}
},
"type": "object"
},
"MabFileFolderProtectedItemExtendedInfo": {
"description": "Additional information on the backed up item.",
"properties": {
"lastRefreshedAt": {
"description": "Last time when the agent data synced to service.",
"format": "date-time",
"type": "string"
},
"oldestRecoveryPoint": {
"description": "The oldest backup copy available.",
"format": "date-time",
"type": "string"
},
"recoveryPointCount": {
"description": "Number of backup copies associated with the backup item.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"MonthlyRetentionSchedule": {
"description": "Monthly retention schedule.",
"properties": {
"retentionDuration": {
"description": "Retention duration of retention Policy.",
"oneOf": [
{
"$ref": "#/definitions/RetentionDuration"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionScheduleDaily": {
"description": "Daily retention format for monthly retention policy.",
"oneOf": [
{
"$ref": "#/definitions/DailyRetentionFormat"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionScheduleFormatType": {
"description": "Retention schedule format type for monthly retention policy.",
"oneOf": [
{
"enum": [
"Invalid",
"Daily",
"Weekly"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionScheduleWeekly": {
"description": "Weekly retention format for monthly retention policy.",
"oneOf": [
{
"$ref": "#/definitions/WeeklyRetentionFormat"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionTimes": {
"description": "Retention times of retention policy.",
"oneOf": [
{
"items": {
"format": "date-time",
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"PrivateEndpoint": {
"description": "The Private Endpoint network resource that is linked to the Private Endpoint connection",
"properties": {
"id": {
"description": "Gets or sets id",
"type": "string"
}
},
"type": "object"
},
"PrivateEndpointConnection": {
"description": "Private Endpoint Connection Response Properties",
"properties": {
"privateEndpoint": {
"description": "Gets or sets private endpoint associated with the private endpoint connection",
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpoint"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"privateLinkServiceConnectionState": {
"description": "Gets or sets private link service connection state",
"oneOf": [
{
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"provisioningState": {
"description": "Gets or sets provisioning state of the private endpoint connection",
"oneOf": [
{
"enum": [
"Succeeded",
"Deleting",
"Failed",
"Pending"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"PrivateLinkServiceConnectionState": {
"description": "Private Link Service Connection State",
"properties": {
"actionRequired": {
"description": "Gets or sets actions required",
"type": "string"
},
"description": {
"description": "Gets or sets description",
"type": "string"
},
"status": {
"description": "Gets or sets the status",
"oneOf": [
{
"enum": [
"Pending",
"Approved",
"Rejected",
"Disconnected"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"ProtectedItem": {
"description": "Base class for backup items.",
"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"
},
"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"
}
},
"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"
},
"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"
}
},
"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"
},
"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"
}
},
"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"
}
]
},
"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"
}
},
"required": [
"protectedItemType"
],
"type": "object"
},
{
"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"
}
]
},
"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"
}
},
"required": [
"protectedItemType"
],
"type": "object"
},
{
"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"
}
]
},
"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"
}
},
"required": [
"protectedItemType"
],
"type": "object"
},
{
"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"
},
"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"
}
]
}
},
"required": [
"protectedItemType"
],
"type": "object"
},
{
"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"
}
]
},
"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"
}
]
}
},
"required": [
"protectedItemType"
],
"type": "object"
},
{
"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"
},
"protectedItemType": {
"enum": [
"MabFileFolderProtectedItem"
],
"type": "string"
},
"protectionState": {
"description": "Protected, ProtectionStopped, IRPending or ProtectionError",
"type": "string"
}
},
"required": [
"protectedItemType"
],
"type": "object"
},
{
"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"
},
"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"
}
]
}
},
"required": [
"protectedItemType"
],
"type": "object"
}
],
"properties": {
"backupManagementType": {
"description": "Type of backup management for the backed up item.",
"oneOf": [
{
"enum": [
"Invalid",
"AzureIaasVM",
"MAB",
"DPM",
"AzureBackupServer",
"AzureSql",
"AzureStorage",
"AzureWorkload",
"DefaultBackup"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"backupSetName": {
"description": "Name of the backup set the backup item belongs to",
"type": "string"
},
"containerName": {
"description": "Unique name of container",
"type": "string"
},
"createMode": {
"description": "Create mode to indicate recovery of existing soft deleted data source or creation of new data source.",
"oneOf": [
{
"enum": [
"Invalid",
"Default",
"Recover"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"deferredDeleteTimeInUTC": {
"description": "Time for deferred deletion in UTC",
"format": "date-time",
"type": "string"
},
"deferredDeleteTimeRemaining": {
"description": "Time remaining before the DS marked for deferred delete is permanently deleted",
"type": "string"
},
"isDeferredDeleteScheduleUpcoming": {
"description": "Flag to identify whether the deferred deleted DS is to be purged soon",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"isRehydrate": {
"description": "Flag to identify that deferred deleted DS is to be moved into Pause state",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"isScheduledForDeferredDelete": {
"description": "Flag to identify whether the DS is scheduled for deferred delete",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"lastRecoveryPoint": {
"description": "Timestamp when the last (latest) backup copy was created for this backup item.",
"format": "date-time",
"type": "string"
},
"policyId": {
"description": "ID of the backup policy with which this item is backed up.",
"type": "string"
},
"sourceResourceId": {
"description": "ARM ID of the resource to be backed up.",
"type": "string"
},
"workloadType": {
"description": "Type of workload this item represents.",
"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"
}
]
}
},
"type": "object"
},
"ProtectionContainer": {
"description": "Base class for container with backup items. Containers with specific workloads are derived from this class.",
"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"
},
"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"
}
]
}
},
"required": [
"containerType"
],
"type": "object"
},
{
"description": "Azure Sql workload-specific container.",
"properties": {
"containerType": {
"enum": [
"AzureSqlContainer"
],
"type": "string"
}
},
"required": [
"containerType"
],
"type": "object"
},
{
"description": "Container for SQL workloads under SQL Availability Group.",
"properties": {
"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"
}
]
}
},
"required": [
"containerType"
],
"type": "object"
},
{
"description": "Container for SQL workloads under Azure Virtual Machines.",
"properties": {
"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"
}
]
}
},
"required": [
"containerType"
],
"type": "object"
},
{
"description": "Base class for generic container of backup items",
"properties": {
"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"
}
},
"required": [
"containerType"
],
"type": "object"
},
{
"description": "IaaS VM workload-specific backup item representing a classic virtual machine.",
"properties": {
"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"
}
},
"required": [
"containerType"
],
"type": "object"
},
{
"description": "IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.",
"properties": {
"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"
}
},
"required": [
"containerType"
],
"type": "object"
},
{
"description": "Azure Storage Account workload-specific container.",
"properties": {
"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"
}
},
"required": [
"containerType"
],
"type": "object"
},
{
"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"
}
]
},
"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"
}
]
}
},
"required": [
"containerType"
],
"type": "object"
}
],
"properties": {
"backupManagementType": {
"description": "Type of backup management for the container.",
"oneOf": [
{
"enum": [
"Invalid",
"AzureIaasVM",
"MAB",
"DPM",
"AzureBackupServer",
"AzureSql",
"AzureStorage",
"AzureWorkload",
"DefaultBackup"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"friendlyName": {
"description": "Friendly name of the container.",
"type": "string"
},
"healthStatus": {
"description": "Status of health of the container.",
"type": "string"
},
"registrationStatus": {
"description": "Status of registration of the container with the Recovery Services Vault.",
"type": "string"
}
},
"type": "object"
},
"ProtectionIntent": {
"description": "Base class for backup ProtectionIntent.",
"oneOf": [
{
"description": "IaaS VM specific backup protection intent item.",
"properties": {
"friendlyName": {
"description": "Friendly name of the VM represented by this backup item.",
"type": "string"
},
"protectionIntentItemType": {
"enum": [
"AzureResourceItem"
],
"type": "string"
}
},
"required": [
"protectionIntentItemType"
],
"type": "object"
},
{
"description": "Azure Workload SQL Auto Protection intent item.",
"properties": {
"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"
}
]
}
},
"required": [
"protectionIntentItemType"
],
"type": "object"
}
],
"properties": {
"backupManagementType": {
"description": "Type of backup management for the backed up item.",
"oneOf": [
{
"enum": [
"Invalid",
"AzureIaasVM",
"MAB",
"DPM",
"AzureBackupServer",
"AzureSql",
"AzureStorage",
"AzureWorkload",
"DefaultBackup"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"itemId": {
"description": "ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId",
"type": "string"
},
"policyId": {
"description": "ID of the backup policy with which this item is backed up.",
"type": "string"
},
"protectionState": {
"description": "Backup state of this backup item.",
"oneOf": [
{
"enum": [
"Invalid",
"NotProtected",
"Protecting",
"Protected",
"ProtectionFailed"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"sourceResourceId": {
"description": "ARM ID of the resource to be backed up.",
"type": "string"
}
},
"type": "object"
},
"ProtectionPolicy": {
"description": "Base class for backup policy. Workload-specific backup policies are derived from this class.",
"oneOf": [
{
"description": "IaaS VM workload-specific backup policy.",
"properties": {
"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"
}
},
"required": [
"backupManagementType"
],
"type": "object"
},
{
"description": "Azure SQL workload-specific backup policy.",
"properties": {
"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"
}
]
}
},
"required": [
"backupManagementType"
],
"type": "object"
},
{
"description": "AzureStorage backup policy.",
"properties": {
"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"
}
]
}
},
"required": [
"backupManagementType"
],
"type": "object"
},
{
"description": "Azure VM (Mercury) workload-specific backup policy.",
"properties": {
"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"
}
]
}
},
"required": [
"backupManagementType"
],
"type": "object"
},
{
"description": "Azure VM (Mercury) workload-specific backup policy.",
"properties": {
"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"
}
},
"required": [
"backupManagementType"
],
"type": "object"
},
{
"description": "Mab container-specific backup policy.",
"properties": {
"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"
}
]
}
},
"required": [
"backupManagementType"
],
"type": "object"
}
],
"properties": {
"protectedItemsCount": {
"description": "Number of items associated with this policy.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"ResourceHealthDetails": {
"description": "Health Details for backup items.",
"properties": {},
"type": "object"
},
"RetentionDuration": {
"description": "Retention duration.",
"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.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"durationType": {
"description": "Retention duration type of retention policy.",
"oneOf": [
{
"enum": [
"Invalid",
"Days",
"Weeks",
"Months",
"Years"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"RetentionPolicy": {
"description": "Base class for retention policy.",
"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"
}
]
},
"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"
}
]
}
},
"required": [
"retentionPolicyType"
],
"type": "object"
},
{
"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"
}
]
},
"retentionPolicyType": {
"enum": [
"SimpleRetentionPolicy"
],
"type": "string"
}
},
"required": [
"retentionPolicyType"
],
"type": "object"
}
],
"properties": {},
"type": "object"
},
"SchedulePolicy": {
"description": "Base class for backup schedule.",
"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"
}
]
},
"schedulePolicyType": {
"enum": [
"LogSchedulePolicy"
],
"type": "string"
}
},
"required": [
"schedulePolicyType"
],
"type": "object"
},
{
"description": "Long term policy schedule.",
"properties": {
"schedulePolicyType": {
"enum": [
"LongTermSchedulePolicy"
],
"type": "string"
}
},
"required": [
"schedulePolicyType"
],
"type": "object"
},
{
"description": "Simple policy schedule.",
"properties": {
"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"
}
]
}
},
"required": [
"schedulePolicyType"
],
"type": "object"
}
],
"properties": {},
"type": "object"
},
"Settings": {
"description": "Common settings field for backup management",
"properties": {
"isCompression": {
"description": "Workload compression flag. This has been added so that 'isSqlCompression'\r\nwill be deprecated once clients upgrade to consider this flag.",
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"issqlcompression": {
"description": "SQL compression flag",
"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"
}
},
"type": "object"
},
"SubProtectionPolicy": {
"description": "Sub-protection policy which includes schedule and retention",
"properties": {
"policyType": {
"description": "Type of backup policy type",
"oneOf": [
{
"enum": [
"Invalid",
"Full",
"Differential",
"Log",
"CopyOnlyFull",
"Incremental"
],
"type": "string"
},
{
"$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"
}
]
}
},
"type": "object"
},
"WeeklyRetentionFormat": {
"description": "Weekly retention format.",
"properties": {
"daysOfTheWeek": {
"description": "List of days of the week.",
"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"
}
]
},
"weeksOfTheMonth": {
"description": "List of weeks of month.",
"oneOf": [
{
"items": {
"enum": [
"First",
"Second",
"Third",
"Fourth",
"Last",
"Invalid"
],
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"WeeklyRetentionSchedule": {
"description": "Weekly retention schedule.",
"properties": {
"daysOfTheWeek": {
"description": "List of days of week for weekly retention policy.",
"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"
}
]
},
"retentionDuration": {
"description": "Retention duration of retention Policy.",
"oneOf": [
{
"$ref": "#/definitions/RetentionDuration"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionTimes": {
"description": "Retention times of retention policy.",
"oneOf": [
{
"items": {
"format": "date-time",
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"WorkloadInquiryDetails": {
"description": "Details of an inquired protectable item.",
"properties": {
"inquiryValidation": {
"description": "Inquiry validation such as permissions and other backup validations.",
"oneOf": [
{
"$ref": "#/definitions/InquiryValidation"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"itemCount": {
"description": "Contains the protectable item Count inside this Container.",
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"description": "Type of the Workload such as SQL, Oracle etc.",
"type": "string"
}
},
"type": "object"
},
"YearlyRetentionSchedule": {
"description": "Yearly retention schedule.",
"properties": {
"monthsOfYear": {
"description": "List of months of year of yearly retention policy.",
"oneOf": [
{
"items": {
"enum": [
"Invalid",
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
],
"type": "string"
},
"type": "array"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionDuration": {
"description": "Retention duration of retention Policy.",
"oneOf": [
{
"$ref": "#/definitions/RetentionDuration"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionScheduleDaily": {
"description": "Daily retention format for yearly retention policy.",
"oneOf": [
{
"$ref": "#/definitions/DailyRetentionFormat"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionScheduleFormatType": {
"description": "Retention schedule format for yearly retention policy.",
"oneOf": [
{
"enum": [
"Invalid",
"Daily",
"Weekly"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionScheduleWeekly": {
"description": "Weekly retention format for yearly retention policy.",
"oneOf": [
{
"$ref": "#/definitions/WeeklyRetentionFormat"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"retentionTimes": {
"description": "Retention times of retention policy.",
"oneOf": [
{
"items": {
"format": "date-time",
"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"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"protectedItems"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
}
}