AbstractADLSDatastore 类

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

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

初始化新的 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

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

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

authority_url
必需
str

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

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

指示用于验证客户存储的服务数据访问的标识。 可能的值包括:"None"、"WorkspaceSystemAssignedIdentity"、"WorkspaceUserAssignedIdentity"