ArmSqlVirtualMachineModelFactory.SqlVmData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SqlVmData.
public static Azure.ResourceManager.SqlVirtualMachine.SqlVmData SqlVmData (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.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.Core.ResourceIdentifier virtualMachineResourceId = default, string provisioningState = default, string sqlImageOffer = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlServerLicenseType? sqlServerLicenseType = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlManagementMode? sqlManagement = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlImageSku? sqlImageSku = default, Azure.Core.ResourceIdentifier sqlVmGroupResourceId = default, Azure.ResourceManager.SqlVirtualMachine.Models.WindowsServerFailoverClusterDomainCredentials windowsServerFailoverClusterDomainCredentials = default, System.Net.IPAddress windowsServerFailoverClusterStaticIP = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmAutoPatchingSettings autoPatchingSettings = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmAutoBackupSettings autoBackupSettings = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmKeyVaultCredentialSettings keyVaultCredentialSettings = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlServerConfigurationsManagementSettings serverConfigurationsManagementSettings = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmStorageConfigurationSettings storageConfigurationSettings = default, Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmAssessmentSettings assessmentSettings = default);
static member SqlVmData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ResourceManager.SqlVirtualMachine.Models.SqlServerLicenseType> * Nullable<Azure.ResourceManager.SqlVirtualMachine.Models.SqlManagementMode> * Nullable<Azure.ResourceManager.SqlVirtualMachine.Models.SqlImageSku> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.SqlVirtualMachine.Models.WindowsServerFailoverClusterDomainCredentials * System.Net.IPAddress * Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmAutoPatchingSettings * Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmAutoBackupSettings * Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmKeyVaultCredentialSettings * Azure.ResourceManager.SqlVirtualMachine.Models.SqlServerConfigurationsManagementSettings * Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmStorageConfigurationSettings * Azure.ResourceManager.SqlVirtualMachine.Models.SqlVmAssessmentSettings -> Azure.ResourceManager.SqlVirtualMachine.SqlVmData
Public Shared Function SqlVmData (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 identity As ManagedServiceIdentity = Nothing, Optional virtualMachineResourceId As ResourceIdentifier = Nothing, Optional provisioningState As String = Nothing, Optional sqlImageOffer As String = Nothing, Optional sqlServerLicenseType As Nullable(Of SqlServerLicenseType) = Nothing, Optional sqlManagement As Nullable(Of SqlManagementMode) = Nothing, Optional sqlImageSku As Nullable(Of SqlImageSku) = Nothing, Optional sqlVmGroupResourceId As ResourceIdentifier = Nothing, Optional windowsServerFailoverClusterDomainCredentials As WindowsServerFailoverClusterDomainCredentials = Nothing, Optional windowsServerFailoverClusterStaticIP As IPAddress = Nothing, Optional autoPatchingSettings As SqlVmAutoPatchingSettings = Nothing, Optional autoBackupSettings As SqlVmAutoBackupSettings = Nothing, Optional keyVaultCredentialSettings As SqlVmKeyVaultCredentialSettings = Nothing, Optional serverConfigurationsManagementSettings As SqlServerConfigurationsManagementSettings = Nothing, Optional storageConfigurationSettings As SqlVmStorageConfigurationSettings = Nothing, Optional assessmentSettings As SqlVmAssessmentSettings = Nothing) As SqlVmData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- identity
- ManagedServiceIdentity
Azure Active Directory identity of the server. Current supported identity types: None, SystemAssigned.
- virtualMachineResourceId
- ResourceIdentifier
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
- Nullable<SqlServerLicenseType>
SQL Server license type.
- sqlManagement
- Nullable<SqlManagementMode>
SQL Server Management type.
- sqlImageSku
- Nullable<SqlImageSku>
SQL Server edition type.
- sqlVmGroupResourceId
- ResourceIdentifier
ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of.
- windowsServerFailoverClusterDomainCredentials
- WindowsServerFailoverClusterDomainCredentials
Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
- windowsServerFailoverClusterStaticIP
- IPAddress
Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
- autoPatchingSettings
- SqlVmAutoPatchingSettings
Auto patching settings for applying critical security updates to SQL virtual machine.
- autoBackupSettings
- SqlVmAutoBackupSettings
Auto backup settings for SQL Server.
- keyVaultCredentialSettings
- SqlVmKeyVaultCredentialSettings
Key vault credential settings.
- serverConfigurationsManagementSettings
- SqlServerConfigurationsManagementSettings
SQL Server configuration management settings.
- storageConfigurationSettings
- SqlVmStorageConfigurationSettings
Storage Configuration Settings.
- assessmentSettings
- SqlVmAssessmentSettings
Assessment Settings.
Returns
A new SqlVmData instance for mocking.