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_12_01.models._models_py3.ProxyOnlyResourceDatabaseConnection
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
|
Kind of resource. |
resource_id
|
The resource id of the database. |
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_string
|
The connection string to use to connect to the database. |
region
|
The region of the database resource. |
Variables
Name | Description |
---|---|
id
|
Resource Id. |
name
|
Resource Name. |
kind
|
Kind of resource. |
type
|
Resource type. |
resource_id
|
The resource id of the database. |
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_string
|
The connection string to use to connect to the database. |
region
|
The region of the database resource. |
configuration_files
|
A list of configuration files associated with this database connection. |
Azure SDK for Python