SqlVmData Class

Definition

A SQL virtual machine.

public class SqlVmData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SqlVirtualMachine.SqlVmData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SqlVirtualMachine.SqlVmData>
public class SqlVmData : Azure.ResourceManager.Models.TrackedResourceData
type SqlVmData = class
    inherit TrackedResourceData
    interface IJsonModel<SqlVmData>
    interface IPersistableModel<SqlVmData>
type SqlVmData = class
    inherit TrackedResourceData
Public Class SqlVmData
Inherits TrackedResourceData
Implements IJsonModel(Of SqlVmData), IPersistableModel(Of SqlVmData)
Public Class SqlVmData
Inherits TrackedResourceData
Inheritance
Implements

Constructors

Name Description
SqlVmData(AzureLocation)

Initializes a new instance of SqlVmData.

Properties

Name Description
AdditionalVmPatch

Additional VM Patching solution enabled on the Virtual Machine.

AssessmentSettings

SQL best practices Assessment Settings.

AutoBackupSettings

Auto backup settings for SQL Server.

AutoPatchingSettings

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

EnableAutomaticUpgrade

Enable automatic upgrade of Sql IaaS extension Agent.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

DO NOT USE. This value will be deprecated. Azure Active Directory identity of the server.

KeyVaultCredentialSettings

Key vault credential settings.

LeastPrivilegeMode

SQL IaaS Agent least privilege mode.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
OsType

Operating System of the current SQL Virtual Machine.

ProvisioningState

Provisioning state to track the async operation status.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ServerConfigurationsManagementSettings

SQL Server configuration management settings.

SqlImageOffer

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

SqlImageSku

SQL Server edition type.

SqlManagement

SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it.

SqlServerLicenseType

SQL Server license type.

SqlVmGroupResourceId

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

SqlVmName

Name of the SQL virtual machine.

StorageConfigurationSettings

Storage Configuration Settings.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TroubleshootingStatus

Troubleshooting status.

VirtualMachineIdentitySettings

Virtual Machine Identity details used for Sql IaaS extension configurations.

VirtualMachineResourceId

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

WindowsServerFailoverClusterDomainCredentials

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

WindowsServerFailoverClusterStaticIP

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

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<SqlVmData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SqlVmData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlVmData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlVmData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SqlVmData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to