Microsoft.Workloads connectors/acssBackups

Bicep resource definition

The connectors/acssBackups resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Workloads/connectors/acssBackups resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Workloads/connectors/acssBackups@2023-10-01-preview' = {
  parent: resourceSymbolicName
  location: 'string'
  name: 'string'
  properties: {
    backupData: {
      recoveryServicesVault: {
        vaultType: 'string'
        // For remaining properties, see RecoveryServicesVaultProperties objects
      }
      backupType: 'string'
      // For remaining properties, see BackupData objects
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

RetentionPolicy objects

Set the retentionPolicyType property to specify the type of object.

For LongTermRetentionPolicy, use:

{
  dailySchedule: {
    retentionDuration: {
      count: int
      durationType: 'string'
    }
    retentionTimes: [
      'string'
    ]
  }
  monthlySchedule: {
    retentionDuration: {
      count: int
      durationType: 'string'
    }
    retentionScheduleDaily: {
      daysOfTheMonth: [
        {
          date: int
          isLast: bool
        }
      ]
    }
    retentionScheduleFormatType: 'string'
    retentionScheduleWeekly: {
      daysOfTheWeek: [
        'string'
      ]
      weeksOfTheMonth: [
        'string'
      ]
    }
    retentionTimes: [
      'string'
    ]
  }
  retentionPolicyType: 'LongTermRetentionPolicy'
  weeklySchedule: {
    daysOfTheWeek: [
      'string'
    ]
    retentionDuration: {
      count: int
      durationType: 'string'
    }
    retentionTimes: [
      'string'
    ]
  }
  yearlySchedule: {
    monthsOfYear: [
      'string'
    ]
    retentionDuration: {
      count: int
      durationType: 'string'
    }
    retentionScheduleDaily: {
      daysOfTheMonth: [
        {
          date: int
          isLast: bool
        }
      ]
    }
    retentionScheduleFormatType: 'string'
    retentionScheduleWeekly: {
      daysOfTheWeek: [
        'string'
      ]
      weeksOfTheMonth: [
        'string'
      ]
    }
    retentionTimes: [
      'string'
    ]
  }
}

For SimpleRetentionPolicy, use:

{
  retentionDuration: {
    count: int
    durationType: 'string'
  }
  retentionPolicyType: 'SimpleRetentionPolicy'
}

SchedulePolicy objects

Set the schedulePolicyType property to specify the type of object.

For LogSchedulePolicy, use:

{
  scheduleFrequencyInMins: int
  schedulePolicyType: 'LogSchedulePolicy'
}

For LongTermSchedulePolicy, use:

{
  schedulePolicyType: 'LongTermSchedulePolicy'
}

For SimpleSchedulePolicy, use:

{
  hourlySchedule: {
    interval: int
    scheduleWindowDuration: int
    scheduleWindowStartTime: 'string'
  }
  schedulePolicyType: 'SimpleSchedulePolicy'
  scheduleRunDays: [
    'string'
  ]
  scheduleRunFrequency: 'string'
  scheduleRunTimes: [
    'string'
  ]
  scheduleWeeklyFrequency: int
}

For SimpleSchedulePolicyV2, use:

{
  dailySchedule: {
    scheduleRunTimes: [
      'string'
    ]
  }
  hourlySchedule: {
    interval: int
    scheduleWindowDuration: int
    scheduleWindowStartTime: 'string'
  }
  schedulePolicyType: 'SimpleSchedulePolicyV2'
  scheduleRunFrequency: 'string'
  weeklySchedule: {
    scheduleRunDays: [
      'string'
    ]
    scheduleRunTimes: [
      'string'
    ]
  }
}

BackupData objects

Set the backupType property to specify the type of object.

For HANA, use:

{
  backupPolicy: {
    name: 'string'
    properties: {
      backupManagementType: 'string'
      makePolicyConsistent: bool
      protectedItemsCount: int
      resourceGuardOperationRequests: [
        'string'
      ]
      settings: {
        isCompression: bool
        issqlcompression: bool
        timeZone: 'string'
      }
      subProtectionPolicy: [
        {
          policyType: 'string'
          retentionPolicy: {
            retentionPolicyType: 'string'
            // For remaining properties, see RetentionPolicy objects
          }
          schedulePolicy: {
            schedulePolicyType: 'string'
            // For remaining properties, see SchedulePolicy objects
          }
          snapshotBackupAdditionalDetails: {
            instantRPDetails: 'string'
            instantRpRetentionRangeInDays: int
            userAssignedManagedIdentityDetails: {
              identityArmId: 'string'
              identityName: 'string'
              userAssignedIdentityProperties: {
                clientId: 'string'
                principalId: 'string'
              }
            }
          }
          tieringPolicy: {
            {customized property}: {
              duration: int
              durationType: 'string'
              tieringMode: 'string'
            }
          }
        }
      ]
      workLoadType: 'string'
    }
  }
  backupType: 'HANA'
  dbInstanceSnapshotBackupPolicy: {
    name: 'string'
    properties: {
      backupManagementType: 'string'
      makePolicyConsistent: bool
      protectedItemsCount: int
      resourceGuardOperationRequests: [
        'string'
      ]
      settings: {
        isCompression: bool
        issqlcompression: bool
        timeZone: 'string'
      }
      subProtectionPolicy: [
        {
          policyType: 'string'
          retentionPolicy: {
            retentionPolicyType: 'string'
            // For remaining properties, see RetentionPolicy objects
          }
          schedulePolicy: {
            schedulePolicyType: 'string'
            // For remaining properties, see SchedulePolicy objects
          }
          snapshotBackupAdditionalDetails: {
            instantRPDetails: 'string'
            instantRpRetentionRangeInDays: int
            userAssignedManagedIdentityDetails: {
              identityArmId: 'string'
              identityName: 'string'
              userAssignedIdentityProperties: {
                clientId: 'string'
                principalId: 'string'
              }
            }
          }
          tieringPolicy: {
            {customized property}: {
              duration: int
              durationType: 'string'
              tieringMode: 'string'
            }
          }
        }
      ]
      workLoadType: 'string'
    }
  }
  hdbuserstoreKeyName: 'string'
  instanceNumber: 'string'
  sslConfiguration: {
    sslCryptoProvider: 'string'
    sslHostNameInCertificate: 'string'
    sslKeyStore: 'string'
    sslTrustStore: 'string'
  }
}

For SQL, use:

{
  backupPolicy: {
    name: 'string'
    properties: {
      backupManagementType: 'string'
      makePolicyConsistent: bool
      protectedItemsCount: int
      resourceGuardOperationRequests: [
        'string'
      ]
      settings: {
        isCompression: bool
        issqlcompression: bool
        timeZone: 'string'
      }
      subProtectionPolicy: [
        {
          policyType: 'string'
          retentionPolicy: {
            retentionPolicyType: 'string'
            // For remaining properties, see RetentionPolicy objects
          }
          schedulePolicy: {
            schedulePolicyType: 'string'
            // For remaining properties, see SchedulePolicy objects
          }
          snapshotBackupAdditionalDetails: {
            instantRPDetails: 'string'
            instantRpRetentionRangeInDays: int
            userAssignedManagedIdentityDetails: {
              identityArmId: 'string'
              identityName: 'string'
              userAssignedIdentityProperties: {
                clientId: 'string'
                principalId: 'string'
              }
            }
          }
          tieringPolicy: {
            {customized property}: {
              duration: int
              durationType: 'string'
              tieringMode: 'string'
            }
          }
        }
      ]
      workLoadType: 'string'
    }
  }
  backupType: 'SQL'
}

For VM, use:

{
  backupPolicy: {
    name: 'string'
    properties: {
      backupManagementType: 'string'
      instantRPDetails: {
        azureBackupRGNamePrefix: 'string'
        azureBackupRGNameSuffix: 'string'
      }
      instantRpRetentionRangeInDays: int
      policyType: 'string'
      protectedItemsCount: int
      resourceGuardOperationRequests: [
        'string'
      ]
      retentionPolicy: {
        retentionPolicyType: 'string'
        // For remaining properties, see RetentionPolicy objects
      }
      schedulePolicy: {
        schedulePolicyType: 'string'
        // For remaining properties, see SchedulePolicy objects
      }
      tieringPolicy: {
        {customized property}: {
          duration: int
          durationType: 'string'
          tieringMode: 'string'
        }
      }
      timeZone: 'string'
    }
  }
  backupType: 'VM'
  diskExclusionProperties: {
    diskLunList: [
      int
    ]
    isInclusionList: bool
  }
}

RecoveryServicesVaultProperties objects

Set the vaultType property to specify the type of object.

For Existing, use:

{
  id: 'string'
  vaultType: 'Existing'
}

For New, use:

{
  name: 'string'
  resourceGroup: 'string'
  vaultType: 'New'
}

Property Values

Microsoft.Workloads/connectors/acssBackups

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^.+ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: connectors
properties Defines the backup connection properties for a virtual instance for SAP. AcssBackupConnectionProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates

AcssBackupConnectionProperties

Name Description Value
backupData Information about the recovery services vault and backup policy used for backup. BackupData

AzureIaaSVMProtectionPolicy

Name Description Value
backupManagementType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. string (required)
instantRPDetails Instant recovery point additional details. InstantRPAdditionalDetails
instantRpRetentionRangeInDays Instant RP retention policy range in days int
policyType The policy type. 'Invalid'
'V1'
'V2'
protectedItemsCount Number of items associated with this policy. int
resourceGuardOperationRequests ResourceGuard Operation Requests string[]
retentionPolicy Retention policy with the details on backup copy retention ranges. RetentionPolicy
schedulePolicy Backup schedule specified as part of backup policy. SchedulePolicy
tieringPolicy Tiering policy to automatically move RPs to another tier
Key is Target Tier, defined in RecoveryPointTierType enum.
Tiering policy specifies the criteria to move RP to the target tier.
AzureIaaSVMProtectionPolicyTieringPolicy
timeZone Time zone optional input as string. For example: "Pacific Standard Time". string

AzureIaaSVMProtectionPolicyTieringPolicy

Name Description Value

AzureVmWorkloadProtectionPolicy

Name Description Value
backupManagementType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. string (required)
makePolicyConsistent Fix the policy inconsistency bool
protectedItemsCount Number of items associated with this policy. int
resourceGuardOperationRequests ResourceGuard Operation Requests string[]
settings Common settings for the backup management Settings
subProtectionPolicy List of sub-protection policies which includes schedule and retention SubProtectionPolicy[]
workLoadType Type of workload for the backup management 'AzureFileShare'
'AzureSqlDb'
'Client'
'Exchange'
'FileFolder'
'GenericDataSource'
'Invalid'
'SAPAseDatabase'
'SAPHanaDatabase'
'SAPHanaDBInstance'
'Sharepoint'
'SQLDataBase'
'SQLDB'
'SystemState'
'VM'
'VMwareVM'

BackupData

Name Description Value
backupType Set to 'HANA' for type HanaBackupData. Set to 'SQL' for type SqlBackupData. Set to 'VM' for type VMBackupData. 'HANA'
'SQL'
'VM' (required)
recoveryServicesVault The properties of the recovery services vault used for backup. RecoveryServicesVaultProperties (required)

DailyRetentionFormat

Name Description Value
daysOfTheMonth List of days of the month. Day[]

DailyRetentionSchedule

Name Description Value
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionTimes Retention times of retention policy. string[]

DailySchedule

Name Description Value
scheduleRunTimes List of times of day this schedule has to be run. string[]

Day

Name Description Value
date Date of the month int
isLast Whether Date is last date of month bool

DBBackupPolicyProperties

Name Description Value
name The name of the DB backup policy. string (required)
properties Azure VM (Mercury) workload-specific backup policy. AzureVmWorkloadProtectionPolicy

DiskExclusionProperties

Name Description Value
diskLunList List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection. int[] (required)
isInclusionList Flag to indicate whether DiskLunList is to be included/ excluded from backup. bool (required)

ExistingRecoveryServicesVault

Name Description Value
id The resource ID of the recovery services vault that has been created. string (required)
vaultType The vault type, whether it is existing or has to be created. 'Existing' (required)

HanaBackupData

Name Description Value
backupPolicy Defines the policy properties for database backup. DBBackupPolicyProperties (required)
backupType The type of backup, VM, SQL or HANA. 'HANA' (required)
dbInstanceSnapshotBackupPolicy Defines the policy properties for database backup. DBBackupPolicyProperties
hdbuserstoreKeyName Name of the HANA Database User Store Key. string (required)
instanceNumber Gets or sets the database instance number. string
sslConfiguration Path of the SSL key store. SSLConfiguration

HourlySchedule

Name Description Value
interval Interval at which backup needs to be triggered. For hourly the value
can be 4/6/8/12
int
scheduleWindowDuration To specify duration of the backup window int
scheduleWindowStartTime To specify start time of the backup window string

InstantRPAdditionalDetails

Name Description Value
azureBackupRGNamePrefix Azure backup resource group name prefix. string
azureBackupRGNameSuffix Azure backup resource group name suffix. string

LogSchedulePolicy

Name Description Value
scheduleFrequencyInMins Frequency of the log schedule operation of this policy in minutes. int
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'LogSchedulePolicy' (required)

LongTermRetentionPolicy

Name Description Value
dailySchedule Daily retention schedule of the protection policy. DailyRetentionSchedule
monthlySchedule Monthly retention schedule of the protection policy. MonthlyRetentionSchedule
retentionPolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'LongTermRetentionPolicy' (required)
weeklySchedule Weekly retention schedule of the protection policy. WeeklyRetentionSchedule
yearlySchedule Yearly retention schedule of the protection policy. YearlyRetentionSchedule

LongTermSchedulePolicy

Name Description Value
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'LongTermSchedulePolicy' (required)

MonthlyRetentionSchedule

Name Description Value
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionScheduleDaily Daily retention format for monthly retention policy. DailyRetentionFormat
retentionScheduleFormatType Retention schedule format type for monthly retention policy. 'Daily'
'Invalid'
'Weekly'
retentionScheduleWeekly Weekly retention format for monthly retention policy. WeeklyRetentionFormat
retentionTimes Retention times of retention policy. string[]

NewRecoveryServicesVault

Name Description Value
name The name of the recovery services vault has to be created. string (required)
resourceGroup The name of the resource group where the recovery services vault has to be created. string (required)
vaultType The vault type, whether it is existing or has to be created. 'New' (required)

RecoveryServicesVaultProperties

Name Description Value
vaultType Set to 'Existing' for type ExistingRecoveryServicesVault. Set to 'New' for type NewRecoveryServicesVault. 'Existing'
'New' (required)

RetentionDuration

Name Description Value
count Count of duration types. Retention duration is obtained by the counting the duration type Count times.
For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
int
durationType Retention duration type of retention policy. 'Days'
'Invalid'
'Months'
'Weeks'
'Years'

RetentionPolicy

Name Description Value
retentionPolicyType Set to 'LongTermRetentionPolicy' for type LongTermRetentionPolicy. Set to 'SimpleRetentionPolicy' for type SimpleRetentionPolicy. 'LongTermRetentionPolicy'
'SimpleRetentionPolicy' (required)

SchedulePolicy

Name Description Value
schedulePolicyType Set to 'LogSchedulePolicy' for type LogSchedulePolicy. Set to 'LongTermSchedulePolicy' for type LongTermSchedulePolicy. Set to 'SimpleSchedulePolicy' for type SimpleSchedulePolicy. Set to 'SimpleSchedulePolicyV2' for type SimpleSchedulePolicyV2. 'LogSchedulePolicy'
'LongTermSchedulePolicy'
'SimpleSchedulePolicy'
'SimpleSchedulePolicyV2' (required)

Settings

Name Description Value
isCompression Workload compression flag. This has been added so that 'isSqlCompression'
will be deprecated once clients upgrade to consider this flag.
bool
issqlcompression SQL compression flag bool
timeZone TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". string

SimpleRetentionPolicy

Name Description Value
retentionDuration Retention duration of the protection policy. RetentionDuration
retentionPolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'SimpleRetentionPolicy' (required)

SimpleSchedulePolicy

Name Description Value
hourlySchedule Hourly Schedule of this Policy HourlySchedule
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'SimpleSchedulePolicy' (required)
scheduleRunDays List of days of week this schedule has to be run. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
scheduleRunFrequency Frequency of the schedule operation of this policy. 'Daily'
'Hourly'
'Invalid'
'Weekly'
scheduleRunTimes List of times of day this schedule has to be run. string[]
scheduleWeeklyFrequency At every number weeks this schedule has to be run. int

SimpleSchedulePolicyV2

Name Description Value
dailySchedule Daily schedule of this policy DailySchedule
hourlySchedule hourly schedule of this policy HourlySchedule
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'SimpleSchedulePolicyV2' (required)
scheduleRunFrequency Frequency of the schedule operation of this policy. 'Daily'
'Hourly'
'Invalid'
'Weekly'
weeklySchedule Weekly schedule of this policy WeeklySchedule

SnapshotBackupAdditionalDetails

Name Description Value
instantRPDetails Instant RP details for the snapshot. string
instantRpRetentionRangeInDays Retention range for instant Rp in days. int
userAssignedManagedIdentityDetails User Assigned managed identity details used for snapshot policy. UserAssignedManagedIdentityDetails

SqlBackupData

Name Description Value
backupPolicy Defines the policy properties for database backup. DBBackupPolicyProperties (required)
backupType The type of backup, VM, SQL or HANA. 'SQL' (required)

SSLConfiguration

Name Description Value
sslCryptoProvider Specify the crypto provider being used (commoncrypto/openssl). If this argument is not provided, it is automatically determined by searching in the configuration files. 'commoncrypto'
'openssl'
sslHostNameInCertificate Specify the hostname as mentioned in the SSL certificate. If this argument is not provided, it is automatically determined by searching in the SSL certificate. string
sslKeyStore Specify the name of the keystore file that contains the client's identity (eg. sapsrv.pse). The script will search for the file in the appropriate directory depending on the crypto provider mentioned. If this argument is not provided, it is automatically determined by searching in the configuration files. string
sslTrustStore Specify the name of the trust store file that contains the server’s public certificates (eg. sapsrv.pse). The script will search for the file in the appropriate directory depending on the crypto provider mentioned. If this argument is not provided, it is automatically determined by searching in the configuration files. string

SubProtectionPolicy

Name Description Value
policyType Type of backup policy type 'CopyOnlyFull'
'Differential'
'Full'
'Incremental'
'Invalid'
'Log'
'SnapshotCopyOnlyFull'
'SnapshotFull'
retentionPolicy Retention policy with the details on backup copy retention ranges. RetentionPolicy
schedulePolicy Backup schedule specified as part of backup policy. SchedulePolicy
snapshotBackupAdditionalDetails Hana DB instance snapshot backup additional details. SnapshotBackupAdditionalDetails
tieringPolicy Tiering policy to automatically move RPs to another tier.
Key is Target Tier, defined in RecoveryPointTierType enum.
Tiering policy specifies the criteria to move RP to the target tier.
SubProtectionPolicyTieringPolicy

SubProtectionPolicyTieringPolicy

Name Description Value

TieringPolicy

Name Description Value
duration Number of days/weeks/months/years to retain backups in current tier before tiering.
Used only if TieringMode is set to TierAfter
int
durationType Retention duration type: days/weeks/months/years
Used only if TieringMode is set to TierAfter
'Days'
'Invalid'
'Months'
'Weeks'
'Years'
tieringMode Tiering Mode to control automatic tiering of recovery points. Supported values are:
1. TierRecommended: Tier all recovery points recommended to be tiered
2. TierAfter: Tier all recovery points after a fixed period, as specified in duration + durationType below.
3. DoNotTier: Do not tier any recovery points
'DoNotTier'
'Invalid'
'TierAfter'
'TierRecommended'

TrackedResourceTags

Name Description Value

UserAssignedIdentityProperties

Name Description Value
clientId string
principalId string

UserAssignedManagedIdentityDetails

Name Description Value
identityArmId string
identityName string
userAssignedIdentityProperties User assigned managed identity properties. UserAssignedIdentityProperties

VMBackupData

Name Description Value
backupPolicy Defines the policy properties for virtual machine backup. VMBackupPolicyProperties (required)
backupType The type of backup, VM, SQL or HANA. 'VM' (required)
diskExclusionProperties Defines the disk exclusion properties for virtual machine backup. DiskExclusionProperties

VMBackupPolicyProperties

Name Description Value
name The name of the VM Backup policy. string (required)
properties IaaS VM workload-specific backup policy. AzureIaaSVMProtectionPolicy

WeeklyRetentionFormat

Name Description Value
daysOfTheWeek List of days of the week. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
weeksOfTheMonth List of weeks of month. String array containing any of:
'First'
'Fourth'
'Invalid'
'Last'
'Second'
'Third'

WeeklyRetentionSchedule

Name Description Value
daysOfTheWeek List of days of week for weekly retention policy. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionTimes Retention times of retention policy. string[]

WeeklySchedule

Name Description Value
scheduleRunDays Schedule run days. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
scheduleRunTimes List of times of day this schedule has to be run. string[]

YearlyRetentionSchedule

Name Description Value
monthsOfYear List of months of year of yearly retention policy. String array containing any of:
'April'
'August'
'December'
'February'
'Invalid'
'January'
'July'
'June'
'March'
'May'
'November'
'October'
'September'
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionScheduleDaily Daily retention format for yearly retention policy. DailyRetentionFormat
retentionScheduleFormatType Retention schedule format for yearly retention policy. 'Daily'
'Invalid'
'Weekly'
retentionScheduleWeekly Weekly retention format for yearly retention policy. WeeklyRetentionFormat
retentionTimes Retention times of retention policy. string[]

ARM template resource definition

The connectors/acssBackups resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.Workloads/connectors/acssBackups resource, add the following JSON to your template.

{
  "type": "Microsoft.Workloads/connectors/acssBackups",
  "apiVersion": "2023-10-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "backupData": {
      "recoveryServicesVault": {
        "vaultType": "string"
        // For remaining properties, see RecoveryServicesVaultProperties objects
      },
      "backupType": "string"
      // For remaining properties, see BackupData objects
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

RetentionPolicy objects

Set the retentionPolicyType property to specify the type of object.

For LongTermRetentionPolicy, use:

{
  "dailySchedule": {
    "retentionDuration": {
      "count": "int",
      "durationType": "string"
    },
    "retentionTimes": [ "string" ]
  },
  "monthlySchedule": {
    "retentionDuration": {
      "count": "int",
      "durationType": "string"
    },
    "retentionScheduleDaily": {
      "daysOfTheMonth": [
        {
          "date": "int",
          "isLast": "bool"
        }
      ]
    },
    "retentionScheduleFormatType": "string",
    "retentionScheduleWeekly": {
      "daysOfTheWeek": [ "string" ],
      "weeksOfTheMonth": [ "string" ]
    },
    "retentionTimes": [ "string" ]
  },
  "retentionPolicyType": "LongTermRetentionPolicy",
  "weeklySchedule": {
    "daysOfTheWeek": [ "string" ],
    "retentionDuration": {
      "count": "int",
      "durationType": "string"
    },
    "retentionTimes": [ "string" ]
  },
  "yearlySchedule": {
    "monthsOfYear": [ "string" ],
    "retentionDuration": {
      "count": "int",
      "durationType": "string"
    },
    "retentionScheduleDaily": {
      "daysOfTheMonth": [
        {
          "date": "int",
          "isLast": "bool"
        }
      ]
    },
    "retentionScheduleFormatType": "string",
    "retentionScheduleWeekly": {
      "daysOfTheWeek": [ "string" ],
      "weeksOfTheMonth": [ "string" ]
    },
    "retentionTimes": [ "string" ]
  }
}

For SimpleRetentionPolicy, use:

{
  "retentionDuration": {
    "count": "int",
    "durationType": "string"
  },
  "retentionPolicyType": "SimpleRetentionPolicy"
}

SchedulePolicy objects

Set the schedulePolicyType property to specify the type of object.

For LogSchedulePolicy, use:

{
  "scheduleFrequencyInMins": "int",
  "schedulePolicyType": "LogSchedulePolicy"
}

For LongTermSchedulePolicy, use:

{
  "schedulePolicyType": "LongTermSchedulePolicy"
}

For SimpleSchedulePolicy, use:

{
  "hourlySchedule": {
    "interval": "int",
    "scheduleWindowDuration": "int",
    "scheduleWindowStartTime": "string"
  },
  "schedulePolicyType": "SimpleSchedulePolicy",
  "scheduleRunDays": [ "string" ],
  "scheduleRunFrequency": "string",
  "scheduleRunTimes": [ "string" ],
  "scheduleWeeklyFrequency": "int"
}

For SimpleSchedulePolicyV2, use:

{
  "dailySchedule": {
    "scheduleRunTimes": [ "string" ]
  },
  "hourlySchedule": {
    "interval": "int",
    "scheduleWindowDuration": "int",
    "scheduleWindowStartTime": "string"
  },
  "schedulePolicyType": "SimpleSchedulePolicyV2",
  "scheduleRunFrequency": "string",
  "weeklySchedule": {
    "scheduleRunDays": [ "string" ],
    "scheduleRunTimes": [ "string" ]
  }
}

BackupData objects

Set the backupType property to specify the type of object.

For HANA, use:

{
  "backupPolicy": {
    "name": "string",
    "properties": {
      "backupManagementType": "string",
      "makePolicyConsistent": "bool",
      "protectedItemsCount": "int",
      "resourceGuardOperationRequests": [ "string" ],
      "settings": {
        "isCompression": "bool",
        "issqlcompression": "bool",
        "timeZone": "string"
      },
      "subProtectionPolicy": [
        {
          "policyType": "string",
          "retentionPolicy": {
            "retentionPolicyType": "string"
            // For remaining properties, see RetentionPolicy objects
          },
          "schedulePolicy": {
            "schedulePolicyType": "string"
            // For remaining properties, see SchedulePolicy objects
          },
          "snapshotBackupAdditionalDetails": {
            "instantRPDetails": "string",
            "instantRpRetentionRangeInDays": "int",
            "userAssignedManagedIdentityDetails": {
              "identityArmId": "string",
              "identityName": "string",
              "userAssignedIdentityProperties": {
                "clientId": "string",
                "principalId": "string"
              }
            }
          },
          "tieringPolicy": {
            "{customized property}": {
              "duration": "int",
              "durationType": "string",
              "tieringMode": "string"
            }
          }
        }
      ],
      "workLoadType": "string"
    }
  },
  "backupType": "HANA",
  "dbInstanceSnapshotBackupPolicy": {
    "name": "string",
    "properties": {
      "backupManagementType": "string",
      "makePolicyConsistent": "bool",
      "protectedItemsCount": "int",
      "resourceGuardOperationRequests": [ "string" ],
      "settings": {
        "isCompression": "bool",
        "issqlcompression": "bool",
        "timeZone": "string"
      },
      "subProtectionPolicy": [
        {
          "policyType": "string",
          "retentionPolicy": {
            "retentionPolicyType": "string"
            // For remaining properties, see RetentionPolicy objects
          },
          "schedulePolicy": {
            "schedulePolicyType": "string"
            // For remaining properties, see SchedulePolicy objects
          },
          "snapshotBackupAdditionalDetails": {
            "instantRPDetails": "string",
            "instantRpRetentionRangeInDays": "int",
            "userAssignedManagedIdentityDetails": {
              "identityArmId": "string",
              "identityName": "string",
              "userAssignedIdentityProperties": {
                "clientId": "string",
                "principalId": "string"
              }
            }
          },
          "tieringPolicy": {
            "{customized property}": {
              "duration": "int",
              "durationType": "string",
              "tieringMode": "string"
            }
          }
        }
      ],
      "workLoadType": "string"
    }
  },
  "hdbuserstoreKeyName": "string",
  "instanceNumber": "string",
  "sslConfiguration": {
    "sslCryptoProvider": "string",
    "sslHostNameInCertificate": "string",
    "sslKeyStore": "string",
    "sslTrustStore": "string"
  }
}

For SQL, use:

{
  "backupPolicy": {
    "name": "string",
    "properties": {
      "backupManagementType": "string",
      "makePolicyConsistent": "bool",
      "protectedItemsCount": "int",
      "resourceGuardOperationRequests": [ "string" ],
      "settings": {
        "isCompression": "bool",
        "issqlcompression": "bool",
        "timeZone": "string"
      },
      "subProtectionPolicy": [
        {
          "policyType": "string",
          "retentionPolicy": {
            "retentionPolicyType": "string"
            // For remaining properties, see RetentionPolicy objects
          },
          "schedulePolicy": {
            "schedulePolicyType": "string"
            // For remaining properties, see SchedulePolicy objects
          },
          "snapshotBackupAdditionalDetails": {
            "instantRPDetails": "string",
            "instantRpRetentionRangeInDays": "int",
            "userAssignedManagedIdentityDetails": {
              "identityArmId": "string",
              "identityName": "string",
              "userAssignedIdentityProperties": {
                "clientId": "string",
                "principalId": "string"
              }
            }
          },
          "tieringPolicy": {
            "{customized property}": {
              "duration": "int",
              "durationType": "string",
              "tieringMode": "string"
            }
          }
        }
      ],
      "workLoadType": "string"
    }
  },
  "backupType": "SQL"
}

For VM, use:

{
  "backupPolicy": {
    "name": "string",
    "properties": {
      "backupManagementType": "string",
      "instantRPDetails": {
        "azureBackupRGNamePrefix": "string",
        "azureBackupRGNameSuffix": "string"
      },
      "instantRpRetentionRangeInDays": "int",
      "policyType": "string",
      "protectedItemsCount": "int",
      "resourceGuardOperationRequests": [ "string" ],
      "retentionPolicy": {
        "retentionPolicyType": "string"
        // For remaining properties, see RetentionPolicy objects
      },
      "schedulePolicy": {
        "schedulePolicyType": "string"
        // For remaining properties, see SchedulePolicy objects
      },
      "tieringPolicy": {
        "{customized property}": {
          "duration": "int",
          "durationType": "string",
          "tieringMode": "string"
        }
      },
      "timeZone": "string"
    }
  },
  "backupType": "VM",
  "diskExclusionProperties": {
    "diskLunList": [ "int" ],
    "isInclusionList": "bool"
  }
}

RecoveryServicesVaultProperties objects

Set the vaultType property to specify the type of object.

For Existing, use:

{
  "id": "string",
  "vaultType": "Existing"
}

For New, use:

{
  "name": "string",
  "resourceGroup": "string",
  "vaultType": "New"
}

Property Values

Microsoft.Workloads/connectors/acssBackups

Name Description Value
apiVersion The api version '2023-10-01-preview'
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^.+ (required)
properties Defines the backup connection properties for a virtual instance for SAP. AcssBackupConnectionProperties
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Workloads/connectors/acssBackups'

AcssBackupConnectionProperties

Name Description Value
backupData Information about the recovery services vault and backup policy used for backup. BackupData

AzureIaaSVMProtectionPolicy

Name Description Value
backupManagementType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. string (required)
instantRPDetails Instant recovery point additional details. InstantRPAdditionalDetails
instantRpRetentionRangeInDays Instant RP retention policy range in days int
policyType The policy type. 'Invalid'
'V1'
'V2'
protectedItemsCount Number of items associated with this policy. int
resourceGuardOperationRequests ResourceGuard Operation Requests string[]
retentionPolicy Retention policy with the details on backup copy retention ranges. RetentionPolicy
schedulePolicy Backup schedule specified as part of backup policy. SchedulePolicy
tieringPolicy Tiering policy to automatically move RPs to another tier
Key is Target Tier, defined in RecoveryPointTierType enum.
Tiering policy specifies the criteria to move RP to the target tier.
AzureIaaSVMProtectionPolicyTieringPolicy
timeZone Time zone optional input as string. For example: "Pacific Standard Time". string

AzureIaaSVMProtectionPolicyTieringPolicy

Name Description Value

AzureVmWorkloadProtectionPolicy

Name Description Value
backupManagementType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. string (required)
makePolicyConsistent Fix the policy inconsistency bool
protectedItemsCount Number of items associated with this policy. int
resourceGuardOperationRequests ResourceGuard Operation Requests string[]
settings Common settings for the backup management Settings
subProtectionPolicy List of sub-protection policies which includes schedule and retention SubProtectionPolicy[]
workLoadType Type of workload for the backup management 'AzureFileShare'
'AzureSqlDb'
'Client'
'Exchange'
'FileFolder'
'GenericDataSource'
'Invalid'
'SAPAseDatabase'
'SAPHanaDatabase'
'SAPHanaDBInstance'
'Sharepoint'
'SQLDataBase'
'SQLDB'
'SystemState'
'VM'
'VMwareVM'

BackupData

Name Description Value
backupType Set to 'HANA' for type HanaBackupData. Set to 'SQL' for type SqlBackupData. Set to 'VM' for type VMBackupData. 'HANA'
'SQL'
'VM' (required)
recoveryServicesVault The properties of the recovery services vault used for backup. RecoveryServicesVaultProperties (required)

DailyRetentionFormat

Name Description Value
daysOfTheMonth List of days of the month. Day[]

DailyRetentionSchedule

Name Description Value
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionTimes Retention times of retention policy. string[]

DailySchedule

Name Description Value
scheduleRunTimes List of times of day this schedule has to be run. string[]

Day

Name Description Value
date Date of the month int
isLast Whether Date is last date of month bool

DBBackupPolicyProperties

Name Description Value
name The name of the DB backup policy. string (required)
properties Azure VM (Mercury) workload-specific backup policy. AzureVmWorkloadProtectionPolicy

DiskExclusionProperties

Name Description Value
diskLunList List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection. int[] (required)
isInclusionList Flag to indicate whether DiskLunList is to be included/ excluded from backup. bool (required)

ExistingRecoveryServicesVault

Name Description Value
id The resource ID of the recovery services vault that has been created. string (required)
vaultType The vault type, whether it is existing or has to be created. 'Existing' (required)

HanaBackupData

Name Description Value
backupPolicy Defines the policy properties for database backup. DBBackupPolicyProperties (required)
backupType The type of backup, VM, SQL or HANA. 'HANA' (required)
dbInstanceSnapshotBackupPolicy Defines the policy properties for database backup. DBBackupPolicyProperties
hdbuserstoreKeyName Name of the HANA Database User Store Key. string (required)
instanceNumber Gets or sets the database instance number. string
sslConfiguration Path of the SSL key store. SSLConfiguration

HourlySchedule

Name Description Value
interval Interval at which backup needs to be triggered. For hourly the value
can be 4/6/8/12
int
scheduleWindowDuration To specify duration of the backup window int
scheduleWindowStartTime To specify start time of the backup window string

InstantRPAdditionalDetails

Name Description Value
azureBackupRGNamePrefix Azure backup resource group name prefix. string
azureBackupRGNameSuffix Azure backup resource group name suffix. string

LogSchedulePolicy

Name Description Value
scheduleFrequencyInMins Frequency of the log schedule operation of this policy in minutes. int
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'LogSchedulePolicy' (required)

LongTermRetentionPolicy

Name Description Value
dailySchedule Daily retention schedule of the protection policy. DailyRetentionSchedule
monthlySchedule Monthly retention schedule of the protection policy. MonthlyRetentionSchedule
retentionPolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'LongTermRetentionPolicy' (required)
weeklySchedule Weekly retention schedule of the protection policy. WeeklyRetentionSchedule
yearlySchedule Yearly retention schedule of the protection policy. YearlyRetentionSchedule

LongTermSchedulePolicy

Name Description Value
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'LongTermSchedulePolicy' (required)

MonthlyRetentionSchedule

Name Description Value
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionScheduleDaily Daily retention format for monthly retention policy. DailyRetentionFormat
retentionScheduleFormatType Retention schedule format type for monthly retention policy. 'Daily'
'Invalid'
'Weekly'
retentionScheduleWeekly Weekly retention format for monthly retention policy. WeeklyRetentionFormat
retentionTimes Retention times of retention policy. string[]

NewRecoveryServicesVault

Name Description Value
name The name of the recovery services vault has to be created. string (required)
resourceGroup The name of the resource group where the recovery services vault has to be created. string (required)
vaultType The vault type, whether it is existing or has to be created. 'New' (required)

RecoveryServicesVaultProperties

Name Description Value
vaultType Set to 'Existing' for type ExistingRecoveryServicesVault. Set to 'New' for type NewRecoveryServicesVault. 'Existing'
'New' (required)

RetentionDuration

Name Description Value
count Count of duration types. Retention duration is obtained by the counting the duration type Count times.
For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
int
durationType Retention duration type of retention policy. 'Days'
'Invalid'
'Months'
'Weeks'
'Years'

RetentionPolicy

Name Description Value
retentionPolicyType Set to 'LongTermRetentionPolicy' for type LongTermRetentionPolicy. Set to 'SimpleRetentionPolicy' for type SimpleRetentionPolicy. 'LongTermRetentionPolicy'
'SimpleRetentionPolicy' (required)

SchedulePolicy

Name Description Value
schedulePolicyType Set to 'LogSchedulePolicy' for type LogSchedulePolicy. Set to 'LongTermSchedulePolicy' for type LongTermSchedulePolicy. Set to 'SimpleSchedulePolicy' for type SimpleSchedulePolicy. Set to 'SimpleSchedulePolicyV2' for type SimpleSchedulePolicyV2. 'LogSchedulePolicy'
'LongTermSchedulePolicy'
'SimpleSchedulePolicy'
'SimpleSchedulePolicyV2' (required)

Settings

Name Description Value
isCompression Workload compression flag. This has been added so that 'isSqlCompression'
will be deprecated once clients upgrade to consider this flag.
bool
issqlcompression SQL compression flag bool
timeZone TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". string

SimpleRetentionPolicy

Name Description Value
retentionDuration Retention duration of the protection policy. RetentionDuration
retentionPolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'SimpleRetentionPolicy' (required)

SimpleSchedulePolicy

Name Description Value
hourlySchedule Hourly Schedule of this Policy HourlySchedule
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'SimpleSchedulePolicy' (required)
scheduleRunDays List of days of week this schedule has to be run. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
scheduleRunFrequency Frequency of the schedule operation of this policy. 'Daily'
'Hourly'
'Invalid'
'Weekly'
scheduleRunTimes List of times of day this schedule has to be run. string[]
scheduleWeeklyFrequency At every number weeks this schedule has to be run. int

SimpleSchedulePolicyV2

Name Description Value
dailySchedule Daily schedule of this policy DailySchedule
hourlySchedule hourly schedule of this policy HourlySchedule
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'SimpleSchedulePolicyV2' (required)
scheduleRunFrequency Frequency of the schedule operation of this policy. 'Daily'
'Hourly'
'Invalid'
'Weekly'
weeklySchedule Weekly schedule of this policy WeeklySchedule

SnapshotBackupAdditionalDetails

Name Description Value
instantRPDetails Instant RP details for the snapshot. string
instantRpRetentionRangeInDays Retention range for instant Rp in days. int
userAssignedManagedIdentityDetails User Assigned managed identity details used for snapshot policy. UserAssignedManagedIdentityDetails

SqlBackupData

Name Description Value
backupPolicy Defines the policy properties for database backup. DBBackupPolicyProperties (required)
backupType The type of backup, VM, SQL or HANA. 'SQL' (required)

SSLConfiguration

Name Description Value
sslCryptoProvider Specify the crypto provider being used (commoncrypto/openssl). If this argument is not provided, it is automatically determined by searching in the configuration files. 'commoncrypto'
'openssl'
sslHostNameInCertificate Specify the hostname as mentioned in the SSL certificate. If this argument is not provided, it is automatically determined by searching in the SSL certificate. string
sslKeyStore Specify the name of the keystore file that contains the client's identity (eg. sapsrv.pse). The script will search for the file in the appropriate directory depending on the crypto provider mentioned. If this argument is not provided, it is automatically determined by searching in the configuration files. string
sslTrustStore Specify the name of the trust store file that contains the server’s public certificates (eg. sapsrv.pse). The script will search for the file in the appropriate directory depending on the crypto provider mentioned. If this argument is not provided, it is automatically determined by searching in the configuration files. string

SubProtectionPolicy

Name Description Value
policyType Type of backup policy type 'CopyOnlyFull'
'Differential'
'Full'
'Incremental'
'Invalid'
'Log'
'SnapshotCopyOnlyFull'
'SnapshotFull'
retentionPolicy Retention policy with the details on backup copy retention ranges. RetentionPolicy
schedulePolicy Backup schedule specified as part of backup policy. SchedulePolicy
snapshotBackupAdditionalDetails Hana DB instance snapshot backup additional details. SnapshotBackupAdditionalDetails
tieringPolicy Tiering policy to automatically move RPs to another tier.
Key is Target Tier, defined in RecoveryPointTierType enum.
Tiering policy specifies the criteria to move RP to the target tier.
SubProtectionPolicyTieringPolicy

SubProtectionPolicyTieringPolicy

Name Description Value

TieringPolicy

Name Description Value
duration Number of days/weeks/months/years to retain backups in current tier before tiering.
Used only if TieringMode is set to TierAfter
int
durationType Retention duration type: days/weeks/months/years
Used only if TieringMode is set to TierAfter
'Days'
'Invalid'
'Months'
'Weeks'
'Years'
tieringMode Tiering Mode to control automatic tiering of recovery points. Supported values are:
1. TierRecommended: Tier all recovery points recommended to be tiered
2. TierAfter: Tier all recovery points after a fixed period, as specified in duration + durationType below.
3. DoNotTier: Do not tier any recovery points
'DoNotTier'
'Invalid'
'TierAfter'
'TierRecommended'

TrackedResourceTags

Name Description Value

UserAssignedIdentityProperties

Name Description Value
clientId string
principalId string

UserAssignedManagedIdentityDetails

Name Description Value
identityArmId string
identityName string
userAssignedIdentityProperties User assigned managed identity properties. UserAssignedIdentityProperties

VMBackupData

Name Description Value
backupPolicy Defines the policy properties for virtual machine backup. VMBackupPolicyProperties (required)
backupType The type of backup, VM, SQL or HANA. 'VM' (required)
diskExclusionProperties Defines the disk exclusion properties for virtual machine backup. DiskExclusionProperties

VMBackupPolicyProperties

Name Description Value
name The name of the VM Backup policy. string (required)
properties IaaS VM workload-specific backup policy. AzureIaaSVMProtectionPolicy

WeeklyRetentionFormat

Name Description Value
daysOfTheWeek List of days of the week. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
weeksOfTheMonth List of weeks of month. String array containing any of:
'First'
'Fourth'
'Invalid'
'Last'
'Second'
'Third'

WeeklyRetentionSchedule

Name Description Value
daysOfTheWeek List of days of week for weekly retention policy. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionTimes Retention times of retention policy. string[]

WeeklySchedule

Name Description Value
scheduleRunDays Schedule run days. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
scheduleRunTimes List of times of day this schedule has to be run. string[]

YearlyRetentionSchedule

Name Description Value
monthsOfYear List of months of year of yearly retention policy. String array containing any of:
'April'
'August'
'December'
'February'
'Invalid'
'January'
'July'
'June'
'March'
'May'
'November'
'October'
'September'
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionScheduleDaily Daily retention format for yearly retention policy. DailyRetentionFormat
retentionScheduleFormatType Retention schedule format for yearly retention policy. 'Daily'
'Invalid'
'Weekly'
retentionScheduleWeekly Weekly retention format for yearly retention policy. WeeklyRetentionFormat
retentionTimes Retention times of retention policy. string[]

Terraform (AzAPI provider) resource definition

The connectors/acssBackups resource type can be deployed with operations that target:

  • Resource groups For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Workloads/connectors/acssBackups resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Workloads/connectors/acssBackups@2023-10-01-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      backupData = {
        recoveryServicesVault = {
          vaultType = "string"
          // For remaining properties, see RecoveryServicesVaultProperties objects
        }
        backupType = "string"
        // For remaining properties, see BackupData objects
      }
    }
  }
}

