Interface Snapshot


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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the Snapshot definition.
    static interface 
    The Snapshot definition stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the creationData property: Data used when creating a volume snapshot.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.elasticsan.fluent.models.SnapshotInner object.
    Gets the name property: The name of the resource.
    Gets the provisioningState property: State of the operation on the resource.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    Gets the sourceVolumeSizeGiB property: Size of Source Volume.
    com.azure.core.management.SystemData
    Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Gets the type property: The type of the resource.
    Gets the volumeName property: Source Volume Name of a snapshot.
  • 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.
    • creationData

      SnapshotCreationData creationData()
      Gets the creationData property: Data used when creating a volume snapshot.
      Returns:
      the creationData value.
    • provisioningState

      ProvisioningStates provisioningState()
      Gets the provisioningState property: State of the operation on the resource.
      Returns:
      the provisioningState value.
    • sourceVolumeSizeGiB

      Long sourceVolumeSizeGiB()
      Gets the sourceVolumeSizeGiB property: Size of Source Volume.
      Returns:
      the sourceVolumeSizeGiB value.
    • volumeName

      String volumeName()
      Gets the volumeName property: Source Volume Name of a snapshot.
      Returns:
      the volumeName value.
    • innerModel

      SnapshotInner innerModel()
      Gets the inner com.azure.resourcemanager.elasticsan.fluent.models.SnapshotInner object.
      Returns:
      the inner object.
    • refresh

      Snapshot refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      Snapshot 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.