SnapshotPolicy Class

Snapshot policy information.

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

All required parameters must be populated in order to send to Azure.

Inheritance
SnapshotPolicy

Constructor

SnapshotPolicy(*, location: str, 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

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.

etag
str

A unique read-only string that changes whenever the resource is updated.

type
str

Resource type.

provisioning_state
str

Azure lifecycle management.