RetentionPolicy objects

Set the retentionPolicyType property to specify the type of object.

For LongTermRetentionPolicy, use:

{
  dailySchedule = {
    retentionDuration = {
      count = int
      durationType = "string"
    }
    retentionTimes = [
      "string"
    ]
  }
  monthlySchedule = {
    retentionDuration = {
      count = int
      durationType = "string"
    }
    retentionScheduleDaily = {
      daysOfTheMonth = [
        {
          date = int
          isLast = bool
        }
      ]
    }
    retentionScheduleFormatType = "string"
    retentionScheduleWeekly = {
      daysOfTheWeek = [
        "string"
      ]
      weeksOfTheMonth = [
        "string"
      ]
    }
    retentionTimes = [
      "string"
    ]
  }
  retentionPolicyType = "LongTermRetentionPolicy"
  weeklySchedule = {
    daysOfTheWeek = [
      "string"
    ]
    retentionDuration = {
      count = int
      durationType = "string"
    }
    retentionTimes = [
      "string"
    ]
  }
  yearlySchedule = {
    monthsOfYear = [
      "string"
    ]
    retentionDuration = {
      count = int
      durationType = "string"
    }
    retentionScheduleDaily = {
      daysOfTheMonth = [
        {
          date = int
          isLast = bool
        }
      ]
    }
    retentionScheduleFormatType = "string"
    retentionScheduleWeekly = {
      daysOfTheWeek = [
        "string"
      ]
      weeksOfTheMonth = [
        "string"
      ]
    }
    retentionTimes = [
      "string"
    ]
  }
}

