Freigeben über


DatabaseConnection interface

Static Site Database Connection resource.

Extends

Properties

configurationFiles

A list of configuration files associated with this database connection. NOTE: This property will not be serialized. It can only be populated by the server.

connectionIdentity

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.

connectionString

The connection string to use to connect to the database.

region

The region of the database resource.

resourceId

The resource id of the database.

Inherited Properties

id

Resource Id. NOTE: This property will not be serialized. It can only be populated by the server.

kind

Kind of resource.

name

Resource Name. NOTE: This property will not be serialized. It can only be populated by the server.

type

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

configurationFiles

A list of configuration files associated with this database connection. NOTE: This property will not be serialized. It can only be populated by the server.

configurationFiles?: StaticSiteDatabaseConnectionConfigurationFileOverview[]

Property Value

connectionIdentity

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.

connectionIdentity?: string

Property Value

string

connectionString

The connection string to use to connect to the database.

connectionString?: string

Property Value

string

region

The region of the database resource.

region?: string

Property Value

string

resourceId

The resource id of the database.

resourceId?: string

Property Value

string

Inherited Property Details

id

Resource Id. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ProxyOnlyResource.id

kind

Kind of resource.

kind?: string

Property Value

string

Inherited From ProxyOnlyResource.kind

name

Resource Name. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ProxyOnlyResource.name

type

Resource type. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ProxyOnlyResource.type