Share via


SqlVirtualMachineModel Constructors

Definition

Overloads

SqlVirtualMachineModel()

Initializes a new instance of the SqlVirtualMachineModel class.

SqlVirtualMachineModel(String, String, String, String, IDictionary<String, String>, ResourceIdentity, String, String, String, String, String, String, String, WsfcDomainCredentials, AutoPatchingSettings, AutoBackupSettings, KeyVaultCredentialSettings, ServerConfigurationsManagementSettings)

Initializes a new instance of the SqlVirtualMachineModel class.

SqlVirtualMachineModel()

Initializes a new instance of the SqlVirtualMachineModel class.

public SqlVirtualMachineModel ();
Public Sub New ()

Applies to

SqlVirtualMachineModel(String, String, String, String, IDictionary<String, String>, ResourceIdentity, String, String, String, String, String, String, String, WsfcDomainCredentials, AutoPatchingSettings, AutoBackupSettings, KeyVaultCredentialSettings, ServerConfigurationsManagementSettings)

Initializes a new instance of the SqlVirtualMachineModel class.

public SqlVirtualMachineModel (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.SqlVirtualMachine.Models.ResourceIdentity identity = default, string virtualMachineResourceId = default, string provisioningState = default, string sqlImageOffer = default, string sqlServerLicenseType = default, string sqlManagement = default, string sqlImageSku = default, string sqlVirtualMachineGroupResourceId = default, Microsoft.Azure.Management.SqlVirtualMachine.Models.WsfcDomainCredentials wsfcDomainCredentials = default, Microsoft.Azure.Management.SqlVirtualMachine.Models.AutoPatchingSettings autoPatchingSettings = default, Microsoft.Azure.Management.SqlVirtualMachine.Models.AutoBackupSettings autoBackupSettings = default, Microsoft.Azure.Management.SqlVirtualMachine.Models.KeyVaultCredentialSettings keyVaultCredentialSettings = default, Microsoft.Azure.Management.SqlVirtualMachine.Models.ServerConfigurationsManagementSettings serverConfigurationsManagementSettings = default);
new Microsoft.Azure.Management.SqlVirtualMachine.Models.SqlVirtualMachineModel : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.SqlVirtualMachine.Models.ResourceIdentity * string * string * string * string * string * string * string * Microsoft.Azure.Management.SqlVirtualMachine.Models.WsfcDomainCredentials * Microsoft.Azure.Management.SqlVirtualMachine.Models.AutoPatchingSettings * Microsoft.Azure.Management.SqlVirtualMachine.Models.AutoBackupSettings * Microsoft.Azure.Management.SqlVirtualMachine.Models.KeyVaultCredentialSettings * Microsoft.Azure.Management.SqlVirtualMachine.Models.ServerConfigurationsManagementSettings -> Microsoft.Azure.Management.SqlVirtualMachine.Models.SqlVirtualMachineModel
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ResourceIdentity = Nothing, Optional virtualMachineResourceId As String = Nothing, Optional provisioningState As String = Nothing, Optional sqlImageOffer As String = Nothing, Optional sqlServerLicenseType As String = Nothing, Optional sqlManagement As String = Nothing, Optional sqlImageSku As String = Nothing, Optional sqlVirtualMachineGroupResourceId As String = Nothing, Optional wsfcDomainCredentials As WsfcDomainCredentials = Nothing, Optional autoPatchingSettings As AutoPatchingSettings = Nothing, Optional autoBackupSettings As AutoBackupSettings = Nothing, Optional keyVaultCredentialSettings As KeyVaultCredentialSettings = Nothing, Optional serverConfigurationsManagementSettings As ServerConfigurationsManagementSettings = Nothing)

Parameters

location
String

Resource location.

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

identity
ResourceIdentity

Azure Active Directory identity of the server.

virtualMachineResourceId
String

ARM Resource id of underlying virtual machine created from SQL marketplace image.

provisioningState
String

Provisioning state to track the async operation status.

sqlImageOffer
String

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

sqlServerLicenseType
String

SQL Server license type. Possible values include: 'PAYG', 'AHUB'

sqlManagement
String

SQL Server Management type. Possible values include: 'Full', 'LightWeight', 'NoAgent'

sqlImageSku
String

SQL Server edition type. Possible values include: 'Developer', 'Express', 'Standard', 'Enterprise', 'Web'

sqlVirtualMachineGroupResourceId
String

ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of.

wsfcDomainCredentials
WsfcDomainCredentials

Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.

autoPatchingSettings
AutoPatchingSettings

Auto patching settings for applying critical security updates to SQL virtual machine.

autoBackupSettings
AutoBackupSettings

Auto backup settings for SQL Server.

keyVaultCredentialSettings
KeyVaultCredentialSettings

Key vault credential settings.

serverConfigurationsManagementSettings
ServerConfigurationsManagementSettings

SQL Server configuration management settings.

Applies to