Udostępnij za pośrednictwem


VirtualMachineScaleSetUpdate Constructors

Definition

Overloads

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, VirtualMachineScaleSetIdentity)

Initializes a new instance of the VirtualMachineScaleSetUpdate class.

VirtualMachineScaleSetUpdate()

Initializes a new instance of the VirtualMachineScaleSetUpdate class.

public VirtualMachineScaleSetUpdate ();
Public Sub New ()

Applies to

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.

public VirtualMachineScaleSetUpdate (System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Fluent.Models.Sku sku = default, Microsoft.Azure.Management.Compute.Fluent.Models.Plan plan = default, Microsoft.Azure.Management.Compute.Fluent.Models.UpgradePolicy upgradePolicy = default, Microsoft.Azure.Management.Compute.Fluent.Models.AutomaticRepairsPolicy automaticRepairsPolicy = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetUpdateVMProfile virtualMachineProfile = default, bool? overprovision = default, bool? doNotRunExtensionsOnOverprovisionedVMs = default, bool? singlePlacementGroup = default, Microsoft.Azure.Management.Compute.Fluent.Models.AdditionalCapabilities additionalCapabilities = default, Microsoft.Azure.Management.Compute.Fluent.Models.ScaleInPolicy scaleInPolicy = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource proximityPlacementGroup = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetIdentity identity = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetUpdate : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Fluent.Models.Sku * Microsoft.Azure.Management.Compute.Fluent.Models.Plan * Microsoft.Azure.Management.Compute.Fluent.Models.UpgradePolicy * Microsoft.Azure.Management.Compute.Fluent.Models.AutomaticRepairsPolicy * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetUpdateVMProfile * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Compute.Fluent.Models.AdditionalCapabilities * Microsoft.Azure.Management.Compute.Fluent.Models.ScaleInPolicy * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetIdentity -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetUpdate
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As Sku = Nothing, Optional plan As Plan = Nothing, Optional upgradePolicy As UpgradePolicy = Nothing, Optional automaticRepairsPolicy As AutomaticRepairsPolicy = Nothing, Optional virtualMachineProfile As VirtualMachineScaleSetUpdateVMProfile = Nothing, Optional overprovision As Nullable(Of Boolean) = Nothing, Optional doNotRunExtensionsOnOverprovisionedVMs As Nullable(Of Boolean) = Nothing, Optional singlePlacementGroup As Nullable(Of Boolean) = Nothing, Optional additionalCapabilities As AdditionalCapabilities = Nothing, Optional scaleInPolicy As ScaleInPolicy = Nothing, Optional proximityPlacementGroup As SubResource = Nothing, Optional identity As VirtualMachineScaleSetIdentity = Nothing)

Parameters

tags
IDictionary<String,String>

Resource tags

sku
Sku

The virtual machine scale set sku.

plan
Plan

The purchase plan when deploying a virtual machine scale set from VM Marketplace images.

upgradePolicy
UpgradePolicy

The upgrade policy.

automaticRepairsPolicy
AutomaticRepairsPolicy

Policy for automatic repairs.

virtualMachineProfile
VirtualMachineScaleSetUpdateVMProfile

The virtual machine profile.

overprovision
Nullable<Boolean>

Specifies whether the Virtual Machine Scale Set should be overprovisioned.

doNotRunExtensionsOnOverprovisionedVMs
Nullable<Boolean>

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.

singlePlacementGroup
Nullable<Boolean>

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.

additionalCapabilities
AdditionalCapabilities

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.

scaleInPolicy
ScaleInPolicy

Specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.

proximityPlacementGroup
SubResource

Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. <br><br>Minimum api-version: 2018-04-01.

identity
VirtualMachineScaleSetIdentity

The identity of the virtual machine scale set, if configured.

Applies to