AzurePostgreSqlDatastore Class

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

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

Constructor

AzurePostgreSqlDatastore(workspace, name, server_name, database_name, user_id, user_password, port_number=None, enforce_ssl=True)

Parameters

workspace
str
Required

The workspace this datastore belongs to.

name
str
Required

The datastore name.

server_name
str
Required

The PostgreSQL server name.

database_name
str
Required

The PostgreSQL database name.

user_id
str
Required

The user ID of the PostgreSQL server.

user_password
str
Required

The user password of the PostgreSQL server.

port_number
str
default value: None

The port number of the PostgreSQL server.

enforce_ssl
bool
default value: True

Indicates SSL requirement of PostgreSQL server. Defaults to True