Interface Backup


  • public interface Backup
    An immutable client-side representation of Backup.
    • 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.