Interface SnapshotPolicy
-
public interface SnapshotPolicy
An immutable client-side representation of SnapshotPolicy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SnapshotPolicy.Definition
The entirety of the SnapshotPolicy definition.static interface
SnapshotPolicy.DefinitionStages
The SnapshotPolicy definition stages.static interface
SnapshotPolicy.Update
The template for SnapshotPolicy update.static interface
SnapshotPolicy.UpdateStages
The SnapshotPolicy update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DailySchedule
dailySchedule()
Gets the dailySchedule property: Schedule for daily snapshots.Boolean
enabled()
Gets the enabled property: The property to decide policy is enabled or not.String
etag()
Gets the etag property: A unique read-only string that changes whenever the resource is updated.HourlySchedule
hourlySchedule()
Gets the hourlySchedule property: Schedule for hourly snapshots.String
id()
Gets the id property: Fully qualified resource Id for the resource.SnapshotPolicyInner
innerModel()
Gets the inner com.azure.resourcemanager.netapp.fluent.models.SnapshotPolicyInner object.String
location()
Gets the location property: The geo-location where the resource lives.MonthlySchedule
monthlySchedule()
Gets the monthlySchedule property: Schedule for monthly snapshots.String
name()
Gets the name property: The name of the resource.String
provisioningState()
Gets the provisioningState property: Azure lifecycle management.SnapshotPolicy
refresh()
Refreshes the resource to sync with Azure.SnapshotPolicy
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.String
regionName()
Gets the name of the resource region.com.azure.core.management.SystemData
systemData()
Gets the systemData property: The system meta data relating to this resource.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.SnapshotPolicy.Update
update()
Begins update for the SnapshotPolicy resource.WeeklySchedule
weeklySchedule()
Gets the weeklySchedule property: Schedule for weekly snapshots.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()
Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
etag
String etag()
Gets the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: The system meta data relating to this resource.- Returns:
- the systemData value.
-
hourlySchedule
HourlySchedule hourlySchedule()
Gets the hourlySchedule property: Schedule for hourly snapshots.- Returns:
- the hourlySchedule value.
-
dailySchedule
DailySchedule dailySchedule()
Gets the dailySchedule property: Schedule for daily snapshots.- Returns:
- the dailySchedule value.
-
weeklySchedule
WeeklySchedule weeklySchedule()
Gets the weeklySchedule property: Schedule for weekly snapshots.- Returns:
- the weeklySchedule value.
-
monthlySchedule
MonthlySchedule monthlySchedule()
Gets the monthlySchedule property: Schedule for monthly snapshots.- Returns:
- the monthlySchedule value.
-
enabled
Boolean enabled()
Gets the enabled property: The property to decide policy is enabled or not.- Returns:
- the enabled value.
-
provisioningState
String provisioningState()
Gets the provisioningState property: Azure lifecycle management.- Returns:
- the provisioningState value.
-
region
com.azure.core.management.Region region()
Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()
Gets the name of the resource region.- Returns:
- the name of the resource region.
-
innerModel
SnapshotPolicyInner innerModel()
Gets the inner com.azure.resourcemanager.netapp.fluent.models.SnapshotPolicyInner object.- Returns:
- the inner object.
-
update
SnapshotPolicy.Update update()
Begins update for the SnapshotPolicy resource.- Returns:
- the stage of resource update.
-
refresh
SnapshotPolicy refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
SnapshotPolicy refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-