BatchDeleteSubRequest class

Definition

Represents one request in batch of multiple blob delete requests

Organizes HttpRequest objects together for batch REST operations to a single host endpoint.

BatchDeleteSubRequest(container_name, blob_name, snapshot=None, lease_id=None, delete_snapshots=None, if_modified_since=None, if_unmodified_since=None, if_match=None, if_none_match=None)
Inheritance
builtins.object
BatchDeleteSubRequest

Variables

container_name
str
Name of existing container.
blob_name
str
Name of existing blob.
snapshot
str
The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to delete.
lease_id
str
Required if the blob has an active lease.
delete_snapshots
DeleteSnapshot
Required if the blob has associated snapshots.
if_modified_since
datetime
A DateTime value. Azure expects the date value passed in to be UTC. If timezone is included, any non-UTC datetimes will be converted to UTC. If a date is passed in without timezone info, it is assumed to be UTC. Specify this header to perform the operation only if the resource has been modified since the specified time.
if_unmodified_since
datetime
A DateTime value. Azure expects the date value passed in to be UTC. If timezone is included, any non-UTC datetimes will be converted to UTC. If a date is passed in without timezone info, it is assumed to be UTC. Specify this header to perform the operation only if the resource has not been modified since the specified date/time.
if_match
str
An ETag value, or the wildcard character (*). Specify this header to perform the operation only if the resource's ETag matches the value specified.
if_none_match
str
An ETag value, or the wildcard character (*). Specify this header to perform the operation only if the resource's ETag does not match the value specified. Specify the wildcard character (*) to perform the operation only if the resource does not exist, and fail the operation if it does exist.