For SimpleRetentionPolicy, use:

{
  retentionDuration = {
    count = int
    durationType = "string"
  }
  retentionPolicyType = "SimpleRetentionPolicy"
}

SchedulePolicy objects

Set the schedulePolicyType property to specify the type of object.

For LogSchedulePolicy, use:

{
  scheduleFrequencyInMins = int
  schedulePolicyType = "LogSchedulePolicy"
}

For LongTermSchedulePolicy, use:

{
  schedulePolicyType = "LongTermSchedulePolicy"
}

For SimpleSchedulePolicy, use:

{
  hourlySchedule = {
    interval = int
    scheduleWindowDuration = int
    scheduleWindowStartTime = "string"
  }
  schedulePolicyType = "SimpleSchedulePolicy"
  scheduleRunDays = [
    "string"
  ]
  scheduleRunFrequency = "string"
  scheduleRunTimes = [
    "string"
  ]
  scheduleWeeklyFrequency = int
}

For SimpleSchedulePolicyV2, use:

{
  dailySchedule = {
    scheduleRunTimes = [
      "string"
    ]
  }
  hourlySchedule = {
    interval = int
    scheduleWindowDuration = int
    scheduleWindowStartTime = "string"
  }
  schedulePolicyType = "SimpleSchedulePolicyV2"
  scheduleRunFrequency = "string"
  weeklySchedule = {
    scheduleRunDays = [
      "string"
    ]
    scheduleRunTimes = [
      "string"
    ]
  }
}

