Share via


VirtualMachineScaleSetVmProperties Class

Definition

Describes the properties of a virtual machine scale set virtual machine.

public class VirtualMachineScaleSetVmProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetVmProperties>
type VirtualMachineScaleSetVmProperties = class
    interface IJsonModel<VirtualMachineScaleSetVmProperties>
    interface IPersistableModel<VirtualMachineScaleSetVmProperties>
Public Class VirtualMachineScaleSetVmProperties
Implements IJsonModel(Of VirtualMachineScaleSetVmProperties), IPersistableModel(Of VirtualMachineScaleSetVmProperties)
Inheritance
VirtualMachineScaleSetVmProperties
Implements

Constructors

VirtualMachineScaleSetVmProperties()

Initializes a new instance of VirtualMachineScaleSetVmProperties.

Properties

AdditionalCapabilities

Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

AvailabilitySetId

Gets or sets Id.

BootDiagnostics

Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.

HardwareProfile

Specifies the hardware settings for the virtual machine.

InstanceView

The virtual machine instance view.

LatestModelApplied

Specifies whether the latest model has been applied to the virtual machine.

LicenseType

Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Azure Hybrid Use Benefit for Linux Server <br><br> Minimum api-version: 2015-06-15.

ModelDefinitionApplied

Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine.

NetworkInterfaceConfigurations

The list of network configurations.

NetworkProfile

Specifies the network interfaces of the virtual machine.

OSProfile

Specifies the operating system settings for the virtual machine.

ProtectionPolicy

Specifies the protection policy of the virtual machine.

ProvisioningState

The provisioning state, which only appears in the response.

ResilientVmDeletionStatus

Specifies the resilient VM deletion status for the virtual machine.

SecurityProfile

Specifies the Security related profile settings for the virtual machine.

StorageProfile

Specifies the storage settings for the virtual machine disks.

TimeCreated

Specifies the time at which the Virtual Machine resource was created. Minimum api-version: 2021-11-01.

UserData

UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.

VmId

Azure VM unique ID.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineScaleSetVmProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineScaleSetVmProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineScaleSetVmProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineScaleSetVmProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineScaleSetVmProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to