BatchDeleteSubRequest Class

Represents one request in batch of multiple blob delete requests

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

Inheritance
builtins.object
BatchDeleteSubRequest

Constructor

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)

Parameters

Name Description
container_name
Required
blob_name
Required
snapshot
Default value: None
lease_id
Default value: None
delete_snapshots
Default value: None
if_modified_since
Default value: None
if_unmodified_since
Default value: None
if_match
Default value: None
if_none_match
Default value: None

Variables

Name Description
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

Required if the blob has associated snapshots.

if_modified_since

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

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.