Class Share

  • All Implemented Interfaces:
    com.microsoft.azure.toolkit.lib.common.model.AzResource, com.microsoft.azure.toolkit.lib.common.model.AzResourceBase, com.microsoft.azure.toolkit.lib.common.model.Deletable, com.microsoft.azure.toolkit.lib.common.model.Refreshable, StorageFile, IShareFile
    Direct Known Subclasses:
    ShareDraft

    public class Share
    extends com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource<Share,​StorageAccount,​com.azure.storage.file.share.ShareClient>
    implements com.microsoft.azure.toolkit.lib.common.model.Deletable, IShareFile
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        com.microsoft.azure.toolkit.lib.common.model.AzResource.Draft<T extends com.microsoft.azure.toolkit.lib.common.model.AzResource,​R extends Object>, com.microsoft.azure.toolkit.lib.common.model.AzResource.None, com.microsoft.azure.toolkit.lib.common.model.AzResource.Status
      • Nested classes/interfaces inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResourceBase

        com.microsoft.azure.toolkit.lib.common.model.AzResourceBase.FormalStatus
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ShareFileModule subFileModule  
      • Fields inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        CACHE_LIFETIME, NONE, RESOURCE_GROUP_PLACEHOLDER
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        Share​(Share origin)
      copy constructor
      protected Share​(String name, ShareModule module)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void download​(OutputStream output)  
      void download​(Path dest)  
      com.azure.storage.file.share.ShareDirectoryClient getClient()  
      java.time.OffsetDateTime getLastModified()  
      String getPath()  
      Share getShare()  
      com.azure.storage.file.share.ShareClient getShareClient()  
      List<com.microsoft.azure.toolkit.lib.common.model.AbstractAzResourceModule<?,​?,​?>> getSubModules()  
      String getUrl()  
      boolean isDirectory()  
      String loadStatus​(com.azure.storage.file.share.ShareClient remote)  
      • Methods inherited from class com.microsoft.azure.toolkit.lib.common.model.AbstractAzResource

        canEqual, delete, deleteFromCache, doModify, doModify, equals, exists, getId, getModule, getName, getParent, getRemote, getResourceGroup, getResourceGroupName, getStatus, getSubModule, hashCode, invalidateCache, isDraft, isDraftForCreating, isDraftForUpdating, loadRemote, refresh, refreshRemoteFromAzure, reloadStatus, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalProperties
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResource

        delete, exists, getFullResourceType, getId, getModule, getName, getPortalUrl, getResourceGroupName, getResourceTypeName, getStatus, getSubscription, getSubscriptionId, id, name, refresh
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.AzResourceBase

        getFormalStatus
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.common.model.Deletable

        delete
      • Methods inherited from interface com.microsoft.azure.toolkit.lib.storage.share.IShareFile

        getSasUrl