Interface Backup
public interface Backup
An immutable client-side representation of Backup.
-
Nested Class Summary
Modifier 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: backupIdGets the backupType property: backupTypeGets the creationDate property: creationDateGets 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.label()
Gets the label property: Label for backup.location()
Gets the location property: Resource location.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.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.size()
Gets the size property: Size of backup.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 volumeName property: Volume name.
-
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.
-
location
String location()Gets the location property: Resource location.- Returns:
- the location value.
-
backupId
String backupId()Gets the backupId property: backupIdUUID v4 used to identify the Backup.
- Returns:
- the backupId value.
-
creationDate
OffsetDateTime creationDate()Gets the creationDate property: creationDateThe 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: backupTypeType 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.
-
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.
-