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

ManagedBackupShortTermRetentionPolicy Class

A short term retention policy.

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

Inheritance
azure.mgmt.sql.models._models_py3.ProxyResource
ManagedBackupShortTermRetentionPolicy

Constructor

ManagedBackupShortTermRetentionPolicy(*, retention_days: int | None = None, **kwargs)

Parameters

Name Description
retention_days
Required
int

The backup retention period in days. This is how many days Point-in-Time Restore will be supported.

Keyword-Only Parameters

Name Description
retention_days
Required

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.