Udostępnij za pośrednictwem


VirtualMachineScaleSetUpdate Class

Definition

Describes a Virtual Machine Scale Set.

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

Constructors

VirtualMachineScaleSetUpdate()

Initializes a new instance of the VirtualMachineScaleSetUpdate class.

VirtualMachineScaleSetUpdate(IDictionary<String,String>, Sku, Plan, UpgradePolicy, AutomaticRepairsPolicy, VirtualMachineScaleSetUpdateVMProfile, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, AdditionalCapabilities, ScaleInPolicy, SubResource, PriorityMixPolicy, SpotRestorePolicy, VirtualMachineScaleSetIdentity)

Initializes a new instance of the VirtualMachineScaleSetUpdate class.

VirtualMachineScaleSetUpdate(IDictionary<String,String>, Sku, Plan, UpgradePolicy, AutomaticRepairsPolicy, VirtualMachineScaleSetUpdateVMProfile, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, AdditionalCapabilities, ScaleInPolicy, SubResource, VirtualMachineScaleSetIdentity)

Initializes a new instance of the VirtualMachineScaleSetUpdate class.

Properties

AdditionalCapabilities

Gets or sets specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.

AutomaticRepairsPolicy

Gets or sets policy for automatic repairs.

DoNotRunExtensionsOnOverprovisionedVMs

Gets or sets when Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.

Identity

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

Overprovision

Gets or sets specifies whether the Virtual Machine Scale Set should be overprovisioned.

Plan

Gets or sets the purchase plan when deploying a virtual machine scale set from VM Marketplace images.

PriorityMixPolicy

Gets or sets specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.

ProximityPlacementGroup

Gets or sets specifies information about the proximity placement group that the virtual machine scale set should be assigned to. &lt;br&gt;&lt;br&gt;Minimum api-version: 2018-04-01.

ScaleInPolicy

Gets or sets specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.

SinglePlacementGroup

Gets or sets when true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.

Sku

Gets or sets the virtual machine scale set sku.

SpotRestorePolicy

Gets or sets specifies the Spot Restore properties for the virtual machine scale set.

Tags

Gets or sets resource tags

(Inherited from UpdateResource)
UpgradePolicy

Gets or sets the upgrade policy.

VirtualMachineProfile

Gets or sets the virtual machine profile.

Methods

Validate()

Validate the object.

Applies to