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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Python