AzureMySqlDatastore Class

Represents a datastore that saves connection information to Azure Database for MySQL.

You should not use this class directly. To create a datastore that saves connection information to Azure Database for MySql, use the register_azure_my_sql 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.

Inheritance
AzureMySqlDatastore

Constructor

AzureMySqlDatastore(workspace, name, server_name, database_name, user_id, user_password, port_number=None)

Parameters

workspace
str
Required

The workspace this datastore belongs to.

name
str
Required

The datastore name.

server_name
str
Required

The MySQL server name.

database_name
str
Required

The MySQL database name.

user_id
str
Required

The user ID of the MySQL server.

user_password
str
Required

The user password of the MySQL server.

port_number
str
default value: None

The port number of the MySQL server.