AppendBlobRequestConditions interface
Conditions to add to the creation of this append blob.
- Extends
Properties
append |
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). |
if |
Specify an ETag value to operate only on blobs with a matching value. |
if |
Specify this header value to operate only on a blob if it has been modified since the specified date/time. |
if |
Specify an ETag value to operate only on blobs without a matching value. |
if |
Specify this header value to operate only on a blob if it has not been modified since the specified date/time. |
lease |
If specified, the operation only succeeds if the resource's lease is active and matches this ID. |
max |
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). |
tag |
Optional SQL statement to apply to the tags of the blob. |
Property Details
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).
appendPosition?: number
Property Value
number
ifMatch
Specify an ETag value to operate only on blobs with a matching value.
ifMatch?: string
Property Value
string
ifModifiedSince
Specify this header value to operate only on a blob if it has been modified since the specified date/time.
ifModifiedSince?: Date
Property Value
Date
ifNoneMatch
Specify an ETag value to operate only on blobs without a matching value.
ifNoneMatch?: string
Property Value
string
ifUnmodifiedSince
Specify this header value to operate only on a blob if it has not been modified since the specified date/time.
ifUnmodifiedSince?: Date
Property Value
Date
leaseId
If specified, the operation only succeeds if the resource's lease is active and matches this ID.
leaseId?: string
Property Value
string
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).
maxSize?: number
Property Value
number
tagConditions
Optional SQL statement to apply to the tags of the blob.
tagConditions?: string
Property Value
string
Azure SDK for JavaScript