DatabaseConnection Class

Static Site Database Connection resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.web.v2023_01_01.models._models_py3.ProxyOnlyResource
DatabaseConnection

Constructor

DatabaseConnection(*, kind: str | None = None, resource_id: str | None = None, connection_identity: str | None = None, connection_string: str | None = None, region: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

Kind of resource.

resource_id
str

The resource id of the database.

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.

Variables

Name Description
id
str

Resource Id.

name
str

Resource Name.

kind
str

Kind of resource.

type
str

Resource type.

resource_id
str

The resource id of the database.

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.

configuration_files

A list of configuration files associated with this database connection.