public final class GeneratedBlobs extends Object
Constructor and Description |
---|
GeneratedBlobs(GeneratedStorageClient client)
Initializes an instance of GeneratedBlobs.
|
Modifier and Type | Method and Description |
---|---|
void |
abortCopyFromURL(String copyId,
Integer timeout,
String leaseId,
String requestId)
The Abort Copy From URL operation aborts a pending Copy From URL operation, and leaves a destination blob with zero length and full metadata.
|
io.reactivex.Completable |
abortCopyFromURLAsync(String copyId,
Integer timeout,
String leaseId,
String requestId)
The Abort Copy From URL operation aborts a pending Copy From URL operation, and leaves a destination blob with zero length and full metadata.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
abortCopyFromURLAsync(String copyId,
Integer timeout,
String leaseId,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Abort Copy From URL operation aborts a pending Copy From URL operation, and leaves a destination blob with zero length and full metadata.
|
io.reactivex.Single<BlobsAbortCopyFromURLResponse> |
abortCopyFromURLWithRestResponseAsync(String copyId,
Integer timeout,
String leaseId,
String requestId)
The Abort Copy From URL operation aborts a pending Copy From URL operation, and leaves a destination blob with zero length and full metadata.
|
void |
acquireLease(Integer timeout,
Integer duration,
String proposedLeaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
io.reactivex.Completable |
acquireLeaseAsync(Integer timeout,
Integer duration,
String proposedLeaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
acquireLeaseAsync(Integer timeout,
Integer duration,
String proposedLeaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
io.reactivex.Single<BlobsAcquireLeaseResponse> |
acquireLeaseWithRestResponseAsync(Integer timeout,
Integer duration,
String proposedLeaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
void |
breakLease(Integer timeout,
Integer breakPeriod,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
io.reactivex.Completable |
breakLeaseAsync(Integer timeout,
Integer breakPeriod,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
breakLeaseAsync(Integer timeout,
Integer breakPeriod,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
io.reactivex.Single<BlobsBreakLeaseResponse> |
breakLeaseWithRestResponseAsync(Integer timeout,
Integer breakPeriod,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
void |
changeLease(String leaseId,
String proposedLeaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
io.reactivex.Completable |
changeLeaseAsync(String leaseId,
String proposedLeaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
changeLeaseAsync(String leaseId,
String proposedLeaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
io.reactivex.Single<BlobsChangeLeaseResponse> |
changeLeaseWithRestResponseAsync(String leaseId,
String proposedLeaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
void |
createSnapshot(Integer timeout,
Map<String,String> metadata,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String leaseId,
String requestId)
The Create Snapshot operation creates a read-only snapshot of a blob.
|
io.reactivex.Completable |
createSnapshotAsync(Integer timeout,
Map<String,String> metadata,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String leaseId,
String requestId)
The Create Snapshot operation creates a read-only snapshot of a blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
createSnapshotAsync(Integer timeout,
Map<String,String> metadata,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String leaseId,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Create Snapshot operation creates a read-only snapshot of a blob.
|
io.reactivex.Single<BlobsCreateSnapshotResponse> |
createSnapshotWithRestResponseAsync(Integer timeout,
Map<String,String> metadata,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String leaseId,
String requestId)
The Create Snapshot operation creates a read-only snapshot of a blob.
|
void |
delete(String snapshot,
Integer timeout,
String leaseId,
DeleteSnapshotsOptionType deleteSnapshots,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
If the storage account's soft delete feature is disabled then, when a blob is deleted, it is permanently removed from the storage account.
|
io.reactivex.Completable |
deleteAsync(String snapshot,
Integer timeout,
String leaseId,
DeleteSnapshotsOptionType deleteSnapshots,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
If the storage account's soft delete feature is disabled then, when a blob is deleted, it is permanently removed from the storage account.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
deleteAsync(String snapshot,
Integer timeout,
String leaseId,
DeleteSnapshotsOptionType deleteSnapshots,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
If the storage account's soft delete feature is disabled then, when a blob is deleted, it is permanently removed from the storage account.
|
io.reactivex.Single<BlobsDeleteResponse> |
deleteWithRestResponseAsync(String snapshot,
Integer timeout,
String leaseId,
DeleteSnapshotsOptionType deleteSnapshots,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
If the storage account's soft delete feature is disabled then, when a blob is deleted, it is permanently removed from the storage account.
|
io.reactivex.Flowable<ByteBuffer> |
download(String snapshot,
Integer timeout,
String range,
String leaseId,
Boolean rangeGetContentMD5,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Download operation reads or downloads a blob from the system, including its metadata and properties.
|
io.reactivex.Maybe<io.reactivex.Flowable<ByteBuffer>> |
downloadAsync(String snapshot,
Integer timeout,
String range,
String leaseId,
Boolean rangeGetContentMD5,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Download operation reads or downloads a blob from the system, including its metadata and properties.
|
com.microsoft.rest.v2.ServiceFuture<io.reactivex.Flowable<ByteBuffer>> |
downloadAsync(String snapshot,
Integer timeout,
String range,
String leaseId,
Boolean rangeGetContentMD5,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<io.reactivex.Flowable<ByteBuffer>> serviceCallback)
The Download operation reads or downloads a blob from the system, including its metadata and properties.
|
io.reactivex.Single<BlobsDownloadResponse> |
downloadWithRestResponseAsync(String snapshot,
Integer timeout,
String range,
String leaseId,
Boolean rangeGetContentMD5,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Download operation reads or downloads a blob from the system, including its metadata and properties.
|
void |
getProperties(String snapshot,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Get Properties operation returns all user-defined metadata, standard HTTP properties, and system properties for the blob.
|
io.reactivex.Completable |
getPropertiesAsync(String snapshot,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Get Properties operation returns all user-defined metadata, standard HTTP properties, and system properties for the blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
getPropertiesAsync(String snapshot,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Get Properties operation returns all user-defined metadata, standard HTTP properties, and system properties for the blob.
|
io.reactivex.Single<BlobsGetPropertiesResponse> |
getPropertiesWithRestResponseAsync(String snapshot,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Get Properties operation returns all user-defined metadata, standard HTTP properties, and system properties for the blob.
|
void |
releaseLease(String leaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
io.reactivex.Completable |
releaseLeaseAsync(String leaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
releaseLeaseAsync(String leaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
io.reactivex.Single<BlobsReleaseLeaseResponse> |
releaseLeaseWithRestResponseAsync(String leaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
void |
renewLease(String leaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
io.reactivex.Completable |
renewLeaseAsync(String leaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
renewLeaseAsync(String leaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
io.reactivex.Single<BlobsRenewLeaseResponse> |
renewLeaseWithRestResponseAsync(String leaseId,
Integer timeout,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Lease Blob operation establishes and manages a lock on a blob for write and delete operations.
|
void |
setHTTPHeaders(Integer timeout,
String blobCacheControl,
String blobContentType,
byte[] blobContentMD5,
String blobContentEncoding,
String blobContentLanguage,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String blobContentDisposition,
String requestId)
The Set HTTP Headers operation sets system properties on the blob.
|
io.reactivex.Completable |
setHTTPHeadersAsync(Integer timeout,
String blobCacheControl,
String blobContentType,
byte[] blobContentMD5,
String blobContentEncoding,
String blobContentLanguage,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String blobContentDisposition,
String requestId)
The Set HTTP Headers operation sets system properties on the blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
setHTTPHeadersAsync(Integer timeout,
String blobCacheControl,
String blobContentType,
byte[] blobContentMD5,
String blobContentEncoding,
String blobContentLanguage,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String blobContentDisposition,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Set HTTP Headers operation sets system properties on the blob.
|
io.reactivex.Single<BlobsSetHTTPHeadersResponse> |
setHTTPHeadersWithRestResponseAsync(Integer timeout,
String blobCacheControl,
String blobContentType,
byte[] blobContentMD5,
String blobContentEncoding,
String blobContentLanguage,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String blobContentDisposition,
String requestId)
The Set HTTP Headers operation sets system properties on the blob.
|
void |
setMetadata(Integer timeout,
Map<String,String> metadata,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Set Blob Metadata operation sets user-defined metadata for the specified blob as one or more name-value pairs.
|
io.reactivex.Completable |
setMetadataAsync(Integer timeout,
Map<String,String> metadata,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Set Blob Metadata operation sets user-defined metadata for the specified blob as one or more name-value pairs.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
setMetadataAsync(Integer timeout,
Map<String,String> metadata,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Set Blob Metadata operation sets user-defined metadata for the specified blob as one or more name-value pairs.
|
io.reactivex.Single<BlobsSetMetadataResponse> |
setMetadataWithRestResponseAsync(Integer timeout,
Map<String,String> metadata,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Set Blob Metadata operation sets user-defined metadata for the specified blob as one or more name-value pairs.
|
void |
setTier(AccessTier tier,
Integer timeout,
String requestId)
The Set Tier operation sets the tier on a blob.
|
io.reactivex.Completable |
setTierAsync(AccessTier tier,
Integer timeout,
String requestId)
The Set Tier operation sets the tier on a blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
setTierAsync(AccessTier tier,
Integer timeout,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Set Tier operation sets the tier on a blob.
|
io.reactivex.Single<BlobsSetTierResponse> |
setTierWithRestResponseAsync(AccessTier tier,
Integer timeout,
String requestId)
The Set Tier operation sets the tier on a blob.
|
void |
startCopyFromURL(URL copySource,
Integer timeout,
Map<String,String> metadata,
OffsetDateTime sourceIfModifiedSince,
OffsetDateTime sourceIfUnmodifiedSince,
String sourceIfMatches,
String sourceIfNoneMatch,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String leaseId,
String sourceLeaseId,
String requestId)
The Start Copy From URL operation copies a blob or an internet resource to a new blob.
|
io.reactivex.Completable |
startCopyFromURLAsync(URL copySource,
Integer timeout,
Map<String,String> metadata,
OffsetDateTime sourceIfModifiedSince,
OffsetDateTime sourceIfUnmodifiedSince,
String sourceIfMatches,
String sourceIfNoneMatch,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String leaseId,
String sourceLeaseId,
String requestId)
The Start Copy From URL operation copies a blob or an internet resource to a new blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
startCopyFromURLAsync(URL copySource,
Integer timeout,
Map<String,String> metadata,
OffsetDateTime sourceIfModifiedSince,
OffsetDateTime sourceIfUnmodifiedSince,
String sourceIfMatches,
String sourceIfNoneMatch,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String leaseId,
String sourceLeaseId,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Start Copy From URL operation copies a blob or an internet resource to a new blob.
|
io.reactivex.Single<BlobsStartCopyFromURLResponse> |
startCopyFromURLWithRestResponseAsync(URL copySource,
Integer timeout,
Map<String,String> metadata,
OffsetDateTime sourceIfModifiedSince,
OffsetDateTime sourceIfUnmodifiedSince,
String sourceIfMatches,
String sourceIfNoneMatch,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String leaseId,
String sourceLeaseId,
String requestId)
The Start Copy From URL operation copies a blob or an internet resource to a new blob.
|
void |
undelete(Integer timeout,
String requestId)
Undelete a blob that was previously soft deleted.
|
io.reactivex.Completable |
undeleteAsync(Integer timeout,
String requestId)
Undelete a blob that was previously soft deleted.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
undeleteAsync(Integer timeout,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
Undelete a blob that was previously soft deleted.
|
io.reactivex.Single<BlobsUndeleteResponse> |
undeleteWithRestResponseAsync(Integer timeout,
String requestId)
Undelete a blob that was previously soft deleted.
|
public GeneratedBlobs(GeneratedStorageClient client)
client
- the instance of the service client containing this operation class.public io.reactivex.Flowable<ByteBuffer> download(String snapshot, Integer timeout, String range, String leaseId, Boolean rangeGetContentMD5, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.range
- Return only the bytes of the blob in the specified range.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.rangeGetContentMD5
- When set to true and specified together with the Range, the service returns the MD5 hash for the range, as long as the range is less than or equal to 4 MB in size.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<io.reactivex.Flowable<ByteBuffer>> downloadAsync(String snapshot, Integer timeout, String range, String leaseId, Boolean rangeGetContentMD5, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<io.reactivex.Flowable<ByteBuffer>> serviceCallback)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.range
- Return only the bytes of the blob in the specified range.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.rangeGetContentMD5
- When set to true and specified together with the Range, the service returns the MD5 hash for the range, as long as the range is less than or equal to 4 MB in size.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsDownloadResponse> downloadWithRestResponseAsync(String snapshot, Integer timeout, String range, String leaseId, Boolean rangeGetContentMD5, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.range
- Return only the bytes of the blob in the specified range.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.rangeGetContentMD5
- When set to true and specified together with the Range, the service returns the MD5 hash for the range, as long as the range is less than or equal to 4 MB in size.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Maybe<io.reactivex.Flowable<ByteBuffer>> downloadAsync(String snapshot, Integer timeout, String range, String leaseId, Boolean rangeGetContentMD5, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.range
- Return only the bytes of the blob in the specified range.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.rangeGetContentMD5
- When set to true and specified together with the Range, the service returns the MD5 hash for the range, as long as the range is less than or equal to 4 MB in size.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void getProperties(String snapshot, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> getPropertiesAsync(String snapshot, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsGetPropertiesResponse> getPropertiesWithRestResponseAsync(String snapshot, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable getPropertiesAsync(String snapshot, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void delete(String snapshot, Integer timeout, String leaseId, DeleteSnapshotsOptionType deleteSnapshots, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.deleteSnapshots
- Required if the blob has associated snapshots. Specify one of the following two options: include: Delete the base blob and all of its snapshots. only: Delete only the blob's snapshots and not the blob itself. Possible values include: 'include', 'only'.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> deleteAsync(String snapshot, Integer timeout, String leaseId, DeleteSnapshotsOptionType deleteSnapshots, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.deleteSnapshots
- Required if the blob has associated snapshots. Specify one of the following two options: include: Delete the base blob and all of its snapshots. only: Delete only the blob's snapshots and not the blob itself. Possible values include: 'include', 'only'.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsDeleteResponse> deleteWithRestResponseAsync(String snapshot, Integer timeout, String leaseId, DeleteSnapshotsOptionType deleteSnapshots, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.deleteSnapshots
- Required if the blob has associated snapshots. Specify one of the following two options: include: Delete the base blob and all of its snapshots. only: Delete only the blob's snapshots and not the blob itself. Possible values include: 'include', 'only'.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable deleteAsync(String snapshot, Integer timeout, String leaseId, DeleteSnapshotsOptionType deleteSnapshots, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
snapshot
- The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating a Snapshot of a Blob.</a>.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.deleteSnapshots
- Required if the blob has associated snapshots. Specify one of the following two options: include: Delete the base blob and all of its snapshots. only: Delete only the blob's snapshots and not the blob itself. Possible values include: 'include', 'only'.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void undelete(Integer timeout, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> undeleteAsync(Integer timeout, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsUndeleteResponse> undeleteWithRestResponseAsync(Integer timeout, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable undeleteAsync(Integer timeout, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void setHTTPHeaders(Integer timeout, String blobCacheControl, String blobContentType, byte[] blobContentMD5, String blobContentEncoding, String blobContentLanguage, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String blobContentDisposition, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.blobCacheControl
- Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.blobContentType
- Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.blobContentMD5
- Optional. An MD5 hash of the blob content. Note that this hash is not validated, as the hashes for the individual blocks were validated when each was uploaded.blobContentEncoding
- Optional. Sets the blob's content encoding. If specified, this property is stored with the blob and returned with a read request.blobContentLanguage
- Optional. Set the blob's content language. If specified, this property is stored with the blob and returned with a read request.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.blobContentDisposition
- Optional. Sets the blob's Content-Disposition header.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> setHTTPHeadersAsync(Integer timeout, String blobCacheControl, String blobContentType, byte[] blobContentMD5, String blobContentEncoding, String blobContentLanguage, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String blobContentDisposition, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.blobCacheControl
- Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.blobContentType
- Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.blobContentMD5
- Optional. An MD5 hash of the blob content. Note that this hash is not validated, as the hashes for the individual blocks were validated when each was uploaded.blobContentEncoding
- Optional. Sets the blob's content encoding. If specified, this property is stored with the blob and returned with a read request.blobContentLanguage
- Optional. Set the blob's content language. If specified, this property is stored with the blob and returned with a read request.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.blobContentDisposition
- Optional. Sets the blob's Content-Disposition header.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsSetHTTPHeadersResponse> setHTTPHeadersWithRestResponseAsync(Integer timeout, String blobCacheControl, String blobContentType, byte[] blobContentMD5, String blobContentEncoding, String blobContentLanguage, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String blobContentDisposition, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.blobCacheControl
- Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.blobContentType
- Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.blobContentMD5
- Optional. An MD5 hash of the blob content. Note that this hash is not validated, as the hashes for the individual blocks were validated when each was uploaded.blobContentEncoding
- Optional. Sets the blob's content encoding. If specified, this property is stored with the blob and returned with a read request.blobContentLanguage
- Optional. Set the blob's content language. If specified, this property is stored with the blob and returned with a read request.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.blobContentDisposition
- Optional. Sets the blob's Content-Disposition header.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable setHTTPHeadersAsync(Integer timeout, String blobCacheControl, String blobContentType, byte[] blobContentMD5, String blobContentEncoding, String blobContentLanguage, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String blobContentDisposition, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.blobCacheControl
- Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.blobContentType
- Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.blobContentMD5
- Optional. An MD5 hash of the blob content. Note that this hash is not validated, as the hashes for the individual blocks were validated when each was uploaded.blobContentEncoding
- Optional. Sets the blob's content encoding. If specified, this property is stored with the blob and returned with a read request.blobContentLanguage
- Optional. Set the blob's content language. If specified, this property is stored with the blob and returned with a read request.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.blobContentDisposition
- Optional. Sets the blob's Content-Disposition header.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void setMetadata(Integer timeout, Map<String,String> metadata, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> setMetadataAsync(Integer timeout, Map<String,String> metadata, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsSetMetadataResponse> setMetadataWithRestResponseAsync(Integer timeout, Map<String,String> metadata, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable setMetadataAsync(Integer timeout, Map<String,String> metadata, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void acquireLease(Integer timeout, Integer duration, String proposedLeaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.duration
- Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds. A lease duration cannot be changed using renew or change.proposedLeaseId
- Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> acquireLeaseAsync(Integer timeout, Integer duration, String proposedLeaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.duration
- Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds. A lease duration cannot be changed using renew or change.proposedLeaseId
- Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsAcquireLeaseResponse> acquireLeaseWithRestResponseAsync(Integer timeout, Integer duration, String proposedLeaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.duration
- Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds. A lease duration cannot be changed using renew or change.proposedLeaseId
- Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable acquireLeaseAsync(Integer timeout, Integer duration, String proposedLeaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.duration
- Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. A non-infinite lease can be between 15 and 60 seconds. A lease duration cannot be changed using renew or change.proposedLeaseId
- Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void releaseLease(@NonNull String leaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> releaseLeaseAsync(@NonNull String leaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsReleaseLeaseResponse> releaseLeaseWithRestResponseAsync(@NonNull String leaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable releaseLeaseAsync(@NonNull String leaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void renewLease(@NonNull String leaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> renewLeaseAsync(@NonNull String leaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsRenewLeaseResponse> renewLeaseWithRestResponseAsync(@NonNull String leaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable renewLeaseAsync(@NonNull String leaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void changeLease(@NonNull String leaseId, @NonNull String proposedLeaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.proposedLeaseId
- Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> changeLeaseAsync(@NonNull String leaseId, @NonNull String proposedLeaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.proposedLeaseId
- Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsChangeLeaseResponse> changeLeaseWithRestResponseAsync(@NonNull String leaseId, @NonNull String proposedLeaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.proposedLeaseId
- Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable changeLeaseAsync(@NonNull String leaseId, @NonNull String proposedLeaseId, Integer timeout, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.proposedLeaseId
- Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void breakLease(Integer timeout, Integer breakPeriod, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.breakPeriod
- For a break operation, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60. This break period is only used if it is shorter than the time remaining on the lease. If longer, the time remaining on the lease is used. A new lease will not be available before the break period has expired, but the lease may be held for longer than the break period. If this header does not appear with a break operation, a fixed-duration lease breaks after the remaining lease period elapses, and an infinite lease breaks immediately.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> breakLeaseAsync(Integer timeout, Integer breakPeriod, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.breakPeriod
- For a break operation, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60. This break period is only used if it is shorter than the time remaining on the lease. If longer, the time remaining on the lease is used. A new lease will not be available before the break period has expired, but the lease may be held for longer than the break period. If this header does not appear with a break operation, a fixed-duration lease breaks after the remaining lease period elapses, and an infinite lease breaks immediately.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsBreakLeaseResponse> breakLeaseWithRestResponseAsync(Integer timeout, Integer breakPeriod, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.breakPeriod
- For a break operation, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60. This break period is only used if it is shorter than the time remaining on the lease. If longer, the time remaining on the lease is used. A new lease will not be available before the break period has expired, but the lease may be held for longer than the break period. If this header does not appear with a break operation, a fixed-duration lease breaks after the remaining lease period elapses, and an infinite lease breaks immediately.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable breakLeaseAsync(Integer timeout, Integer breakPeriod, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.breakPeriod
- For a break operation, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60. This break period is only used if it is shorter than the time remaining on the lease. If longer, the time remaining on the lease is used. A new lease will not be available before the break period has expired, but the lease may be held for longer than the break period. If this header does not appear with a break operation, a fixed-duration lease breaks after the remaining lease period elapses, and an infinite lease breaks immediately.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void createSnapshot(Integer timeout, Map<String,String> metadata, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String leaseId, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> createSnapshotAsync(Integer timeout, Map<String,String> metadata, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String leaseId, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsCreateSnapshotResponse> createSnapshotWithRestResponseAsync(Integer timeout, Map<String,String> metadata, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String leaseId, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable createSnapshotAsync(Integer timeout, Map<String,String> metadata, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String leaseId, String requestId)
timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void startCopyFromURL(@NonNull URL copySource, Integer timeout, Map<String,String> metadata, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatches, String sourceIfNoneMatch, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String leaseId, String sourceLeaseId, String requestId)
copySource
- Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would appear in a request URI. The source blob must either be public or must be authenticated via a shared access signature.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.sourceIfModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.sourceIfUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.sourceIfMatches
- Specify an ETag value to operate only on blobs with a matching value.sourceIfNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.sourceLeaseId
- Specify this header to perform the operation only if the lease ID given matches the active lease ID of the source blob.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> startCopyFromURLAsync(@NonNull URL copySource, Integer timeout, Map<String,String> metadata, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatches, String sourceIfNoneMatch, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String leaseId, String sourceLeaseId, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
copySource
- Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would appear in a request URI. The source blob must either be public or must be authenticated via a shared access signature.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.sourceIfModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.sourceIfUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.sourceIfMatches
- Specify an ETag value to operate only on blobs with a matching value.sourceIfNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.sourceLeaseId
- Specify this header to perform the operation only if the lease ID given matches the active lease ID of the source blob.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsStartCopyFromURLResponse> startCopyFromURLWithRestResponseAsync(@NonNull URL copySource, Integer timeout, Map<String,String> metadata, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatches, String sourceIfNoneMatch, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String leaseId, String sourceLeaseId, String requestId)
copySource
- Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would appear in a request URI. The source blob must either be public or must be authenticated via a shared access signature.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.sourceIfModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.sourceIfUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.sourceIfMatches
- Specify an ETag value to operate only on blobs with a matching value.sourceIfNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.sourceLeaseId
- Specify this header to perform the operation only if the lease ID given matches the active lease ID of the source blob.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable startCopyFromURLAsync(@NonNull URL copySource, Integer timeout, Map<String,String> metadata, OffsetDateTime sourceIfModifiedSince, OffsetDateTime sourceIfUnmodifiedSince, String sourceIfMatches, String sourceIfNoneMatch, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String leaseId, String sourceLeaseId, String requestId)
copySource
- Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would appear in a request URI. The source blob must either be public or must be authenticated via a shared access signature.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.metadata
- Optional. Specifies a user-defined name-value pair associated with the blob. If no name-value pairs are specified, the operation will copy the metadata from the source blob or file to the destination blob. If one or more name-value pairs are specified, the destination blob is created with the specified metadata, and metadata is not copied from the source blob or file. Note that beginning with version 2009-09-19, metadata names must adhere to the naming rules for C# identifiers. See Naming and Referencing Containers, Blobs, and Metadata for more information.sourceIfModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.sourceIfUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.sourceIfMatches
- Specify an ETag value to operate only on blobs with a matching value.sourceIfNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.ifModifiedSince
- Specify this header value to operate only on a blob if it has been modified since the specified date/time.ifUnmodifiedSince
- Specify this header value to operate only on a blob if it has not been modified since the specified date/time.ifMatches
- Specify an ETag value to operate only on blobs with a matching value.ifNoneMatch
- Specify an ETag value to operate only on blobs without a matching value.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.sourceLeaseId
- Specify this header to perform the operation only if the lease ID given matches the active lease ID of the source blob.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void abortCopyFromURL(@NonNull String copyId, Integer timeout, String leaseId, String requestId)
copyId
- The copy identifier provided in the x-ms-copy-id header of the original Copy Blob operation.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> abortCopyFromURLAsync(@NonNull String copyId, Integer timeout, String leaseId, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
copyId
- The copy identifier provided in the x-ms-copy-id header of the original Copy Blob operation.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsAbortCopyFromURLResponse> abortCopyFromURLWithRestResponseAsync(@NonNull String copyId, Integer timeout, String leaseId, String requestId)
copyId
- The copy identifier provided in the x-ms-copy-id header of the original Copy Blob operation.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable abortCopyFromURLAsync(@NonNull String copyId, Integer timeout, String leaseId, String requestId)
copyId
- The copy identifier provided in the x-ms-copy-id header of the original Copy Blob operation.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public void setTier(@NonNull AccessTier tier, Integer timeout, String requestId)
tier
- Indicates the tier to be set on the blob. Possible values include: 'P4', 'P6', 'P10', 'P20', 'P30', 'P40', 'P50', 'Hot', 'Cool', 'Archive'.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.StorageErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.microsoft.rest.v2.ServiceFuture<Void> setTierAsync(@NonNull AccessTier tier, Integer timeout, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
tier
- Indicates the tier to be set on the blob. Possible values include: 'P4', 'P6', 'P10', 'P20', 'P30', 'P40', 'P50', 'Hot', 'Cool', 'Archive'.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlobsSetTierResponse> setTierWithRestResponseAsync(@NonNull AccessTier tier, Integer timeout, String requestId)
tier
- Indicates the tier to be set on the blob. Possible values include: 'P4', 'P6', 'P10', 'P20', 'P30', 'P40', 'P50', 'Hot', 'Cool', 'Archive'.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable setTierAsync(@NonNull AccessTier tier, Integer timeout, String requestId)
tier
- Indicates the tier to be set on the blob. Possible values include: 'P4', 'P6', 'P10', 'P20', 'P30', 'P40', 'P50', 'Hot', 'Cool', 'Archive'.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.IllegalArgumentException
- thrown if parameters fail the validation.Copyright © 2018. All rights reserved.