DatabaseConnectionProperties Class

DatabaseConnection resource specific properties.

Constructor

DatabaseConnectionProperties(*args: Any, **kwargs: Any)

Variables

Name Description
resource_id
str

The resource id of the database. Required.

connection_identity
str

If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.

connection_string
str

The connection string to use to connect to the database.

region
str

The region of the database resource. Required.

configuration_files

A list of configuration files associated with this database connection.

Attributes

configuration_files

A list of configuration files associated with this database connection.

configuration_files: list['_models.StaticSiteDatabaseConnectionConfigurationFileOverview'] | None

connection_identity

If present, the identity is used in conjunction with connection string to connect to the database. Use of the system-assigned managed identity is indicated with the string 'SystemAssigned', while use of a user-assigned managed identity is indicated with the resource id of the managed identity resource.

connection_identity: str | None

connection_string

The connection string to use to connect to the database.

connection_string: str | None

region

The region of the database resource. Required.

region: str

resource_id

The resource id of the database. Required.

resource_id: str