Bagikan melalui


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

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

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 policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.

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

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.

public VirtualMachineScaleSetUpdate (System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.Sku sku = default, Microsoft.Azure.Management.Compute.Models.Plan plan = default, Microsoft.Azure.Management.Compute.Models.UpgradePolicy upgradePolicy = default, Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy automaticRepairsPolicy = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetUpdateVMProfile virtualMachineProfile = default, bool? overprovision = default, bool? doNotRunExtensionsOnOverprovisionedVMs = default, bool? singlePlacementGroup = default, Microsoft.Azure.Management.Compute.Models.AdditionalCapabilities additionalCapabilities = default, Microsoft.Azure.Management.Compute.Models.ScaleInPolicy scaleInPolicy = default, Microsoft.Azure.Management.Compute.Models.SubResource proximityPlacementGroup = default, Microsoft.Azure.Management.Compute.Models.PriorityMixPolicy priorityMixPolicy = default, Microsoft.Azure.Management.Compute.Models.SpotRestorePolicy spotRestorePolicy = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIdentity identity = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetUpdate : System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.Sku * Microsoft.Azure.Management.Compute.Models.Plan * Microsoft.Azure.Management.Compute.Models.UpgradePolicy * Microsoft.Azure.Management.Compute.Models.AutomaticRepairsPolicy * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetUpdateVMProfile * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.AdditionalCapabilities * Microsoft.Azure.Management.Compute.Models.ScaleInPolicy * Microsoft.Azure.Management.Compute.Models.SubResource * Microsoft.Azure.Management.Compute.Models.PriorityMixPolicy * Microsoft.Azure.Management.Compute.Models.SpotRestorePolicy * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetIdentity -> Microsoft.Azure.Management.Compute.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 priorityMixPolicy As PriorityMixPolicy = Nothing, Optional spotRestorePolicy As SpotRestorePolicy = 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 policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.

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.

priorityMixPolicy
PriorityMixPolicy

Specifies the desired targets for mixing Spot and Regular priority VMs within the same VMSS Flex instance.

spotRestorePolicy
SpotRestorePolicy

Specifies the Spot Restore properties for the virtual machine scale set.

identity
VirtualMachineScaleSetIdentity

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

Applies to