SnapshotPolicyPatch Class

Snapshot policy Details for create and update.

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

Inheritance
SnapshotPolicyPatch

Constructor

SnapshotPolicyPatch(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, hourly_schedule: Optional[azure.mgmt.netapp.models._models_py3.HourlySchedule] = None, daily_schedule: Optional[azure.mgmt.netapp.models._models_py3.DailySchedule] = None, weekly_schedule: Optional[azure.mgmt.netapp.models._models_py3.WeeklySchedule] = None, monthly_schedule: Optional[azure.mgmt.netapp.models._models_py3.MonthlySchedule] = None, enabled: Optional[bool] = None, **kwargs)

Parameters

location
str
Required

Resource location.

tags
dict[str, str]
Required

A set of tags. Resource tags.

hourly_schedule
HourlySchedule
Required

Schedule for hourly snapshots.

daily_schedule
DailySchedule
Required

Schedule for daily snapshots.

weekly_schedule
WeeklySchedule
Required

Schedule for weekly snapshots.

monthly_schedule
MonthlySchedule
Required

Schedule for monthly snapshots.

enabled
bool
Required

The property to decide policy is enabled or not.

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

provisioning_state
str

Azure lifecycle management.