你当前正在访问 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 | None = None, geo_redundant_backup: str | GeoRedundantBackupEnum | None = None, **kwargs)

Parameters

Name Description
backup_retention_days
Required
int

Backup retention days for the server.

geo_redundant_backup
Required

A value indicating whether Geo-Redundant backup is enabled on the server. Possible values include: "Enabled", "Disabled".

Keyword-Only Parameters

Name Description
backup_retention_days
Default value: None
geo_redundant_backup
Default value: None

Variables

Name Description
earliest_restore_date

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