Interface BackupPolicy
-
public interface BackupPolicy
An immutable client-side representation of BackupPolicy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
BackupPolicy.Definition
The entirety of the BackupPolicy definition.static interface
BackupPolicy.DefinitionStages
The BackupPolicy definition stages.static interface
BackupPolicy.Update
The template for BackupPolicy update.static interface
BackupPolicy.UpdateStages
The BackupPolicy update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
backupPolicyId()
Gets the backupPolicyId property: Backup Policy Resource ID.Integer
dailyBackupsToKeep()
Gets the dailyBackupsToKeep property: Daily backups count to keep.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.String
id()
Gets the id property: Fully qualified resource Id for the resource.BackupPolicyInner
innerModel()
Gets the inner com.azure.resourcemanager.netapp.fluent.models.BackupPolicyInner object.String
location()
Gets the location property: The geo-location where the resource lives.Integer
monthlyBackupsToKeep()
Gets the monthlyBackupsToKeep property: Monthly backups count to keep.String
name()
Gets the name property: The name of the resource.String
provisioningState()
Gets the provisioningState property: Azure lifecycle management.BackupPolicy
refresh()
Refreshes the resource to sync with Azure.BackupPolicy
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.BackupPolicy.Update
update()
Begins update for the BackupPolicy resource.List<VolumeBackups>
volumeBackups()
Gets the volumeBackups property: A list of volumes assigned to this policy.Integer
volumesAssigned()
Gets the volumesAssigned property: Volumes using current backup policy.Integer
weeklyBackupsToKeep()
Gets the weeklyBackupsToKeep property: Weekly backups count to keep.
-
-
-
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.
-
backupPolicyId
String backupPolicyId()
Gets the backupPolicyId property: Backup Policy Resource ID.- Returns:
- the backupPolicyId value.
-
provisioningState
String provisioningState()
Gets the provisioningState property: Azure lifecycle management.- Returns:
- the provisioningState value.
-
dailyBackupsToKeep
Integer dailyBackupsToKeep()
Gets the dailyBackupsToKeep property: Daily backups count to keep.- Returns:
- the dailyBackupsToKeep value.
-
weeklyBackupsToKeep
Integer weeklyBackupsToKeep()
Gets the weeklyBackupsToKeep property: Weekly backups count to keep.- Returns:
- the weeklyBackupsToKeep value.
-
monthlyBackupsToKeep
Integer monthlyBackupsToKeep()
Gets the monthlyBackupsToKeep property: Monthly backups count to keep.- Returns:
- the monthlyBackupsToKeep value.
-
volumesAssigned
Integer volumesAssigned()
Gets the volumesAssigned property: Volumes using current backup policy.- Returns:
- the volumesAssigned value.
-
enabled
Boolean enabled()
Gets the enabled property: The property to decide policy is enabled or not.- Returns:
- the enabled value.
-
volumeBackups
List<VolumeBackups> volumeBackups()
Gets the volumeBackups property: A list of volumes assigned to this policy.- Returns:
- the volumeBackups 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
BackupPolicyInner innerModel()
Gets the inner com.azure.resourcemanager.netapp.fluent.models.BackupPolicyInner object.- Returns:
- the inner object.
-
update
BackupPolicy.Update update()
Begins update for the BackupPolicy resource.- Returns:
- the stage of resource update.
-
refresh
BackupPolicy refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
BackupPolicy 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.
-
-