共用方式為


ArmSqlModelFactory.VirtualClusterData Method

Definition

Initializes a new instance of VirtualClusterData.

public static Azure.ResourceManager.Sql.VirtualClusterData VirtualClusterData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.Core.ResourceIdentifier subnetId = default, string version = default, System.Collections.Generic.IEnumerable<string> childResources = default);
static member VirtualClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.Core.ResourceIdentifier * string * seq<string> -> Azure.ResourceManager.Sql.VirtualClusterData
Public Shared Function VirtualClusterData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional version As String = Nothing, Optional childResources As IEnumerable(Of String) = Nothing) As VirtualClusterData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

subnetId
ResourceIdentifier

Subnet resource ID for the virtual cluster.

version
String

Virtual cluster version.

childResources
IEnumerable<String>

List of resources in this virtual cluster.

Returns

A new VirtualClusterData instance for mocking.

Applies to