AzureSqlDatabaseDatastore Class
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 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.
Initialize a new Azure SQL Database Datastore.
- Inheritance
-
AzureSqlDatabaseDatastore
Constructor
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)
Parameters
- resource_url
- str, <xref: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, <xref:optional>
The authority URL used to authenticate the user. Defaults to https://login.microsoftonline.com.
- resource_url
- str, <xref: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, <xref:optional>
The authority URL used to authenticate the user. Defaults to https://login.microsoftonline.com.
- service_data_access_auth_identity
- str or <xref:_restclient.models.ServiceDataAccessAuthIdentity>
Indicates which identity to use to authenticate service data access to customer's storage. Possible values include: 'None', 'WorkspaceSystemAssignedIdentity', 'WorkspaceUserAssignedIdentity'
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for