Udostępnij za pośrednictwem


ArmSqlModelFactory.SqlServerConnectionPolicyData Method

Definition

Initializes a new instance of SqlServerConnectionPolicyData.

public static Azure.ResourceManager.Sql.SqlServerConnectionPolicyData SqlServerConnectionPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, string kind = default, Azure.ResourceManager.Sql.Models.ServerConnectionType? connectionType = default);
static member SqlServerConnectionPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * string * Nullable<Azure.ResourceManager.Sql.Models.ServerConnectionType> -> Azure.ResourceManager.Sql.SqlServerConnectionPolicyData
Public Shared Function SqlServerConnectionPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional kind As String = Nothing, Optional connectionType As Nullable(Of ServerConnectionType) = Nothing) As SqlServerConnectionPolicyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

Resource location.

kind
String

Metadata used for the Azure portal experience.

connectionType
Nullable<ServerConnectionType>

The server connection type.

Returns

A new SqlServerConnectionPolicyData instance for mocking.

Applies to