Freigeben über


SnapshotPolicy Interface

public interface SnapshotPolicy

An immutable client-side representation of SnapshotPolicy.

Method Summary

Modifier and Type Method and Description
abstract DailySchedule dailySchedule()

Gets the dailySchedule property: Schedule for daily snapshots.

abstract Boolean enabled()

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

abstract String etag()

Gets the etag property: A unique read-only string that changes whenever the resource is updated.

abstract HourlySchedule hourlySchedule()

Gets the hourlySchedule property: Schedule for hourly snapshots.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract SnapshotPolicyInner innerModel()

Gets the inner com.azure.resourcemanager.netapp.fluent.models.SnapshotPolicyInner object.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract MonthlySchedule monthlySchedule()

Gets the monthlySchedule property: Schedule for monthly snapshots.

abstract String name()

Gets the name property: The name of the resource.

abstract String provisioningState()

Gets the provisioningState property: Azure lifecycle management.

abstract SnapshotPolicy refresh()

Refreshes the resource to sync with Azure.

abstract SnapshotPolicy refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the SnapshotPolicy resource.

abstract WeeklySchedule weeklySchedule()

Gets the weeklySchedule property: Schedule for weekly snapshots.

Method Details

dailySchedule

public abstract DailySchedule dailySchedule()

Gets the dailySchedule property: Schedule for daily snapshots.

Returns:

the dailySchedule value.

enabled

public abstract Boolean enabled()

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

Returns:

the enabled value.

etag

public abstract String etag()

Gets the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

hourlySchedule

public abstract HourlySchedule hourlySchedule()

Gets the hourlySchedule property: Schedule for hourly snapshots.

Returns:

the hourlySchedule value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract SnapshotPolicyInner innerModel()

Gets the inner com.azure.resourcemanager.netapp.fluent.models.SnapshotPolicyInner object.

Returns:

the inner object.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

monthlySchedule

public abstract MonthlySchedule monthlySchedule()

Gets the monthlySchedule property: Schedule for monthly snapshots.

Returns:

the monthlySchedule value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract String provisioningState()

Gets the provisioningState property: Azure lifecycle management.

Returns:

the provisioningState value.

refresh

public abstract SnapshotPolicy refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract SnapshotPolicy refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract SnapshotPolicy.Update update()

Begins update for the SnapshotPolicy resource.

Returns:

the stage of resource update.

weeklySchedule

public abstract WeeklySchedule weeklySchedule()

Gets the weeklySchedule property: Schedule for weekly snapshots.

Returns:

the weeklySchedule value.

Applies to