BackupData objects

Set the backupType property to specify the type of object.

For HANA, use:

{
  backupPolicy = {
    name = "string"
    properties = {
      backupManagementType = "string"
      makePolicyConsistent = bool
      protectedItemsCount = int
      resourceGuardOperationRequests = [
        "string"
      ]
      settings = {
        isCompression = bool
        issqlcompression = bool
        timeZone = "string"
      }
      subProtectionPolicy = [
        {
          policyType = "string"
          retentionPolicy = {
            retentionPolicyType = "string"
            // For remaining properties, see RetentionPolicy objects
          }
          schedulePolicy = {
            schedulePolicyType = "string"
            // For remaining properties, see SchedulePolicy objects
          }
          snapshotBackupAdditionalDetails = {
            instantRPDetails = "string"
            instantRpRetentionRangeInDays = int
            userAssignedManagedIdentityDetails = {
              identityArmId = "string"
              identityName = "string"
              userAssignedIdentityProperties = {
                clientId = "string"
                principalId = "string"
              }
            }
          }
          tieringPolicy = {
            {customized property} = {
              duration = int
              durationType = "string"
              tieringMode = "string"
            }
          }
        }
      ]
      workLoadType = "string"
    }
  }
  backupType = "HANA"
  dbInstanceSnapshotBackupPolicy = {
    name = "string"
    properties = {
      backupManagementType = "string"
      makePolicyConsistent = bool
      protectedItemsCount = int
      resourceGuardOperationRequests = [
        "string"
      ]
      settings = {
        isCompression = bool
        issqlcompression = bool
        timeZone = "string"
      }
      subProtectionPolicy = [
        {
          policyType = "string"
          retentionPolicy = {
            retentionPolicyType = "string"
            // For remaining properties, see RetentionPolicy objects
          }
          schedulePolicy = {
            schedulePolicyType = "string"
            // For remaining properties, see SchedulePolicy objects
          }
          snapshotBackupAdditionalDetails = {
            instantRPDetails = "string"
            instantRpRetentionRangeInDays = int
            userAssignedManagedIdentityDetails = {
              identityArmId = "string"
              identityName = "string"
              userAssignedIdentityProperties = {
                clientId = "string"
                principalId = "string"
              }
            }
          }
          tieringPolicy = {
            {customized property} = {
              duration = int
              durationType = "string"
              tieringMode = "string"
            }
          }
        }
      ]
      workLoadType = "string"
    }
  }
  hdbuserstoreKeyName = "string"
  instanceNumber = "string"
  sslConfiguration = {
    sslCryptoProvider = "string"
    sslHostNameInCertificate = "string"
    sslKeyStore = "string"
    sslTrustStore = "string"
  }
}

