This is an archive version of the document. To get the most up-to-date information, see the current version.

NewPolicySqlFromClientV3

The following properties represent the NewPolicySqlFromClientV3 JSON schema.

NewPolicySqlFromClientV3NewPolicySqlFromClientV3

Property

Type

Description

tenantId

string

Azure ID assigned to a tenant.

serviceAccountId

string

System ID assigned in the Veeam Backup for Microsoft Azure REST API to an Azure service account whose permissions Veeam Backup for Microsoft Azure uses to access Azure resources and perform Azure SQL backup.

regions

PolicyRegionFromClientV2

Specifies system IDs assigned in the Veeam Backup for Azure REST API to Azure regions where instances that are backed up reside.

selectedItems

PolicySqlBackupItemsFromClientV3

Azure resources selected to be protected by the backup policy.

excludedItems

PolicySqlExcludedItemsFromClientV3

Azure resources excluded from the backup policy.

stagingServerId

string

Azure ID assigned to a staging server configured for the unmanaged instances.

managedStagingServerId

string

Azure ID assigned to a staging server configured for the managed instances.

name

string

Specifies a name of the backup policy.

description

string

Specifies a description of the backup policy.

name

string

Specifies a name of the Azure SQL backup policy.

description

string

Specifies a description of the Azure SQL backup policy.

retrySettings

RetrySettingsV2

Retry settings configured for the Azure SQL backup policy.

policyNotificationSettings

PolicyNotificationSettingsV2

Notification settings configured for the Azure SQL backup policy.

isEnabled

boolean

Defines whether the email notifications are enabled.

backupType

array[string]

Specifies the type of the Azure SQL backup policy: AllSubscriptions, SelectedItems.

dailySchedule

DailySqlScheduleV3

Backup daily schedule settings configured for the Azure SQL backup policy.

weeklySchedule

WeeklySqlScheduleV3

Backup weekly schedule settings configured for the Azure SQL backup policy.

monthlySchedule

MonthlySqlScheduleV3

Backup monthly schedule settings configured for the Azure SQL backup policy.

yearlySchedule

YearlyScheduleV2

Backup yearly schedule settings configured for the Azure SQL backup policy.

NewPolicySqlFromClientV3PolicyRegionFromClientV2

Property

Type

Description

regionId

string

Specifies system IDs assigned in the Veeam Backup for Azure REST API to Azure regions where instances that are backed up reside.

NewPolicySqlFromClientV3PolicyBackupItemsFromClientV3

Property

Type

Description

databases

PolicySqlDatabaseFromClientV3

Azure SQL databases selected to be protected by the backup policy.

sqlServers

RESTPolicySqlServerFromClientV3

SQL servers that host databases selected to be protected by the backup policy.

NewPolicySqlFromClientV3PolicySqlDatabaseFromClientV3

Property

Type

Description

id

string

Azure ID assigned to databases selected to be protected by the backup policy.

NewPolicySqlFromClientV3RESTPolicySqlServerFromClientV3

Property

Type

Description

id

string

Azure ID assigned to SQL server hosting databases selected to be protected by the backup policy.

NewPolicySqlFromClientV3PolicySqlExcludedItemsFromClientV3

Property

Type

Description

databases

PolicySqlDatabaseFromClientV3

Azure SQL databases excluded from the backup policy.

NewPolicySqlFromClientV3RetrySettingsV2

Property

Type

Description

retryCount

integer($int32)

Maximum number of retry attempts specified for the Azure SQL backup policy.

NewPolicySqlFromClientV3PolicyNotificationSettingsV2

Property

Type

Description

recipient

string

Recipient email address.

notifyOnSuccess

boolean

Defines whether to receive an email notification if a policy completes successfully.

notifyOnWarning

boolean

Defines whether to receive an email notification if a policy completes with a warning.

notifyOnFailure

boolean

Defines whether to receive an email notification if a policy fails.

NewPolicySqlFromClientV3DailySqlScheduleV3

Property

Type

Description

dailyType

string

Days when the Azure SQL backup policy must run: Everyday, WeekDays, SelectedDays.

selectedDays

string

[Applies if the Selected days value is specified for the dailyType parameter] Days of the week when the Azure SQL backup policy must run: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.

backupSchedule

DailyBackupScheduleV2

Daily schedule settings for image-level backups.

NewPolicySqlFromClientV3DailyBackupScheduleV2

Property

Type

Description

hours

integer($int32)

Hours when the backup policy must start creating image-level backups.

retention

RepositoryRetentionSettingsV2

Period of time to keep restore points in a backup chain.

targetRepositoryId

string

System ID assigned to the target backup repository.

NewPolicySqlFromClientV3WeeklySqlScheduleV3

Property

Type

Description

startTime

integer($int32)

Date of the backup policy creation or modification and time when the Azure SQL backup policy must run.

backupSchedule

WeeklyBackupScheduleV2

Weekly schedule settings for image-level backups.

NewPolicySqlFromClientV3WeeklyBackupScheduleV2

Property

Type

Description

selectedDays

string

Days of the week when the backup policy must run: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.

retention

RepositoryRetentionSettingsV2

Period of time to keep restore points in a backup chain.

targetRepositoryId

string

System ID assigned to the target backup repository.

NewPolicySqlFromClientV3MonthlySqlScheduleV3

Property

Type

Description

startTime

integer($int32)

Date of the backup policy creation or modification and time when the backup policy must run.

type

array(string)

Day of the month when the backup policy must run: First, Second, Third, Fourth, Last, SelectedDay.

dayOfWeek

array [string]

[Applies if one of the First, Second, Third, Fourth or Last values is specified for the type parameter] Days of the week when the backup policy must run: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.

dayOfMonth

integer($int32)

[Applies if the SelectedDay value is specified for the type parameter] Ordinal number of the day of the month when the backup policy must run.

monthlyLastDay

boolean

Defines whether the backup policy must run always on last day of the month.

backupSchedule

MonthlyBackupScheduleV2

Monthly schedule settings for image-level backups.

NewPolicySqlFromClientV3MonthlyBackupScheduleV2

Property

Type

Description

selectedMonths

string

Months when the backup policy must start creating cloud-native snapshots: January, February, March, April, May, June, July, August, September, October, November, December.

retention

RepositoryRetentionSettingsV2

Period of time to keep restore points in a backup chain.

targetRepositoryId

string

System ID assigned to the target backup repository.

NewPolicySqlFromClientV3YearlyScheduleV2

Property

Type

Description

startTime

integer($int32)

Date of the backup policy creation or modification and time when the backup policy must run.

month

string

Months when the backup policy must start creating cloud-native snapshots: January, February, March, April, May, June, July, August, September, October, November, December.

type

array(string)

Day of the month when the backup policy must run: First, Second, Third, Fourth, Last, SelectedDay.

dayOfWeek

array [string]

[Applies if one of the First, Second, Third, Fourth or Last values is specified for the type parameter] Days of the week when the backup policy must run: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.

dayOfMonth

integer($int32)

[Applies if the SelectedDay value is specified for the type parameter] Ordinal number of the day of the month when the backup policy must run.

yearlyLastDay

boolean

Defines whether the backup policy must run always on last day of the year.

retentionYearsCount

integer($int32)

Number of years to keep restore points in a backup chain.

targetRepositoryId

string

System ID assigned to the target backup repository.

NewPolicySqlFromClientV3RepositoryRetentionSettingsV2

Property

Type

Description

timeRetentionDuration

integer($int32)

Number of days, weeks, months or years to keep restore points in a backup chain.

retentionDurationType RetentionDurationType

string

Type of the period: Days, Months, Years.