Package | Description |
---|---|
com.microsoft.azure.storage.blob |
This package contains the storage service blob classes.
|
com.microsoft.azure.storage.core |
FOR INTERNAL USE ONLY.
|
com.microsoft.azure.storage.file |
This package contains the storage service file classes.
|
com.microsoft.azure.storage.queue |
This package contains the storage service queue classes.
|
com.microsoft.azure.storage.table |
This package contains the storage service table classes.
|
Modifier and Type | Method and Description |
---|---|
void |
CloudBlob.abortCopy(String copyId)
Aborts an ongoing blob copy operation.
|
void |
CloudBlob.abortCopy(String copyId,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Aborts an ongoing blob copy operation.
|
String |
CloudBlobContainer.acquireLease()
Acquires a new infinite lease on the container.
|
String |
CloudBlob.acquireLease()
Acquires a new infinite lease on the blob.
|
String |
CloudBlobContainer.acquireLease(Integer leaseTimeInSeconds,
String proposedLeaseId)
Acquires a new lease on the container with the specified lease time and proposed lease ID.
|
String |
CloudBlob.acquireLease(Integer leaseTimeInSeconds,
String proposedLeaseId)
Acquires a new lease on the blob with the specified lease time and proposed lease ID.
|
String |
CloudBlobContainer.acquireLease(Integer leaseTimeInSeconds,
String proposedLeaseId,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Acquires a new lease on the container with the specified lease time, proposed lease ID, request
options, and operation context.
|
String |
CloudBlob.acquireLease(Integer leaseTimeInSeconds,
String proposedLeaseId,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Acquires a new lease on the blob with the specified lease time, proposed lease ID, request
options, and operation context.
|
void |
CloudAppendBlob.append(InputStream sourceStream,
long length)
Appends a stream to an append blob.
|
void |
CloudAppendBlob.append(InputStream sourceStream,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Appends a stream to an append blob.
|
Long |
CloudAppendBlob.appendBlock(InputStream sourceStream,
long length)
Commits a new block of data to the end of the blob.
|
Long |
CloudAppendBlob.appendBlock(InputStream sourceStream,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Commits a new block of data to the end of the blob.
|
long |
CloudBlobContainer.breakLease(Integer breakPeriodInSeconds)
Breaks the lease and ensures that another client cannot acquire a new lease until the current lease
period has expired.
|
long |
CloudBlob.breakLease(Integer breakPeriodInSeconds)
Breaks the lease and ensures that another client cannot acquire a new lease until the current lease period
has expired.
|
long |
CloudBlobContainer.breakLease(Integer breakPeriodInSeconds,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Breaks the existing lease, using the specified request options and operation context, and ensures that
another client cannot acquire a new lease until the current lease period has expired.
|
long |
CloudBlob.breakLease(Integer breakPeriodInSeconds,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Breaks the existing lease, using the specified request options and operation context, and ensures that another
client cannot acquire a new lease until the current lease period has expired.
|
String |
CloudBlobContainer.changeLease(String proposedLeaseId,
AccessCondition accessCondition)
Changes the existing lease ID to the proposed lease ID.
|
String |
CloudBlob.changeLease(String proposedLeaseId,
AccessCondition accessCondition)
Changes the existing lease ID to the proposed lease ID.
|
String |
CloudBlobContainer.changeLease(String proposedLeaseId,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Changes the existing lease ID to the proposed lease Id with the specified access conditions, request options,
and operation context.
|
String |
CloudBlob.changeLease(String proposedLeaseId,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Changes the existing lease ID to the proposed lease Id with the specified access conditions, request options,
and operation context.
|
void |
CloudPageBlob.clearPages(long offset,
long length)
Clears pages from a page blob.
|
void |
CloudPageBlob.clearPages(long offset,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Clears pages from a page blob using the specified lease ID, request options, and operation context.
|
abstract void |
BlobOutputStream.close()
Closes this output stream and releases any system resources associated with this stream.
|
void |
CloudBlockBlob.commitBlockList(Iterable<BlockEntry> blockList)
Commits a block list to the storage service.
|
void |
CloudBlockBlob.commitBlockList(Iterable<BlockEntry> blockList,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Commits a block list to the storage service using the specified lease ID, request options, and operation context.
|
void |
CloudBlobContainer.create()
Creates the container.
|
void |
CloudBlobContainer.create(BlobContainerPublicAccessType accessType,
BlobRequestOptions options,
OperationContext opContext)
Creates the container using the specified options and operation context.
|
void |
CloudBlobContainer.create(BlobRequestOptions options,
OperationContext opContext)
Creates the container using the specified options and operation context.
|
void |
CloudPageBlob.create(long length)
Creates a page blob.
|
void |
CloudPageBlob.create(long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Creates a page blob using the specified request options and operation context.
|
void |
CloudPageBlob.create(long length,
PremiumPageBlobTier premiumBlobTier,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Creates a page blob using the specified request options and operation context.
|
boolean |
CloudBlobContainer.createIfNotExists()
Creates the container if it does not exist.
|
boolean |
CloudBlobContainer.createIfNotExists(BlobContainerPublicAccessType accessType,
BlobRequestOptions options,
OperationContext opContext)
Creates the container if it does not exist, using the specified request options and operation context.
|
boolean |
CloudBlobContainer.createIfNotExists(BlobRequestOptions options,
OperationContext opContext)
Creates the container if it does not exist, using the specified request options and operation context.
|
void |
CloudAppendBlob.createOrReplace()
Creates an empty append blob.
|
void |
CloudAppendBlob.createOrReplace(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Creates an append blob using the specified request options and operation context.
|
CloudBlob |
CloudBlob.createSnapshot()
Creates a snapshot of the blob.
|
CloudBlob |
CloudBlob.createSnapshot(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Creates a snapshot of the blob using the specified request options and operation context.
|
CloudBlob |
CloudBlob.createSnapshot(HashMap<String,String> metadata,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Creates a snapshot of the blob using the specified request options and operation context.
|
void |
CloudBlobContainer.delete()
Deletes the container.
|
void |
CloudBlob.delete()
Deletes the blob.
|
void |
CloudBlobContainer.delete(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Deletes the container using the specified request options and operation context.
|
void |
CloudBlob.delete(DeleteSnapshotsOption deleteSnapshotsOption,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Deletes the blob using the specified snapshot and request options, and operation context.
|
boolean |
CloudBlobContainer.deleteIfExists()
Deletes the container if it exists.
|
boolean |
CloudBlob.deleteIfExists()
Deletes the blob if it exists.
|
boolean |
CloudBlobContainer.deleteIfExists(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Deletes the container if it exists using the specified request options and operation context.
|
boolean |
CloudBlob.deleteIfExists(DeleteSnapshotsOption deleteSnapshotsOption,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Deletes the blob if it exists, using the specified snapshot and request options, and operation context.
|
void |
CloudBlob.download(OutputStream outStream)
Downloads the contents of a blob to a stream.
|
void |
CloudBlob.download(OutputStream outStream,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads the contents of a blob to a stream using the specified request options and operation context.
|
void |
CloudBlobContainer.downloadAttributes()
Downloads the container's attributes, which consist of metadata and properties.
|
void |
CloudBlob.downloadAttributes()
Populates a blob's properties and metadata.
|
void |
CloudBlobContainer.downloadAttributes(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads the container's attributes, which consist of metadata and properties, using the specified request
options and operation context.
|
void |
CloudBlob.downloadAttributes(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Populates a blob's properties and metadata using the specified request options and operation context.
|
ArrayList<BlockEntry> |
CloudBlockBlob.downloadBlockList()
Downloads the committed block list from the block blob.
|
ArrayList<BlockEntry> |
CloudBlockBlob.downloadBlockList(BlockListingFilter blockListingFilter,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads the block list from the block blob using the specified block listing filter, request options, and
operation context.
|
ArrayList<PageRange> |
CloudPageBlob.downloadPageRanges()
Returns a collection of page ranges and their starting and ending byte offsets.
|
ArrayList<PageRange> |
CloudPageBlob.downloadPageRanges(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Returns a collection of page ranges and their starting and ending byte offsets using the specified request
options and operation context.
|
List<PageRange> |
CloudPageBlob.downloadPageRanges(long offset,
Long length)
Returns a collection of page ranges and their starting and ending byte offsets.
|
List<PageRange> |
CloudPageBlob.downloadPageRanges(long offset,
Long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Returns a collection of page ranges and their starting and ending byte offsets using the specified request
options and operation context.
|
List<PageRangeDiff> |
CloudPageBlob.downloadPageRangesDiff(String previousSnapshot)
Gets the collection of page ranges that differ between a specified snapshot and this object.
|
List<PageRangeDiff> |
CloudPageBlob.downloadPageRangesDiff(String previousSnapshot,
Long offset,
Long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Gets the collection of page ranges that differ between a specified snapshot and this object.
|
BlobContainerPermissions |
CloudBlobContainer.downloadPermissions()
Downloads the permission settings for the container.
|
BlobContainerPermissions |
CloudBlobContainer.downloadPermissions(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads the permissions settings for the container using the specified request options and operation context.
|
void |
CloudBlob.downloadRange(long offset,
Long length,
OutputStream outStream)
Downloads the contents of a blob to a stream.
|
void |
CloudBlob.downloadRange(long offset,
Long length,
OutputStream outStream,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads the contents of a blob to a stream using the specified request options and operation context.
|
protected int |
CloudBlob.downloadRangeInternal(long blobOffset,
Long length,
byte[] buffer,
int bufferOffset,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads a range of bytes from the blob to the given byte buffer.
|
int |
CloudBlob.downloadRangeToByteArray(long offset,
Long length,
byte[] buffer,
int bufferOffset)
Downloads a range of bytes from the blob to the given byte buffer.
|
int |
CloudBlob.downloadRangeToByteArray(long offset,
Long length,
byte[] buffer,
int bufferOffset,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads a range of bytes from the blob to the given byte buffer, using the specified request options and
operation context.
|
ServiceProperties |
CloudBlobClient.downloadServiceProperties()
Retrieves the current
ServiceProperties for the given storage service. |
ServiceProperties |
CloudBlobClient.downloadServiceProperties(BlobRequestOptions options,
OperationContext opContext)
Retrieves the current
ServiceProperties for the given storage service. |
int |
CloudBlob.downloadToByteArray(byte[] buffer,
int bufferOffset)
Downloads a range of bytes from the blob to the given byte buffer.
|
int |
CloudBlob.downloadToByteArray(byte[] buffer,
int bufferOffset,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads a range of bytes from the blob to the given byte buffer, using the specified request options and
operation context.
|
boolean |
CloudBlobContainer.exists()
Returns a value that indicates whether the container exists.
|
boolean |
CloudBlob.exists()
Checks to see if the blob exists.
|
boolean |
CloudBlobContainer.exists(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Returns a value that indicates whether the container exists, using the specified request options and operation
context.
|
boolean |
CloudBlob.exists(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Checks to see if the blob exists, using the specified request options and operation context.
|
abstract void |
BlobOutputStream.flush()
Flushes this output stream and forces any buffered output bytes to be written out.
|
CloudBlob |
CloudBlobContainer.getBlobReferenceFromServer(String blobName)
Gets a reference to a blob in this container.
|
CloudBlob |
CloudBlobContainer.getBlobReferenceFromServer(String blobName,
String snapshotID,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Gets a reference to a blob in this container.
|
ServiceStats |
CloudBlobClient.getServiceStats()
Queries the service for the
ServiceStats . |
ServiceStats |
CloudBlobClient.getServiceStats(BlobRequestOptions options,
OperationContext opContext)
Queries the given storage service for the
ServiceStats . |
Iterable<ListBlobItem> |
CloudBlobContainer.listBlobs()
Returns an enumerable collection of blob items for the container.
|
Iterable<ListBlobItem> |
CloudBlobDirectory.listBlobs()
Returns an enumerable collection of blob items for the directory.
|
Iterable<ListBlobItem> |
CloudBlobContainer.listBlobs(String prefix)
Returns an enumerable collection of blob items for the container whose names begin with the specified prefix.
|
Iterable<ListBlobItem> |
CloudBlobDirectory.listBlobs(String prefix)
Returns an enumerable collection of blob items whose names begin with the specified prefix for the directory.
|
Iterable<ListBlobItem> |
CloudBlobContainer.listBlobs(String prefix,
boolean useFlatBlobListing)
Returns an enumerable collection of blob items for the container whose names begin with the specified prefix
using the specified flat or hierarchical option.
|
Iterable<ListBlobItem> |
CloudBlobContainer.listBlobs(String prefix,
boolean useFlatBlobListing,
EnumSet<BlobListingDetails> listingDetails,
BlobRequestOptions options,
OperationContext opContext)
Returns an enumerable collection of blob items for the container whose names begin with the specified prefix,
using the specified flat or hierarchical option, listing details options, request options, and operation context.
|
Iterable<ListBlobItem> |
CloudBlobDirectory.listBlobs(String prefix,
boolean useFlatBlobListing,
EnumSet<BlobListingDetails> listingDetails,
BlobRequestOptions options,
OperationContext opContext)
Returns an enumerable collection of blob items whose names begin with the specified prefix, using the specified
flat or hierarchical option, listing details options, request options, and operation context.
|
ResultSegment<ListBlobItem> |
CloudBlobContainer.listBlobsSegmented()
Returns a result segment of an enumerable collection of blob items in the container.
|
ResultSegment<ListBlobItem> |
CloudBlobDirectory.listBlobsSegmented()
Returns a result segment of an enumerable collection of blob items in the directory.
|
ResultSegment<ListBlobItem> |
CloudBlobContainer.listBlobsSegmented(String prefix)
Returns a result segment containing a collection of blob items whose names begin with the specified prefix.
|
ResultSegment<ListBlobItem> |
CloudBlobDirectory.listBlobsSegmented(String prefix)
Returns a result segment containing a collection of blob items whose names begin with the specified prefix.
|
ResultSegment<ListBlobItem> |
CloudBlobContainer.listBlobsSegmented(String prefix,
boolean useFlatBlobListing,
EnumSet<BlobListingDetails> listingDetails,
Integer maxResults,
ResultContinuation continuationToken,
BlobRequestOptions options,
OperationContext opContext)
Returns a result segment containing a collection of blob items whose names begin with the
specified prefix, using the specified flat or hierarchical option, listing details options,
request options, and operation context.
|
ResultSegment<ListBlobItem> |
CloudBlobDirectory.listBlobsSegmented(String prefix,
boolean useFlatBlobListing,
EnumSet<BlobListingDetails> listingDetails,
Integer maxResults,
ResultContinuation continuationToken,
BlobRequestOptions options,
OperationContext opContext)
Returns a result segment containing a collection of blob items whose names begin with the specified prefix, using
the specified flat or hierarchical option, listing details options, request options, and operation context.
|
Iterable<CloudBlobContainer> |
CloudBlobContainer.listContainers()
Returns an enumerable collection of containers for the service client associated with this container.
|
Iterable<CloudBlobContainer> |
CloudBlobClient.listContainers()
Returns an enumerable collection of blob containers for this Blob service client.
|
Iterable<CloudBlobContainer> |
CloudBlobContainer.listContainers(String prefix)
Returns an enumerable collection of containers whose names begin with the specified prefix for the service client
associated with this container.
|
Iterable<CloudBlobContainer> |
CloudBlobClient.listContainers(String prefix)
Returns an enumerable collection of blob containers whose names begin with the specified prefix for this Blob
service client.
|
Iterable<CloudBlobContainer> |
CloudBlobContainer.listContainers(String prefix,
ContainerListingDetails detailsIncluded,
BlobRequestOptions options,
OperationContext opContext)
Returns an enumerable collection of containers whose names begin with the specified prefix for the service client
associated with this container, using the specified details setting, request options, and operation context.
|
Iterable<CloudBlobContainer> |
CloudBlobClient.listContainers(String prefix,
ContainerListingDetails detailsIncluded,
BlobRequestOptions options,
OperationContext opContext)
Returns an enumerable collection of blob containers whose names begin with the specified prefix for this Blob
service client, using the specified details setting, request options, and operation context.
|
ResultSegment<CloudBlobContainer> |
CloudBlobContainer.listContainersSegmented()
Returns a result segment of an enumerable collection of containers for the service client associated with this
container.
|
ResultSegment<CloudBlobContainer> |
CloudBlobClient.listContainersSegmented()
Returns a result segment of an enumerable collection of blob containers for this Blob service client.
|
ResultSegment<CloudBlobContainer> |
CloudBlobContainer.listContainersSegmented(String prefix)
Returns a result segment of an enumerable collection of containers whose names begin with the specified prefix
for the service client associated with this container.
|
ResultSegment<CloudBlobContainer> |
CloudBlobClient.listContainersSegmented(String prefix)
Returns a result segment of an enumerable collection of blob containers whose names begin with the specified
prefix for this Blob service client.
|
ResultSegment<CloudBlobContainer> |
CloudBlobContainer.listContainersSegmented(String prefix,
ContainerListingDetails detailsIncluded,
Integer maxResults,
ResultContinuation continuationToken,
BlobRequestOptions options,
OperationContext opContext)
Returns a result segment containing a collection of containers whose names begin with
the specified prefix for the service client associated with this container,
using the specified listing details options, request options, and operation context.
|
ResultSegment<CloudBlobContainer> |
CloudBlobClient.listContainersSegmented(String prefix,
ContainerListingDetails detailsIncluded,
Integer maxResults,
ResultContinuation continuationToken,
BlobRequestOptions options,
OperationContext opContext)
Returns a result segment of an enumerable collection of blob containers whose names begin with the specified
prefix for this Blob service client, using the specified listing details options, request options, and operation
context.
|
BlobInputStream |
CloudBlob.openInputStream()
Opens a blob input stream to download the blob.
|
BlobInputStream |
CloudBlob.openInputStream(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Opens a blob input stream to download the blob using the specified request options and operation context.
|
BlobOutputStream |
CloudAppendBlob.openWriteExisting()
Opens an output stream object to write data to the append blob.
|
BlobOutputStream |
CloudPageBlob.openWriteExisting()
Opens an output stream object to write data to the page blob.
|
BlobOutputStream |
CloudAppendBlob.openWriteExisting(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Opens an output stream object to write data to the append blob, using the specified lease ID, request options and
operation context.
|
BlobOutputStream |
CloudPageBlob.openWriteExisting(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Opens an output stream object to write data to the page blob, using the specified lease ID, request options and
operation context.
|
BlobOutputStream |
CloudAppendBlob.openWriteNew()
Opens an output stream object to write data to the append blob.
|
BlobOutputStream |
CloudAppendBlob.openWriteNew(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Opens an output stream object to write data to the append blob, using the specified lease ID, request options and
operation context.
|
BlobOutputStream |
CloudPageBlob.openWriteNew(long length)
Opens an output stream object to write data to the page blob.
|
BlobOutputStream |
CloudPageBlob.openWriteNew(long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Opens an output stream object to write data to the page blob, using the specified lease ID, request options and
operation context.
|
BlobOutputStream |
CloudPageBlob.openWriteNew(long length,
PremiumPageBlobTier premiumBlobTier,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Opens an output stream object to write data to the page blob, using the specified lease ID, request options and
operation context.
|
int |
BlobInputStream.read()
Reads the next byte of data from the input stream.
|
int |
BlobInputStream.read(byte[] b)
Reads some number of bytes from the input stream and stores them into the buffer array
b . |
int |
BlobInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the input stream into an array of bytes. |
void |
CloudBlobContainer.releaseLease(AccessCondition accessCondition)
Releases the lease on the container.
|
void |
CloudBlob.releaseLease(AccessCondition accessCondition)
Releases the lease on the blob.
|
void |
CloudBlobContainer.releaseLease(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Releases the lease on the container using the specified access conditions, request options, and operation
context.
|
void |
CloudBlob.releaseLease(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Releases the lease on the blob using the specified request options and operation context.
|
void |
CloudBlobContainer.renewLease(AccessCondition accessCondition)
Renews an existing lease with the specified access conditions.
|
void |
CloudBlob.renewLease(AccessCondition accessCondition)
Renews an existing lease.
|
void |
CloudBlobContainer.renewLease(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Renews an existing lease with the specified access conditions, request options, and operation context.
|
void |
CloudBlob.renewLease(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Renews an existing lease using the specified request options and operation context.
|
String |
CloudAppendBlob.startCopy(CloudAppendBlob sourceBlob)
Requests the service to start copying a append blob's contents, properties, and metadata to a new append blob.
|
String |
CloudAppendBlob.startCopy(CloudAppendBlob sourceBlob,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
BlobRequestOptions options,
OperationContext opContext)
Requests the service to start copying a append blob's contents, properties, and metadata to a new append blob,
using the specified access conditions, lease ID, request options, and operation context.
|
String |
CloudBlockBlob.startCopy(CloudBlockBlob sourceBlob)
Requests the service to start copying a block blob's contents, properties, and metadata to a new block blob.
|
String |
CloudBlockBlob.startCopy(CloudBlockBlob sourceBlob,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
BlobRequestOptions options,
OperationContext opContext)
Requests the service to start copying a block blob's contents, properties, and metadata to a new block blob,
using the specified access conditions, lease ID, request options, and operation context.
|
String |
CloudBlockBlob.startCopy(CloudFile sourceFile)
Requests the service to start copying a file's contents, properties, and metadata to a new block blob.
|
String |
CloudBlockBlob.startCopy(CloudFile sourceFile,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
BlobRequestOptions options,
OperationContext opContext)
Requests the service to start copying a file's contents, properties, and metadata to a new block blob,
using the specified access conditions, lease ID, request options, and operation context.
|
String |
CloudPageBlob.startCopy(CloudPageBlob sourceBlob)
Requests the service to start copying a blob's contents, properties, and metadata to a new blob.
|
String |
CloudPageBlob.startCopy(CloudPageBlob sourceBlob,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
BlobRequestOptions options,
OperationContext opContext)
Requests the service to start copying a blob's contents, properties, and metadata to a new blob, using the
specified access conditions, lease ID, request options, and operation context.
|
String |
CloudPageBlob.startCopy(CloudPageBlob sourceBlob,
PremiumPageBlobTier premiumBlobTier,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
BlobRequestOptions options,
OperationContext opContext)
Requests the service to start copying a blob's contents, properties, and metadata to a new blob, using the
specified blob tier, access conditions, lease ID, request options, and operation context.
|
String |
CloudBlob.startCopy(URI source)
Requests the service to start copying a URI's contents, properties, and metadata to a new blob.
|
String |
CloudBlob.startCopy(URI source,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
BlobRequestOptions options,
OperationContext opContext)
Requests the service to start copying a URI's contents, properties, and metadata to a new blob, using the
specified access conditions, lease ID, request options, and operation context.
|
protected String |
CloudBlob.startCopy(URI source,
PremiumPageBlobTier premiumPageBlobTier,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
BlobRequestOptions options,
OperationContext opContext)
Requests the service to start copying a URI's contents, properties, and metadata to a new blob, using the
specified premium page blob tier, access conditions, lease ID, request options, and operation context.
|
String |
CloudPageBlob.startIncrementalCopy(CloudPageBlob sourceSnapshot)
Requests the service to start an incremental copy of another page blob's contents, properties, and metadata
to this blob.
|
String |
CloudPageBlob.startIncrementalCopy(CloudPageBlob sourceSnapshot,
AccessCondition destinationAccessCondition,
BlobRequestOptions options,
OperationContext opContext)
Requests the service to start copying a blob's contents, properties, and metadata to a new blob, using the
specified access conditions, lease ID, request options, and operation context.
|
String |
CloudPageBlob.startIncrementalCopy(URI sourceSnapshot)
Requests the service to start an incremental copy of another page blob's contents, properties, and metadata
to this blob.
|
String |
CloudPageBlob.startIncrementalCopy(URI sourceSnapshot,
AccessCondition destinationAccessCondition,
BlobRequestOptions options,
OperationContext opContext)
Requests the service to start copying a blob's contents, properties, and metadata to a new blob, using the
specified access conditions, lease ID, request options, and operation context.
|
void |
CloudBlockBlob.upload(InputStream sourceStream,
long length)
Uploads the source stream data to the block blob.
|
abstract void |
CloudBlob.upload(InputStream sourceStream,
long length)
Uploads the source stream data to the blob.
|
void |
CloudAppendBlob.upload(InputStream sourceStream,
long length)
Uploads the source stream data to the append blob.
|
void |
CloudPageBlob.upload(InputStream sourceStream,
long length)
Uploads the source stream data to the page blob.
|
void |
CloudBlockBlob.upload(InputStream sourceStream,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads the source stream data to the blob, using the specified lease ID, request options, and operation context.
|
abstract void |
CloudBlob.upload(InputStream sourceStream,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads the source stream data to the blob using the specified lease ID, request options, and operation context.
|
void |
CloudAppendBlob.upload(InputStream sourceStream,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads the source stream data to the append blob using the specified lease ID, request options, and operation
context.
|
void |
CloudPageBlob.upload(InputStream sourceStream,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads the source stream data to the page blob using the specified lease ID, request options, and operation
context.
|
void |
CloudPageBlob.upload(InputStream sourceStream,
long length,
PremiumPageBlobTier premiumBlobTier,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads the source stream data to the page blob using the specified lease ID, request options, and operation
context.
|
void |
CloudBlockBlob.uploadBlock(String blockId,
InputStream sourceStream,
long length)
Uploads a block to be committed as part of the block blob, using the specified block ID.
|
void |
CloudBlockBlob.uploadBlock(String blockId,
InputStream sourceStream,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a block to be committed as part of the block blob, using the specified block ID, the specified lease ID,
request options, and operation context.
|
protected void |
CloudBlockBlob.uploadFullBlob(InputStream sourceStream,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a blob in a single operation.
|
void |
CloudBlobContainer.uploadMetadata()
Uploads the container's metadata.
|
void |
CloudBlob.uploadMetadata()
Uploads the blob's metadata to the storage service.
|
void |
CloudBlobContainer.uploadMetadata(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads the container's metadata using the specified request options and operation context.
|
void |
CloudBlob.uploadMetadata(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads the blob's metadata to the storage service using the specified lease ID, request options, and operation
context.
|
void |
CloudPageBlob.uploadPages(InputStream sourceStream,
long offset,
long length)
Uploads a range of contiguous pages, up to 4 MB in size, at the specified offset in the page blob.
|
void |
CloudPageBlob.uploadPages(InputStream sourceStream,
long offset,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a range of contiguous pages, up to 4 MB in size, at the specified offset in the page blob, using the
specified lease ID, request options, and operation context.
|
void |
CloudBlobContainer.uploadPermissions(BlobContainerPermissions permissions)
Uploads the container's permissions.
|
void |
CloudBlobContainer.uploadPermissions(BlobContainerPermissions permissions,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads the container's permissions using the specified request options and operation context.
|
void |
CloudPageBlob.uploadPremiumPageBlobTier(PremiumPageBlobTier premiumBlobTier)
Sets the blob tier on a page blob on a premium storage account.
|
void |
CloudPageBlob.uploadPremiumPageBlobTier(PremiumPageBlobTier premiumBlobTier,
BlobRequestOptions options,
OperationContext opContext)
Sets the tier on a page blob on a premium storage account.
|
void |
CloudBlob.uploadProperties()
Updates the blob's properties to the storage service.
|
void |
CloudBlob.uploadProperties(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Updates the blob's properties using the specified lease ID, request options, and operation context.
|
void |
CloudBlobClient.uploadServiceProperties(ServiceProperties properties)
Uploads a new
ServiceProperties configuration to the given storage service. |
void |
CloudBlobClient.uploadServiceProperties(ServiceProperties properties,
BlobRequestOptions options,
OperationContext opContext)
Uploads a new
ServiceProperties configuration to the given storage service. |
void |
CloudBlockBlob.uploadStandardBlobTier(StandardBlobTier standardBlobTier)
Sets the blob tier on a block blob on a standard storage account.
|
void |
CloudBlockBlob.uploadStandardBlobTier(StandardBlobTier standardBlobTier,
BlobRequestOptions options,
OperationContext opContext)
Sets the tier on a block blob on a standard storage account.
|
void |
BlobOutputStream.write(byte[] data)
Writes
b.length bytes from the specified byte array to this output stream. |
abstract void |
BlobOutputStream.write(byte[] data,
int offset,
int length)
Writes length bytes from the specified byte array starting at offset to this output stream.
|
abstract void |
BlobOutputStream.write(InputStream sourceStream,
long writeLength)
Writes all data from the InputStream to the Blob.
|
void |
BlobOutputStream.write(int byteVal)
Writes the specified byte to this output stream.
|
Constructor and Description |
---|
BlobInputStream(CloudBlob parentBlob,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Initializes a new instance of the BlobInputStream class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LazySegmentedIterator.hasNext()
Indicates if the iterator has another element.
|
Modifier and Type | Method and Description |
---|---|
void |
CloudFile.abortCopy(String copyId)
Aborts an ongoing Azure File copy operation.
|
void |
CloudFile.abortCopy(String copyId,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Aborts an ongoing Azure File copy operation.
|
void |
CloudFile.clearRange(long offset,
long length)
Clears a range from a file.
|
void |
CloudFile.clearRange(long offset,
long length,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Clears a range from a file using the specified lease ID, request options, and operation context.
|
void |
FileOutputStream.close()
Closes this output stream and releases any system resources associated with this stream.
|
void |
CloudFileShare.create()
Creates the share.
|
void |
CloudFileDirectory.create()
Creates the directory.
|
void |
CloudFileShare.create(FileRequestOptions options,
OperationContext opContext)
Creates the share using the specified options and operation context.
|
void |
CloudFileDirectory.create(FileRequestOptions options,
OperationContext opContext)
Creates the directory using the specified options and operation context.
|
void |
CloudFile.create(long size)
Creates a file.
|
void |
CloudFile.create(long size,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Creates a file using the specified access condition, request options and operation context.
|
boolean |
CloudFileShare.createIfNotExists()
Creates the share if it does not exist.
|
boolean |
CloudFileDirectory.createIfNotExists()
Creates the directory if it does not exist.
|
boolean |
CloudFileShare.createIfNotExists(FileRequestOptions options,
OperationContext opContext)
Creates the share if it does not exist, using the specified request options and operation context.
|
boolean |
CloudFileDirectory.createIfNotExists(FileRequestOptions options,
OperationContext opContext)
Creates the directory if it does not exist, using the specified request options and operation context.
|
CloudFileShare |
CloudFileShare.createSnapshot()
Creates a snapshot of the share.
|
CloudFileShare |
CloudFileShare.createSnapshot(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Creates a snapshot of the file share using the specified request options and operation context.
|
CloudFileShare |
CloudFileShare.createSnapshot(HashMap<String,String> metadata,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Creates a snapshot of the file share using the specified request options and operation context.
|
void |
CloudFileShare.delete()
Deletes the share.
|
void |
CloudFileDirectory.delete()
Deletes the directory.
|
void |
CloudFile.delete()
Deletes the file.
|
void |
CloudFileShare.delete(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Deletes the share using the specified request options and operation context.
|
void |
CloudFileDirectory.delete(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Deletes the directory using the specified request options and operation context.
|
void |
CloudFile.delete(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Deletes the file using the specified access condition, request options, and operation context.
|
void |
CloudFileShare.delete(DeleteShareSnapshotsOption deleteSnapshotsOption,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Deletes the share using the specified snapshot and request options, and operation context.
|
boolean |
CloudFileShare.deleteIfExists()
Deletes the share if it exists.
|
boolean |
CloudFileDirectory.deleteIfExists()
Deletes the directory if it exists.
|
boolean |
CloudFile.deleteIfExists()
Deletes the file if it exists.
|
boolean |
CloudFileShare.deleteIfExists(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Deletes the share if it exists using the specified request options and operation context.
|
boolean |
CloudFileDirectory.deleteIfExists(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Deletes the directory if it exists using the specified request options and operation context.
|
boolean |
CloudFile.deleteIfExists(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Deletes the file if it exists, using the specified access condition, request options, and operation context.
|
boolean |
CloudFileShare.deleteIfExists(DeleteShareSnapshotsOption deleteSnapshotsOption,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Deletes the share if it exists, using the specified snapshot and request options, and operation context.
|
void |
CloudFile.download(OutputStream outStream)
Downloads the contents of a file to a stream.
|
void |
CloudFile.download(OutputStream outStream,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads the contents of a file to a stream using the specified request options and operation context.
|
void |
CloudFileShare.downloadAttributes()
Downloads the share's attributes, which consist of metadata and properties.
|
void |
CloudFileDirectory.downloadAttributes()
Downloads the directory's properties.
|
void |
CloudFile.downloadAttributes()
Populates a file's properties and metadata.
|
void |
CloudFileShare.downloadAttributes(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads the share's attributes, which consist of metadata and properties, using the specified request
options and operation context.
|
void |
CloudFileDirectory.downloadAttributes(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads the directory's properties using the specified request options and operation context.
|
void |
CloudFile.downloadAttributes(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Populates a file's properties and metadata using the specified request options and operation context.
|
ArrayList<FileRange> |
CloudFile.downloadFileRanges()
Returns a collection of file ranges and their starting and ending byte offsets.
|
ArrayList<FileRange> |
CloudFile.downloadFileRanges(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Returns a collection of file ranges and their starting and ending byte offsets using the specified request
options and operation context.
|
FileSharePermissions |
CloudFileShare.downloadPermissions()
Downloads the permission settings for the share.
|
FileSharePermissions |
CloudFileShare.downloadPermissions(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads the permissions settings for the share using the specified request options and operation context.
|
void |
CloudFile.downloadRange(long offset,
Long length,
OutputStream outStream)
Downloads the contents of a file to a stream.
|
void |
CloudFile.downloadRange(long offset,
Long length,
OutputStream outStream,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads the contents of a file to a stream using the specified request options and operation context.
|
protected int |
CloudFile.downloadRangeInternal(long fileOffset,
Long length,
byte[] buffer,
int bufferOffset,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads a range of bytes from the file to the given byte buffer.
|
int |
CloudFile.downloadRangeToByteArray(long offset,
Long length,
byte[] buffer,
int bufferOffset)
Downloads a range of bytes from the file to the given byte buffer.
|
int |
CloudFile.downloadRangeToByteArray(long offset,
Long length,
byte[] buffer,
int bufferOffset,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads a range of bytes from the file to the given byte buffer, using the specified request options and
operation context.
|
FileServiceProperties |
CloudFileClient.downloadServiceProperties()
Retrieves the current
FileServiceProperties for the given storage service. |
FileServiceProperties |
CloudFileClient.downloadServiceProperties(FileRequestOptions options,
OperationContext opContext)
Retrieves the current
FileServiceProperties for the given storage service. |
int |
CloudFile.downloadToByteArray(byte[] buffer,
int bufferOffset)
Downloads a range of bytes from the file to the given byte buffer.
|
int |
CloudFile.downloadToByteArray(byte[] buffer,
int bufferOffset,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads a range of bytes from the file to the given byte buffer, using the specified request options and
operation context.
|
boolean |
CloudFileShare.exists()
Returns a value that indicates whether the share exists.
|
boolean |
CloudFileDirectory.exists()
Returns a value that indicates whether the directory exists.
|
boolean |
CloudFile.exists()
Checks to see if the file exists.
|
boolean |
CloudFileShare.exists(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Returns a value that indicates whether the share exists, using the specified request options and operation
context.
|
boolean |
CloudFileDirectory.exists(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Returns a value that indicates whether the directory exists, using the specified request options and operation
context.
|
boolean |
CloudFile.exists(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Checks to see if the file exists, using the specified access condition, request options and operation context.
|
void |
FileOutputStream.flush()
Flushes this output stream and forces any buffered output bytes to be written out.
|
ShareStats |
CloudFileShare.getStats()
Queries the service for this share's
ShareStats . |
ShareStats |
CloudFileShare.getStats(FileRequestOptions options,
OperationContext opContext)
Queries the service for this share's
ShareStats . |
Iterable<ListFileItem> |
CloudFileDirectory.listFilesAndDirectories()
Returns an enumerable collection of file and directory items for the directory.
|
Iterable<ListFileItem> |
CloudFileDirectory.listFilesAndDirectories(FileRequestOptions options,
OperationContext opContext)
Returns an enumerable collection of file and directory items for the directory.
|
Iterable<ListFileItem> |
CloudFileDirectory.listFilesAndDirectories(String prefix,
FileRequestOptions options,
OperationContext opContext)
Returns an enumerable collection of file and directory items for the directory.
|
ResultSegment<ListFileItem> |
CloudFileDirectory.listFilesAndDirectoriesSegmented()
Returns a result segment of an enumerable collection of files and directories for this File service client.
|
ResultSegment<ListFileItem> |
CloudFileDirectory.listFilesAndDirectoriesSegmented(Integer maxResults,
ResultContinuation continuationToken,
FileRequestOptions options,
OperationContext opContext)
Returns a result segment of an enumerable collection of files and directories for this directory, using the
specified listing details options, request options, and operation context.
|
ResultSegment<ListFileItem> |
CloudFileDirectory.listFilesAndDirectoriesSegmented(String prefix,
Integer maxResults,
ResultContinuation continuationToken,
FileRequestOptions options,
OperationContext opContext)
Returns a result segment of an enumerable collection of files and directories for this directory, using the
specified listing details options, request options, and operation context.
|
Iterable<CloudFileShare> |
CloudFileClient.listShares()
Returns an enumerable collection of shares for this File service client.
|
Iterable<CloudFileShare> |
CloudFileClient.listShares(String prefix)
Returns an enumerable collection of shares whose names begin with the specified prefix for this File service
client.
|
Iterable<CloudFileShare> |
CloudFileClient.listShares(String prefix,
EnumSet<ShareListingDetails> detailsIncluded,
FileRequestOptions options,
OperationContext opContext)
Returns an enumerable collection of shares whose names begin with the specified prefix for this File
service client, using the specified details settings, request options, and operation context.
|
ResultSegment<CloudFileShare> |
CloudFileClient.listSharesSegmented()
Returns a result segment of an enumerable collection of shares for this File service client.
|
ResultSegment<CloudFileShare> |
CloudFileClient.listSharesSegmented(String prefix)
Returns a result segment of an enumerable collection of shares whose names begin with the specified
prefix for this File service client.
|
ResultSegment<CloudFileShare> |
CloudFileClient.listSharesSegmented(String prefix,
EnumSet<ShareListingDetails> detailsIncluded,
Integer maxResults,
ResultContinuation continuationToken,
FileRequestOptions options,
OperationContext opContext)
Returns a result segment of an enumerable collection of shares whose names begin with the specified
prefix, using the specified listing details options, request options, and operation context.
|
FileInputStream |
CloudFile.openRead()
Opens a file input stream to download the file.
|
FileInputStream |
CloudFile.openRead(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Opens a file input stream to download the file using the specified request options and
operation context.
|
FileOutputStream |
CloudFile.openWriteExisting()
Opens an output stream object to write data to the file.
|
FileOutputStream |
CloudFile.openWriteExisting(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Opens an output stream object to write data to the file, using specified request options and
operation context.
|
FileOutputStream |
CloudFile.openWriteNew(long length)
Opens an output stream object to write data to the file.
|
FileOutputStream |
CloudFile.openWriteNew(long length,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Opens an output stream object to write data to the file, using the specified lease ID, request options and
operation context.
|
int |
FileInputStream.read()
Reads the next byte of data from the input stream.
|
int |
FileInputStream.read(byte[] b)
Reads some number of bytes from the input stream and stores them into the buffer array
b . |
int |
FileInputStream.read(byte[] b,
int off,
int len)
Reads up to
len bytes of data from the input stream into an array of bytes. |
String |
CloudFile.startCopy(CloudBlob sourceBlob)
Requests the service to start copying a blob's contents, properties, and metadata to a new file.
|
String |
CloudFile.startCopy(CloudBlob sourceBlob,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
FileRequestOptions options,
OperationContext opContext)
Requests the service to start copying a file's contents, properties, and metadata to a new file,
using the specified access conditions, lease ID, request options, and operation context.
|
String |
CloudFile.startCopy(CloudFile sourceFile)
Requests the service to start copying an Azure File's contents, properties, and metadata to a new Azure File.
|
String |
CloudFile.startCopy(CloudFile sourceFile,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
FileRequestOptions options,
OperationContext opContext)
Requests the service to start copying an Azure File's contents, properties, and metadata to a new Azure File,
using the specified access conditions, lease ID, request options, and operation context.
|
String |
CloudFile.startCopy(URI source)
Requests the service to start copying a URI's contents, properties, and metadata to a new Azure File.
|
String |
CloudFile.startCopy(URI source,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
FileRequestOptions options,
OperationContext opContext)
Requests the service to start copying a URI's contents, properties, and metadata to a new Azure File,
using the specified access conditions, lease ID, request options, and operation context.
|
void |
CloudFile.upload(InputStream sourceStream,
long length)
Uploads the source stream data to the file.
|
void |
CloudFile.upload(InputStream sourceStream,
long length,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads the source stream data to the file using the specified access condition, request options, and operation
context.
|
void |
CloudFileShare.uploadMetadata()
Uploads the share's metadata.
|
void |
CloudFileDirectory.uploadMetadata()
Uploads the directory's metadata.
|
void |
CloudFile.uploadMetadata()
Uploads the file's metadata to the storage service.
|
void |
CloudFileShare.uploadMetadata(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads the share's metadata using the specified request options and operation context.
|
void |
CloudFileDirectory.uploadMetadata(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads the directory's metadata using the specified request options and operation context.
|
void |
CloudFile.uploadMetadata(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads the file's metadata to the storage service using the access condition, request options, and operation
context.
|
void |
CloudFileShare.uploadPermissions(FileSharePermissions permissions)
Uploads the share's permissions.
|
void |
CloudFileShare.uploadPermissions(FileSharePermissions permissions,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads the share's permissions using the specified request options and operation context.
|
void |
CloudFileShare.uploadProperties()
Updates the share's properties on the storage service.
|
void |
CloudFile.uploadProperties()
Updates the file's properties to the storage service.
|
void |
CloudFileShare.uploadProperties(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Updates the share's properties using the request options, and operation context.
|
void |
CloudFile.uploadProperties(AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Updates the file's properties using the access condition, request options, and operation context.
|
void |
CloudFile.uploadRange(InputStream sourceStream,
long offset,
long length)
Uploads a range to a file.
|
void |
CloudFile.uploadRange(InputStream sourceStream,
long offset,
long length,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads a range to a file using the specified lease ID, request options, and operation context.
|
void |
CloudFileClient.uploadServiceProperties(FileServiceProperties properties)
Uploads a new
FileServiceProperties configuration to the given storage service. |
void |
CloudFileClient.uploadServiceProperties(FileServiceProperties properties,
FileRequestOptions options,
OperationContext opContext)
Uploads a new
FileServiceProperties configuration to the given storage service. |
void |
FileOutputStream.write(byte[] data)
Writes
b.length bytes from the specified byte array to this output stream. |
void |
FileOutputStream.write(byte[] data,
int offset,
int length)
Writes length bytes from the specified byte array starting at offset to this output stream.
|
void |
FileOutputStream.write(InputStream sourceStream,
long writeLength)
Writes all data from the InputStream to the File.
|
void |
FileOutputStream.write(int byteVal)
Writes the specified byte to this output stream.
|
Constructor and Description |
---|
FileInputStream(CloudFile parentFile,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Initializes a new instance of the FileInputStream class.
|
FileOutputStream(CloudFile parentFile,
long length,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Initializes a new instance of the FileOutputStream class.
|
Modifier and Type | Method and Description |
---|---|
void |
CloudQueue.addMessage(CloudQueueMessage message)
Adds a message to the back of the queue.
|
void |
CloudQueue.addMessage(CloudQueueMessage message,
int timeToLiveInSeconds,
int initialVisibilityDelayInSeconds,
QueueRequestOptions options,
OperationContext opContext)
Adds a message to the back of the queue with the specified options.
|
void |
CloudQueue.clear()
Clears all messages from the queue.
|
void |
CloudQueue.clear(QueueRequestOptions options,
OperationContext opContext)
Clears all messages from the queue, using the specified request options and operation context.
|
void |
CloudQueue.create()
Creates the queue.
|
void |
CloudQueue.create(QueueRequestOptions options,
OperationContext opContext)
Creates the queue, using the specified request options and operation context.
|
boolean |
CloudQueue.createIfNotExists()
Creates the queue if it does not already exist.
|
boolean |
CloudQueue.createIfNotExists(QueueRequestOptions options,
OperationContext opContext)
Creates the queue if it does not already exist, using the specified request options and operation context.
|
void |
CloudQueue.delete()
Deletes the queue.
|
void |
CloudQueue.delete(QueueRequestOptions options,
OperationContext opContext)
Deletes the queue, using the specified request options and operation context.
|
boolean |
CloudQueue.deleteIfExists()
Deletes the queue if it exists.
|
boolean |
CloudQueue.deleteIfExists(QueueRequestOptions options,
OperationContext opContext)
Deletes the queue if it exists, using the specified request options and operation context.
|
void |
CloudQueue.deleteMessage(CloudQueueMessage message)
Deletes the specified message from the queue.
|
void |
CloudQueue.deleteMessage(CloudQueueMessage message,
QueueRequestOptions options,
OperationContext opContext)
Deletes the specified message from the queue, using the specified request options and operation context.
|
void |
CloudQueue.downloadAttributes()
Downloads the queue's metadata and approximate message count value.
|
void |
CloudQueue.downloadAttributes(QueueRequestOptions options,
OperationContext opContext)
Downloads the queue's metadata and approximate message count value, using the specified request options and
operation context.
|
QueuePermissions |
CloudQueue.downloadPermissions()
Downloads the permission settings for the queue.
|
QueuePermissions |
CloudQueue.downloadPermissions(QueueRequestOptions options,
OperationContext opContext)
Downloads the permissions settings for the queue using the specified request options and operation context.
|
ServiceProperties |
CloudQueueClient.downloadServiceProperties()
Retrieves the current
ServiceProperties for the given storage service. |
ServiceProperties |
CloudQueueClient.downloadServiceProperties(QueueRequestOptions options,
OperationContext opContext)
Retrieves the current
ServiceProperties for the given storage service. |
boolean |
CloudQueue.exists()
Returns a value that indicates whether the queue exists.
|
boolean |
CloudQueue.exists(QueueRequestOptions options,
OperationContext opContext)
Returns a value that indicates whether the queue existse, using the specified request options and operation
context.
|
ServiceStats |
CloudQueueClient.getServiceStats()
Queries the service for the
ServiceStats . |
ServiceStats |
CloudQueueClient.getServiceStats(QueueRequestOptions options,
OperationContext opContext)
Queries the service for the
ServiceStats . |
Iterable<CloudQueue> |
CloudQueueClient.listQueues()
Gets an iterable collection of queues for this queue service client.
|
Iterable<CloudQueue> |
CloudQueueClient.listQueues(String prefix)
Returns an iterable collection of queues whose names begin with the
specified prefix in this Queue service client.
|
Iterable<CloudQueue> |
CloudQueueClient.listQueues(String prefix,
QueueListingDetails detailsIncluded,
QueueRequestOptions options,
OperationContext opContext)
Returns an iterable collection of queues whose names begin with the
specified prefix for this Queue service client, using the specified
details setting, request options, and operation context.
|
ResultSegment<CloudQueue> |
CloudQueueClient.listQueuesSegmented()
Gets a result segment of an iterable collection of queues for this Queue
service client.
|
ResultSegment<CloudQueue> |
CloudQueueClient.listQueuesSegmented(String prefix)
Gets a result segment of an iterable collection of queues whose names
begin with the specified prefix for this Queue service client.
|
ResultSegment<CloudQueue> |
CloudQueueClient.listQueuesSegmented(String prefix,
QueueListingDetails detailsIncluded,
Integer maxResults,
ResultContinuation continuationToken,
QueueRequestOptions options,
OperationContext opContext)
Gets a result segment of an iterable collection of queues whose names
begin with the specified prefix for this queue, using the specified
listing details options, request options, and operation context.
|
CloudQueueMessage |
CloudQueue.peekMessage()
Peeks a message from the queue.
|
CloudQueueMessage |
CloudQueue.peekMessage(QueueRequestOptions options,
OperationContext opContext)
Peeks a message from the queue, using the specified request options and operation context.
|
Iterable<CloudQueueMessage> |
CloudQueue.peekMessages(int numberOfMessages)
Peeks a specified number of messages from the queue.
|
Iterable<CloudQueueMessage> |
CloudQueue.peekMessages(int numberOfMessages,
QueueRequestOptions options,
OperationContext opContext)
Peeks a set of messages from the queue, using the specified request options and operation context.
|
CloudQueueMessage |
CloudQueue.retrieveMessage()
Retrieves a message from the front of the queue using the default request options.
|
CloudQueueMessage |
CloudQueue.retrieveMessage(int visibilityTimeoutInSeconds,
QueueRequestOptions options,
OperationContext opContext)
Retrieves a message from the front of the queue, using the specified request options and operation context.
|
Iterable<CloudQueueMessage> |
CloudQueue.retrieveMessages(int numberOfMessages)
Retrieves the specified number of messages from the front of the queue using the default request options.
|
Iterable<CloudQueueMessage> |
CloudQueue.retrieveMessages(int numberOfMessages,
int visibilityTimeoutInSeconds,
QueueRequestOptions options,
OperationContext opContext)
Retrieves the specified number of messages from the front of the queue using the specified request options and
operation context.
|
void |
CloudQueue.updateMessage(CloudQueueMessage message,
int visibilityTimeoutInSeconds,
EnumSet<MessageUpdateFields> messageUpdateFields,
QueueRequestOptions options,
OperationContext opContext)
Updates a message in the queue, using the specified request options and operation context.
|
void |
CloudQueue.uploadMetadata()
Uploads the metadata in the
CloudQueue object to the queue. |
void |
CloudQueue.uploadMetadata(QueueRequestOptions options,
OperationContext opContext)
Uploads the metadata in the
CloudQueue object to the queue, using the specified request options and
operation context. |
void |
CloudQueue.uploadPermissions(QueuePermissions permissions)
Uploads the queue's permissions.
|
void |
CloudQueue.uploadPermissions(QueuePermissions permissions,
QueueRequestOptions options,
OperationContext opContext)
Uploads the queue's permissions using the specified request options and operation context.
|
void |
CloudQueueClient.uploadServiceProperties(ServiceProperties properties)
Uploads a new
ServiceProperties configuration to the given storage service. |
void |
CloudQueueClient.uploadServiceProperties(ServiceProperties properties,
QueueRequestOptions options,
OperationContext opContext)
Uploads a new
ServiceProperties configuration to the given storage service. |
Modifier and Type | Method and Description |
---|---|
void |
CloudTable.create()
Creates the table in the storage service with default request options.
|
void |
CloudTable.create(TableRequestOptions options,
OperationContext opContext)
Creates the table in the storage service, using the specified
TableRequestOptions and
OperationContext . |
boolean |
CloudTable.createIfNotExists()
Creates the table in the storage service using default request options if it does not already exist.
|
boolean |
CloudTable.createIfNotExists(TableRequestOptions options,
OperationContext opContext)
Creates the table in the storage service with the specified request options and operation context, if it does not
already exist.
|
void |
CloudTable.delete()
Deletes the table from the storage service.
|
void |
CloudTable.delete(TableRequestOptions options,
OperationContext opContext)
Deletes the table from the storage service, using the specified request options and operation context.
|
boolean |
CloudTable.deleteIfExists()
Deletes the table from the storage service, if it exists.
|
boolean |
CloudTable.deleteIfExists(TableRequestOptions options,
OperationContext opContext)
Deletes the table from the storage service using the specified request options and operation context, if it
exists.
|
TablePermissions |
CloudTable.downloadPermissions()
Downloads the permission settings for the table.
|
TablePermissions |
CloudTable.downloadPermissions(TableRequestOptions options,
OperationContext opContext)
Downloads the permissions settings for the table using the specified request options and operation context.
|
ServiceProperties |
CloudTableClient.downloadServiceProperties()
Retrieves the current
ServiceProperties for the given storage service. |
ServiceProperties |
CloudTableClient.downloadServiceProperties(TableRequestOptions options,
OperationContext opContext)
Retrieves the current
ServiceProperties for the given storage service. |
ArrayList<TableResult> |
CloudTable.execute(TableBatchOperation batch)
Executes the specified batch operation on a table as an atomic operation.
|
ArrayList<TableResult> |
CloudTable.execute(TableBatchOperation batch,
TableRequestOptions options,
OperationContext opContext)
Executes the specified batch operation on a table as an atomic operation, using the specified
TableRequestOptions and OperationContext . |
TableResult |
CloudTable.execute(TableOperation operation)
Executes the operation on a table.
|
TableResult |
CloudTable.execute(TableOperation operation,
TableRequestOptions options,
OperationContext opContext)
Executes the operation on a table, using the specified
TableRequestOptions and OperationContext . |
<R> Iterable<R> |
CloudTable.execute(TableQuery<?> query,
EntityResolver<R> resolver)
Executes a query, applying the specified
EntityResolver to the result. |
<R> Iterable<R> |
CloudTable.execute(TableQuery<?> query,
EntityResolver<R> resolver,
TableRequestOptions options,
OperationContext opContext)
Executes a query, applying the specified
EntityResolver to the result, using the
specified TableRequestOptions and OperationContext . |
<T extends TableEntity> |
CloudTable.execute(TableQuery<T> query)
Executes a query.
|
<T extends TableEntity> |
CloudTable.execute(TableQuery<T> query,
TableRequestOptions options,
OperationContext opContext)
Executes a query, using the specified
TableRequestOptions and OperationContext . |
<R> ResultSegment<R> |
CloudTable.executeSegmented(TableQuery<?> query,
EntityResolver<R> resolver,
ResultContinuation continuationToken)
Executes a query in segmented mode with the specified
ResultContinuation continuation token,
applying the EntityResolver to the result. |
<R> ResultSegment<R> |
CloudTable.executeSegmented(TableQuery<?> query,
EntityResolver<R> resolver,
ResultContinuation continuationToken,
TableRequestOptions options,
OperationContext opContext)
Executes a query in segmented mode with the specified
ResultContinuation continuation token,
using the specified TableRequestOptions and OperationContext , applying the EntityResolver
to the result. |
<T extends TableEntity> |
CloudTable.executeSegmented(TableQuery<T> query,
ResultContinuation continuationToken)
Executes a query in segmented mode with a
ResultContinuation continuation token. |
<T extends TableEntity> |
CloudTable.executeSegmented(TableQuery<T> query,
ResultContinuation continuationToken,
TableRequestOptions options,
OperationContext opContext)
Executes a query in segmented mode with a
ResultContinuation continuation token,
using the specified TableRequestOptions and OperationContext . |
boolean |
CloudTable.exists()
Returns a value that indicates whether the table exists in the storage service.
|
boolean |
CloudTable.exists(TableRequestOptions options,
OperationContext opContext)
Returns a value that indicates whether the table exists in the storage service, using the specified request
options and operation context.
|
ServiceStats |
CloudTableClient.getServiceStats()
Queries the service for the
ServiceStats . |
ServiceStats |
CloudTableClient.getServiceStats(TableRequestOptions options,
OperationContext opContext)
Queries the given storage service for the
ServiceStats . |
Iterable<String> |
CloudTableClient.listTables()
Lists the table names in the storage account.
|
Iterable<String> |
CloudTableClient.listTables(String prefix)
Lists the table names in the storage account that match the specified prefix.
|
Iterable<String> |
CloudTableClient.listTables(String prefix,
TableRequestOptions options,
OperationContext opContext)
Lists the table names in the storage account that match the specified prefix, using the specified
TableRequestOptions and OperationContext . |
ResultSegment<String> |
CloudTableClient.listTablesSegmented()
Lists the table names in the storage account in segmented mode.
|
ResultSegment<String> |
CloudTableClient.listTablesSegmented(String prefix)
Lists the table names in the storage account that match the specified prefix in segmented mode.
|
ResultSegment<String> |
CloudTableClient.listTablesSegmented(String prefix,
Integer maxResults,
ResultContinuation continuationToken,
TableRequestOptions options,
OperationContext opContext)
Lists up to the specified maximum of the table names in the storage account that match the specified prefix in a
resumable mode with the specified
ResultContinuation continuation token, using the specified
TableRequestOptions and OperationContext . |
void |
CloudTable.uploadPermissions(TablePermissions permissions)
Uploads the table's permissions.
|
void |
CloudTable.uploadPermissions(TablePermissions permissions,
TableRequestOptions options,
OperationContext opContext)
Uploads the table's permissions using the specified request options and operation context.
|
void |
CloudTableClient.uploadServiceProperties(ServiceProperties properties)
Uploads a new
ServiceProperties configuration to the given storage service. |
void |
CloudTableClient.uploadServiceProperties(ServiceProperties properties,
TableRequestOptions options,
OperationContext opContext)
Uploads a new
ServiceProperties configuration to the given storage service. |
Copyright © 2019. All rights reserved.