Blob Class

Blob class.

Inheritance
builtins.object
Blob

Constructor

Blob(name=None, snapshot=None, content=None, props=None, metadata=None, deleted=False)

Parameters

Name Description
name
Default value: None
snapshot
Default value: None
content
Default value: None
props
Default value: None
metadata
Default value: None
deleted
Default value: False

Variables

Name Description
name
str

Name of blob.

snapshot
str

A DateTime value that uniquely identifies the snapshot. The value of this header indicates the snapshot version, and may be used in subsequent requests to access the snapshot.

content
str or bytes

Blob content.

properties

Stores all the system properties for the blob.

metadata

Name-value pairs associated with the blob as metadata.

deleted

Specify whether the blob was soft deleted. In other words, if the blob is being retained by the delete retention policy, this field would be True. The blob could be undeleted or it will be garbage collected after the specified time period.