public class VirtualMachineScaleSetUpdate extends UpdateResource
| Constructor and Description |
|---|
VirtualMachineScaleSetUpdate() |
| Modifier and Type | Method and Description |
|---|---|
AdditionalCapabilities |
additionalCapabilities()
Get specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set.
|
AutomaticRepairsPolicy |
automaticRepairsPolicy()
Get policy for automatic repairs.
|
Boolean |
doNotRunExtensionsOnOverprovisionedVMs()
Get when Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept.
|
VirtualMachineScaleSetIdentity |
identity()
Get the identity of the virtual machine scale set, if configured.
|
Boolean |
overprovision()
Get specifies whether the Virtual Machine Scale Set should be overprovisioned.
|
Plan |
plan()
Get the purchase plan when deploying a virtual machine scale set from VM Marketplace images.
|
com.microsoft.azure.SubResource |
proximityPlacementGroup()
Get specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
|
ScaleInPolicy |
scaleInPolicy()
Get specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.
|
Boolean |
singlePlacementGroup()
Get when true this limits the scale set to a single placement group, of max size 100 virtual machines.
|
Sku |
sku()
Get the virtual machine scale set sku.
|
UpgradePolicy |
upgradePolicy()
Get the upgrade policy.
|
VirtualMachineScaleSetUpdateVMProfile |
virtualMachineProfile()
Get the virtual machine profile.
|
VirtualMachineScaleSetUpdate |
withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities)
Set specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set.
|
VirtualMachineScaleSetUpdate |
withAutomaticRepairsPolicy(AutomaticRepairsPolicy automaticRepairsPolicy)
Set policy for automatic repairs.
|
VirtualMachineScaleSetUpdate |
withDoNotRunExtensionsOnOverprovisionedVMs(Boolean doNotRunExtensionsOnOverprovisionedVMs)
Set when Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept.
|
VirtualMachineScaleSetUpdate |
withIdentity(VirtualMachineScaleSetIdentity identity)
Set the identity of the virtual machine scale set, if configured.
|
VirtualMachineScaleSetUpdate |
withOverprovision(Boolean overprovision)
Set specifies whether the Virtual Machine Scale Set should be overprovisioned.
|
VirtualMachineScaleSetUpdate |
withPlan(Plan plan)
Set the purchase plan when deploying a virtual machine scale set from VM Marketplace images.
|
VirtualMachineScaleSetUpdate |
withProximityPlacementGroup(com.microsoft.azure.SubResource proximityPlacementGroup)
Set specifies information about the proximity placement group that the virtual machine scale set should be assigned to.
|
VirtualMachineScaleSetUpdate |
withScaleInPolicy(ScaleInPolicy scaleInPolicy)
Set specifies the scale-in policy that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled-in.
|
VirtualMachineScaleSetUpdate |
withSinglePlacementGroup(Boolean singlePlacementGroup)
Set when true this limits the scale set to a single placement group, of max size 100 virtual machines.
|
VirtualMachineScaleSetUpdate |
withSku(Sku sku)
Set the virtual machine scale set sku.
|
VirtualMachineScaleSetUpdate |
withUpgradePolicy(UpgradePolicy upgradePolicy)
Set the upgrade policy.
|
VirtualMachineScaleSetUpdate |
withVirtualMachineProfile(VirtualMachineScaleSetUpdateVMProfile virtualMachineProfile)
Set the virtual machine profile.
|
tags, withTagspublic Sku sku()
public VirtualMachineScaleSetUpdate withSku(Sku sku)
sku - the sku value to setpublic Plan plan()
public VirtualMachineScaleSetUpdate withPlan(Plan plan)
plan - the plan value to setpublic UpgradePolicy upgradePolicy()
public VirtualMachineScaleSetUpdate withUpgradePolicy(UpgradePolicy upgradePolicy)
upgradePolicy - the upgradePolicy value to setpublic AutomaticRepairsPolicy automaticRepairsPolicy()
public VirtualMachineScaleSetUpdate withAutomaticRepairsPolicy(AutomaticRepairsPolicy automaticRepairsPolicy)
automaticRepairsPolicy - the automaticRepairsPolicy value to setpublic VirtualMachineScaleSetUpdateVMProfile virtualMachineProfile()
public VirtualMachineScaleSetUpdate withVirtualMachineProfile(VirtualMachineScaleSetUpdateVMProfile virtualMachineProfile)
virtualMachineProfile - the virtualMachineProfile value to setpublic Boolean overprovision()
public VirtualMachineScaleSetUpdate withOverprovision(Boolean overprovision)
overprovision - the overprovision value to setpublic Boolean doNotRunExtensionsOnOverprovisionedVMs()
public VirtualMachineScaleSetUpdate withDoNotRunExtensionsOnOverprovisionedVMs(Boolean doNotRunExtensionsOnOverprovisionedVMs)
doNotRunExtensionsOnOverprovisionedVMs - the doNotRunExtensionsOnOverprovisionedVMs value to setpublic Boolean singlePlacementGroup()
public VirtualMachineScaleSetUpdate withSinglePlacementGroup(Boolean singlePlacementGroup)
singlePlacementGroup - the singlePlacementGroup value to setpublic AdditionalCapabilities additionalCapabilities()
public VirtualMachineScaleSetUpdate withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities)
additionalCapabilities - the additionalCapabilities value to setpublic ScaleInPolicy scaleInPolicy()
public VirtualMachineScaleSetUpdate withScaleInPolicy(ScaleInPolicy scaleInPolicy)
scaleInPolicy - the scaleInPolicy value to setpublic com.microsoft.azure.SubResource proximityPlacementGroup()
public VirtualMachineScaleSetUpdate withProximityPlacementGroup(com.microsoft.azure.SubResource proximityPlacementGroup)
proximityPlacementGroup - the proximityPlacementGroup value to setpublic VirtualMachineScaleSetIdentity identity()
public VirtualMachineScaleSetUpdate withIdentity(VirtualMachineScaleSetIdentity identity)
identity - the identity value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/