BackupPolicyPatch Class

Backup policy Details for create and update.

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

Inheritance
BackupPolicyPatch

Constructor

BackupPolicyPatch(*, location: typing.Union[str, NoneType] = None, tags: typing.Union[typing.Dict[str, str], NoneType] = None, daily_backups_to_keep: typing.Union[int, NoneType] = None, weekly_backups_to_keep: typing.Union[int, NoneType] = None, monthly_backups_to_keep: typing.Union[int, NoneType] = None, yearly_backups_to_keep: typing.Union[int, NoneType] = None, volumes_assigned: typing.Union[int, NoneType] = None, enabled: typing.Union[bool, NoneType] = None, volume_backups: typing.Union[typing.List[_ForwardRef('VolumeBackups')], NoneType] = None, **kwargs)

Parameters

location
str
Required

Resource location.

tags
dict[str, str]
Required

A set of tags. Resource tags.

daily_backups_to_keep
int
Required

Daily backups count to keep.

weekly_backups_to_keep
int
Required

Weekly backups count to keep.

monthly_backups_to_keep
int
Required

Monthly backups count to keep.

yearly_backups_to_keep
int
Required

Yearly backups count to keep.

volumes_assigned
int
Required

Volumes using current backup policy.

enabled
bool
Required

The property to decide policy is enabled or not.

volume_backups
list[VolumeBackups]
Required

A list of volumes assigned to this policy.

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

name_properties_name
str

Name of backup policy.

provisioning_state
str

Azure lifecycle management.