/** * Writes a blob by specifying the list of block IDs that are to make up the blob. * In order to be written as part of a blob, a block must have been successfully written * to the server in a prior stageBlock operation. You can call commitBlockList to update a blob * by uploading only those blocks that have changed, then committing the new and existing * blocks together. Any blocks not specified in the block list and permanently deleted. * For more information, see the * <a href="https://docs.microsoft.com/rest/api/storageservices/put-block-list">Azure Docs</a>. * <p> * For more efficient bulk-upload scenarios, please refer to the {@link TransferManager} for convenience methods. * * @param base64BlockIDs * A list of base64 encode {@code String}s that specifies the block IDs to be committed. * * @return Emits the successful response. * * @apiNote ## Sample Code \n * [!code-java[Sample_Code](../azure-storage-java/src/test/java/com/microsoft/azure/storage/Samples.java?name=blocks "Sample code for BlockBlobURL.commitBlockList")] \n * For more samples, please see the [Samples file](%https://github.com/Azure/azure-storage-java/blob/master/src/test/java/com/microsoft/azure/storage/Samples.java) */ public Single<BlockBlobCommitBlockListResponse> commitBlockList(List<String> base64BlockIDs) { return this.commitBlockList(base64BlockIDs, null, null, null, null); }
/** * Writes a blob by specifying the list of block IDs that are to make up the blob. * In order to be written as part of a blob, a block must have been successfully written * to the server in a prior stageBlock operation. You can call commitBlockList to update a blob * by uploading only those blocks that have changed, then committing the new and existing * blocks together. Any blocks not specified in the block list and permanently deleted. * For more information, see the * <a href="https://docs.microsoft.com/rest/api/storageservices/put-block-list">Azure Docs</a>. * <p> * For more efficient bulk-upload scenarios, please refer to the {@link TransferManager} for convenience methods. * * @param base64BlockIDs * A list of base64 encode {@code String}s that specifies the block IDs to be committed. * * @return Emits the successful response. * * @apiNote ## Sample Code \n * [!code-java[Sample_Code](../azure-storage-java/src/test/java/com/microsoft/azure/storage/Samples.java?name=blocks "Sample code for BlockBlobURL.commitBlockList")] \n * For more samples, please see the [Samples file](%https://github.com/Azure/azure-storage-java/blob/master/src/test/java/com/microsoft/azure/storage/Samples.java) */ public Single<BlockBlobCommitBlockListResponse> commitBlockList(List<String> base64BlockIDs) { return this.commitBlockList(base64BlockIDs, null, null, null, null); }
blockBlobURL.commitBlockList(ids, optionsReal.httpHeaders(), optionsReal.metadata(), optionsReal.accessConditions(), null))
blockBlobURL.commitBlockList(ids, optionsReal.httpHeaders(), optionsReal.metadata(), optionsReal.accessConditions(), null))