public final class GeneratedPageBlobs extends Object
Constructor and Description |
---|
GeneratedPageBlobs(GeneratedStorageClient client)
Initializes an instance of GeneratedPageBlobs.
|
Modifier and Type | Method and Description |
---|---|
void |
clearPages(long contentLength,
Integer timeout,
String range,
String leaseId,
Long ifSequenceNumberLessThanOrEqualTo,
Long ifSequenceNumberLessThan,
Long ifSequenceNumberEqualTo,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Clear Pages operation clears a set of pages from a page blob.
|
io.reactivex.Completable |
clearPagesAsync(long contentLength,
Integer timeout,
String range,
String leaseId,
Long ifSequenceNumberLessThanOrEqualTo,
Long ifSequenceNumberLessThan,
Long ifSequenceNumberEqualTo,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Clear Pages operation clears a set of pages from a page blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
clearPagesAsync(long contentLength,
Integer timeout,
String range,
String leaseId,
Long ifSequenceNumberLessThanOrEqualTo,
Long ifSequenceNumberLessThan,
Long ifSequenceNumberEqualTo,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Clear Pages operation clears a set of pages from a page blob.
|
io.reactivex.Single<PageBlobsClearPagesResponse> |
clearPagesWithRestResponseAsync(long contentLength,
Integer timeout,
String range,
String leaseId,
Long ifSequenceNumberLessThanOrEqualTo,
Long ifSequenceNumberLessThan,
Long ifSequenceNumberEqualTo,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Clear Pages operation clears a set of pages from a page blob.
|
void |
copyIncremental(URL copySource,
Integer timeout,
Map<String,String> metadata,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Copy Incremental operation copies a snapshot of the source page blob to a destination page blob.
|
io.reactivex.Completable |
copyIncrementalAsync(URL copySource,
Integer timeout,
Map<String,String> metadata,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Copy Incremental operation copies a snapshot of the source page blob to a destination page blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
copyIncrementalAsync(URL copySource,
Integer timeout,
Map<String,String> metadata,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Copy Incremental operation copies a snapshot of the source page blob to a destination page blob.
|
io.reactivex.Single<PageBlobsCopyIncrementalResponse> |
copyIncrementalWithRestResponseAsync(URL copySource,
Integer timeout,
Map<String,String> metadata,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Copy Incremental operation copies a snapshot of the source page blob to a destination page blob.
|
void |
create(long contentLength,
Integer timeout,
String blobContentType,
String blobContentEncoding,
String blobContentLanguage,
byte[] blobContentMD5,
String blobCacheControl,
Map<String,String> metadata,
String leaseId,
String blobContentDisposition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
Long blobContentLength,
Long blobSequenceNumber,
String requestId)
The Create operation creates a new page blob.
|
io.reactivex.Completable |
createAsync(long contentLength,
Integer timeout,
String blobContentType,
String blobContentEncoding,
String blobContentLanguage,
byte[] blobContentMD5,
String blobCacheControl,
Map<String,String> metadata,
String leaseId,
String blobContentDisposition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
Long blobContentLength,
Long blobSequenceNumber,
String requestId)
The Create operation creates a new page blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
createAsync(long contentLength,
Integer timeout,
String blobContentType,
String blobContentEncoding,
String blobContentLanguage,
byte[] blobContentMD5,
String blobCacheControl,
Map<String,String> metadata,
String leaseId,
String blobContentDisposition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
Long blobContentLength,
Long blobSequenceNumber,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Create operation creates a new page blob.
|
io.reactivex.Single<PageBlobsCreateResponse> |
createWithRestResponseAsync(long contentLength,
Integer timeout,
String blobContentType,
String blobContentEncoding,
String blobContentLanguage,
byte[] blobContentMD5,
String blobCacheControl,
Map<String,String> metadata,
String leaseId,
String blobContentDisposition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
Long blobContentLength,
Long blobSequenceNumber,
String requestId)
The Create operation creates a new page blob.
|
PageList |
getPageRanges(String snapshot,
Integer timeout,
String range,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot of a page blob.
|
io.reactivex.Maybe<PageList> |
getPageRangesAsync(String snapshot,
Integer timeout,
String range,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot of a page blob.
|
com.microsoft.rest.v2.ServiceFuture<PageList> |
getPageRangesAsync(String snapshot,
Integer timeout,
String range,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<PageList> serviceCallback)
The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot of a page blob.
|
PageList |
getPageRangesDiff(String snapshot,
Integer timeout,
String prevsnapshot,
String range,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that were changed between target blob and previous snapshot.
|
io.reactivex.Maybe<PageList> |
getPageRangesDiffAsync(String snapshot,
Integer timeout,
String prevsnapshot,
String range,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that were changed between target blob and previous snapshot.
|
com.microsoft.rest.v2.ServiceFuture<PageList> |
getPageRangesDiffAsync(String snapshot,
Integer timeout,
String prevsnapshot,
String range,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<PageList> serviceCallback)
[Update] The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that were changed between target blob and previous snapshot.
|
io.reactivex.Single<PageBlobsGetPageRangesDiffResponse> |
getPageRangesDiffWithRestResponseAsync(String snapshot,
Integer timeout,
String prevsnapshot,
String range,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
[Update] The Get Page Ranges Diff operation returns the list of valid page ranges for a page blob that were changed between target blob and previous snapshot.
|
io.reactivex.Single<PageBlobsGetPageRangesResponse> |
getPageRangesWithRestResponseAsync(String snapshot,
Integer timeout,
String range,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Get Page Ranges operation returns the list of valid page ranges for a page blob or snapshot of a page blob.
|
void |
resize(long blobContentLength,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
Resize the Blob.
|
io.reactivex.Completable |
resizeAsync(long blobContentLength,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
Resize the Blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
resizeAsync(long blobContentLength,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
Resize the Blob.
|
io.reactivex.Single<PageBlobsResizeResponse> |
resizeWithRestResponseAsync(long blobContentLength,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
Resize the Blob.
|
void |
updateSequenceNumber(SequenceNumberActionType sequenceNumberAction,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
Long blobSequenceNumber,
String requestId)
Update the sequence number of the blob.
|
io.reactivex.Completable |
updateSequenceNumberAsync(SequenceNumberActionType sequenceNumberAction,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
Long blobSequenceNumber,
String requestId)
Update the sequence number of the blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
updateSequenceNumberAsync(SequenceNumberActionType sequenceNumberAction,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
Long blobSequenceNumber,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
Update the sequence number of the blob.
|
io.reactivex.Single<PageBlobsUpdateSequenceNumberResponse> |
updateSequenceNumberWithRestResponseAsync(SequenceNumberActionType sequenceNumberAction,
Integer timeout,
String leaseId,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
Long blobSequenceNumber,
String requestId)
Update the sequence number of the blob.
|
void |
uploadPages(io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
String range,
String leaseId,
Long ifSequenceNumberLessThanOrEqualTo,
Long ifSequenceNumberLessThan,
Long ifSequenceNumberEqualTo,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Upload Pages operation writes a range of pages to a page blob.
|
io.reactivex.Completable |
uploadPagesAsync(io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
String range,
String leaseId,
Long ifSequenceNumberLessThanOrEqualTo,
Long ifSequenceNumberLessThan,
Long ifSequenceNumberEqualTo,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Upload Pages operation writes a range of pages to a page blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
uploadPagesAsync(io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
String range,
String leaseId,
Long ifSequenceNumberLessThanOrEqualTo,
Long ifSequenceNumberLessThan,
Long ifSequenceNumberEqualTo,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Upload Pages operation writes a range of pages to a page blob.
|
io.reactivex.Single<PageBlobsUploadPagesResponse> |
uploadPagesWithRestResponseAsync(io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
String range,
String leaseId,
Long ifSequenceNumberLessThanOrEqualTo,
Long ifSequenceNumberLessThan,
Long ifSequenceNumberEqualTo,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Upload Pages operation writes a range of pages to a page blob.
|
public GeneratedPageBlobs(GeneratedStorageClient client)
client
- the instance of the service client containing this operation class.public void create(@NonNull long contentLength, Integer timeout, String blobContentType, String blobContentEncoding, String blobContentLanguage, byte[] blobContentMD5, String blobCacheControl, Map<String,String> metadata, String leaseId, String blobContentDisposition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, Long blobContentLength, Long blobSequenceNumber, String requestId)
contentLength
- The length of the request.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>.blobContentType
- Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.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.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.blobCacheControl
- Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.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.blobContentDisposition
- Optional. Sets the blob's Content-Disposition header.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.blobContentLength
- This header specifies the maximum size for the page blob, up to 1 TB. The page blob size must be aligned to a 512-byte boundary.blobSequenceNumber
- Set for page blobs only. The sequence number is a user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 2^63 - 1.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> createAsync(@NonNull long contentLength, Integer timeout, String blobContentType, String blobContentEncoding, String blobContentLanguage, byte[] blobContentMD5, String blobCacheControl, Map<String,String> metadata, String leaseId, String blobContentDisposition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, Long blobContentLength, Long blobSequenceNumber, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
contentLength
- The length of the request.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>.blobContentType
- Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.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.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.blobCacheControl
- Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.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.blobContentDisposition
- Optional. Sets the blob's Content-Disposition header.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.blobContentLength
- This header specifies the maximum size for the page blob, up to 1 TB. The page blob size must be aligned to a 512-byte boundary.blobSequenceNumber
- Set for page blobs only. The sequence number is a user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 2^63 - 1.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<PageBlobsCreateResponse> createWithRestResponseAsync(@NonNull long contentLength, Integer timeout, String blobContentType, String blobContentEncoding, String blobContentLanguage, byte[] blobContentMD5, String blobCacheControl, Map<String,String> metadata, String leaseId, String blobContentDisposition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, Long blobContentLength, Long blobSequenceNumber, String requestId)
contentLength
- The length of the request.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>.blobContentType
- Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.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.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.blobCacheControl
- Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.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.blobContentDisposition
- Optional. Sets the blob's Content-Disposition header.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.blobContentLength
- This header specifies the maximum size for the page blob, up to 1 TB. The page blob size must be aligned to a 512-byte boundary.blobSequenceNumber
- Set for page blobs only. The sequence number is a user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 2^63 - 1.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 createAsync(@NonNull long contentLength, Integer timeout, String blobContentType, String blobContentEncoding, String blobContentLanguage, byte[] blobContentMD5, String blobCacheControl, Map<String,String> metadata, String leaseId, String blobContentDisposition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, Long blobContentLength, Long blobSequenceNumber, String requestId)
contentLength
- The length of the request.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>.blobContentType
- Optional. Sets the blob's content type. If specified, this property is stored with the blob and returned with a read request.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.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.blobCacheControl
- Optional. Sets the blob's cache control. If specified, this property is stored with the blob and returned with a read request.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.blobContentDisposition
- Optional. Sets the blob's Content-Disposition header.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.blobContentLength
- This header specifies the maximum size for the page blob, up to 1 TB. The page blob size must be aligned to a 512-byte boundary.blobSequenceNumber
- Set for page blobs only. The sequence number is a user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 2^63 - 1.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 uploadPages(@NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
body
- Initial data.contentLength
- The length of the request.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.ifSequenceNumberLessThanOrEqualTo
- Specify this header value to operate only on a blob if it has a sequence number less than or equal to the specified.ifSequenceNumberLessThan
- Specify this header value to operate only on a blob if it has a sequence number less than the specified.ifSequenceNumberEqualTo
- Specify this header value to operate only on a blob if it has the specified sequence number.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> uploadPagesAsync(@NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
body
- Initial data.contentLength
- The length of the request.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.ifSequenceNumberLessThanOrEqualTo
- Specify this header value to operate only on a blob if it has a sequence number less than or equal to the specified.ifSequenceNumberLessThan
- Specify this header value to operate only on a blob if it has a sequence number less than the specified.ifSequenceNumberEqualTo
- Specify this header value to operate only on a blob if it has the specified sequence number.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<PageBlobsUploadPagesResponse> uploadPagesWithRestResponseAsync(@NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
body
- Initial data.contentLength
- The length of the request.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.ifSequenceNumberLessThanOrEqualTo
- Specify this header value to operate only on a blob if it has a sequence number less than or equal to the specified.ifSequenceNumberLessThan
- Specify this header value to operate only on a blob if it has a sequence number less than the specified.ifSequenceNumberEqualTo
- Specify this header value to operate only on a blob if it has the specified sequence number.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 uploadPagesAsync(@NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
body
- Initial data.contentLength
- The length of the request.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.ifSequenceNumberLessThanOrEqualTo
- Specify this header value to operate only on a blob if it has a sequence number less than or equal to the specified.ifSequenceNumberLessThan
- Specify this header value to operate only on a blob if it has a sequence number less than the specified.ifSequenceNumberEqualTo
- Specify this header value to operate only on a blob if it has the specified sequence number.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 clearPages(@NonNull long contentLength, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
contentLength
- The length of the request.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.ifSequenceNumberLessThanOrEqualTo
- Specify this header value to operate only on a blob if it has a sequence number less than or equal to the specified.ifSequenceNumberLessThan
- Specify this header value to operate only on a blob if it has a sequence number less than the specified.ifSequenceNumberEqualTo
- Specify this header value to operate only on a blob if it has the specified sequence number.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> clearPagesAsync(@NonNull long contentLength, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
contentLength
- The length of the request.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.ifSequenceNumberLessThanOrEqualTo
- Specify this header value to operate only on a blob if it has a sequence number less than or equal to the specified.ifSequenceNumberLessThan
- Specify this header value to operate only on a blob if it has a sequence number less than the specified.ifSequenceNumberEqualTo
- Specify this header value to operate only on a blob if it has the specified sequence number.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<PageBlobsClearPagesResponse> clearPagesWithRestResponseAsync(@NonNull long contentLength, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
contentLength
- The length of the request.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.ifSequenceNumberLessThanOrEqualTo
- Specify this header value to operate only on a blob if it has a sequence number less than or equal to the specified.ifSequenceNumberLessThan
- Specify this header value to operate only on a blob if it has a sequence number less than the specified.ifSequenceNumberEqualTo
- Specify this header value to operate only on a blob if it has the specified sequence number.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 clearPagesAsync(@NonNull long contentLength, Integer timeout, String range, String leaseId, Long ifSequenceNumberLessThanOrEqualTo, Long ifSequenceNumberLessThan, Long ifSequenceNumberEqualTo, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
contentLength
- The length of the request.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.ifSequenceNumberLessThanOrEqualTo
- Specify this header value to operate only on a blob if it has a sequence number less than or equal to the specified.ifSequenceNumberLessThan
- Specify this header value to operate only on a blob if it has a sequence number less than the specified.ifSequenceNumberEqualTo
- Specify this header value to operate only on a blob if it has the specified sequence number.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 PageList getPageRanges(String snapshot, Integer timeout, String range, 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>.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.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<PageList> getPageRangesAsync(String snapshot, Integer timeout, String range, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<PageList> 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.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<PageBlobsGetPageRangesResponse> getPageRangesWithRestResponseAsync(String snapshot, Integer timeout, String range, 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>.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.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<PageList> getPageRangesAsync(String snapshot, Integer timeout, String range, 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>.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.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 PageList getPageRangesDiff(String snapshot, Integer timeout, String prevsnapshot, String range, 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>.prevsnapshot
- Optional in version 2015-07-08 and newer. The prevsnapshot parameter is a DateTime value that specifies that the response will contain only pages that were changed between target blob and previous snapshot. Changed pages include both updated and cleared pages. The target blob may be a snapshot, as long as the snapshot specified by prevsnapshot is the older of the two. Note that incremental snapshots are currently supported only for blobs created on or after January 1, 2016.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.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<PageList> getPageRangesDiffAsync(String snapshot, Integer timeout, String prevsnapshot, String range, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<PageList> 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>.prevsnapshot
- Optional in version 2015-07-08 and newer. The prevsnapshot parameter is a DateTime value that specifies that the response will contain only pages that were changed between target blob and previous snapshot. Changed pages include both updated and cleared pages. The target blob may be a snapshot, as long as the snapshot specified by prevsnapshot is the older of the two. Note that incremental snapshots are currently supported only for blobs created on or after January 1, 2016.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.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<PageBlobsGetPageRangesDiffResponse> getPageRangesDiffWithRestResponseAsync(String snapshot, Integer timeout, String prevsnapshot, String range, 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>.prevsnapshot
- Optional in version 2015-07-08 and newer. The prevsnapshot parameter is a DateTime value that specifies that the response will contain only pages that were changed between target blob and previous snapshot. Changed pages include both updated and cleared pages. The target blob may be a snapshot, as long as the snapshot specified by prevsnapshot is the older of the two. Note that incremental snapshots are currently supported only for blobs created on or after January 1, 2016.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.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<PageList> getPageRangesDiffAsync(String snapshot, Integer timeout, String prevsnapshot, String range, 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>.prevsnapshot
- Optional in version 2015-07-08 and newer. The prevsnapshot parameter is a DateTime value that specifies that the response will contain only pages that were changed between target blob and previous snapshot. Changed pages include both updated and cleared pages. The target blob may be a snapshot, as long as the snapshot specified by prevsnapshot is the older of the two. Note that incremental snapshots are currently supported only for blobs created on or after January 1, 2016.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.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 resize(@NonNull long blobContentLength, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
blobContentLength
- This header specifies the maximum size for the page blob, up to 1 TB. The page blob size must be aligned to a 512-byte boundary.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> resizeAsync(@NonNull long blobContentLength, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
blobContentLength
- This header specifies the maximum size for the page blob, up to 1 TB. The page blob size must be aligned to a 512-byte boundary.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<PageBlobsResizeResponse> resizeWithRestResponseAsync(@NonNull long blobContentLength, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
blobContentLength
- This header specifies the maximum size for the page blob, up to 1 TB. The page blob size must be aligned to a 512-byte boundary.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 resizeAsync(@NonNull long blobContentLength, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
blobContentLength
- This header specifies the maximum size for the page blob, up to 1 TB. The page blob size must be aligned to a 512-byte boundary.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 updateSequenceNumber(@NonNull SequenceNumberActionType sequenceNumberAction, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, Long blobSequenceNumber, String requestId)
sequenceNumberAction
- Required if the x-ms-blob-sequence-number header is set for the request. This property applies to page blobs only. This property indicates how the service should modify the blob's sequence number. Possible values include: 'max', 'update', 'increment'.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.blobSequenceNumber
- Set for page blobs only. The sequence number is a user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 2^63 - 1.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> updateSequenceNumberAsync(@NonNull SequenceNumberActionType sequenceNumberAction, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, Long blobSequenceNumber, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
sequenceNumberAction
- Required if the x-ms-blob-sequence-number header is set for the request. This property applies to page blobs only. This property indicates how the service should modify the blob's sequence number. Possible values include: 'max', 'update', 'increment'.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.blobSequenceNumber
- Set for page blobs only. The sequence number is a user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 2^63 - 1.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<PageBlobsUpdateSequenceNumberResponse> updateSequenceNumberWithRestResponseAsync(@NonNull SequenceNumberActionType sequenceNumberAction, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, Long blobSequenceNumber, String requestId)
sequenceNumberAction
- Required if the x-ms-blob-sequence-number header is set for the request. This property applies to page blobs only. This property indicates how the service should modify the blob's sequence number. Possible values include: 'max', 'update', 'increment'.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.blobSequenceNumber
- Set for page blobs only. The sequence number is a user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 2^63 - 1.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 updateSequenceNumberAsync(@NonNull SequenceNumberActionType sequenceNumberAction, Integer timeout, String leaseId, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, Long blobSequenceNumber, String requestId)
sequenceNumberAction
- Required if the x-ms-blob-sequence-number header is set for the request. This property applies to page blobs only. This property indicates how the service should modify the blob's sequence number. Possible values include: 'max', 'update', 'increment'.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.blobSequenceNumber
- Set for page blobs only. The sequence number is a user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 2^63 - 1.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 copyIncremental(@NonNull URL copySource, Integer timeout, Map<String,String> metadata, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, 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.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> copyIncrementalAsync(@NonNull URL copySource, Integer timeout, Map<String,String> metadata, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, 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.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<PageBlobsCopyIncrementalResponse> copyIncrementalWithRestResponseAsync(@NonNull URL copySource, Integer timeout, Map<String,String> metadata, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, 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.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 copyIncrementalAsync(@NonNull URL copySource, Integer timeout, Map<String,String> metadata, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, 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.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.Copyright © 2018. All rights reserved.