public class VirtualMachineScaleSetInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
VirtualMachineScaleSetInner() |
Modifier and Type | Method and Description |
---|---|
AdditionalCapabilities |
additionalCapabilities()
Get the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the Virtual
Machines in the Virtual Machine Scale Set.
|
AutomaticRepairsPolicy |
automaticRepairsPolicy()
Get the automaticRepairsPolicy property: Policy for automatic repairs.
|
Boolean |
doNotRunExtensionsOnOverprovisionedVMs()
Get the doNotRunExtensionsOnOverprovisionedVMs property: When Overprovision is enabled, extensions are launched
only on the requested number of VMs which are finally kept.
|
VirtualMachineScaleSetIdentity |
identity()
Get the identity property: The identity of the virtual machine scale set, if configured.
|
Boolean |
overprovision()
Get the overprovision property: Specifies whether the Virtual Machine Scale Set should be overprovisioned.
|
Plan |
plan()
Get the plan property: Specifies information about the marketplace image used to create the virtual machine.
|
Integer |
platformFaultDomainCount()
Get the platformFaultDomainCount property: Fault Domain count for each placement group.
|
String |
provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
|
com.azure.core.management.SubResource |
proximityPlacementGroup()
Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
virtual machine scale set should be assigned to.
|
ScaleInPolicy |
scaleInPolicy()
Get the scaleInPolicy property: 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 the singlePlacementGroup property: When true this limits the scale set to a single placement group, of max
size 100 virtual machines.
|
Sku |
sku()
Get the sku property: The virtual machine scale set sku.
|
String |
uniqueId()
Get the uniqueId property: Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
|
UpgradePolicy |
upgradePolicy()
Get the upgradePolicy property: The upgrade policy.
|
void |
validate()
Validates the instance.
|
VirtualMachineScaleSetVMProfile |
virtualMachineProfile()
Get the virtualMachineProfile property: The virtual machine profile.
|
VirtualMachineScaleSetInner |
withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities)
Set the additionalCapabilities property: Specifies additional capabilities enabled or disabled on the Virtual
Machines in the Virtual Machine Scale Set.
|
VirtualMachineScaleSetInner |
withAutomaticRepairsPolicy(AutomaticRepairsPolicy automaticRepairsPolicy)
Set the automaticRepairsPolicy property: Policy for automatic repairs.
|
VirtualMachineScaleSetInner |
withDoNotRunExtensionsOnOverprovisionedVMs(Boolean doNotRunExtensionsOnOverprovisionedVMs)
Set the doNotRunExtensionsOnOverprovisionedVMs property: When Overprovision is enabled, extensions are launched
only on the requested number of VMs which are finally kept.
|
VirtualMachineScaleSetInner |
withIdentity(VirtualMachineScaleSetIdentity identity)
Set the identity property: The identity of the virtual machine scale set, if configured.
|
VirtualMachineScaleSetInner |
withOverprovision(Boolean overprovision)
Set the overprovision property: Specifies whether the Virtual Machine Scale Set should be overprovisioned.
|
VirtualMachineScaleSetInner |
withPlan(Plan plan)
Set the plan property: Specifies information about the marketplace image used to create the virtual machine.
|
VirtualMachineScaleSetInner |
withPlatformFaultDomainCount(Integer platformFaultDomainCount)
Set the platformFaultDomainCount property: Fault Domain count for each placement group.
|
VirtualMachineScaleSetInner |
withProximityPlacementGroup(com.azure.core.management.SubResource proximityPlacementGroup)
Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
virtual machine scale set should be assigned to.
|
VirtualMachineScaleSetInner |
withScaleInPolicy(ScaleInPolicy scaleInPolicy)
Set the scaleInPolicy property: Specifies the scale-in policy that decides which virtual machines are chosen for
removal when a Virtual Machine Scale Set is scaled-in.
|
VirtualMachineScaleSetInner |
withSinglePlacementGroup(Boolean singlePlacementGroup)
Set the singlePlacementGroup property: When true this limits the scale set to a single placement group, of max
size 100 virtual machines.
|
VirtualMachineScaleSetInner |
withSku(Sku sku)
Set the sku property: The virtual machine scale set sku.
|
VirtualMachineScaleSetInner |
withUpgradePolicy(UpgradePolicy upgradePolicy)
Set the upgradePolicy property: The upgrade policy.
|
VirtualMachineScaleSetInner |
withVirtualMachineProfile(VirtualMachineScaleSetVMProfile virtualMachineProfile)
Set the virtualMachineProfile property: The virtual machine profile.
|
VirtualMachineScaleSetInner |
withZoneBalance(Boolean zoneBalance)
Set the zoneBalance property: Whether to force strictly even Virtual Machine distribution cross x-zones in case
there is zone outage.
|
VirtualMachineScaleSetInner |
withZones(List<String> zones)
Set the zones property: The virtual machine scale set zones.
|
Boolean |
zoneBalance()
Get the zoneBalance property: Whether to force strictly even Virtual Machine distribution cross x-zones in case
there is zone outage.
|
List<String> |
zones()
Get the zones property: The virtual machine scale set zones.
|
public Sku sku()
public VirtualMachineScaleSetInner withSku(Sku sku)
sku
- the sku value to set.public Plan plan()
public VirtualMachineScaleSetInner withPlan(Plan plan)
plan
- the plan value to set.public VirtualMachineScaleSetIdentity identity()
public VirtualMachineScaleSetInner withIdentity(VirtualMachineScaleSetIdentity identity)
identity
- the identity value to set.public List<String> zones()
public VirtualMachineScaleSetInner withZones(List<String> zones)
zones
- the zones value to set.public UpgradePolicy upgradePolicy()
public VirtualMachineScaleSetInner withUpgradePolicy(UpgradePolicy upgradePolicy)
upgradePolicy
- the upgradePolicy value to set.public AutomaticRepairsPolicy automaticRepairsPolicy()
public VirtualMachineScaleSetInner withAutomaticRepairsPolicy(AutomaticRepairsPolicy automaticRepairsPolicy)
automaticRepairsPolicy
- the automaticRepairsPolicy value to set.public VirtualMachineScaleSetVMProfile virtualMachineProfile()
public VirtualMachineScaleSetInner withVirtualMachineProfile(VirtualMachineScaleSetVMProfile virtualMachineProfile)
virtualMachineProfile
- the virtualMachineProfile value to set.public String provisioningState()
public Boolean overprovision()
public VirtualMachineScaleSetInner withOverprovision(Boolean overprovision)
overprovision
- the overprovision value to set.public Boolean doNotRunExtensionsOnOverprovisionedVMs()
public VirtualMachineScaleSetInner withDoNotRunExtensionsOnOverprovisionedVMs(Boolean doNotRunExtensionsOnOverprovisionedVMs)
doNotRunExtensionsOnOverprovisionedVMs
- the doNotRunExtensionsOnOverprovisionedVMs value to set.public String uniqueId()
public Boolean singlePlacementGroup()
public VirtualMachineScaleSetInner withSinglePlacementGroup(Boolean singlePlacementGroup)
singlePlacementGroup
- the singlePlacementGroup value to set.public Boolean zoneBalance()
public VirtualMachineScaleSetInner withZoneBalance(Boolean zoneBalance)
zoneBalance
- the zoneBalance value to set.public Integer platformFaultDomainCount()
public VirtualMachineScaleSetInner withPlatformFaultDomainCount(Integer platformFaultDomainCount)
platformFaultDomainCount
- the platformFaultDomainCount value to set.public com.azure.core.management.SubResource proximityPlacementGroup()
public VirtualMachineScaleSetInner withProximityPlacementGroup(com.azure.core.management.SubResource proximityPlacementGroup)
proximityPlacementGroup
- the proximityPlacementGroup value to set.public AdditionalCapabilities additionalCapabilities()
public VirtualMachineScaleSetInner withAdditionalCapabilities(AdditionalCapabilities additionalCapabilities)
additionalCapabilities
- the additionalCapabilities value to set.public ScaleInPolicy scaleInPolicy()
public VirtualMachineScaleSetInner withScaleInPolicy(ScaleInPolicy scaleInPolicy)
scaleInPolicy
- the scaleInPolicy value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.