Interface Backup
-
public interface Backup
An immutable client-side representation of Backup.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Backup.Definition
The entirety of the Backup definition.static interface
Backup.DefinitionStages
The Backup definition stages.static interface
Backup.Update
The template for Backup update.static interface
Backup.UpdateStages
The Backup update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
backupId()
Gets the backupId property: backupId UUID v4 used to identify the Backup.BackupType
backupType()
Gets the backupType property: backupType Type of backup Manual or Scheduled.OffsetDateTime
creationDate()
Gets the creationDate property: creationDate The creation date of the backup.String
failureReason()
Gets the failureReason property: Failure reason.String
id()
Gets the id property: Fully qualified resource Id for the resource.BackupInner
innerModel()
Gets the inner com.azure.resourcemanager.netapp.fluent.models.BackupInner object.String
label()
Gets the label property: Label for backup.String
location()
Gets the location property: Resource location.String
name()
Gets the name property: The name of the resource.String
provisioningState()
Gets the provisioningState property: Azure lifecycle management.Backup
refresh()
Refreshes the resource to sync with Azure.Backup
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.Long
size()
Gets the size property: Size of backup.String
type()
Gets the type property: The type of the resource.Backup.Update
update()
Begins update for the Backup resource.Boolean
useExistingSnapshot()
Gets the useExistingSnapshot property: Manual backup an already existing snapshot.String
volumeName()
Gets the volumeName property: Volume name.
-
-
-
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: Resource location.- Returns:
- the location value.
-
backupId
String backupId()
Gets the backupId property: backupId UUID v4 used to identify the Backup.- Returns:
- the backupId value.
-
creationDate
OffsetDateTime creationDate()
Gets the creationDate property: creationDate The creation date of the backup.- Returns:
- the creationDate value.
-
provisioningState
String provisioningState()
Gets the provisioningState property: Azure lifecycle management.- Returns:
- the provisioningState value.
-
size
Long size()
Gets the size property: Size of backup.- Returns:
- the size value.
-
label
String label()
Gets the label property: Label for backup.- Returns:
- the label value.
-
backupType
BackupType backupType()
Gets the backupType property: backupType Type of backup Manual or Scheduled.- Returns:
- the backupType value.
-
failureReason
String failureReason()
Gets the failureReason property: Failure reason.- Returns:
- the failureReason value.
-
volumeName
String volumeName()
Gets the volumeName property: Volume name.- Returns:
- the volumeName value.
-
useExistingSnapshot
Boolean useExistingSnapshot()
Gets the useExistingSnapshot property: Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups.- Returns:
- the useExistingSnapshot 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
BackupInner innerModel()
Gets the inner com.azure.resourcemanager.netapp.fluent.models.BackupInner object.- Returns:
- the inner object.
-
update
Backup.Update update()
Begins update for the Backup resource.- Returns:
- the stage of resource update.
-
refresh
Backup refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Backup 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.
-
-