Dela via


VirtualMachineScaleSetVM Class

Definition

Describes a virtual machine scale set virtual machine .

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

Constructors

VirtualMachineScaleSetVM()

Initializes a new instance of the VirtualMachineScaleSetVM class.

VirtualMachineScaleSetVM(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<VirtualMachineExtension>, IList<String>)

Initializes a new instance of the VirtualMachineScaleSetVM class.

VirtualMachineScaleSetVM(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<VirtualMachineExtension>)

Initializes a new instance of the VirtualMachineScaleSetVM class.

VirtualMachineScaleSetVM(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)

Initializes a new instance of the VirtualMachineScaleSetVM class.

VirtualMachineScaleSetVM(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, String, Plan, IList<VirtualMachineExtension>, IList<String>, VirtualMachineIdentity)

Initializes a new instance of the VirtualMachineScaleSetVM class.

VirtualMachineScaleSetVM(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)

Initializes a new instance of the VirtualMachineScaleSetVM 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 Availability sets overview. For more information on Azure planned maintenance, see Maintenance and updates for Virtual Machines in Azure. 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. 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)
Identity

Gets or sets the identity of the virtual machine, if configured.

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. &lt;br&gt;&lt;br&gt; Possible values for Windows Server operating system are: &lt;br&gt;&lt;br&gt; Windows_Client &lt;br&gt;&lt;br&gt; Windows_Server &lt;br&gt;&lt;br&gt; Possible values for Linux Server operating system are: &lt;br&gt;&lt;br&gt; RHEL_BYOS (for RHEL) &lt;br&gt;&lt;br&gt; SLES_BYOS (for SUSE) &lt;br&gt;&lt;br&gt; For more information, see Azure Hybrid Use Benefit for Windows Server &lt;br&gt;&lt;br&gt; Azure Hybrid Use Benefit for Linux Server &lt;br&gt;&lt;br&gt; Minimum api-version: 2015-06-15

Location

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

Gets resource name

(Inherited from Resource)
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

Gets or sets resource tags

(Inherited from Resource)
Type

Gets resource type

(Inherited from Resource)
UserData

Gets or sets userData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. &lt;br&gt;&lt;br&gt;Minimum api-version: 2021-03-01

VmId

Gets azure VM unique ID.

Zones

Gets the virtual machine zones.

Methods

Validate()

Validate the object.

Applies to