AzureSqlDatabaseDatastore class

Definition

Represents a datastore that saves connection information to Azure SQL Database.

You should not work with this class directly. To create a datastore that saves connection information to Azure SQL Database, use the register_azure_sql_database(workspace, datastore_name, server_name, database_name, tenant_id=None, client_id=None, client_secret=None, resource_url=None, authority_url=None, endpoint=None, overwrite=False, username=None, password=None) method of the Datastore class.

Note: When using a datastore to access data, you must have permission to access the data, which depends on the credentials registered with the datastore.

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)
Inheritance
builtins.object
AzureSqlDatabaseDatastore

Parameters

workspace
str

The workspace this datastore belongs to.

name
str

The datastore name.

server_name
str

The SQL server name

database_name
str

The SQL database name

tenant_id
str

The Directory ID/Tenant ID of the service principal.

client_id
str

The Client ID/Application ID of the service principal.

client_secret
str

The secret of the service principal.

resource_url
str, optional

The resource URL, which determines what operations will be performed on the SQL database store. If None, defaults to https://database.windows.net/.

authority_url
str, optional

The authority URL used to authenticate the user. Defaults to https://login.microsoftonline.com.

username
str

The username of the database user to access the database.

password
str

The password of the database user to access the database.