AzureDataLakeDatastore 類別
表示資料存放區,此資料存放區會將連線資訊儲存至Azure Data Lake Storage。
若要建立將資料存放區儲存至Azure Data Lake Storage的連接資訊,請使用 register_azure_data_lake 類別的 Datastore 方法。
注意:使用資料存放區存取資料時,您必須具有存取資料的許可權,這取決於向資料存放區註冊的認證。
初始化新的 Azure Data Lake 資料存放區。
- 繼承
-
AzureDataLakeDatastore
建構函式
AzureDataLakeDatastore(workspace, name, store_name, tenant_id, client_id, client_secret, resource_url=None, authority_url=None, subscription_id=None, resource_group=None, service_data_access_auth_identity=None)
參數
名稱 | Description |
---|---|
workspace
必要
|
此資料存放區所屬的工作區。 |
name
必要
|
資料存放區名稱。 |
store_name
必要
|
Azure Data Lake 存放區名稱。 |
tenant_id
必要
|
服務主體的目錄識別碼/租使用者識別碼。 |
client_id
必要
|
服務主體的用戶端識別碼/應用程式識別碼。 |
client_secret
必要
|
服務主體的秘密。 |
resource_url
|
str, <xref:optional>
資源 URL,決定將在 Data Lake Store 上執行的作業。 預設值: None
|
authority_url
|
str, <xref:optional>
用來驗證使用者的授權單位 URL。 預設值: None
|
subscription_id
|
str, <xref:optional>
ADLS 存放區所屬的訂用帳戶識別碼。
使用 AzureDataLakeDatastore 作為資料傳輸目的地時,請同時 預設值: None
|
resource_group
|
str, <xref:optional>
ADLS 存放區所屬的資源群組。
使用 AzureDataLakeDatastore 作為資料傳輸目的地時,請同時 預設值: None
|
service_data_access_auth_identity
|
str 或
<xref:_restclient.models.ServiceDataAccessAuthIdentity>
指出用來驗證客戶儲存體之服務資料存取權的身分識別。 可能的值包括:'None'、'WorkspaceSystemAssignedIdentity'、'WorkspaceUserAssignedIdentity' 預設值: None
|
workspace
必要
|
此資料存放區所屬的工作區。 |
name
必要
|
資料存放區名稱。 |
store_name
必要
|
Azure Data Lake 存放區名稱。 |
tenant_id
必要
|
服務主體的目錄識別碼/租使用者識別碼。 |
client_id
必要
|
服務主體的用戶端識別碼/應用程式識別碼。 |
client_secret
必要
|
服務主體的秘密。 |
resource_url
必要
|
str, <xref:optional>
資源 URL,決定將在 Data Lake Store 上執行的作業。 |
authority_url
必要
|
str, <xref:optional>
用來驗證使用者的授權單位 URL。 |
subscription_id
必要
|
str, <xref:optional>
ADLS 存放區所屬的訂用帳戶識別碼。
使用 AzureDataLakeDatastore 作為資料傳輸目的地時,請同時 |
resource_group
必要
|
str, <xref:optional>
ADLS 存放區所屬的資源群組。
使用 AzureDataLakeDatastore 作為資料傳輸目的地時,請同時 |
service_data_access_auth_identity
必要
|
str 或
<xref:_restclient.models.ServiceDataAccessAuthIdentity>
指出用來驗證客戶儲存體之服務資料存取權的身分識別。 可能的值包括:'None'、'WorkspaceSystemAssignedIdentity'、'WorkspaceUserAssignedIdentity' |