VirtualMachineScaleSetVM Class

Definition

Describes a virtual machine scale set virtual machine.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineScaleSetVM : Microsoft.Azure.Management.Compute.Models.Resource
type VirtualMachineScaleSetVM = class
    inherit Resource
Public Class VirtualMachineScaleSetVM
Inherits Resource
Inheritance
System.Object
VirtualMachineScaleSetVM
Attributes

Constructors

VirtualMachineScaleSetVM()

Initializes a new instance of the VirtualMachineScaleSetVM class.

Properties

AvailabilitySet

Gets or sets specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Manage the availability of virtual machines. <br><br> For more information on Azure planned maintainance, see Planned maintenance for virtual machines in Azure <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

DiagnosticsProfile

Gets or sets specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.

HardwareProfile

Gets or sets specifies the hardware settings for the virtual machine.

Id

Gets resource Id

(Inherited from Resource)
InstanceId

Gets the virtual machine instance ID.

InstanceView

Gets the virtual machine instance view.

LatestModelApplied

Gets specifies whether the latest model has been applied to the virtual machine.

LicenseType

Gets or sets specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Minimum api-version: 2015-06-15

Location

Gets or sets resource location

(Inherited from Resource)
Name

Gets resource name

(Inherited from Resource)
NetworkProfile

Gets or sets specifies the network interfaces of the virtual machine.

OsProfile

Gets or sets specifies the operating system settings for the virtual machine.

Plan

Gets or sets specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save.

ProvisioningState

Gets the provisioning state, which only appears in the response.

Resources

Gets the virtual machine child extension resources.

Sku

Gets the virtual machine SKU.

StorageProfile

Gets or sets specifies the storage settings for the virtual machine disks.

Tags

Gets or sets resource tags

(Inherited from Resource)
Type

Gets resource type

(Inherited from Resource)
VmId

Gets azure VM unique ID.

Methods

Validate()

Validate the object.

Applies to