Package version:

Interface AppendBlobRequestConditions

Conditions to add to the creation of this append blob.

interface AppendBlobRequestConditions {
    appendPosition?: number;
    ifMatch?: string;
    ifModifiedSince?: any;
    ifNoneMatch?: string;
    ifUnmodifiedSince?: any;
    leaseId?: string;
    maxSize?: number;
    tagConditions?: string;
}

Hierarchy (view full)

Properties

appendPosition?: number

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).

ifMatch?: string

Specify an ETag value to operate only on blobs with a matching value.

ifModifiedSince?: any

Specify this header value to operate only on a blob if it has been modified since the specified date/time.

ifNoneMatch?: string

Specify an ETag value to operate only on blobs without a matching value.

ifUnmodifiedSince?: any

Specify this header value to operate only on a blob if it has not been modified since the specified date/time.

leaseId?: string

If specified, the operation only succeeds if the resource's lease is active and matches this ID.

maxSize?: number

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).

tagConditions?: string

Optional SQL statement to apply to the tags of the blob.