Interface Backup


public interface Backup
An immutable client-side representation of Backup.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static 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 Type
    Method
    Description
    Gets the backupId property: backupId UUID v4 used to identify the Backup.
    Gets the backupType property: backupType Type of backup Manual or Scheduled.
    Gets the creationDate property: creationDate 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 label property: Label for backup.
    Gets the location property: Resource location.
    Gets the name property: The name of the resource.
    Gets the provisioningState property: Azure lifecycle management.
    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
    Gets the region of the resource.
    Gets the name of the resource region.
    Gets the name of the resource group.
    Gets the size property: Size of backup.
    Gets the type property: The type of the resource.
    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: 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.
    • 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

      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.