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)

參數

workspace
str
必要

此資料存放區所屬的工作區。

name
str
必要

資料存放區名稱。

store_name
str
必要

Azure Data Lake 存放區名稱。

tenant_id
str
必要

服務主體的目錄識別碼/租使用者識別碼。

client_id
str
必要

服務主體的用戶端識別碼/應用程式識別碼。

client_secret
str
必要

服務主體的秘密。

resource_url
str, <xref:optional>
預設值: None

資源 URL,決定將在 Data Lake Store 上執行的作業。

authority_url
str, <xref:optional>
預設值: None

用來驗證使用者的授權單位 URL。

subscription_id
str, <xref:optional>
預設值: None

ADLS 存放區所屬的訂用帳戶識別碼。 使用 AzureDataLakeDatastore 作為資料傳輸目的地時,請同時 subscription_id 指定 和 resource_group

resource_group
str, <xref:optional>
預設值: None

ADLS 存放區所屬的資源群組。 使用 AzureDataLakeDatastore 作為資料傳輸目的地時,請同時 subscription_id 指定 和 resource_group

service_data_access_auth_identity
str 或 <xref:_restclient.models.ServiceDataAccessAuthIdentity>
預設值: None

指出用來驗證客戶儲存體之服務資料存取權的身分識別。 可能的值包括:'None'、'WorkspaceSystemAssignedIdentity'、'WorkspaceUserAssignedIdentity'

workspace
str
必要

此資料存放區所屬的工作區。

name
str
必要

資料存放區名稱。

store_name
str
必要

Azure Data Lake 存放區名稱。

tenant_id
str
必要

服務主體的目錄識別碼/租使用者識別碼。

client_id
str
必要

服務主體的用戶端識別碼/應用程式識別碼。

client_secret
str
必要

服務主體的秘密。

resource_url
str, <xref:optional>
必要

資源 URL,決定將在 Data Lake Store 上執行的作業。

authority_url
str, <xref:optional>
必要

用來驗證使用者的授權單位 URL。

subscription_id
str, <xref:optional>
必要

ADLS 存放區所屬的訂用帳戶識別碼。 使用 AzureDataLakeDatastore 作為資料傳輸目的地時,請同時 subscription_id 指定 和 resource_group

resource_group
str, <xref:optional>
必要

ADLS 存放區所屬的資源群組。 使用 AzureDataLakeDatastore 作為資料傳輸目的地時,請同時 subscription_id 指定 和 resource_group

service_data_access_auth_identity
str 或 <xref:_restclient.models.ServiceDataAccessAuthIdentity>
必要

指出用來驗證客戶儲存體之服務資料存取權的身分識別。 可能的值包括:'None'、'WorkspaceSystemAssignedIdentity'、'WorkspaceUserAssignedIdentity'

屬性

resource_group

傳回 ADLS 存放區的資源群組。

傳回

ADLS 存放區的資源群組

傳回類型

str

subscription_id

傳回 ADLS 存放區的訂用帳戶識別碼。

傳回

ADLS 存放區的訂用帳戶識別碼。

傳回類型

str