FoundryStorageClient Class
Note
This is an experimental class, and may change at any time.
Base HTTP client for the Foundry storage API.
Constructor
FoundryStorageClient(credential: AsyncTokenCredential, endpoint: FoundryStorageEndpoint, *, get_server_version: Callable[[], str] | None = None, sdk_moniker: str | None = None, **kwargs: Any)
Parameters
| Name | Description |
|---|---|
|
credential
Required
|
<xref:AsyncTokenCredential>
An async credential used to obtain bearer tokens. |
|
endpoint
Required
|
Resolved Foundry storage endpoint configuration. |
|
get_server_version
Required
|
Optional callable returning the server version
string to use as the |
|
sdk_moniker
Required
|
SDK moniker for the default |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
get_server_version
|
Default value: None
|
|
sdk_moniker
|
Default value: None
|
Methods
| aclose |
Close the underlying HTTP pipeline client. |
aclose
Close the underlying HTTP pipeline client.
async aclose() -> None