SnapshotPolicyPatch Class

Definition

Snapshot policy Details for create and update.

public class SnapshotPolicyPatch
Inheritance
java.lang.Object
SnapshotPolicyPatch

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

SnapshotPolicyPatch()

Methods

dailySchedule()

Get the dailySchedule property: Schedule for daily snapshots.

enabled()

Get the enabled property: The property to decide policy is enabled or not.

hourlySchedule()

Get the hourlySchedule property: Schedule for hourly snapshots.

id()

Get the id property: Resource Id.

location()

Get the location property: Resource location.

monthlySchedule()

Get the monthlySchedule property: Schedule for monthly snapshots.

name()

Get the name property: Resource name.

provisioningState()

Get the provisioningState property: Azure lifecycle management.

tags()

Get the tags property: Resource tags.

type()

Get the type property: Resource type.

validate()

Validates the instance.

weeklySchedule()

Get the weeklySchedule property: Schedule for weekly snapshots.

withDailySchedule(DailySchedule dailySchedule)

Set the dailySchedule property: Schedule for daily snapshots.

withEnabled(Boolean enabled)

Set the enabled property: The property to decide policy is enabled or not.

withHourlySchedule(HourlySchedule hourlySchedule)

Set the hourlySchedule property: Schedule for hourly snapshots.

withLocation(String location)

Set the location property: Resource location.

withMonthlySchedule(MonthlySchedule monthlySchedule)

Set the monthlySchedule property: Schedule for monthly snapshots.

withTags(Map<String,String> tags)

Set the tags property: Resource tags.

withWeeklySchedule(WeeklySchedule weeklySchedule)

Set the weeklySchedule property: Schedule for weekly snapshots.

Applies to