共用方式為


ArmSqlVirtualMachineModelFactory.SqlVmGroupData Method

Definition

Initializes a new instance of SqlVmGroupData.

public static Azure.ResourceManager.SqlVirtualMachine.SqlVmGroupData SqlVmGroupData (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, string provisioningState = default, string sqlImageOffer = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmGroupImageSku? sqlImageSku = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmGroupScaleType? scaleType = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmClusterManagerType? clusterManagerType = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmClusterConfiguration? clusterConfiguration = default, Azure.ResourceManager.SqlVirtualMachine.Models.WindowsServerFailoverClusterDomainProfile windowsServerFailoverClusterDomainProfile = default);
static member SqlVmGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * Nullable<Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmGroupImageSku> * Nullable<Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmGroupScaleType> * Nullable<Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmClusterManagerType> * Nullable<Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmClusterConfiguration> * Azure.ResourceManager.SqlVirtualMachine.Models.WindowsServerFailoverClusterDomainProfile -> Azure.ResourceManager.SqlVirtualMachine.SqlVmGroupData
Public Shared Function SqlVmGroupData (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 provisioningState As String = Nothing, Optional sqlImageOffer As String = Nothing, Optional sqlImageSku As Nullable(Of SqlVmGroupImageSku) = Nothing, Optional scaleType As Nullable(Of SqlVmGroupScaleType) = Nothing, Optional clusterManagerType As Nullable(Of SqlVmClusterManagerType) = Nothing, Optional clusterConfiguration As Nullable(Of SqlVmClusterConfiguration) = Nothing, Optional windowsServerFailoverClusterDomainProfile As WindowsServerFailoverClusterDomainProfile = Nothing) As SqlVmGroupData

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.

provisioningState
String

Provisioning state to track the async operation status.

sqlImageOffer
String

SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.

sqlImageSku
Nullable<SqlVmGroupImageSku>

SQL image sku.

scaleType
Nullable<SqlVmGroupScaleType>

Scale type.

clusterManagerType
Nullable<SqlVmClusterManagerType>

Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.

clusterConfiguration
Nullable<SqlVmClusterConfiguration>

Cluster type.

windowsServerFailoverClusterDomainProfile
WindowsServerFailoverClusterDomainProfile

Cluster Active Directory domain profile.

Returns

A new SqlVmGroupData instance for mocking.

Applies to