다음을 통해 공유


ArmAppServiceModelFactory.StaticSiteDatabaseConnectionData Method

Definition

Initializes a new instance of StaticSiteDatabaseConnectionData.

public static Azure.ResourceManager.AppService.StaticSiteDatabaseConnectionData StaticSiteDatabaseConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier resourceId = default, string connectionIdentity = default, string connectionString = default, string region = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.StaticSiteDatabaseConnectionConfigurationFileOverview> configurationFiles = default, string kind = default);
static member StaticSiteDatabaseConnectionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * string * string * string * seq<Azure.ResourceManager.AppService.Models.StaticSiteDatabaseConnectionConfigurationFileOverview> * string -> Azure.ResourceManager.AppService.StaticSiteDatabaseConnectionData
Public Shared Function StaticSiteDatabaseConnectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional connectionIdentity As String = Nothing, Optional connectionString As String = Nothing, Optional region As String = Nothing, Optional configurationFiles As IEnumerable(Of StaticSiteDatabaseConnectionConfigurationFileOverview) = Nothing, Optional kind As String = Nothing) As StaticSiteDatabaseConnectionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

resourceId
ResourceIdentifier

The resource id of the database.

connectionIdentity
String

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
String

The connection string to use to connect to the database.

region
String

The region of the database resource.

configurationFiles
IEnumerable<StaticSiteDatabaseConnectionConfigurationFileOverview>

A list of configuration files associated with this database connection.

kind
String

Kind of resource.

Returns

A new StaticSiteDatabaseConnectionData instance for mocking.

Applies to