Partilhar via


PSVirtualMachineScaleSetVM Class

Definition

public class PSVirtualMachineScaleSetVM
public class PSVirtualMachineScaleSetVM : Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetVM
type PSVirtualMachineScaleSetVM = class
type PSVirtualMachineScaleSetVM = class
    inherit VirtualMachineScaleSetVM
Public Class PSVirtualMachineScaleSetVM
Public Class PSVirtualMachineScaleSetVM
Inherits VirtualMachineScaleSetVM
Inheritance
PSVirtualMachineScaleSetVM
Inheritance
PSVirtualMachineScaleSetVM
Derived

Constructors

PSVirtualMachineScaleSetVM()

Properties

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

(Inherited from VirtualMachineScaleSetVM)
AvailabilitySet
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.

(Inherited from VirtualMachineScaleSetVM)
DiagnosticsProfile
DiagnosticsProfile

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

(Inherited from VirtualMachineScaleSetVM)
Etag

Gets etag is property returned in Update/Get response of the VMSS VM, so that customer can supply it in the header to ensure optimistic updates.

(Inherited from VirtualMachineScaleSetVM)
HardwareProfile
HardwareProfile

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

(Inherited from VirtualMachineScaleSetVM)
Id
Id

Gets resource Id

(Inherited from Resource)
Identity

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

(Inherited from VirtualMachineScaleSetVM)
InstanceId
InstanceId

Gets the virtual machine instance ID.

(Inherited from VirtualMachineScaleSetVM)
InstanceView
InstanceView

Gets the virtual machine instance view.

(Inherited from VirtualMachineScaleSetVM)
LatestModelApplied
LatestModelApplied

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

(Inherited from VirtualMachineScaleSetVM)
LicenseType
LicenseType

Gets or sets specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Azure Hybrid Use Benefit for Linux Server <br><br> Minimum api-version: 2015-06-15

(Inherited from VirtualMachineScaleSetVM)
Location
Location

Gets or sets resource location

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

(Inherited from VirtualMachineScaleSetVM)
Name
Name

Gets resource name

(Inherited from Resource)
NetworkProfile
NetworkProfile

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

(Inherited from VirtualMachineScaleSetVM)
NetworkProfileConfiguration
NetworkProfileConfiguration

Gets or sets specifies the network profile configuration of the virtual machine.

(Inherited from VirtualMachineScaleSetVM)
OsProfile
OsProfile

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

(Inherited from VirtualMachineScaleSetVM)
Plan
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.

(Inherited from VirtualMachineScaleSetVM)
ProtectionPolicy
ProtectionPolicy

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

(Inherited from VirtualMachineScaleSetVM)
ProvisioningState
ProvisioningState

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

(Inherited from VirtualMachineScaleSetVM)
ResourceGroupName
Resources
Resources

Gets the virtual machine child extension resources.

(Inherited from VirtualMachineScaleSetVM)
SecurityProfile

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

(Inherited from VirtualMachineScaleSetVM)
Sku
Sku

Gets the virtual machine SKU.

(Inherited from VirtualMachineScaleSetVM)
StorageProfile
StorageProfile

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

(Inherited from VirtualMachineScaleSetVM)
Tags
Tags

Gets or sets resource tags

(Inherited from Resource)
TimeCreated

Gets specifies the time at which the Virtual Machine resource was created. Minimum api-version: 2021-11-01.

(Inherited from VirtualMachineScaleSetVM)
Type
Type

Gets resource type

(Inherited from Resource)
UserData
UserData

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

(Inherited from VirtualMachineScaleSetVM)
VmId
VmId

Gets azure VM unique ID.

(Inherited from VirtualMachineScaleSetVM)
Zones
Zones

Gets the virtual machine zones.

(Inherited from VirtualMachineScaleSetVM)

Methods

Validate()

Validate the object.

(Inherited from VirtualMachineScaleSetVM)

Applies to