For SQL, use:

{
  backupPolicy = {
    name = "string"
    properties = {
      backupManagementType = "string"
      makePolicyConsistent = bool
      protectedItemsCount = int
      resourceGuardOperationRequests = [
        "string"
      ]
      settings = {
        isCompression = bool
        issqlcompression = bool
        timeZone = "string"
      }
      subProtectionPolicy = [
        {
          policyType = "string"
          retentionPolicy = {
            retentionPolicyType = "string"
            // For remaining properties, see RetentionPolicy objects
          }
          schedulePolicy = {
            schedulePolicyType = "string"
            // For remaining properties, see SchedulePolicy objects
          }
          snapshotBackupAdditionalDetails = {
            instantRPDetails = "string"
            instantRpRetentionRangeInDays = int
            userAssignedManagedIdentityDetails = {
              identityArmId = "string"
              identityName = "string"
              userAssignedIdentityProperties = {
                clientId = "string"
                principalId = "string"
              }
            }
          }
          tieringPolicy = {
            {customized property} = {
              duration = int
              durationType = "string"
              tieringMode = "string"
            }
          }
        }
      ]
      workLoadType = "string"
    }
  }
  backupType = "SQL"
}

For VM, use:

{
  backupPolicy = {
    name = "string"
    properties = {
      backupManagementType = "string"
      instantRPDetails = {
        azureBackupRGNamePrefix = "string"
        azureBackupRGNameSuffix = "string"
      }
      instantRpRetentionRangeInDays = int
      policyType = "string"
      protectedItemsCount = int
      resourceGuardOperationRequests = [
        "string"
      ]
      retentionPolicy = {
        retentionPolicyType = "string"
        // For remaining properties, see RetentionPolicy objects
      }
      schedulePolicy = {
        schedulePolicyType = "string"
        // For remaining properties, see SchedulePolicy objects
      }
      tieringPolicy = {
        {customized property} = {
          duration = int
          durationType = "string"
          tieringMode = "string"
        }
      }
      timeZone = "string"
    }
  }
  backupType = "VM"
  diskExclusionProperties = {
    diskLunList = [
      int
    ]
    isInclusionList = bool
  }
}

