LongTermRetentionPolicy Class

A long 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
LongTermRetentionPolicy

Constructor

LongTermRetentionPolicy(*, weekly_retention: typing.Union[str, NoneType] = None, monthly_retention: typing.Union[str, NoneType] = None, yearly_retention: typing.Union[str, NoneType] = None, week_of_year: typing.Union[int, NoneType] = None, **kwargs)

Parameters

weekly_retention
str
Required

The weekly retention policy for an LTR backup in an ISO 8601 format.

monthly_retention
str
Required

The monthly retention policy for an LTR backup in an ISO 8601 format.

yearly_retention
str
Required

The yearly retention policy for an LTR backup in an ISO 8601 format.

week_of_year
int
Required

The week of year to take the yearly backup in an ISO 8601 format.

Variables

id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.