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.
Describes a Virtual Machine.
[Microsoft.Rest.Serialization.JsonTransformation] public class VirtualMachine : Microsoft.Azure.Management.Compute.Models.Resource
type VirtualMachine = class inherit Resource
Public Class VirtualMachine Inherits Resource
Initializes a new instance of the VirtualMachine class.
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.
Gets or sets specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
Gets or sets specifies the hardware settings for the virtual machine.
Gets resource Id(Inherited from Resource)
Gets or sets the identity of the virtual machine, if configured.
Gets the virtual machine instance view.
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
Gets or sets resource location(Inherited from Resource)
Gets resource name(Inherited from Resource)
Gets or sets specifies the network interfaces of the virtual machine.
Gets or sets specifies the operating system settings for the virtual machine.
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.
Gets the provisioning state, which only appears in the response.
Gets the virtual machine child extension resources.
Gets or sets specifies the storage settings for the virtual machine disks.
Gets or sets resource tags(Inherited from Resource)
Gets resource type(Inherited from Resource)
Gets specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
Gets or sets the virtual machine zones.
Validate the object.