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.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 |
---|---|
OperationContext |
BaseEvent.getOpContext()
Gets a context for the current operation.
|
Modifier and Type | Method and Description |
---|---|
RetryPolicy |
RetryPolicyFactory.createInstance(OperationContext opContext)
Creates a new
RetryPolicy object for the current request attempt. |
RetryPolicy |
RetryLinearRetry.createInstance(OperationContext opContext)
Generates a new retry policy for the current request attempt.
|
RetryPolicy |
RetryExponentialRetry.createInstance(OperationContext opContext)
Generates a new retry policy for the current request attempt.
|
RetryPolicy |
RetryNoRetry.createInstance(OperationContext opContext)
Generates a new retry policy for the current request attempt.
|
abstract RetryInfo |
RetryPolicy.evaluate(RetryContext retryContext,
OperationContext operationContext)
Determines whether the operation should be retried and specifies the interval until the next retry.
|
RetryInfo |
RetryLinearRetry.evaluate(RetryContext retryContext,
OperationContext operationContext)
Determines whether the operation should be retried and specifies the interval until the next retry.
|
RetryInfo |
RetryExponentialRetry.evaluate(RetryContext retryContext,
OperationContext operationContext)
Determines whether the operation should be retried and specifies the interval until the next retry.
|
RetryInfo |
RetryNoRetry.evaluate(RetryContext retryContext,
OperationContext operationContext)
Determines whether the operation should be retried and specifies the interval until the next retry.
|
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.
|
StorageUri |
StorageCredentialsAccountAndKey.transformUri(StorageUri resourceUri,
OperationContext opContext) |
StorageUri |
StorageCredentialsAnonymous.transformUri(StorageUri resourceUri,
OperationContext opContext) |
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 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.
|
URI |
StorageCredentialsAccountAndKey.transformUri(URI resourceUri,
OperationContext opContext) |
URI |
StorageCredentialsAnonymous.transformUri(URI resourceUri,
OperationContext opContext) |
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.
|
static StorageException |
StorageException.translateException(StorageRequest<?,?,?> request,
Exception cause,
OperationContext opContext)
RESERVED FOR INTERNAL USE.
|
protected StorageRequest<ServiceClient,Void,Void> |
ServiceClient.uploadServicePropertiesImpl(ServiceProperties properties,
RequestOptions options,
OperationContext opContext,
boolean signAsTable) |
Constructor and Description |
---|
BaseEvent(OperationContext opContext,
Object connectionObject,
RequestResult requestResult)
Creates an instance of the
BaseEvent class. |
ErrorReceivingResponseEvent(OperationContext opContext,
Object connectionObject,
RequestResult requestResult)
Creates an instance of the
BaseEvent class that is fired when a network error occurs before the HTTP response status and headers are received. |
RequestCompletedEvent(OperationContext opContext,
Object connectionObject,
RequestResult requestResult)
Creates an instance of the
BaseEvent class that is fired when a request is completed. |
ResponseReceivedEvent(OperationContext opContext,
Object connectionObject,
RequestResult requestResult)
Creates an instance of the
BaseEvent class that is fired when a response is received. |
RetryingEvent(OperationContext opContext,
Object connectionObject,
RequestResult requestResult,
RetryContext retryContext)
Creates an instance of the
BaseEvent class which is fired when a request is retried. |
SendingRequestEvent(OperationContext opContext,
Object connectionObject,
RequestResult requestResult)
Creates an instance of the
BaseEvent class that is fired when before sending a request. |
Modifier and Type | Method and Description |
---|---|
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,
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,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Aborts an ongoing blob copy operation.
|
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,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Appends a stream to an append 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,
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,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Appends a file to an append blob.
|
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,
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,
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,
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,
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(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,
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(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(AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Creates an append blob using the specified request options and operation context.
|
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(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(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,
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(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(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(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,
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,
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(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,
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,
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(BlobRequestOptions options,
OperationContext opContext)
Retrieves the current
ServiceProperties for the given storage service. |
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,
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,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Downloads a blob, storing the contents in a file.
|
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.
|
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(BlobRequestOptions options,
OperationContext opContext)
Queries the given storage service for the
ServiceStats . |
protected StorageUri |
CloudBlob.getTransformedAddress(OperationContext opContext)
Returns the transformed URI for the resource if the given credentials require transformation.
|
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(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(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(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(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(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 |
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(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,
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,
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,
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,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Resizes the page blob to the specified size.
|
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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.
|
protected void |
CloudBlockBlob.uploadFullBlob(InputStream sourceStream,
long length,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a blob in a single operation.
|
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,
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,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads the container's permissions using the specified request options and operation context.
|
void |
CloudPageBlob.uploadPremiumPageBlobTier(PremiumPageBlobTier premiumBlobTier,
BlobRequestOptions options,
OperationContext opContext)
Sets the tier on a page blob on a premium storage account.
|
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,
BlobRequestOptions options,
OperationContext opContext)
Uploads a new
ServiceProperties configuration to the given storage service. |
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,
String charsetName,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a blob from a string using the specified encoding.
|
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 |
---|---|
static void |
BaseRequest.addMetadata(HttpURLConnection request,
Map<String,String> metadata,
OperationContext opContext)
Adds the metadata.
|
abstract HttpURLConnection |
StorageRequest.buildRequest(C client,
P parentObject,
OperationContext context)
Function to construct the request.
|
static HttpURLConnection |
BaseRequest.create(URI uri,
RequestOptions options,
UriQueryBuilder builder,
OperationContext opContext)
Creates the specified resource.
|
static HttpURLConnection |
BaseRequest.createURLConnection(URI uri,
RequestOptions options,
UriQueryBuilder builder,
OperationContext opContext)
Creates the web request.
|
static void |
Logger.debug(OperationContext opContext,
String format) |
static void |
Logger.debug(OperationContext opContext,
String format,
Object... args) |
static void |
Logger.debug(OperationContext opContext,
String format,
Object arg1) |
static void |
Logger.debug(OperationContext opContext,
String format,
Object arg1,
Object arg2) |
static HttpURLConnection |
BaseRequest.delete(URI uri,
RequestOptions options,
UriQueryBuilder builder,
OperationContext opContext)
Deletes the specified resource.
|
static void |
Logger.error(OperationContext opContext,
String format) |
static void |
Logger.error(OperationContext opContext,
String format,
Object... args) |
static void |
Logger.error(OperationContext opContext,
String format,
Object arg1) |
static void |
Logger.error(OperationContext opContext,
String format,
Object args1,
Object args2) |
static <CLIENT_TYPE,PARENT_TYPE,RESULT_TYPE> |
ExecutionEngine.executeWithRetry(CLIENT_TYPE client,
PARENT_TYPE parentObject,
StorageRequest<CLIENT_TYPE,PARENT_TYPE,RESULT_TYPE> task,
RetryPolicyFactory policyFactory,
OperationContext opContext)
Executes an operation and enforces a retrypolicy to handle any potential errors
|
static HttpURLConnection |
BaseRequest.getProperties(URI uri,
RequestOptions options,
UriQueryBuilder builder,
OperationContext opContext)
Gets the properties.
|
static HttpURLConnection |
BaseRequest.getServiceProperties(URI uri,
RequestOptions options,
UriQueryBuilder builder,
OperationContext opContext)
Creates a HttpURLConnection used to retrieve the Analytics service properties from the storage service.
|
static HttpURLConnection |
BaseRequest.getServiceStats(URI uri,
RequestOptions options,
UriQueryBuilder builder,
OperationContext opContext)
Creates a web request to get the stats of the service.
|
static void |
Logger.info(OperationContext opContext,
String format) |
static void |
Logger.info(OperationContext opContext,
String format,
Object... args) |
static void |
Logger.info(OperationContext opContext,
String format,
Object arg1) |
static void |
Logger.info(OperationContext opContext,
String format,
Object arg1,
Object arg2) |
protected void |
StorageRequest.initialize(OperationContext opContext)
Resets the operation status flags between operations.
|
static void |
Utility.logHttpError(StorageException ex,
OperationContext opContext)
Serializes the parsed StorageException.
|
static void |
Utility.logHttpRequest(HttpURLConnection conn,
OperationContext opContext)
Logs the HttpURLConnection request.
|
static void |
Utility.logHttpResponse(HttpURLConnection conn,
OperationContext opContext)
Logs the HttpURLConnection response.
|
protected StorageException |
StorageRequest.materializeException(OperationContext opContext)
Returns either the held exception from the operation if it is set, otherwise the translated exception.
|
R |
StorageRequest.postProcessResponse(HttpURLConnection connection,
P parentObject,
C client,
OperationContext context,
R storageObject)
Post-Stream Retrieval function.
|
abstract R |
StorageRequest.preProcessResponse(P parentObject,
C client,
OperationContext context)
Pre-Stream Retrieval function.
|
void |
StorageRequest.recoveryAction(OperationContext context)
Recovery action for retries.
|
void |
StorageRequest.setHeaders(HttpURLConnection connection,
P parentObject,
OperationContext context)
Function to set custom headers.
|
static HttpURLConnection |
BaseRequest.setMetadata(URI uri,
RequestOptions options,
UriQueryBuilder builder,
OperationContext opContext)
Sets the metadata.
|
static HttpURLConnection |
BaseRequest.setServiceProperties(URI uri,
RequestOptions options,
UriQueryBuilder builder,
OperationContext opContext)
Creates a HttpURLConnection used to set the Analytics service properties on the storage service.
|
static boolean |
Logger.shouldLog(OperationContext opContext) |
static void |
StorageRequest.signBlobQueueAndFileRequest(HttpURLConnection request,
ServiceClient client,
long contentLength,
OperationContext context) |
static void |
StorageCredentialsHelper.signBlobQueueAndFileRequest(StorageCredentials creds,
HttpURLConnection request,
long contentLength,
OperationContext opContext)
Signs a request using the specified operation context under the Shared Key authentication scheme.
|
abstract void |
StorageRequest.signRequest(HttpURLConnection connection,
C client,
OperationContext context)
Function to Sign headers.
|
static void |
StorageRequest.signTableRequest(HttpURLConnection request,
ServiceClient client,
long contentLength,
OperationContext context) |
static void |
StorageCredentialsHelper.signTableRequest(StorageCredentials creds,
HttpURLConnection request,
long contentLength,
OperationContext opContext)
Signs a request using the specified operation context under the Shared Key authentication scheme.
|
static void |
Logger.trace(OperationContext opContext,
String format) |
static void |
Logger.trace(OperationContext opContext,
String format,
Object... args) |
static void |
Logger.trace(OperationContext opContext,
String format,
Object arg1) |
static void |
Logger.trace(OperationContext opContext,
String format,
Object arg1,
Object arg2) |
static void |
Logger.warn(OperationContext opContext,
String format) |
static void |
Logger.warn(OperationContext opContext,
String format,
Object... args) |
static void |
Logger.warn(OperationContext opContext,
String format,
Object arg1) |
static void |
Logger.warn(OperationContext opContext,
String format,
Object arg1,
Object arg2) |
static StreamMd5AndLength |
Utility.writeToOutputStream(InputStream sourceStream,
OutputStream outStream,
long writeLength,
boolean rewindSourceStream,
boolean calculateMD5,
OperationContext opContext,
RequestOptions options)
Reads data from an input stream and writes it to an output stream, calculates the length of the data written, and
optionally calculates the MD5 hash for the data.
|
static StreamMd5AndLength |
Utility.writeToOutputStream(InputStream sourceStream,
OutputStream outStream,
long writeLength,
boolean rewindSourceStream,
boolean calculateMD5,
OperationContext opContext,
RequestOptions options,
Boolean shouldFlush)
Reads data from an input stream and writes it to an output stream, calculates the length of the data written, and
optionally calculates the MD5 hash for the data.
|
static StreamMd5AndLength |
Utility.writeToOutputStream(InputStream sourceStream,
OutputStream outStream,
long writeLength,
boolean rewindSourceStream,
boolean calculateMD5,
OperationContext opContext,
RequestOptions options,
Boolean shouldFlush,
StorageRequest<?,?,Integer> request,
StreamMd5AndLength descriptor)
Reads data from an input stream and writes it to an output stream, calculates the length of the data written, and
optionally calculates the MD5 hash for the data.
|
Constructor and Description |
---|
LazySegmentedIterable(StorageRequest<CLIENT_TYPE,PARENT_TYPE,ResultSegment<ENTITY_TYPE>> segmentGenerator,
CLIENT_TYPE client,
PARENT_TYPE parent,
RetryPolicyFactory policyFactory,
OperationContext opContext) |
LazySegmentedIterator(StorageRequest<CLIENT_TYPE,PARENT_TYPE,ResultSegment<ENTITY_TYPE>> segmentGenerator,
CLIENT_TYPE client,
PARENT_TYPE parent,
RetryPolicyFactory policyFactory,
OperationContext opContext)
Initializes the LazySegmentedIterator.
|
Modifier and Type | Method and Description |
---|---|
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,
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(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,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Creates a file using the specified access condition, request options and operation context.
|
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(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(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(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,
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(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(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(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,
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,
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(FileRequestOptions options,
OperationContext opContext)
Retrieves the current
FileServiceProperties for the given storage service. |
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,
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,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Downloads a file.
|
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.
|
ShareStats |
CloudFileShare.getStats(FileRequestOptions options,
OperationContext opContext)
Queries the service for this share's
ShareStats . |
protected StorageUri |
CloudFile.getTransformedAddress(OperationContext opContext)
Returns the transformed URI for the resource if the given credentials require transformation.
|
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(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(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(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(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(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,
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,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Resizes the file to the specified size.
|
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,
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,
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,
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,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads a file from data in a byte array.
|
void |
CloudFile.uploadFromFile(String path,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads a file from a local file.
|
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,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads the share's permissions using the specified request options and operation context.
|
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,
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,
FileRequestOptions options,
OperationContext opContext)
Uploads a new
FileServiceProperties configuration to the given storage service. |
void |
CloudFile.uploadText(String content,
String charsetName,
AccessCondition accessCondition,
FileRequestOptions options,
OperationContext opContext)
Uploads a file from a string using the specified encoding.
|
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,
int timeToLiveInSeconds,
int initialVisibilityDelayInSeconds,
QueueRequestOptions options,
OperationContext opContext)
Adds a message to the back of the queue with the specified options.
|
void |
CloudQueue.clear(QueueRequestOptions options,
OperationContext opContext)
Clears all messages from the queue, using the specified request options and operation context.
|
void |
CloudQueue.create(QueueRequestOptions options,
OperationContext opContext)
Creates the queue, using the specified request options and operation context.
|
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(QueueRequestOptions options,
OperationContext opContext)
Deletes the queue, using the specified request options and operation context.
|
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,
QueueRequestOptions options,
OperationContext opContext)
Deletes the specified message from the queue, using the specified request options and operation context.
|
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(QueueRequestOptions options,
OperationContext opContext)
Downloads the permissions settings for the queue using the specified request options and operation context.
|
ServiceProperties |
CloudQueueClient.downloadServiceProperties(QueueRequestOptions options,
OperationContext opContext)
Retrieves the current
ServiceProperties for the given storage service. |
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(QueueRequestOptions options,
OperationContext opContext)
Queries the service for the
ServiceStats . |
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(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(QueueRequestOptions options,
OperationContext opContext)
Peeks a message from the queue, using the specified request options and operation context.
|
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(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,
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(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,
QueueRequestOptions options,
OperationContext opContext)
Uploads the queue's permissions using the specified request options and operation context.
|
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(TableRequestOptions options,
OperationContext opContext)
Creates the table in the storage service, using the specified
TableRequestOptions and
OperationContext . |
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(TableRequestOptions options,
OperationContext opContext)
Deletes the table from the storage service, using the specified request options and operation context.
|
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(TableRequestOptions options,
OperationContext opContext)
Downloads the permissions settings for the table using the specified request options and operation context.
|
ServiceProperties |
CloudTableClient.downloadServiceProperties(TableRequestOptions options,
OperationContext opContext)
Retrieves the current
ServiceProperties for the given storage service. |
protected TableResult |
TableOperation.execute(CloudTableClient client,
String tableName,
TableRequestOptions options,
OperationContext opContext)
Reserved for internal use.
|
protected ArrayList<TableResult> |
TableBatchOperation.execute(CloudTableClient client,
String tableName,
TableRequestOptions options,
OperationContext opContext)
Reserved for internal use.
|
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,
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,
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,
TableRequestOptions options,
OperationContext opContext)
Executes a query, using the specified
TableRequestOptions and OperationContext . |
protected <T extends TableEntity,R> |
CloudTableClient.executeQuerySegmentedImpl(TableQuery<T> queryToExecute,
EntityResolver<R> resolver,
ResultContinuation continuationToken,
TableRequestOptions options,
OperationContext opContext)
Reserved for internal use.
|
<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,
TableRequestOptions options,
OperationContext opContext)
Executes a query in segmented mode with a
ResultContinuation continuation token,
using the specified TableRequestOptions and OperationContext . |
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.
|
protected <T extends TableEntity,R> |
CloudTableClient.generateIteratorForQuery(TableQuery<T> queryRef,
EntityResolver<R> resolver,
TableRequestOptions options,
OperationContext opContext)
Reserved for internal use.
|
ServiceStats |
CloudTableClient.getServiceStats(TableRequestOptions options,
OperationContext opContext)
Queries the given storage service for the
ServiceStats . |
protected StorageUri |
CloudTableClient.getTransformedEndPoint(OperationContext opContext) |
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(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 . |
protected TableResult |
TableOperation.parseResponse(InputStream inStream,
int httpStatusCode,
String etagFromHeader,
OperationContext opContext,
TableRequestOptions options)
Reserved for internal use.
|
protected TableResult |
QueryTableOperation.parseResponse(InputStream inStream,
int httpStatusCode,
String etagFromHeader,
OperationContext opContext,
TableRequestOptions options)
Reserved for internal use.
|
protected TableResult |
QueryTableOperation.performRetrieve(CloudTableClient client,
String tableName,
TableRequestOptions options,
OperationContext opContext)
Reserved for internal use.
|
void |
DynamicTableEntity.readEntity(HashMap<String,EntityProperty> properties,
OperationContext opContext)
Populates this
DynamicTableEntity instance using the specified map of property names to
EntityProperty data typed values. |
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. |
static void |
TableServiceEntity.readEntityWithReflection(Object instance,
HashMap<String,EntityProperty> properties,
OperationContext opContext)
Deserializes the table entity property map into the specified object instance using reflection.
|
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,
TableRequestOptions options,
OperationContext opContext)
Uploads a new
ServiceProperties configuration to the given storage service. |
HashMap<String,EntityProperty> |
DynamicTableEntity.writeEntity(OperationContext opContext)
Returns the map of property names to
EntityProperty data values from this DynamicTableEntity
instance. |
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. |
Copyright © 2019. All rights reserved.