public class Share extends AbstractEmulatableAzResource<Share,StorageAccount,com.azure.storage.file.share.ShareClient> implements Deletable, IShareFile
StorageFile.Draft<T extends StorageFile,R>AzResource.FormalStatus, AzResource.None, AzResource.Status| Modifier and Type | Field and Description |
|---|---|
private ShareFileModule |
subFileModule |
CREATE_DIRECTORY, CREATE_FILE, OPEN_FILE, UPLOAD_FILESCACHE_LIFETIME, CONNECT_RESOURCE, CREATE_RESOURCE, DEPLOY, NONE, RESOURCE_GROUP_PLACEHOLDER| Modifier | Constructor and Description |
|---|---|
|
Share(Share origin)
copy constructor
|
protected |
Share(String name,
ShareModule module) |
| Modifier and Type | Method and 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<AbstractAzResourceModule<?,?,?>> |
getSubModules() |
String |
getUrl() |
boolean |
isDirectory() |
protected String |
loadStatus(com.azure.storage.file.share.ShareClient remote) |
exists, isAuthRequired, isEmulatorResourcecanEqual, delete, doModify, doModify, equals, getCachedSubModules, getId, getModule, getName, getParent, getRemote, getResourceGroup, getResourceGroupName, getStatus, getSubModule, hashCode, invalidateCache, is400, is404, isDraft, isDraftForCreating, isDraftForUpdating, isHttpException, isHttpException, loadRemoteFromAzure, onRemoteUpdated, refresh, remoteOptional, setRemote, setStatus, toString, update, updateAdditionalPropertiesclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSasUrlgetCreationTime, getFile, getSize, getSubFileModuledelete, exists, getFormalStatus, getFullResourceType, getModule, getPortalUrl, getResourceGroupName, getResourceTypeName, getStatus, getSubscription, getSubscriptionId, id, name, refreshgetId, getNameprivate final ShareFileModule subFileModule
protected Share(@Nonnull String name, @Nonnull ShareModule module)
@Nonnull public List<AbstractAzResourceModule<?,?,?>> getSubModules()
getSubModules in class AbstractAzResource<Share,StorageAccount,com.azure.storage.file.share.ShareClient>@Nonnull protected String loadStatus(@Nonnull com.azure.storage.file.share.ShareClient remote)
loadStatus in class AbstractAzResource<Share,StorageAccount,com.azure.storage.file.share.ShareClient>@Nullable public com.azure.storage.file.share.ShareDirectoryClient getClient()
getClient in interface StorageFile@Nullable public com.azure.storage.file.share.ShareClient getShareClient()
public Share getShare()
getShare in interface IShareFilepublic boolean isDirectory()
isDirectory in interface StorageFilepublic String getPath()
getPath in interface StorageFilepublic String getUrl()
getUrl in interface StorageFile@Nullable public java.time.OffsetDateTime getLastModified()
getLastModified in interface StorageFilepublic void download(OutputStream output)
download in interface StorageFilepublic void download(Path dest)
download in interface StorageFileCopyright © 2024. All rights reserved.