RecoveryServicesVaultProperties objects

Set the vaultType property to specify the type of object.

For Existing, use:

{
  id = "string"
  vaultType = "Existing"
}

For New, use:

{
  name = "string"
  resourceGroup = "string"
  vaultType = "New"
}

Property Values

Microsoft.Workloads/connectors/acssBackups

Name Description Value
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Pattern = ^.+ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: connectors
properties Defines the backup connection properties for a virtual instance for SAP. AcssBackupConnectionProperties
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Workloads/connectors/acssBackups@2023-10-01-preview"

AcssBackupConnectionProperties

Name Description Value
backupData Information about the recovery services vault and backup policy used for backup. BackupData

AzureIaaSVMProtectionPolicy

Name Description Value
backupManagementType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. string (required)
instantRPDetails Instant recovery point additional details. InstantRPAdditionalDetails
instantRpRetentionRangeInDays Instant RP retention policy range in days int
policyType The policy type. 'Invalid'
'V1'
'V2'
protectedItemsCount Number of items associated with this policy. int
resourceGuardOperationRequests ResourceGuard Operation Requests string[]
retentionPolicy Retention policy with the details on backup copy retention ranges. RetentionPolicy
schedulePolicy Backup schedule specified as part of backup policy. SchedulePolicy
tieringPolicy Tiering policy to automatically move RPs to another tier
Key is Target Tier, defined in RecoveryPointTierType enum.
Tiering policy specifies the criteria to move RP to the target tier.
AzureIaaSVMProtectionPolicyTieringPolicy
timeZone Time zone optional input as string. For example: "Pacific Standard Time". string

