AzureDataLakeGen1Datastore Class
Azure Data Lake aka Gen 1 datastore that is linked to an Azure ML workspace.
Constructor
AzureDataLakeGen1Datastore(*, name: str, store_name: str, description: str | None = None, tags: Dict | None = None, properties: Dict | None = None, credentials: CertificateConfiguration | ServicePrincipalConfiguration | None = None, **kwargs: Any)
Parameters
| Name | Description |
|---|---|
|
name
Required
|
Name of the datastore. |
|
store_name
Required
|
Name of the Azure storage resource. |
|
description
Required
|
Description of the resource. |
|
tags
Required
|
Tag dictionary. Tags can be added, removed, and updated. |
|
properties
Required
|
The asset property dictionary. |
|
credentials
Required
|
Credentials to use for Azure ML workspace to connect to the storage. |
|
kwargs
Required
|
A dictionary of additional configuration parameters. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
name
Required
|
|
|
store_name
Required
|
|
|
description
|
Default value: None
|
|
tags
|
Default value: None
|
|
properties
|
Default value: None
|
|
credentials
|
Default value: None
|
Methods
| dump |
Dump the datastore content into a file in yaml format. |
dump
Dump the datastore content into a file in yaml format.
dump(dest: str | PathLike | IO, **kwargs: Any) -> None
Parameters
| Name | Description |
|---|---|
|
dest
Required
|
The destination to receive this datastore's content. Must be either a path to a local file, or an already-open file stream. If dest is a file path, a new file will be created, and an exception is raised if the file exists. If dest is an open file, the file will be written to directly, and an exception will be raised if the file is not writable. |
Attributes
base_path
creation_context
The creation context of the resource.
Returns
| Type | Description |
|---|---|
|
The creation metadata for the resource. |