VirtualMachineInner Class
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.
Describes a Virtual Machine.
[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualMachineInner = class
inherit Resource
Public Class VirtualMachineInner
Inherits Resource
- Inheritance
- Attributes
Constructors
Properties
AdditionalCapabilities |
Gets or sets specifies additional capabilities enabled or disabled on the virtual machine. |
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 maintenance, see Planned maintenance for virtual machines in Azure <br><br> Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set. <br><br>This property cannot exist along with a non-null properties.virtualMachineScaleSet reference. |
BillingProfile |
Gets or sets specifies the billing related details of a Azure Spot virtual machine. <br><br>Minimum api-version: 2019-03-01. |
DiagnosticsProfile |
Gets or sets specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15. |
EvictionPolicy |
Gets or sets specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete' |
ExtensionsTimeBudget |
Gets or sets specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01 |
HardwareProfile |
Gets or sets specifies the hardware settings for the virtual machine. |
Host |
Gets or sets specifies information about the dedicated host that the virtual machine resides in. <br><br>Minimum api-version: 2018-10-01. |
HostGroup |
Gets or sets specifies information about the dedicated host group that the virtual machine resides in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host and hostGroup properties. |
Id |
Resource Id. Setter is protected because Id needs to be set in Network resources. (Inherited from ProxyResource) |
Identity |
Gets or sets the identity of the virtual machine, if configured. |
InstanceView |
Gets the virtual machine instance view. |
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 |
Resource location (Inherited from Resource) |
Name |
Resource name (Inherited from ProxyResource) |
NetworkProfile |
Gets or sets specifies the network interfaces of the virtual machine. |
OsProfile |
Gets or sets specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned. |
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. |
Priority |
Gets or sets specifies the priority for the virtual machine. <br><br>Minimum api-version: 2019-03-01. Possible values include: 'Regular', 'Low', 'Spot' |
ProvisioningState |
Gets the provisioning state, which only appears in the response. |
ProximityPlacementGroup |
Gets or sets specifies information about the proximity placement group that the virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01. |
Resources |
Gets the virtual machine child extension resources. |
SecurityProfile |
Gets or sets specifies the Security related profile settings for the virtual machine. |
StorageProfile |
Gets or sets specifies the storage settings for the virtual machine disks. |
Tags |
Resource tags (Inherited from Resource) |
Type |
Resource type (Inherited from ProxyResource) |
VirtualMachineScaleSet |
Gets or sets specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum api‐version: 2019‐03‐01 |
VmId |
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. |
Zones |
Gets or sets the virtual machine zones. |
Methods
Validate() |
Validate the object. |