Partager via


DatabaseConnectionProperties Class

Definition

DatabaseConnection resource specific properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DatabaseConnectionPropertiesTypeConverter))]
public class DatabaseConnectionProperties : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDatabaseConnectionProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DatabaseConnectionPropertiesTypeConverter))>]
type DatabaseConnectionProperties = class
    interface IDatabaseConnectionProperties
    interface IJsonSerializable
Public Class DatabaseConnectionProperties
Implements IDatabaseConnectionProperties
Inheritance
DatabaseConnectionProperties
Attributes
Implements

Constructors

DatabaseConnectionProperties()

Creates an new DatabaseConnectionProperties instance.

Properties

ConfigurationFile

A list of configuration files associated with this database connection.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabaseConnectionProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseConnectionProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDatabaseConnectionProperties.

FromJsonString(String)

Creates a new instance of DatabaseConnectionProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseConnectionProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to