BlobBlock Class
BlockBlob Block class.
- Inheritance
-
azure.storage.blob._shared.models.DictMixinBlobBlock
Constructor
BlobBlock(block_id: str, state: BlockState = BlockState.LATEST)
Parameters
Name | Description |
---|---|
block_id
Required
|
Block id. |
state
|
Block state. Possible values: BlockState.COMMITTED | BlockState.UNCOMMITTED Default value: BlockState.LATEST
|
Methods
get | |
has_key | |
items | |
keys | |
update | |
values |
get
get(key, default=None)
Parameters
Name | Description |
---|---|
key
Required
|
|
default
|
Default value: None
|
has_key
has_key(k)
Parameters
Name | Description |
---|---|
k
Required
|
|
items
items()
keys
keys()
update
update(*args, **kwargs)
values
values()
Attributes
block_id
Block id.
block_id: str
size
Block size.
size: int
state
Block state.
state: BlockState
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python