AzureIaaSVMProtectionPolicyTieringPolicy

Name Description Value

AzureVmWorkloadProtectionPolicy

Name Description Value
backupManagementType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. string (required)
makePolicyConsistent Fix the policy inconsistency bool
protectedItemsCount Number of items associated with this policy. int
resourceGuardOperationRequests ResourceGuard Operation Requests string[]
settings Common settings for the backup management Settings
subProtectionPolicy List of sub-protection policies which includes schedule and retention SubProtectionPolicy[]
workLoadType Type of workload for the backup management 'AzureFileShare'
'AzureSqlDb'
'Client'
'Exchange'
'FileFolder'
'GenericDataSource'
'Invalid'
'SAPAseDatabase'
'SAPHanaDatabase'
'SAPHanaDBInstance'
'Sharepoint'
'SQLDataBase'
'SQLDB'
'SystemState'
'VM'
'VMwareVM'

BackupData

Name Description Value
backupType Set to 'HANA' for type HanaBackupData. Set to 'SQL' for type SqlBackupData. Set to 'VM' for type VMBackupData. 'HANA'
'SQL'
'VM' (required)
recoveryServicesVault The properties of the recovery services vault used for backup. RecoveryServicesVaultProperties (required)

DailyRetentionFormat

Name Description Value
daysOfTheMonth List of days of the month. Day[]

DailyRetentionSchedule

Name Description Value
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionTimes Retention times of retention policy. string[]

DailySchedule

Name Description Value
scheduleRunTimes List of times of day this schedule has to be run. string[]

Day

Name Description Value
date Date of the month int
isLast Whether Date is last date of month bool

DBBackupPolicyProperties

Name Description Value
name The name of the DB backup policy. string (required)
properties Azure VM (Mercury) workload-specific backup policy. AzureVmWorkloadProtectionPolicy

DiskExclusionProperties

Name Description Value
diskLunList List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection. int[] (required)
isInclusionList Flag to indicate whether DiskLunList is to be included/ excluded from backup. bool (required)

ExistingRecoveryServicesVault

Name Description Value
id The resource ID of the recovery services vault that has been created. string (required)
vaultType The vault type, whether it is existing or has to be created. 'Existing' (required)

HanaBackupData

Name Description Value
backupPolicy Defines the policy properties for database backup. DBBackupPolicyProperties (required)
backupType The type of backup, VM, SQL or HANA. 'HANA' (required)
dbInstanceSnapshotBackupPolicy Defines the policy properties for database backup. DBBackupPolicyProperties
hdbuserstoreKeyName Name of the HANA Database User Store Key. string (required)
instanceNumber Gets or sets the database instance number. string
sslConfiguration Path of the SSL key store. SSLConfiguration

HourlySchedule

Name Description Value
interval Interval at which backup needs to be triggered. For hourly the value
can be 4/6/8/12
int
scheduleWindowDuration To specify duration of the backup window int
scheduleWindowStartTime To specify start time of the backup window string

InstantRPAdditionalDetails

Name Description Value
azureBackupRGNamePrefix Azure backup resource group name prefix. string
azureBackupRGNameSuffix Azure backup resource group name suffix. string

LogSchedulePolicy

Name Description Value
scheduleFrequencyInMins Frequency of the log schedule operation of this policy in minutes. int
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'LogSchedulePolicy' (required)

LongTermRetentionPolicy

Name Description Value
dailySchedule Daily retention schedule of the protection policy. DailyRetentionSchedule
monthlySchedule Monthly retention schedule of the protection policy. MonthlyRetentionSchedule
retentionPolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'LongTermRetentionPolicy' (required)
weeklySchedule Weekly retention schedule of the protection policy. WeeklyRetentionSchedule
yearlySchedule Yearly retention schedule of the protection policy. YearlyRetentionSchedule

LongTermSchedulePolicy

Name Description Value
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'LongTermSchedulePolicy' (required)

MonthlyRetentionSchedule

