AzureSqlDatabaseDatastore 类
表示将连接信息保存到 Azure SQL 数据库的数据存储。
不应直接使用此类。 若要创建将连接信息保存到 Azure SQL 数据库的数据存储,请使用 Datastore 类的 register_azure_sql_database 方法。
注意:使用数据存储访问数据时,必须具有访问数据的权限,这取决于在数据存储中注册的凭据。
- 继承
-
AzureSqlDatabaseDatastore
构造函数
AzureSqlDatabaseDatastore(workspace, name, server_name, database_name, tenant_id=None, client_id=None, client_secret=None, resource_url=None, authority_url=None, username=None, password=None, auth_type=None, service_data_access_auth_identity=None)
参数
- resource_url
- str, <xref:optional>
默认值: None
确定将在 SQL 数据库存储上执行哪些操作的资源 URL。 如果为 None,则默认为 https://database.windows.net/。
- authority_url
- str, <xref:optional>
默认值: None
用于对用户进行身份验证的颁发机构 URL。 默认为 https://login.microsoftonline.com。
- auth_type
默认值: None
- service_data_access_auth_identity
默认值: None
反馈
提交和查看相关反馈