Udostępnij za pośrednictwem


VirtualMachineScaleSetVMInner Class

Definition

Describes a virtual machine scale set virtual machine.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualMachineScaleSetVMInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualMachineScaleSetVMInner = class
    inherit Resource
Public Class VirtualMachineScaleSetVMInner
Inherits Resource
Inheritance
VirtualMachineScaleSetVMInner
Attributes

Constructors

VirtualMachineScaleSetVMInner()

Initializes a new instance of the VirtualMachineScaleSetVMInner class.

VirtualMachineScaleSetVMInner(String, String, String, String, IDictionary<String,String>, String, Sku, Nullable<Boolean>, String, VirtualMachineScaleSetVMInstanceView, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, SecurityProfile, NetworkProfile, VirtualMachineScaleSetVMNetworkProfileConfiguration, DiagnosticsProfile, SubResource, String, String, String, VirtualMachineScaleSetVMProtectionPolicy, Plan, IList<VirtualMachineExtensionInner>, IList<String>)

Initializes a new instance of the VirtualMachineScaleSetVMInner class.

Properties

AdditionalCapabilities

Gets or sets 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.

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. &lt;br&gt;&lt;br&gt; For more information on Azure planned maintenance, see Planned maintenance for virtual machines in Azure &lt;br&gt;&lt;br&gt; 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. &lt;br&gt;&lt;br&gt;Minimum api-version: 2015-06-15.

HardwareProfile

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

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
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. &lt;br&gt;&lt;br&gt; Possible values are: &lt;br&gt;&lt;br&gt; Windows_Client &lt;br&gt;&lt;br&gt; Windows_Server &lt;br&gt;&lt;br&gt; If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. &lt;br&gt;&lt;br&gt; For more information, see Azure Hybrid Use Benefit for Windows Server &lt;br&gt;&lt;br&gt; Minimum api-version: 2015-06-15

Location

Resource location

(Inherited from Resource)
ModelDefinitionApplied

Gets 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.

Name

Resource name

(Inherited from ProxyResource)
NetworkProfile

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

NetworkProfileConfiguration

Gets or sets specifies the network profile configuration 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 -&gt;. Enter any required information and then click Save.

ProtectionPolicy

Gets or sets specifies the protection policy of the virtual machine.

ProvisioningState

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

Resources

Gets the virtual machine child extension resources.

SecurityProfile

Gets or sets specifies the Security related profile settings for the virtual machine.

Sku

Gets the virtual machine SKU.

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)
VmId

Gets azure VM unique ID.

Zones

Gets the virtual machine zones.

Methods

Validate()

Validate the object.

Applies to