Name Description Value
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionScheduleDaily Daily retention format for monthly retention policy. DailyRetentionFormat
retentionScheduleFormatType Retention schedule format type for monthly retention policy. 'Daily'
'Invalid'
'Weekly'
retentionScheduleWeekly Weekly retention format for monthly retention policy. WeeklyRetentionFormat
retentionTimes Retention times of retention policy. string[]

NewRecoveryServicesVault

Name Description Value
name The name of the recovery services vault has to be created. string (required)
resourceGroup The name of the resource group where the recovery services vault has to be created. string (required)
vaultType The vault type, whether it is existing or has to be created. 'New' (required)

RecoveryServicesVaultProperties

Name Description Value
vaultType Set to 'Existing' for type ExistingRecoveryServicesVault. Set to 'New' for type NewRecoveryServicesVault. 'Existing'
'New' (required)

RetentionDuration

Name Description Value
count Count of duration types. Retention duration is obtained by the counting the duration type Count times.
For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
int
durationType Retention duration type of retention policy. 'Days'
'Invalid'
'Months'
'Weeks'
'Years'

RetentionPolicy

Name Description Value
retentionPolicyType Set to 'LongTermRetentionPolicy' for type LongTermRetentionPolicy. Set to 'SimpleRetentionPolicy' for type SimpleRetentionPolicy. 'LongTermRetentionPolicy'
'SimpleRetentionPolicy' (required)

SchedulePolicy

Name Description Value
schedulePolicyType Set to 'LogSchedulePolicy' for type LogSchedulePolicy. Set to 'LongTermSchedulePolicy' for type LongTermSchedulePolicy. Set to 'SimpleSchedulePolicy' for type SimpleSchedulePolicy. Set to 'SimpleSchedulePolicyV2' for type SimpleSchedulePolicyV2. 'LogSchedulePolicy'
'LongTermSchedulePolicy'
'SimpleSchedulePolicy'
'SimpleSchedulePolicyV2' (required)

Settings

Name Description Value
isCompression Workload compression flag. This has been added so that 'isSqlCompression'
will be deprecated once clients upgrade to consider this flag.
bool
issqlcompression SQL compression flag bool
timeZone TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time". string

SimpleRetentionPolicy

Name Description Value
retentionDuration Retention duration of the protection policy. RetentionDuration
retentionPolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'SimpleRetentionPolicy' (required)

SimpleSchedulePolicy

Name Description Value
hourlySchedule Hourly Schedule of this Policy HourlySchedule
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'SimpleSchedulePolicy' (required)
scheduleRunDays List of days of week this schedule has to be run. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
scheduleRunFrequency Frequency of the schedule operation of this policy. 'Daily'
'Hourly'
'Invalid'
'Weekly'
scheduleRunTimes List of times of day this schedule has to be run. string[]
scheduleWeeklyFrequency At every number weeks this schedule has to be run. int

SimpleSchedulePolicyV2

Name Description Value
dailySchedule Daily schedule of this policy DailySchedule
hourlySchedule hourly schedule of this policy HourlySchedule
schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. 'SimpleSchedulePolicyV2' (required)
scheduleRunFrequency Frequency of the schedule operation of this policy. 'Daily'
'Hourly'
'Invalid'
'Weekly'
weeklySchedule Weekly schedule of this policy WeeklySchedule

SnapshotBackupAdditionalDetails

Name Description Value
instantRPDetails Instant RP details for the snapshot. string
instantRpRetentionRangeInDays Retention range for instant Rp in days. int
userAssignedManagedIdentityDetails User Assigned managed identity details used for snapshot policy. UserAssignedManagedIdentityDetails

SqlBackupData

Name Description Value
backupPolicy Defines the policy properties for database backup. DBBackupPolicyProperties (required)
backupType The type of backup, VM, SQL or HANA. 'SQL' (required)

SSLConfiguration

Name Description Value
sslCryptoProvider Specify the crypto provider being used (commoncrypto/openssl). If this argument is not provided, it is automatically determined by searching in the configuration files. 'commoncrypto'
'openssl'
sslHostNameInCertificate Specify the hostname as mentioned in the SSL certificate. If this argument is not provided, it is automatically determined by searching in the SSL certificate. string
sslKeyStore Specify the name of the keystore file that contains the client's identity (eg. sapsrv.pse). The script will search for the file in the appropriate directory depending on the crypto provider mentioned. If this argument is not provided, it is automatically determined by searching in the configuration files. string
sslTrustStore Specify the name of the trust store file that contains the server’s public certificates (eg. sapsrv.pse). The script will search for the file in the appropriate directory depending on the crypto provider mentioned. If this argument is not provided, it is automatically determined by searching in the configuration files. string

SubProtectionPolicy

Name Description Value
policyType Type of backup policy type 'CopyOnlyFull'
'Differential'
'Full'
'Incremental'
'Invalid'
'Log'
'SnapshotCopyOnlyFull'
'SnapshotFull'
retentionPolicy Retention policy with the details on backup copy retention ranges. RetentionPolicy
schedulePolicy Backup schedule specified as part of backup policy. SchedulePolicy
snapshotBackupAdditionalDetails Hana DB instance snapshot backup additional details. SnapshotBackupAdditionalDetails
tieringPolicy Tiering policy to automatically move RPs to another tier.
Key is Target Tier, defined in RecoveryPointTierType enum.
Tiering policy specifies the criteria to move RP to the target tier.
SubProtectionPolicyTieringPolicy

SubProtectionPolicyTieringPolicy

Name Description Value

TieringPolicy

Name Description Value
duration Number of days/weeks/months/years to retain backups in current tier before tiering.
Used only if TieringMode is set to TierAfter
int
durationType Retention duration type: days/weeks/months/years
Used only if TieringMode is set to TierAfter
'Days'
'Invalid'
'Months'
'Weeks'
'Years'
tieringMode Tiering Mode to control automatic tiering of recovery points. Supported values are:
1. TierRecommended: Tier all recovery points recommended to be tiered
2. TierAfter: Tier all recovery points after a fixed period, as specified in duration + durationType below.
3. DoNotTier: Do not tier any recovery points
'DoNotTier'
'Invalid'
'TierAfter'
'TierRecommended'

TrackedResourceTags

Name Description Value

UserAssignedIdentityProperties

Name Description Value
clientId string
principalId string

UserAssignedManagedIdentityDetails

Name Description Value
identityArmId string
identityName string
userAssignedIdentityProperties User assigned managed identity properties. UserAssignedIdentityProperties

VMBackupData

Name Description Value
backupPolicy Defines the policy properties for virtual machine backup. VMBackupPolicyProperties (required)
backupType The type of backup, VM, SQL or HANA. 'VM' (required)
diskExclusionProperties Defines the disk exclusion properties for virtual machine backup. DiskExclusionProperties

VMBackupPolicyProperties

Name Description Value
name The name of the VM Backup policy. string (required)
properties IaaS VM workload-specific backup policy. AzureIaaSVMProtectionPolicy

WeeklyRetentionFormat

Name Description Value
daysOfTheWeek List of days of the week. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
weeksOfTheMonth List of weeks of month. String array containing any of:
'First'
'Fourth'
'Invalid'
'Last'
'Second'
'Third'

WeeklyRetentionSchedule

Name Description Value
daysOfTheWeek List of days of week for weekly retention policy. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionTimes Retention times of retention policy. string[]

WeeklySchedule

Name Description Value
scheduleRunDays Schedule run days. String array containing any of:
'Friday'
'Monday'
'Saturday'
'Sunday'
'Thursday'
'Tuesday'
'Wednesday'
scheduleRunTimes List of times of day this schedule has to be run. string[]

YearlyRetentionSchedule

Name Description Value
monthsOfYear List of months of year of yearly retention policy. String array containing any of:
'April'
'August'
'December'
'February'
'Invalid'
'January'
'July'
'June'
'March'
'May'
'November'
'October'
'September'
retentionDuration Retention duration of retention Policy. RetentionDuration
retentionScheduleDaily Daily retention format for yearly retention policy. DailyRetentionFormat
retentionScheduleFormatType Retention schedule format for yearly retention policy. 'Daily'
'Invalid'
'Weekly'
retentionScheduleWeekly Weekly retention format for yearly retention policy. WeeklyRetentionFormat
retentionTimes Retention times of retention policy. string[]