public final class GeneratedAppendBlobs extends Object
Constructor and Description |
---|
GeneratedAppendBlobs(GeneratedStorageClient client)
Initializes an instance of GeneratedAppendBlobs.
|
Modifier and Type | Method and Description |
---|---|
void |
appendBlock(io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
String leaseId,
Long maxSize,
Long appendPosition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Append Block operation commits a new block of data to the end of an existing append blob.
|
io.reactivex.Completable |
appendBlockAsync(io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
String leaseId,
Long maxSize,
Long appendPosition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Append Block operation commits a new block of data to the end of an existing append blob.
|
com.microsoft.rest.v2.ServiceFuture<Void> |
appendBlockAsync(io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
String leaseId,
Long maxSize,
Long appendPosition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Append Block operation commits a new block of data to the end of an existing append blob.
|
io.reactivex.Single<AppendBlobAppendBlockResponse> |
appendBlockWithRestResponseAsync(io.reactivex.Flowable<ByteBuffer> body,
long contentLength,
Integer timeout,
String leaseId,
Long maxSize,
Long appendPosition,
OffsetDateTime ifModifiedSince,
OffsetDateTime ifUnmodifiedSince,
String ifMatches,
String ifNoneMatch,
String requestId)
The Append Block operation commits a new block of data to the end of an existing append 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,
String requestId)
The Create Append Blob operation creates a new append 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,
String requestId)
The Create Append Blob operation creates a new append 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,
String requestId,
com.microsoft.rest.v2.ServiceCallback<Void> serviceCallback)
The Create Append Blob operation creates a new append blob.
|
io.reactivex.Single<AppendBlobCreateResponse> |
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,
String requestId)
The Create Append Blob operation creates a new append blob.
|
public GeneratedAppendBlobs(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, 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.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, 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.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<AppendBlobCreateResponse> 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, 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.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, 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.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 appendBlock(@NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, String leaseId, Long maxSize, Long appendPosition, 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>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.maxSize
- Optional conditional header. The max length in bytes permitted for the append blob. If the Append Block operation would cause the blob to exceed that limit or if the blob size is already greater than the value specified in this header, the request will fail with MaxBlobSizeConditionNotMet error (HTTP status code 412 - Precondition Failed).appendPosition
- Optional conditional header, used only for the Append Block operation. A number indicating the byte offset to compare. Append Block will succeed only if the append position is equal to this number. If it is not, the request will fail with the AppendPositionConditionNotMet error (HTTP status code 412 - Precondition Failed).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> appendBlockAsync(@NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, String leaseId, Long maxSize, Long appendPosition, 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>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.maxSize
- Optional conditional header. The max length in bytes permitted for the append blob. If the Append Block operation would cause the blob to exceed that limit or if the blob size is already greater than the value specified in this header, the request will fail with MaxBlobSizeConditionNotMet error (HTTP status code 412 - Precondition Failed).appendPosition
- Optional conditional header, used only for the Append Block operation. A number indicating the byte offset to compare. Append Block will succeed only if the append position is equal to this number. If it is not, the request will fail with the AppendPositionConditionNotMet error (HTTP status code 412 - Precondition Failed).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<AppendBlobAppendBlockResponse> appendBlockWithRestResponseAsync(@NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, String leaseId, Long maxSize, Long appendPosition, 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>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.maxSize
- Optional conditional header. The max length in bytes permitted for the append blob. If the Append Block operation would cause the blob to exceed that limit or if the blob size is already greater than the value specified in this header, the request will fail with MaxBlobSizeConditionNotMet error (HTTP status code 412 - Precondition Failed).appendPosition
- Optional conditional header, used only for the Append Block operation. A number indicating the byte offset to compare. Append Block will succeed only if the append position is equal to this number. If it is not, the request will fail with the AppendPositionConditionNotMet error (HTTP status code 412 - Precondition Failed).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 appendBlockAsync(@NonNull io.reactivex.Flowable<ByteBuffer> body, @NonNull long contentLength, Integer timeout, String leaseId, Long maxSize, Long appendPosition, 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>.leaseId
- If specified, the operation only succeeds if the container's lease is active and matches this ID.maxSize
- Optional conditional header. The max length in bytes permitted for the append blob. If the Append Block operation would cause the blob to exceed that limit or if the blob size is already greater than the value specified in this header, the request will fail with MaxBlobSizeConditionNotMet error (HTTP status code 412 - Precondition Failed).appendPosition
- Optional conditional header, used only for the Append Block operation. A number indicating the byte offset to compare. Append Block will succeed only if the append position is equal to this number. If it is not, the request will fail with the AppendPositionConditionNotMet error (HTTP status code 412 - Precondition Failed).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.This documentation was released into the public domain.