public final class GeneratedBlockBlobs extends Object
Constructor and Description |
---|
GeneratedBlockBlobs(GeneratedStorageClient client)
Initializes an instance of GeneratedBlockBlobs.
|
Modifier and Type | Method and Description |
---|---|
void |
commitBlockList(BlockLookupList blocks,
Integer timeout,
String blobCacheControl,
String blobContentType,
String blobContentEncoding,
String blobContentLanguage,
byte[] blobContentMD5,
Map<String,String> metadata,
String leaseId,
String blobContentDisposition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Commit Block List operation writes a blob by specifying the list of block IDs that make up the blob.
|
io.reactivex.Completable |
commitBlockListAsync(BlockLookupList blocks,
Integer timeout,
String blobCacheControl,
String blobContentType,
String blobContentEncoding,
String blobContentLanguage,
byte[] blobContentMD5,
Map<String,String> metadata,
String leaseId,
String blobContentDisposition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Commit Block List operation writes a blob by specifying the list of block IDs that make up the blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
commitBlockListAsync(BlockLookupList blocks,
Integer timeout,
String blobCacheControl,
String blobContentType,
String blobContentEncoding,
String blobContentLanguage,
byte[] blobContentMD5,
Map<String,String> metadata,
String leaseId,
String blobContentDisposition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Commit Block List operation writes a blob by specifying the list of block IDs that make up the blob.
|
io.reactivex.Single<BlockBlobsCommitBlockListResponse> |
commitBlockListWithRestResponseAsync(BlockLookupList blocks,
Integer timeout,
String blobCacheControl,
String blobContentType,
String blobContentEncoding,
String blobContentLanguage,
byte[] blobContentMD5,
Map<String,String> metadata,
String leaseId,
String blobContentDisposition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Commit Block List operation writes a blob by specifying the list of block IDs that make up the blob.
|
BlockList |
getBlockList(BlockListType listType,
String snapshot,
Integer timeout,
String leaseId,
String requestId)
The Get Block List operation retrieves the list of blocks that have been uploaded as part of a block blob.
|
io.reactivex.Maybe<BlockList> |
getBlockListAsync(BlockListType listType,
String snapshot,
Integer timeout,
String leaseId,
String requestId)
The Get Block List operation retrieves the list of blocks that have been uploaded as part of a block blob.
|
com.microsoft.rest.v2.ServiceFuture<BlockList> |
getBlockListAsync(BlockListType listType,
String snapshot,
Integer timeout,
String leaseId,
String requestId,
com.microsoft.rest.v2.ServiceCallback<BlockList> serviceCallback)
The Get Block List operation retrieves the list of blocks that have been uploaded as part of a block blob.
|
io.reactivex.Single<BlockBlobsGetBlockListResponse> |
getBlockListWithRestResponseAsync(BlockListType listType,
String snapshot,
Integer timeout,
String leaseId,
String requestId)
The Get Block List operation retrieves the list of blocks that have been uploaded as part of a block blob.
|
void |
stageBlock(String blockId,
long contentLength,
io.reactivex.Flowable<ByteBuffer> body,
Integer timeout,
String leaseId,
String requestId)
The Stage Block operation creates a new block to be committed as part of a blob.
|
io.reactivex.Completable |
stageBlockAsync(String blockId,
long contentLength,
io.reactivex.Flowable<ByteBuffer> body,
Integer timeout,
String leaseId,
String requestId)
The Stage Block operation creates a new block to be committed as part of a blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
stageBlockAsync(String blockId,
long contentLength,
io.reactivex.Flowable<ByteBuffer> body,
Integer timeout,
String leaseId,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Stage Block operation creates a new block to be committed as part of a blob.
|
io.reactivex.Single<BlockBlobsStageBlockResponse> |
stageBlockWithRestResponseAsync(String blockId,
long contentLength,
io.reactivex.Flowable<ByteBuffer> body,
Integer timeout,
String leaseId,
String requestId)
The Stage Block operation creates a new block to be committed as part of a blob.
|
void |
upload(io.reactivex.Flowable<ByteBuffer> body,
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,
String requestId)
The Upload Block Blob operation updates the content of an existing block blob.
|
io.reactivex.Completable |
uploadAsync(io.reactivex.Flowable<ByteBuffer> body,
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,
String requestId)
The Upload Block Blob operation updates the content of an existing block blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
uploadAsync(io.reactivex.Flowable<ByteBuffer> body,
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,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Upload Block Blob operation updates the content of an existing block blob.
|
io.reactivex.Single<BlockBlobsUploadResponse> |
uploadWithRestResponseAsync(io.reactivex.Flowable<ByteBuffer> body,
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,
String requestId)
The Upload Block Blob operation updates the content of an existing block blob.
|
public GeneratedBlockBlobs(GeneratedStorageClient client)
client
- the instance of the service client containing this operation class.public void upload(@NonNull io.reactivex.Flowable<ByteBuffer> body, @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, 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>.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.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> uploadAsync(@NonNull io.reactivex.Flowable<ByteBuffer> body, @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, 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>.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.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<BlockBlobsUploadResponse> uploadWithRestResponseAsync(@NonNull io.reactivex.Flowable<ByteBuffer> body, @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, 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>.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.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 uploadAsync(@NonNull io.reactivex.Flowable<ByteBuffer> body, @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, 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>.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.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 stageBlock(@NonNull String blockId, @NonNull long contentLength, @NonNull io.reactivex.Flowable<ByteBuffer> body, Integer timeout, String leaseId, String requestId)
blockId
- A valid Base64 string value that identifies the block. Prior to encoding, the string must be less than or equal to 64 bytes in size. For a given blob, the length of the value specified for the blockid parameter must be the same size for each block.contentLength
- The length of the request.body
- Initial data.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> stageBlockAsync(@NonNull String blockId, @NonNull long contentLength, @NonNull io.reactivex.Flowable<ByteBuffer> body, Integer timeout, String leaseId, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
blockId
- A valid Base64 string value that identifies the block. Prior to encoding, the string must be less than or equal to 64 bytes in size. For a given blob, the length of the value specified for the blockid parameter must be the same size for each block.contentLength
- The length of the request.body
- Initial data.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<BlockBlobsStageBlockResponse> stageBlockWithRestResponseAsync(@NonNull String blockId, @NonNull long contentLength, @NonNull io.reactivex.Flowable<ByteBuffer> body, Integer timeout, String leaseId, String requestId)
blockId
- A valid Base64 string value that identifies the block. Prior to encoding, the string must be less than or equal to 64 bytes in size. For a given blob, the length of the value specified for the blockid parameter must be the same size for each block.contentLength
- The length of the request.body
- Initial data.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 stageBlockAsync(@NonNull String blockId, @NonNull long contentLength, @NonNull io.reactivex.Flowable<ByteBuffer> body, Integer timeout, String leaseId, String requestId)
blockId
- A valid Base64 string value that identifies the block. Prior to encoding, the string must be less than or equal to 64 bytes in size. For a given blob, the length of the value specified for the blockid parameter must be the same size for each block.contentLength
- The length of the request.body
- Initial data.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 commitBlockList(@NonNull BlockLookupList blocks, Integer timeout, String blobCacheControl, String blobContentType, String blobContentEncoding, String blobContentLanguage, byte[] blobContentMD5, Map<String,String> metadata, String leaseId, String blobContentDisposition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
blocks
- the BlockLookupList value.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.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.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.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> commitBlockListAsync(@NonNull BlockLookupList blocks, Integer timeout, String blobCacheControl, String blobContentType, String blobContentEncoding, String blobContentLanguage, byte[] blobContentMD5, Map<String,String> metadata, String leaseId, String blobContentDisposition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
blocks
- the BlockLookupList value.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.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.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.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<BlockBlobsCommitBlockListResponse> commitBlockListWithRestResponseAsync(@NonNull BlockLookupList blocks, Integer timeout, String blobCacheControl, String blobContentType, String blobContentEncoding, String blobContentLanguage, byte[] blobContentMD5, Map<String,String> metadata, String leaseId, String blobContentDisposition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
blocks
- the BlockLookupList value.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.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.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.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 commitBlockListAsync(@NonNull BlockLookupList blocks, Integer timeout, String blobCacheControl, String blobContentType, String blobContentEncoding, String blobContentLanguage, byte[] blobContentMD5, Map<String,String> metadata, String leaseId, String blobContentDisposition, OffsetDateTime ifModifiedSince, OffsetDateTime ifUnmodifiedSince, String ifMatches, String ifNoneMatch, String requestId)
blocks
- the BlockLookupList value.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.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.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.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 BlockList getBlockList(@NonNull BlockListType listType, String snapshot, Integer timeout, String leaseId, String requestId)
listType
- Specifies whether to return the list of committed blocks, the list of uncommitted blocks, or both lists together. Possible values include: 'committed', 'uncommitted', 'all'.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.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<BlockList> getBlockListAsync(@NonNull BlockListType listType, String snapshot, Integer timeout, String leaseId, String requestId, com.microsoft.rest.v2.ServiceCallback<BlockList> serviceCallback)
listType
- Specifies whether to return the list of committed blocks, the list of uncommitted blocks, or both lists together. Possible values include: 'committed', 'uncommitted', 'all'.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.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<BlockBlobsGetBlockListResponse> getBlockListWithRestResponseAsync(@NonNull BlockListType listType, String snapshot, Integer timeout, String leaseId, String requestId)
listType
- Specifies whether to return the list of committed blocks, the list of uncommitted blocks, or both lists together. Possible values include: 'committed', 'uncommitted', 'all'.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.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<BlockList> getBlockListAsync(@NonNull BlockListType listType, String snapshot, Integer timeout, String leaseId, String requestId)
listType
- Specifies whether to return the list of committed blocks, the list of uncommitted blocks, or both lists together. Possible values include: 'committed', 'uncommitted', 'all'.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.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.