SnapshotPolicy Interface
public interface SnapshotPolicy
An immutable client-side representation of SnapshotPolicy.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Daily |
dailySchedule()
Gets the daily |
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
Hourly |
hourlySchedule()
Gets the hourly |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
Snapshot |
innerModel()
Gets the inner com. |
abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
abstract
Monthly |
monthlySchedule()
Gets the monthly |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract String |
provisioningState()
Gets the provisioning |
abstract
Snapshot |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Snapshot |
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
System |
systemData()
Gets the system |
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 Snapshot |
abstract
Weekly |
weeklySchedule()
Gets the weekly |
Method Details
dailySchedule
public abstract DailySchedule dailySchedule()
Gets the dailySchedule property: Schedule for daily snapshots.
Returns:
enabled
public abstract Boolean enabled()
Gets the enabled property: The property to decide policy is enabled or not.
Returns:
etag
public abstract String etag()
Gets the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
hourlySchedule
public abstract HourlySchedule hourlySchedule()
Gets the hourlySchedule property: Schedule for hourly snapshots.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract SnapshotPolicyInner innerModel()
Gets the inner com.azure.resourcemanager.netapp.fluent.models.SnapshotPolicyInner object.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
monthlySchedule
public abstract MonthlySchedule monthlySchedule()
Gets the monthlySchedule property: Schedule for monthly snapshots.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
provisioningState
public abstract String provisioningState()
Gets the provisioningState property: Azure lifecycle management.
Returns:
refresh
public abstract SnapshotPolicy refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract SnapshotPolicy refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public abstract Map
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract SnapshotPolicy.Update update()
Begins update for the SnapshotPolicy resource.
Returns:
weeklySchedule
public abstract WeeklySchedule weeklySchedule()
Gets the weeklySchedule property: Schedule for weekly snapshots.
Returns:
Applies to
Azure SDK for Java