Interface Backup
public interface Backup
An immutable client-side representation of Backup.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
The entirety of the Backup definition.static interface
The Backup definition stages.static interface
The template for Backup update.static interface
The Backup update stages. -
Method Summary
Modifier and TypeMethodDescriptionbackupId()
Gets the backupId property: UUID v4 used to identify the Backup.Gets the backupPolicyResourceId property: ResourceId used to identify the backup policy.Gets the backupType property: Type of backup Manual or Scheduled.Gets the completionDate property: The completion date of the backup.Gets the creationDate property: The creation date of the backup.Gets the failureReason property: Failure reason.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.netapp.fluent.models.BackupInner object.Gets the isLargeVolume property: Specifies if the backup is for a large volume.label()
Gets the label property: Label for backup.name()
Gets the name property: The name of the resource.Gets the provisioningState property: Azure lifecycle management.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.size()
Gets the size property: Size of backup in bytes.Gets the snapshotCreationDate property: The snapshot creation date of the backup.Gets the snapshotName property: The name of the snapshot.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.type()
Gets the type property: The type of the resource.update()
Begins update for the Backup resource.Gets the useExistingSnapshot property: Manual backup an already existing snapshot.Gets the volumeResourceId property: ResourceId used to identify the Volume.
-
Method Details
-
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.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
backupId
String backupId()Gets the backupId property: UUID v4 used to identify the Backup.- Returns:
- the backupId value.
-
creationDate
OffsetDateTime creationDate()Gets the creationDate property: The creation date of the backup.- Returns:
- the creationDate value.
-
snapshotCreationDate
OffsetDateTime snapshotCreationDate()Gets the snapshotCreationDate property: The snapshot creation date of the backup.- Returns:
- the snapshotCreationDate value.
-
completionDate
OffsetDateTime completionDate()Gets the completionDate property: The completion date of the backup.- Returns:
- the completionDate 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 in bytes.- 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: Type of backup Manual or Scheduled.- Returns:
- the backupType value.
-
failureReason
String failureReason()Gets the failureReason property: Failure reason.- Returns:
- the failureReason value.
-
volumeResourceId
String volumeResourceId()Gets the volumeResourceId property: ResourceId used to identify the Volume.- Returns:
- the volumeResourceId 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.
-
snapshotName
String snapshotName()Gets the snapshotName property: The name of the snapshot.- Returns:
- the snapshotName value.
-
backupPolicyResourceId
String backupPolicyResourceId()Gets the backupPolicyResourceId property: ResourceId used to identify the backup policy.- Returns:
- the backupPolicyResourceId value.
-
isLargeVolume
Boolean isLargeVolume()Gets the isLargeVolume property: Specifies if the backup is for a large volume.- Returns:
- the isLargeVolume value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
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
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-