AbstractADLSDatastore 类

表示将连接信息保存到 Azure Data Lake Storage 的数据存储的基类。

不应直接使用此类。 若要创建将连接信息保存到 Azure Data Lake Storage 的数据存储,请使用 Datastore 类的 register_azure_data_lake* 方法之一。

继承
AbstractADLSDatastore

构造函数

AbstractADLSDatastore(workspace, name, datastore_type, tenant_id, client_id, client_secret, resource_url, authority_url, service_data_access_auth_identity)

参数

workspace
str
必需

此数据存储所属的工作区。

name
str
必需

数据存储名称。

datastore_type
str
必需

数据存储类型,例如“AzureDataLake”或“AzureDataLakeGen2”。

tenant_id
str
必需

服务主体的目录 ID/租户 ID。

client_id
str
必需

服务主体的客户端 ID/应用程序 ID。

client_secret
str
必需

服务主体的机密。

resource_url
str
必需

确定将在 Data Lake Store 上执行哪些操作的资源 URL。

authority_url
str
必需

授权服务器的 URL,默认为 https://login.microsoftonline.com

service_data_access_auth_identity