你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Backup Class

Backup properties of a server.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

Backup(*, backup_retention_days: int = 7, geo_redundant_backup: str | _models.GeoRedundantBackupEnum = 'Disabled', **kwargs: Any)

Keyword-Only Parameters

Name Description
backup_retention_days
int

Backup retention days for the server.

Default value: 7
geo_redundant_backup

A value indicating whether Geo-Redundant backup is enabled on the server. Known values are: "Enabled" and "Disabled".

Default value: Disabled

Variables

Name Description
backup_retention_days
int

Backup retention days for the server.

geo_redundant_backup

A value indicating whether Geo-Redundant backup is enabled on the server. Known values are: "Enabled" and "Disabled".

earliest_restore_date

The earliest restore point time (ISO8601 format) for server.