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(com.microsoft.rest.v2.Context context,
BlockLookupList blocks,
Integer timeout,
Map<String,String> metadata,
String requestId,
BlobHTTPHeaders blobHTTPHeaders,
LeaseAccessConditions leaseAccessConditions,
ModifiedAccessConditions modifiedAccessConditions)
The Commit Block List operation writes a blob by specifying the list of block IDs that make up the blob.
|
io.reactivex.Completable |
commitBlockListAsync(com.microsoft.rest.v2.Context context,
BlockLookupList blocks,
Integer timeout,
Map<String,String> metadata,
String requestId,
BlobHTTPHeaders blobHTTPHeaders,
LeaseAccessConditions leaseAccessConditions,
ModifiedAccessConditions modifiedAccessConditions)
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(com.microsoft.rest.v2.Context context,
BlockLookupList blocks,
Integer timeout,
Map<String,String> metadata,
String requestId,
BlobHTTPHeaders blobHTTPHeaders,
LeaseAccessConditions leaseAccessConditions,
ModifiedAccessConditions modifiedAccessConditions,
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<BlockBlobCommitBlockListResponse> |
commitBlockListWithRestResponseAsync(com.microsoft.rest.v2.Context context,
BlockLookupList blocks,
Integer timeout,
Map<String,String> metadata,
String requestId,
BlobHTTPHeaders blobHTTPHeaders,
LeaseAccessConditions leaseAccessConditions,
ModifiedAccessConditions modifiedAccessConditions)
The Commit Block List operation writes a blob by specifying the list of block IDs that make up the blob.
|
BlockList |
getBlockList(com.microsoft.rest.v2.Context context,
BlockListType listType,
String snapshot,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions)
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(com.microsoft.rest.v2.Context context,
BlockListType listType,
String snapshot,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions)
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(com.microsoft.rest.v2.Context context,
BlockListType listType,
String snapshot,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions,
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<BlockBlobGetBlockListResponse> |
getBlockListWithRestResponseAsync(com.microsoft.rest.v2.Context context,
BlockListType listType,
String snapshot,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions)
The Get Block List operation retrieves the list of blocks that have been uploaded as part of a block blob.
|
void |
stageBlock(com.microsoft.rest.v2.Context context,
String blockId,
long contentLength,
io.reactivex.Flowable<ByteBuffer> body,
byte[] transactionalContentMD5,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions)
The Stage Block operation creates a new block to be committed as part of a blob.
|
io.reactivex.Completable |
stageBlockAsync(com.microsoft.rest.v2.Context context,
String blockId,
long contentLength,
io.reactivex.Flowable<ByteBuffer> body,
byte[] transactionalContentMD5,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions)
The Stage Block operation creates a new block to be committed as part of a blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
stageBlockAsync(com.microsoft.rest.v2.Context context,
String blockId,
long contentLength,
io.reactivex.Flowable<ByteBuffer> body,
byte[] transactionalContentMD5,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Stage Block operation creates a new block to be committed as part of a blob.
|
void |
stageBlockFromURL(com.microsoft.rest.v2.Context context,
String blockId,
long contentLength,
URL sourceUrl,
String sourceRange,
byte[] sourceContentMD5,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions,
SourceModifiedAccessConditions sourceModifiedAccessConditions)
The Stage Block operation creates a new block to be committed as part of a blob where the contents are read from a URL.
|
io.reactivex.Completable |
stageBlockFromURLAsync(com.microsoft.rest.v2.Context context,
String blockId,
long contentLength,
URL sourceUrl,
String sourceRange,
byte[] sourceContentMD5,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions,
SourceModifiedAccessConditions sourceModifiedAccessConditions)
The Stage Block operation creates a new block to be committed as part of a blob where the contents are read from a URL.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
stageBlockFromURLAsync(com.microsoft.rest.v2.Context context,
String blockId,
long contentLength,
URL sourceUrl,
String sourceRange,
byte[] sourceContentMD5,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions,
SourceModifiedAccessConditions sourceModifiedAccessConditions,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Stage Block operation creates a new block to be committed as part of a blob where the contents are read from a URL.
|
io.reactivex.Single<BlockBlobStageBlockFromURLResponse> |
stageBlockFromURLWithRestResponseAsync(com.microsoft.rest.v2.Context context,
String blockId,
long contentLength,
URL sourceUrl,
String sourceRange,
byte[] sourceContentMD5,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions,
SourceModifiedAccessConditions sourceModifiedAccessConditions)
The Stage Block operation creates a new block to be committed as part of a blob where the contents are read from a URL.
|
io.reactivex.Single<BlockBlobStageBlockResponse> |
stageBlockWithRestResponseAsync(com.microsoft.rest.v2.Context context,
String blockId,
long contentLength,
io.reactivex.Flowable<ByteBuffer> body,
byte[] transactionalContentMD5,
Integer timeout,
String requestId,
LeaseAccessConditions leaseAccessConditions)
The Stage Block operation creates a new block to be committed as part of a blob.
|
void |
upload(com.microsoft.rest.v2.Context context,
io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
Map<String,String> metadata,
String requestId,
BlobHTTPHeaders blobHTTPHeaders,
LeaseAccessConditions leaseAccessConditions,
ModifiedAccessConditions modifiedAccessConditions)
The Upload Block Blob operation updates the content of an existing block blob.
|
io.reactivex.Completable |
uploadAsync(com.microsoft.rest.v2.Context context,
io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
Map<String,String> metadata,
String requestId,
BlobHTTPHeaders blobHTTPHeaders,
LeaseAccessConditions leaseAccessConditions,
ModifiedAccessConditions modifiedAccessConditions)
The Upload Block Blob operation updates the content of an existing block blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
uploadAsync(com.microsoft.rest.v2.Context context,
io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
Map<String,String> metadata,
String requestId,
BlobHTTPHeaders blobHTTPHeaders,
LeaseAccessConditions leaseAccessConditions,
ModifiedAccessConditions modifiedAccessConditions,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Upload Block Blob operation updates the content of an existing block blob.
|
io.reactivex.Single<BlockBlobUploadResponse> |
uploadWithRestResponseAsync(com.microsoft.rest.v2.Context context,
io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
Map<String,String> metadata,
String requestId,
BlobHTTPHeaders blobHTTPHeaders,
LeaseAccessConditions leaseAccessConditions,
ModifiedAccessConditions modifiedAccessConditions)
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(com.microsoft.rest.v2.Context context, @NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, Map<String,String> metadata, String requestId, BlobHTTPHeaders blobHTTPHeaders, LeaseAccessConditions leaseAccessConditions, ModifiedAccessConditions modifiedAccessConditions)
context
- The context to associate with this operation.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>.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.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.blobHTTPHeaders
- Additional parameters for the operation.leaseAccessConditions
- Additional parameters for the operation.modifiedAccessConditions
- Additional parameters for the operation.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(com.microsoft.rest.v2.Context context, @NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, Map<String,String> metadata, String requestId, BlobHTTPHeaders blobHTTPHeaders, LeaseAccessConditions leaseAccessConditions, ModifiedAccessConditions modifiedAccessConditions, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
context
- The context to associate with this operation.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>.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.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.blobHTTPHeaders
- Additional parameters for the operation.leaseAccessConditions
- Additional parameters for the operation.modifiedAccessConditions
- Additional parameters for the operation.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlockBlobUploadResponse> uploadWithRestResponseAsync(com.microsoft.rest.v2.Context context, @NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, Map<String,String> metadata, String requestId, BlobHTTPHeaders blobHTTPHeaders, LeaseAccessConditions leaseAccessConditions, ModifiedAccessConditions modifiedAccessConditions)
context
- The context to associate with this operation.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>.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.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.blobHTTPHeaders
- Additional parameters for the operation.leaseAccessConditions
- Additional parameters for the operation.modifiedAccessConditions
- Additional parameters for the operation.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable uploadAsync(com.microsoft.rest.v2.Context context, @NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, Map<String,String> metadata, String requestId, BlobHTTPHeaders blobHTTPHeaders, LeaseAccessConditions leaseAccessConditions, ModifiedAccessConditions modifiedAccessConditions)
context
- The context to associate with this operation.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>.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.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.blobHTTPHeaders
- Additional parameters for the operation.leaseAccessConditions
- Additional parameters for the operation.modifiedAccessConditions
- Additional parameters for the operation.IllegalArgumentException
- thrown if parameters fail the validation.public void stageBlock(com.microsoft.rest.v2.Context context, @NonNull String blockId, @NonNull long contentLength, @NonNull io.reactivex.Flowable<ByteBuffer> body, byte[] transactionalContentMD5, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions)
context
- The context to associate with this operation.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.transactionalContentMD5
- Specify the transactional md5 for the body, to be validated by the service.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.leaseAccessConditions
- Additional parameters for the operation.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(com.microsoft.rest.v2.Context context, @NonNull String blockId, @NonNull long contentLength, @NonNull io.reactivex.Flowable<ByteBuffer> body, byte[] transactionalContentMD5, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
context
- The context to associate with this operation.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.transactionalContentMD5
- Specify the transactional md5 for the body, to be validated by the service.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.leaseAccessConditions
- Additional parameters for the operation.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlockBlobStageBlockResponse> stageBlockWithRestResponseAsync(com.microsoft.rest.v2.Context context, @NonNull String blockId, @NonNull long contentLength, @NonNull io.reactivex.Flowable<ByteBuffer> body, byte[] transactionalContentMD5, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions)
context
- The context to associate with this operation.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.transactionalContentMD5
- Specify the transactional md5 for the body, to be validated by the service.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.leaseAccessConditions
- Additional parameters for the operation.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable stageBlockAsync(com.microsoft.rest.v2.Context context, @NonNull String blockId, @NonNull long contentLength, @NonNull io.reactivex.Flowable<ByteBuffer> body, byte[] transactionalContentMD5, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions)
context
- The context to associate with this operation.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.transactionalContentMD5
- Specify the transactional md5 for the body, to be validated by the service.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.leaseAccessConditions
- Additional parameters for the operation.IllegalArgumentException
- thrown if parameters fail the validation.public void stageBlockFromURL(com.microsoft.rest.v2.Context context, @NonNull String blockId, @NonNull long contentLength, @NonNull URL sourceUrl, String sourceRange, byte[] sourceContentMD5, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions, SourceModifiedAccessConditions sourceModifiedAccessConditions)
context
- The context to associate with this operation.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.sourceUrl
- Specify a URL to the copy source.sourceRange
- Bytes of source data in the specified range.sourceContentMD5
- Specify the md5 calculated for the range of bytes that must be read from the copy source.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.leaseAccessConditions
- Additional parameters for the operation.sourceModifiedAccessConditions
- Additional parameters for the operation.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> stageBlockFromURLAsync(com.microsoft.rest.v2.Context context, @NonNull String blockId, @NonNull long contentLength, @NonNull URL sourceUrl, String sourceRange, byte[] sourceContentMD5, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions, SourceModifiedAccessConditions sourceModifiedAccessConditions, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
context
- The context to associate with this operation.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.sourceUrl
- Specify a URL to the copy source.sourceRange
- Bytes of source data in the specified range.sourceContentMD5
- Specify the md5 calculated for the range of bytes that must be read from the copy source.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.leaseAccessConditions
- Additional parameters for the operation.sourceModifiedAccessConditions
- Additional parameters for the operation.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlockBlobStageBlockFromURLResponse> stageBlockFromURLWithRestResponseAsync(com.microsoft.rest.v2.Context context, @NonNull String blockId, @NonNull long contentLength, @NonNull URL sourceUrl, String sourceRange, byte[] sourceContentMD5, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions, SourceModifiedAccessConditions sourceModifiedAccessConditions)
context
- The context to associate with this operation.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.sourceUrl
- Specify a URL to the copy source.sourceRange
- Bytes of source data in the specified range.sourceContentMD5
- Specify the md5 calculated for the range of bytes that must be read from the copy source.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.leaseAccessConditions
- Additional parameters for the operation.sourceModifiedAccessConditions
- Additional parameters for the operation.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable stageBlockFromURLAsync(com.microsoft.rest.v2.Context context, @NonNull String blockId, @NonNull long contentLength, @NonNull URL sourceUrl, String sourceRange, byte[] sourceContentMD5, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions, SourceModifiedAccessConditions sourceModifiedAccessConditions)
context
- The context to associate with this operation.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.sourceUrl
- Specify a URL to the copy source.sourceRange
- Bytes of source data in the specified range.sourceContentMD5
- Specify the md5 calculated for the range of bytes that must be read from the copy source.timeout
- The timeout parameter is expressed in seconds. For more information, see <a href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting Timeouts for Blob Service Operations.</a>.requestId
- Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled.leaseAccessConditions
- Additional parameters for the operation.sourceModifiedAccessConditions
- Additional parameters for the operation.IllegalArgumentException
- thrown if parameters fail the validation.public void commitBlockList(com.microsoft.rest.v2.Context context, @NonNull BlockLookupList blocks, Integer timeout, Map<String,String> metadata, String requestId, BlobHTTPHeaders blobHTTPHeaders, LeaseAccessConditions leaseAccessConditions, ModifiedAccessConditions modifiedAccessConditions)
context
- The context to associate with this operation.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>.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.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.blobHTTPHeaders
- Additional parameters for the operation.leaseAccessConditions
- Additional parameters for the operation.modifiedAccessConditions
- Additional parameters for the operation.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(com.microsoft.rest.v2.Context context, @NonNull BlockLookupList blocks, Integer timeout, Map<String,String> metadata, String requestId, BlobHTTPHeaders blobHTTPHeaders, LeaseAccessConditions leaseAccessConditions, ModifiedAccessConditions modifiedAccessConditions, com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
context
- The context to associate with this operation.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>.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.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.blobHTTPHeaders
- Additional parameters for the operation.leaseAccessConditions
- Additional parameters for the operation.modifiedAccessConditions
- Additional parameters for the operation.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlockBlobCommitBlockListResponse> commitBlockListWithRestResponseAsync(com.microsoft.rest.v2.Context context, @NonNull BlockLookupList blocks, Integer timeout, Map<String,String> metadata, String requestId, BlobHTTPHeaders blobHTTPHeaders, LeaseAccessConditions leaseAccessConditions, ModifiedAccessConditions modifiedAccessConditions)
context
- The context to associate with this operation.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>.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.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.blobHTTPHeaders
- Additional parameters for the operation.leaseAccessConditions
- Additional parameters for the operation.modifiedAccessConditions
- Additional parameters for the operation.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Completable commitBlockListAsync(com.microsoft.rest.v2.Context context, @NonNull BlockLookupList blocks, Integer timeout, Map<String,String> metadata, String requestId, BlobHTTPHeaders blobHTTPHeaders, LeaseAccessConditions leaseAccessConditions, ModifiedAccessConditions modifiedAccessConditions)
context
- The context to associate with this operation.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>.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.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.blobHTTPHeaders
- Additional parameters for the operation.leaseAccessConditions
- Additional parameters for the operation.modifiedAccessConditions
- Additional parameters for the operation.IllegalArgumentException
- thrown if parameters fail the validation.public BlockList getBlockList(com.microsoft.rest.v2.Context context, @NonNull BlockListType listType, String snapshot, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions)
context
- The context to associate with this operation.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>.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.leaseAccessConditions
- Additional parameters for the operation.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(com.microsoft.rest.v2.Context context, @NonNull BlockListType listType, String snapshot, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions, com.microsoft.rest.v2.ServiceCallback<BlockList> serviceCallback)
context
- The context to associate with this operation.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>.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.leaseAccessConditions
- Additional parameters for the operation.serviceCallback
- the async ServiceCallback to handle successful and failed responses.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Single<BlockBlobGetBlockListResponse> getBlockListWithRestResponseAsync(com.microsoft.rest.v2.Context context, @NonNull BlockListType listType, String snapshot, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions)
context
- The context to associate with this operation.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>.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.leaseAccessConditions
- Additional parameters for the operation.IllegalArgumentException
- thrown if parameters fail the validation.public io.reactivex.Maybe<BlockList> getBlockListAsync(com.microsoft.rest.v2.Context context, @NonNull BlockListType listType, String snapshot, Integer timeout, String requestId, LeaseAccessConditions leaseAccessConditions)
context
- The context to associate with this operation.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>.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.leaseAccessConditions
- Additional parameters for the operation.IllegalArgumentException
- thrown if parameters fail the validation.Copyright © 2019 Microsoft Corporation. All rights reserved.