AzureDataLakeGen1Datastore 類別
Azure Data Lake aka Gen 1 資料存放區,連結至 Azure ML 工作區。
- 繼承
-
azure.ai.ml.entities._datastore.datastore.DatastoreAzureDataLakeGen1Datastore
建構函式
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)
參數
名稱 | Description |
---|---|
name
必要
|
資料存放區的名稱。 |
store_name
必要
|
Azure 儲存體資源的名稱。 |
description
必要
|
資源的描述。 |
tags
必要
|
標記字典。 標記可以新增、移除和更新。 |
properties
必要
|
資產屬性字典。 |
credentials
必要
|
Union[<xref:ServicePrincipalSection>, <xref:CertificateSection>]
要用於 Azure ML 工作區的認證,以連線到儲存體。 |
kwargs
必要
|
其他組態參數的字典。 |
僅限關鍵字參數
名稱 | Description |
---|---|
name
必要
|
|
store_name
必要
|
|
description
必要
|
|
tags
必要
|
|
properties
必要
|
|
credentials
必要
|
|
方法
dump |
以 yaml 格式將資料存放區內容傾印到檔案中。 |
dump
以 yaml 格式將資料存放區內容傾印到檔案中。
dump(dest: str | PathLike | IO, **kwargs: Any) -> None
參數
名稱 | Description |
---|---|
dest
必要
|
接收此資料存放區內容的目的地。 必須是本機檔案的路徑,或已開啟的檔案資料流程。 如果 dest 是檔案路徑,將會建立新的檔案,如果檔案存在,則會引發例外狀況。 如果 dest 是開啟的檔案,則會將檔案直接寫入,如果檔案無法寫入,則會引發例外狀況。 |