A client to interact with a specific blob, although that blob may not yet exist.
BlobLeaseClientCreates a new BlobLeaseClient.
This client provides lease operations on a BlobClient or ContainerClient. :param client: The client of the blob or container to lease. :type client: Union[BlobClient, ContainerClient] :param lease_id: A string representing the lease ID of an existing lease. This value does not need to be specified in order to acquire a new lease, or break one. :type lease_id: Optional[str]
BlobPrefixAn Iterable of Blob properties.
Returned from walk_blobs when a delimiter is used. Can be thought of as a virtual blob directory.
BlobServiceClientA client to interact with the Blob Service at the account level.
This client provides operations to retrieve and configure the account properties as well as list, create and delete containers within the account. For operations relating to a specific container or blob, clients for those entities can also be retrieved using the get_client functions.
ContainerClientA client to interact with a specific container, although that container may not yet exist.
For operations relating to a specific blob within this container, a blob client can be retrieved using the get_blob_client function.
ExponentialRetryExponential retry.
Constructs an Exponential retry object. The initial_backoff is used for the first retry. Subsequent retries are retried after initial_backoff + increment_power^retry_count seconds. For example, by default the first retry occurs after 15 seconds, the second after (15+3^1) = 18 seconds, and the third after (15+3^2) = 24 seconds.
LinearRetryLinear retry.
Constructs a Linear retry object.
StorageStreamDownloaderA streaming object to download from Azure Storage.
Functions download_blob_from_urlDownload the contents of a blob to a local file or stream.
async download_blob_from_url(blob_url: str, output: str, credential: str | Dict[str, str] | AzureNamedKeyCredential | AzureSasCredential | AsyncTokenCredential | None = None, **kwargs: Any) -> None
Parameters Keyword-Only Parameters Returns upload_blob_to_url
Upload data to a given URL
The data will be uploaded as a block blob.
async upload_blob_to_url(blob_url: str, data: Iterable | IO, credential: str | Dict[str, str] | AzureNamedKeyCredential | AzureSasCredential | AsyncTokenCredential | None = None, **kwargs: Any) -> Dict[str, Any]
Parameters Keyword-Only Parameters Returns
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. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4