Package | Description |
---|---|
com.microsoft.azure.storage |
This package contains the storage service base classes.
|
com.microsoft.azure.storage.analytics |
This package contains the storage service analytics classes.
|
com.microsoft.azure.storage.blob |
This package contains the storage service blob classes.
|
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 |
---|---|
static StorageException |
StorageException.translateClientException(Exception cause)
RESERVED FOR INTERNAL USE.
|
static StorageException |
StorageException.translateException(com.microsoft.azure.storage.core.StorageRequest<?,?,?> request,
Exception cause,
OperationContext opContext)
RESERVED FOR INTERNAL USE.
|
Modifier and Type | Method and Description |
---|---|
String |
CloudStorageAccount.generateSharedAccessSignature(SharedAccessAccountPolicy policy)
Returns a shared access signature for the account.
|
StorageUri |
StorageCredentials.transformUri(StorageUri resourceUri)
Transforms a resource URI into a shared access signature URI, by appending a shared access token.
|
StorageUri |
StorageCredentialsSharedAccessSignature.transformUri(StorageUri resourceUri,
OperationContext opContext)
Transforms a resource URI into a shared access signature URI, by appending a shared access token and using the
specified operation context.
|
abstract StorageUri |
StorageCredentials.transformUri(StorageUri resourceUri,
OperationContext opContext)
Transforms a resource URI into a shared access signature URI, by appending a shared access token and using the
specified operation context.
|
URI |
StorageCredentials.transformUri(URI resourceUri)
Transforms a resource URI into a shared access signature URI, by appending a shared access token.
|
URI |
StorageCredentialsSharedAccessSignature.transformUri(URI resourceUri,
OperationContext opContext)
Transforms a resource URI into a shared access signature URI, by appending a shared access token and using the
specified operation context.
|
abstract URI |
StorageCredentials.transformUri(URI resourceUri,
OperationContext opContext)
Transforms a resource URI into a shared access signature URI, by appending a shared access token and using the
specified operation context.
|
static StorageCredentials |
StorageCredentials.tryParseCredentials(String connectionString)
Tries to determine the storage credentials from a connection string.
|
Modifier and Type | Method and Description |
---|---|
CloudTable |
CloudAnalyticsClient.getCapacityTable()
Gets the capacity metrics table for the blob service.
|
CloudTable |
CloudAnalyticsClient.getHourMetricsTable(StorageService service)
Gets the hour metrics table for a specific storage service.
|
CloudTable |
CloudAnalyticsClient.getHourMetricsTable(StorageService service,
StorageLocation location)
Gets the hour metrics table for a specific storage service.
|
CloudBlobDirectory |
CloudAnalyticsClient.getLogDirectory(StorageService service)
Gets the
CloudBlobDirectory object for the logs for a specific storage service. |
CloudTable |
CloudAnalyticsClient.getMinuteMetricsTable(StorageService service)
Gets the minute metrics table for a specific storage service.
|
CloudTable |
CloudAnalyticsClient.getMinuteMetricsTable(StorageService service,
StorageLocation location)
Gets the minute metrics table for a specific storage service.
|
Iterable<ListBlobItem> |
CloudAnalyticsClient.listLogBlobs(StorageService service)
Returns an enumerable collection of log blobs, retrieved lazily.
|
Iterable<ListBlobItem> |
CloudAnalyticsClient.listLogBlobs(StorageService service,
Date startTime,
Date endTime,
EnumSet<LoggingOperations> operations,
BlobListingDetails details,
BlobRequestOptions options,
OperationContext operationContext)
Returns an enumerable collection of log blobs, retrieved lazily.
|
Iterable<LogRecord> |
CloudAnalyticsClient.listLogRecords(StorageService service)
Returns an enumerable collection of log records, retrieved lazily.
|
Iterable<LogRecord> |
CloudAnalyticsClient.listLogRecords(StorageService service,
Date startTime,
Date endTime,
BlobRequestOptions options,
OperationContext operationContext)
Returns an enumerable collection of log records, retrieved lazily.
|
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.
|
void |
CloudAppendBlob.appendFromByteArray(byte[] buffer,
int offset,
int length)
Appends the contents of a byte array to an append blob.This API should be used strictly in a single writer
scenario because the API internally uses the append-offset conditional header to avoid duplicate blocks which
does not work in a multiple writer scenario.
|
void |
CloudAppendBlob.appendFromByteArray(byte[] buffer,
int offset,
int length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Appends the contents of a byte array to an append blob.This API should be used strictly in a single writer
scenario because the API internally uses the append-offset conditional header to avoid duplicate blocks which
does not work in a multiple writer scenario.
|
void |
CloudAppendBlob.appendFromFile(String path)
Appends a file to an append blob.
|
void |
CloudAppendBlob.appendFromFile(String path,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Appends a file to an append blob.
|
void |
CloudAppendBlob.appendText(String content)
Appends a string of text to an append blob using the platform's default encoding.
|
void |
CloudAppendBlob.appendText(String content,
String charsetName,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Appends a string of text to an append blob using the specified encoding.
|
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.
|
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.
|
void |
CloudBlockBlob.createBlockFromURI(String blockId,
URI copySource,
Long offset,
Long length)
Creates a block to be committed as part of the block blob, using the specified block ID and the source URL.
|
void |
CloudBlockBlob.createBlockFromURI(String blockId,
URI copySource,
Long offset,
Long length,
String md5,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Creates a block to be committed as part of the block blob, using the specified block ID, the specified source
URL, the specified lease ID, 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.
|
AccountInformation |
CloudBlobContainer.downloadAccountInfo()
Gets information related to the storage account in which this container resides.
|
AccountInformation |
CloudBlobClient.downloadAccountInfo()
Gets information related to the storage account.
|
AccountInformation |
CloudBlob.downloadAccountInfo()
Gets information related to the storage account in which this blob resides.
|
AccountInformation |
CloudBlobContainer.downloadAccountInfo(BlobRequestOptions options,
OperationContext opContext)
Gets information related to the storage account in which this container resides.
|
AccountInformation |
CloudBlobClient.downloadAccountInfo(BlobRequestOptions options,
OperationContext opContext)
Gets information related to the storage account.
|
AccountInformation |
CloudBlob.downloadAccountInfo(BlobRequestOptions options,
OperationContext opContext)
Gets information related to the storage account in which this blob resides.
|
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.
|
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. |
String |
CloudBlockBlob.downloadText()
Downloads a blob to a string using the platform's default encoding.
|
String |
CloudBlockBlob.downloadText(String charsetName,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads a blob to a string using the specified encoding.
|
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.
|
void |
CloudBlob.downloadToFile(String path)
Downloads a blob, storing the contents in a file.
|
void |
CloudBlob.downloadToFile(String path,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads a blob, storing the contents in a file.
|
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.
|
String |
CloudBlob.generateSharedAccessSignature(SharedAccessBlobPolicy policy,
SharedAccessBlobHeaders headers,
String groupPolicyIdentifier)
Returns a shared access signature for the blob using the specified group policy identifier and operation context.
|
String |
CloudBlob.generateSharedAccessSignature(SharedAccessBlobPolicy policy,
SharedAccessBlobHeaders headers,
String groupPolicyIdentifier,
IPRange ipRange,
SharedAccessProtocols protocols)
Returns a shared access signature for the blob using the specified group policy identifier and operation context.
|
String |
CloudBlobContainer.generateSharedAccessSignature(SharedAccessBlobPolicy policy,
String groupPolicyIdentifier)
Returns a shared access signature for the container.
|
String |
CloudBlob.generateSharedAccessSignature(SharedAccessBlobPolicy policy,
String groupPolicyIdentifier)
Returns a shared access signature for the blob using the specified group policy identifier and operation context.
|
String |
CloudBlobContainer.generateSharedAccessSignature(SharedAccessBlobPolicy policy,
String groupPolicyIdentifier,
IPRange ipRange,
SharedAccessProtocols protocols)
Returns a shared access signature for the container.
|
CloudAppendBlob |
CloudBlobDirectory.getAppendBlobReference(String blobName)
Returns a reference to a
CloudAppendBlob object that represents an append blob in the directory. |
CloudAppendBlob |
CloudBlobContainer.getAppendBlobReference(String blobName)
Returns a reference to a
CloudAppendBlob object that represents an append blob in this container. |
CloudAppendBlob |
CloudBlobDirectory.getAppendBlobReference(String blobName,
String snapshotID)
Returns a reference to a
CloudAppendBlob object that represents an append blob in the directory, using the
specified snapshot ID. |
CloudAppendBlob |
CloudBlobContainer.getAppendBlobReference(String blobName,
String snapshotID)
Returns a reference to a
CloudAppendBlob object that represents an append blob in the container, using the
specified snapshot ID. |
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.
|
CloudBlockBlob |
CloudBlobDirectory.getBlockBlobReference(String blobName)
Returns a reference to a
CloudBlockBlob object that represents a block blob in this directory. |
CloudBlockBlob |
CloudBlobContainer.getBlockBlobReference(String blobName)
Returns a reference to a
CloudBlockBlob object that represents a block blob in this container. |
CloudBlockBlob |
CloudBlobDirectory.getBlockBlobReference(String blobName,
String snapshotID)
Returns a reference to a
CloudBlockBlob object that represents a block blob in this directory, using the
specified snapshot ID. |
CloudBlockBlob |
CloudBlobContainer.getBlockBlobReference(String blobName,
String snapshotID)
Returns a reference to a
CloudBlockBlob object that represents a block blob in this container, using the
specified snapshot ID. |
CloudBlobContainer |
ListBlobItem.getContainer()
Returns the container for the blob item.
|
CloudBlobContainer |
CloudBlobDirectory.getContainer()
Returns the container for this directory.
|
CloudBlobContainer |
CloudBlob.getContainer()
Returns the blob's container.
|
CloudBlobContainer |
CloudBlobClient.getContainerReference(String containerName)
Gets a
CloudBlobContainer object with the specified name. |
CloudPageBlob |
CloudBlobDirectory.getPageBlobReference(String blobName)
Returns a reference to a
CloudPageBlob object that represents a page blob in the directory. |
CloudPageBlob |
CloudBlobContainer.getPageBlobReference(String blobName)
Returns a reference to a
CloudPageBlob object that represents a page blob in this container. |
CloudPageBlob |
CloudBlobDirectory.getPageBlobReference(String blobName,
String snapshotID)
Returns a reference to a
CloudPageBlob object that represents a page blob in the directory, using the
specified snapshot ID. |
CloudPageBlob |
CloudBlobContainer.getPageBlobReference(String blobName,
String snapshotID)
Returns a reference to a
CloudPageBlob object that represents a page blob in the container, using the
specified snapshot ID. |
CloudBlobDirectory |
ListBlobItem.getParent()
Returns the parent for the blob item.
|
CloudBlobDirectory |
CloudBlobDirectory.getParent()
Returns the parent directory of this directory.
|
CloudBlobDirectory |
CloudBlob.getParent()
Returns the blob item's parent.
|
StorageUri |
CloudBlob.getQualifiedStorageUri()
Deprecated.
use
CloudBlob.getSnapshotQualifiedStorageUri() instead. |
URI |
CloudBlob.getQualifiedUri()
Deprecated.
use
CloudBlob.getSnapshotQualifiedUri() instead. |
ServiceStats |
CloudBlobClient.getServiceStats()
Queries the service for the
ServiceStats . |
ServiceStats |
CloudBlobClient.getServiceStats(BlobRequestOptions options,
OperationContext opContext)
Queries the given storage service for the
ServiceStats . |
StorageUri |
CloudBlob.getSnapshotQualifiedStorageUri()
Returns the blob's URI for both the primary and secondary locations, including query string information if the blob is a snapshot.
|
URI |
CloudBlob.getSnapshotQualifiedUri()
Returns the absolute URI to the blob, including query string information if the blob is a snapshot.
|
Iterable<ListBlobItem> |
CloudBlobDirectory.listBlobs()
Returns an enumerable collection of blob items for the directory.
|
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> |
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> |
CloudBlobDirectory.listBlobsSegmented()
Returns a result segment of an enumerable collection of blob items in the directory.
|
ResultSegment<ListBlobItem> |
CloudBlobContainer.listBlobsSegmented()
Returns a result segment of an enumerable collection of blob items in the container.
|
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)
Returns a result segment containing a collection of blob items whose names begin with the specified prefix.
|
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.
|
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<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 |
CloudBlockBlob.openOutputStream()
Creates and opens an output stream to write data to the block blob.
|
BlobOutputStream |
CloudBlockBlob.openOutputStream(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Creates and opens an output stream to write data to the block blob using the specified request options and
operation context.
|
BlobOutputStream |
CloudPageBlob.openWriteExisting()
Opens an output stream object to write data to the page blob.
|
BlobOutputStream |
CloudAppendBlob.openWriteExisting()
Opens an output stream object to write data to the append blob.
|
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.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 |
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.
|
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.
|
void |
CloudPageBlob.resize(long size)
Resizes the page blob to the specified size.
|
void |
CloudPageBlob.resize(long size,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Resizes the page blob to the specified size.
|
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.
|
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 |
CloudBlob.undelete()
Un-deletes a blob and all its snapshots that have been soft-deleted.
|
void |
CloudBlob.undelete(BlobRequestOptions options,
OperationContext opContext)
Un-deletes a blob that has been soft-deleted, using the specified request options, and operation context.
|
void |
CloudPageBlob.upload(InputStream sourceStream,
long length)
Uploads the source stream data to the page blob.
|
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,
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.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,
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.
|
void |
CloudBlob.uploadFromByteArray(byte[] buffer,
int offset,
int length)
Uploads a blob from data in a byte array.
|
void |
CloudBlob.uploadFromByteArray(byte[] buffer,
int offset,
int length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a blob from data in a byte array.
|
void |
CloudPageBlob.uploadFromByteArray(byte[] buffer,
int offset,
int length,
PremiumPageBlobTier premiumBlobTier,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a blob from data in a byte array.
|
void |
CloudBlob.uploadFromFile(String path)
Uploads a blob from a file.
|
void |
CloudBlob.uploadFromFile(String path,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a blob from a file.
|
void |
CloudPageBlob.uploadFromFile(String path,
PremiumPageBlobTier premiumBlobTier,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a blob from a file.
|
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 |
CloudBlockBlob.uploadText(String content)
Uploads a blob from a string using the platform's default encoding.
|
void |
CloudBlockBlob.uploadText(String content,
String charsetName,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a blob from a string using the specified encoding.
|
void |
LengthLimitingStream.write(InputStream sourceStream,
long writeLength) |
abstract void |
BlobOutputStream.write(InputStream sourceStream,
long writeLength)
Writes all data from the InputStream to the Blob.
|
Constructor and Description |
---|
CloudAppendBlob(StorageUri blobAbsoluteUri)
Creates an instance of the
CloudAppendBlob class using the specified absolute URI and storage service
client. |
CloudAppendBlob(StorageUri blobAbsoluteUri,
StorageCredentials credentials)
Creates an instance of the
CloudAppendBlob class using the specified absolute StorageUri
and credentials. |
CloudAppendBlob(StorageUri blobAbsoluteUri,
String snapshotID,
StorageCredentials credentials)
Creates an instance of the
CloudAppendBlob class using the specified absolute StorageUri, snapshot
ID, and credentials. |
CloudAppendBlob(URI blobAbsoluteUri)
Creates an instance of the
CloudAppendBlob class using the specified absolute URI and storage service
client. |
CloudAppendBlob(URI blobAbsoluteUri,
StorageCredentials credentials)
Creates an instance of the
CloudAppendBlob class using the specified absolute URI and credentials. |
CloudAppendBlob(URI blobAbsoluteUri,
String snapshotID,
StorageCredentials credentials)
Creates an instance of the
CloudAppendBlob class using the specified absolute URI, snapshot ID, and
credentials. |
CloudBlobContainer(StorageUri storageUri)
Creates an instance of the
CloudBlobContainer class using the specified URI. |
CloudBlobContainer(StorageUri storageUri,
StorageCredentials credentials)
Creates an instance of the
CloudBlobContainer class using the specified StorageUri and credentials. |
CloudBlobContainer(URI uri)
Creates an instance of the
CloudBlobContainer class using the specified URI. |
CloudBlobContainer(URI uri,
StorageCredentials credentials)
Creates an instance of the
CloudBlobContainer class using the specified URI and credentials. |
CloudBlockBlob(StorageUri blobAbsoluteUri)
Creates an instance of the
CloudBlockBlob class using the specified absolute StorageUri. |
CloudBlockBlob(StorageUri blobAbsoluteUri,
StorageCredentials credentials)
Creates an instance of the
CloudBlockBlob class using the specified absolute StorageUri and credentials. |
CloudBlockBlob(StorageUri blobAbsoluteUri,
String snapshotID,
StorageCredentials credentials)
Creates an instance of the
CloudBlockBlob class using the specified absolute StorageUri, snapshot
ID, and credentials. |
CloudBlockBlob(URI blobAbsoluteUri)
Creates an instance of the
CloudBlockBlob class using the specified absolute URI. |
CloudBlockBlob(URI blobAbsoluteUri,
StorageCredentials credentials)
Creates an instance of the
CloudBlockBlob class using the specified absolute URI and credentials. |
CloudBlockBlob(URI blobAbsoluteUri,
String snapshotID,
StorageCredentials credentials)
Creates an instance of the
CloudBlockBlob class using the specified absolute URI, snapshot ID, and
credentials. |
CloudPageBlob(StorageUri blobAbsoluteUri)
Creates an instance of the
CloudPageBlob class using the specified absolute URI and storage service
client. |
CloudPageBlob(StorageUri blobAbsoluteUri,
StorageCredentials credentials)
Creates an instance of the
CloudPageBlob class using the specified absolute StorageUri and credentials. |
CloudPageBlob(StorageUri blobAbsoluteUri,
String snapshotID,
StorageCredentials credentials)
Creates an instance of the
CloudPageBlob class using the specified absolute StorageUri, snapshot
ID, and credentials. |
CloudPageBlob(URI blobAbsoluteUri)
Creates an instance of the
CloudPageBlob class using the specified absolute URI and storage service
client. |
CloudPageBlob(URI blobAbsoluteUri,
StorageCredentials credentials)
Creates an instance of the
CloudPageBlob class using the specified absolute URI and credentials. |
CloudPageBlob(URI blobAbsoluteUri,
String snapshotID,
StorageCredentials credentials)
Creates an instance of the
CloudPageBlob class using the specified absolute URI, snapshot ID, and
credentials. |
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 |
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.
|
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. |
String |
CloudFile.downloadText()
Downloads a file to a string using the platform's default encoding.
|
String |
CloudFile.downloadText(String charsetName,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads a file to a string using the specified encoding.
|
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.
|
void |
CloudFile.downloadToFile(String path)
Downloads a file.
|
void |
CloudFile.downloadToFile(String path,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads a file.
|
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.
|
String |
CloudFile.generateSharedAccessSignature(SharedAccessFilePolicy policy,
SharedAccessFileHeaders headers,
String groupPolicyIdentifier)
Returns a shared access signature for the file using the specified group policy identifier and
shared access file headers.
|
String |
CloudFile.generateSharedAccessSignature(SharedAccessFilePolicy policy,
SharedAccessFileHeaders headers,
String groupPolicyIdentifier,
IPRange ipRange,
SharedAccessProtocols protocols)
Returns a shared access signature for the file using the specified group policy identifier and
shared access file headers.
|
String |
CloudFileShare.generateSharedAccessSignature(SharedAccessFilePolicy policy,
String groupPolicyIdentifier)
Returns a shared access signature for the share.
|
String |
CloudFile.generateSharedAccessSignature(SharedAccessFilePolicy policy,
String groupPolicyIdentifier)
Returns a shared access signature for the file using the specified group policy identifier and
shared access file headers.
|
String |
CloudFileShare.generateSharedAccessSignature(SharedAccessFilePolicy policy,
String groupPolicyIdentifier,
IPRange ipRange,
SharedAccessProtocols protocols)
Returns a shared access signature for the share.
|
CloudFileDirectory |
CloudFileDirectory.getDirectoryReference(String itemName)
Returns a reference to a
CloudFileDirectory object that represents a directory in this directory. |
CloudFile |
CloudFileDirectory.getFileReference(String fileName)
Returns a reference to a
CloudFile object that represents a file in this directory. |
CloudFileDirectory |
ListFileItem.getParent()
Returns the parent for the file item.
|
CloudFileDirectory |
CloudFileDirectory.getParent()
Returns the
CloudFileDirectory parent directory associated with this directory. |
CloudFileDirectory |
CloudFile.getParent()
Returns the file item's parent.
|
URI |
CloudFileShare.getQualifiedUri()
Returns the snapshot or shared access signature qualified URI for this share.
|
CloudFileDirectory |
CloudFileShare.getRootDirectoryReference()
Returns a reference to a
CloudFileDirectory object that represents the root file directory within this
share. |
CloudFileShare |
ListFileItem.getShare()
Returns the share for the file item.
|
CloudFileShare |
CloudFileDirectory.getShare()
Returns the share for this directory.
|
CloudFileShare |
CloudFile.getShare()
Returns the file's share.
|
CloudFileShare |
CloudFileClient.getShareReference(String shareName)
Gets a
CloudFileShare object with the specified name. |
CloudFileShare |
CloudFileClient.getShareReference(String shareName,
String snapshotID)
Gets a
CloudFileShare object with the specified name. |
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 . |
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.
|
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.
|
void |
CloudFile.resize(long size)
Resizes the file to the specified size.
|
void |
CloudFile.resize(long size,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Resizes the file to the specified size.
|
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 |
CloudFile.uploadFromByteArray(byte[] buffer,
int offset,
int length)
Uploads a file from data in a byte array.
|
void |
CloudFile.uploadFromByteArray(byte[] buffer,
int offset,
int length,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads a file from data in a byte array.
|
void |
CloudFile.uploadFromFile(String path)
Uploads a local file.
|
void |
CloudFile.uploadFromFile(String path,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads a file from a local file.
|
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 |
CloudFile.uploadText(String content)
Uploads a file from a string using the platform's default encoding.
|
void |
CloudFile.uploadText(String content,
String charsetName,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads a file from a string using the specified encoding.
|
void |
FileOutputStream.write(InputStream sourceStream,
long writeLength)
Writes all data from the InputStream to the File.
|
Constructor and Description |
---|
CloudFile(StorageUri fileAbsoluteUri)
Creates an instance of the
CloudFile class using the specified absolute StorageUri. |
CloudFile(StorageUri fileAbsoluteUri,
StorageCredentials credentials)
Creates an instance of the
CloudFile class using the specified absolute StorageUri
and credentials. |
CloudFile(URI fileAbsoluteUri)
Creates an instance of the
CloudFile class using the specified absolute URI. |
CloudFile(URI fileAbsoluteUri,
StorageCredentials credentials)
Creates an instance of the
CloudFile class using the specified absolute URI
and credentials. |
CloudFileDirectory(StorageUri directoryAbsoluteUri)
Creates an instance of the
CloudFileDirectory class using an absolute URI to the directory. |
CloudFileDirectory(StorageUri directoryAbsoluteUri,
StorageCredentials credentials)
Creates an instance of the
CloudFileDirectory class using an absolute URI to the directory
and credentials. |
CloudFileDirectory(URI directoryAbsoluteUri)
Creates an instance of the
CloudFileDirectory class using an absolute URI to the directory. |
CloudFileDirectory(URI directoryAbsoluteUri,
StorageCredentials credentials)
Creates an instance of the
CloudFileDirectory class using an absolute URI to the directory
and credentials. |
CloudFileShare(StorageUri storageUri)
Creates an instance of the
CloudFileShare class using the specified URI. |
CloudFileShare(StorageUri storageUri,
StorageCredentials credentials)
Creates an instance of the
CloudFileShare class using the specified StorageUri and credentials. |
CloudFileShare(String shareName,
String snapshotID,
CloudFileClient client)
Creates an instance of the
CloudFileShare class using the specified name and client. |
CloudFileShare(URI uri)
Creates an instance of the
CloudFileShare class using the specified URI. |
CloudFileShare(URI uri,
StorageCredentials credentials)
Creates an instance of the
CloudFileShare class using the specified URI and credentials. |
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.
|
String |
CloudQueue.generateSharedAccessSignature(SharedAccessQueuePolicy policy,
String groupPolicyIdentifier)
Returns a shared access signature for the queue.
|
String |
CloudQueue.generateSharedAccessSignature(SharedAccessQueuePolicy policy,
String groupPolicyIdentifier,
IPRange ipRange,
SharedAccessProtocols protocols)
Returns a shared access signature for the queue.
|
byte[] |
CloudQueueMessage.getMessageContentAsByte()
Gets the content of the message as a byte array.
|
String |
CloudQueueMessage.getMessageContentAsString()
Gets the content of the message as a string.
|
CloudQueue |
CloudQueueClient.getQueueReference(String queueName)
Gets a
CloudQueue object with the specified name. |
ServiceStats |
CloudQueueClient.getServiceStats()
Queries the service for the
ServiceStats . |
ServiceStats |
CloudQueueClient.getServiceStats(QueueRequestOptions options,
OperationContext opContext)
Queries the service for the
ServiceStats . |
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)
Updates the specified message in the queue with a new visibility timeout value in seconds.
|
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. |
Constructor and Description |
---|
CloudQueue(StorageUri uri)
Creates an instance of the
CloudQueue class using the specified queue StorageUri . |
CloudQueue(StorageUri uri,
StorageCredentials credentials)
Creates an instance of the
CloudQueue class using the specified queue StorageUri and
credentials. |
CloudQueue(URI uri)
Creates an instance of the
CloudQueue class using the specified queue URI. |
CloudQueue(URI uri,
StorageCredentials credentials)
Creates an instance of the
CloudQueue class using the specified queue URI and
credentials. |
Modifier and Type | Class and Description |
---|---|
class |
TableServiceException
An exception that results when a table storage service operation fails to complete successfully.
|
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> 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.
|
String |
CloudTable.generateSharedAccessSignature(SharedAccessTablePolicy policy,
String accessPolicyIdentifier,
String startPartitionKey,
String startRowKey,
String endPartitionKey,
String endRowKey)
Creates a shared access signature for the table.
|
String |
CloudTable.generateSharedAccessSignature(SharedAccessTablePolicy policy,
String accessPolicyIdentifier,
String startPartitionKey,
String startRowKey,
String endPartitionKey,
String endRowKey,
IPRange ipRange,
SharedAccessProtocols protocols)
Creates a shared access signature for the table.
|
ServiceStats |
CloudTableClient.getServiceStats()
Queries the service for the
ServiceStats . |
ServiceStats |
CloudTableClient.getServiceStats(TableRequestOptions options,
OperationContext opContext)
Queries the given storage service for the
ServiceStats . |
CloudTable |
CloudTableClient.getTableReference(String tableName)
Gets a
CloudTable object with the specified name. |
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 |
TableServiceEntity.readEntity(HashMap<String,EntityProperty> properties,
OperationContext opContext)
Populates this table entity instance using the map of property names to
EntityProperty data typed values. |
void |
TableEntity.readEntity(HashMap<String,EntityProperty> properties,
OperationContext opContext)
Populates an instance of the object implementing
TableEntity using the specified properties parameter,
which represents a map of String property names to EntityProperty data typed values. |
T |
EntityResolver.resolve(String partitionKey,
String rowKey,
Date timeStamp,
HashMap<String,EntityProperty> properties,
String etag)
Returns a reference to a new object instance of type
T containing a projection of the specified
table entity data. |
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. |
HashMap<String,EntityProperty> |
TableServiceEntity.writeEntity(OperationContext opContext)
Returns a map of property names to
EntityProperty data typed values created by serializing this table
entity instance. |
HashMap<String,EntityProperty> |
TableEntity.writeEntity(OperationContext opContext)
Returns a map of
String property names to EntityProperty data typed values
that represents the serialized content of the table entity instance. |
HashMap<String,EntityProperty> |
DynamicTableEntity.writeEntity(OperationContext opContext)
Returns the map of property names to
EntityProperty data values from this DynamicTableEntity
instance. |
Constructor and Description |
---|
CloudTable(StorageUri uri)
Creates an instance of the
CloudTable class using the specified table URI. |
CloudTable(StorageUri uri,
StorageCredentials credentials)
Creates an instance of the
CloudTable class using the specified table StorageUri and credentials. |
CloudTable(URI uri)
Creates an instance of the
CloudTable class using the specified table URI. |
CloudTable(URI uri,
StorageCredentials credentials)
Creates an instance of the
CloudTable class using the specified table URI and credentials. |
Copyright © 2018. All Rights Reserved.