Interface Snapshot

    • Method Detail

      • incremental

        boolean incremental()
        Returns:
        whether a snapshot is incremental
      • creationMethod

        DiskCreateOption creationMethod()
        Returns:
        the snapshot creation method
      • sizeInGB

        int sizeInGB()
        Returns:
        disk size in GB
      • source

        CreationSource source()
        Returns:
        the details of the source from which snapshot is created
      • grantAccess

        String grantAccess​(int accessDurationInSeconds)
        Grants access to the snapshot.
        Parameters:
        accessDurationInSeconds - the access duration in seconds
        Returns:
        the read-only SAS URI to the snapshot
      • grantAccessAsync

        Mono<String> grantAccessAsync​(int accessDurationInSeconds)
        Grants access to the snapshot asynchronously.
        Parameters:
        accessDurationInSeconds - the access duration in seconds
        Returns:
        a representation of the deferred computation of this call returning a read-only SAS URI to the disk
      • revokeAccess

        void revokeAccess()
        Revoke access granted to the snapshot.
      • revokeAccessAsync

        Mono<Void> revokeAccessAsync()
        Revoke access granted to the snapshot asynchronously.
        Returns:
        a representation of the deferred computation of this call