Share via


StaticSiteDatabaseConnectionData Class

Definition

A class representing the StaticSiteDatabaseConnection data model. Static Site Database Connection resource.

public class StaticSiteDatabaseConnectionData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.StaticSiteDatabaseConnectionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.StaticSiteDatabaseConnectionData>
type StaticSiteDatabaseConnectionData = class
    inherit ResourceData
    interface IJsonModel<StaticSiteDatabaseConnectionData>
    interface IPersistableModel<StaticSiteDatabaseConnectionData>
Public Class StaticSiteDatabaseConnectionData
Inherits ResourceData
Implements IJsonModel(Of StaticSiteDatabaseConnectionData), IPersistableModel(Of StaticSiteDatabaseConnectionData)
Inheritance
StaticSiteDatabaseConnectionData
Implements

Constructors

StaticSiteDatabaseConnectionData()

Initializes a new instance of StaticSiteDatabaseConnectionData.

Properties

ConfigurationFiles

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.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Kind

Kind of resource.

Name

The name of the resource.

(Inherited from ResourceData)
Region

The region of the database resource.

ResourceId

The resource id of the database.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<StaticSiteDatabaseConnectionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StaticSiteDatabaseConnectionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StaticSiteDatabaseConnectionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StaticSiteDatabaseConnectionData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StaticSiteDatabaseConnectionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to