public interface StorageFile extends AzResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
StorageFile.Draft<T extends StorageFile,R> |
AzResource.FormalStatus, AzResource.None, AzResource.Status| Modifier and Type | Field and Description |
|---|---|
static Action.Id<StorageFile> |
CREATE_DIRECTORY |
static Action.Id<StorageFile> |
CREATE_FILE |
static Action.Id<StorageFile> |
OPEN_FILE |
static Action.Id<StorageFile> |
UPLOAD_FILES |
CACHE_LIFETIME, CONNECT_RESOURCE, CREATE_RESOURCE, DEPLOY, NONE, RESOURCE_GROUP_PLACEHOLDER| Modifier and Type | Method and Description |
|---|---|
void |
download(OutputStream output) |
void |
download(Path dest) |
Object |
getClient() |
default java.time.OffsetDateTime |
getCreationTime() |
default StorageFile |
getFile(String relativePath) |
java.time.OffsetDateTime |
getLastModified() |
String |
getPath() |
String |
getSasUrl() |
default long |
getSize() |
AbstractAzResourceModule<? extends StorageFile,? extends StorageFile,?> |
getSubFileModule() |
String |
getUrl() |
boolean |
isDirectory() |
delete, exists, getFormalStatus, getFullResourceType, getModule, getPortalUrl, getResourceGroupName, getResourceTypeName, getStatus, getSubscription, getSubscriptionId, id, name, refreshgetId, getNamestatic final Action.Id<StorageFile> OPEN_FILE
static final Action.Id<StorageFile> CREATE_FILE
static final Action.Id<StorageFile> CREATE_DIRECTORY
static final Action.Id<StorageFile> UPLOAD_FILES
AbstractAzResourceModule<? extends StorageFile,? extends StorageFile,?> getSubFileModule()
boolean isDirectory()
String getPath()
String getUrl()
String getSasUrl()
default long getSize()
@Nullable java.time.OffsetDateTime getLastModified()
@Nullable default java.time.OffsetDateTime getCreationTime()
void download(OutputStream output)
void download(Path dest)
@Nullable default StorageFile getFile(String relativePath)
Copyright © 2024. All rights reserved.