|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AzureBlobClient
Provides access to Azure Blob via their REST API.
All commands return a Future of the result from Azure Blob. Any exceptions incurred during processing will be backend in anExecutionException as documented in Future#get().
| Method Summary | |
|---|---|
boolean |
blobExists(String container,
String name)
|
boolean |
containerExists(String container)
Issues a HEAD command to determine if the container exists or not. |
boolean |
createContainer(String container,
CreateContainerOptions... options)
The Create Container operation creates a new container under the specified identity. |
boolean |
createRootContainer(CreateContainerOptions... options)
The root container is a default container that may be inferred from a URL requesting a blob resource. |
void |
deleteBlob(String container,
String name)
The Delete Blob operation marks the specified blob for deletion. |
void |
deleteContainer(String container)
The Delete Container operation marks the specified container for deletion. |
void |
deleteRootContainer()
The Delete Container operation marks the specified container for deletion. |
AzureBlob |
getBlob(String container,
String name,
org.jclouds.http.options.GetOptions... options)
The Get Blob operation reads or downloads a blob from the system, including its metadata and properties. |
BlobProperties |
getBlobProperties(String container,
String name)
The Get Blob Properties operation returns all user-defined metadata, standard HTTP properties, and system properties for the blob. |
ListBlobBlocksResponse |
getBlockList(String container,
String name)
Get Block ID List for a blob |
ContainerProperties |
getContainerProperties(String container)
The Get Container Properties operation returns all user-defined metadata and system properties for the specified container. |
PublicAccess |
getPublicAccessForContainer(String container)
|
ListBlobsResponse |
listBlobs(ListBlobsOptions... options)
|
ListBlobsResponse |
listBlobs(String container,
ListBlobsOptions... options)
The List Blobs operation enumerates the list of blobs under the specified container. |
org.jclouds.azure.storage.domain.BoundedSet<ContainerProperties> |
listContainers(org.jclouds.azure.storage.options.ListOptions... listOptions)
The List Containers operation returns a list of the containers under the specified identity. |
AzureBlob |
newBlob()
|
String |
putBlob(String container,
AzureBlob object)
The Put Blob operation creates a new blob or updates the content of an existing blob. |
void |
putBlock(String container,
String name,
String blockId,
org.jclouds.io.Payload object)
The Put Block operation creates a block blob on Azure which can be later assembled into a single, large blob object with the Put Block List operation. |
String |
putBlockList(String container,
String name,
List<String> blockIdList)
The Put Block List assembles a list of blocks previously uploaded with Put Block into a single blob. |
void |
setBlobMetadata(String container,
String name,
Map<String,String> metadata)
|
void |
setResourceMetadata(String container,
Map<String,String> metadata)
The Set Container Metadata operation sets one or more user-defined name/value pairs for the specified container. |
| Method Detail |
|---|
@Provides AzureBlob newBlob()
org.jclouds.azure.storage.domain.BoundedSet<ContainerProperties> listContainers(org.jclouds.azure.storage.options.ListOptions... listOptions)
listOptions - controls the number or type of results requestedListOptions
boolean createContainer(String container,
CreateContainerOptions... options)
CreateContainerOptionsContainerProperties getContainerProperties(String container)
boolean containerExists(String container)
void setResourceMetadata(String container,
Map<String,String> metadata)
void deleteContainer(String container)
boolean createRootContainer(CreateContainerOptions... options)
CreateContainerOptionsPublicAccess getPublicAccessForContainer(String container)
container -
void deleteRootContainer()
deleteContainer(String),
createRootContainer(CreateContainerOptions)
ListBlobsResponse listBlobs(String container,
ListBlobsOptions... options)
ListBlobsResponse listBlobs(ListBlobsOptions... options)
String putBlob(String container,
AzureBlob object)
AzureBlob getBlob(String container,
String name,
org.jclouds.http.options.GetOptions... options)
void putBlock(String container,
String name,
String blockId,
org.jclouds.io.Payload object)
String putBlockList(String container,
String name,
List<String> blockIdList)
ListBlobBlocksResponse getBlockList(String container,
String name)
BlobProperties getBlobProperties(String container,
String name)
void setBlobMetadata(String container,
String name,
Map<String,String> metadata)
void deleteBlob(String container,
String name)
boolean blobExists(String container,
String name)
ContainerNotFoundException - if the container is not present.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||