Interface VirtualMachineScaleSet.DefinitionStages.WithProximityPlacementGroup
- All Superinterfaces:
VirtualMachineScaleSet.DefinitionStages.WithAdditionalCapabilities, VirtualMachineScaleSet.DefinitionStages.WithDoNotRunExtensionsOnOverprovisionedVms, VirtualMachineScaleSet.DefinitionStages.WithNetworkSubnet
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManaged, VirtualMachineScaleSet.DefinitionManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionShared, VirtualMachineScaleSet.DefinitionUnmanaged
- Enclosing interface:
VirtualMachineScaleSet.DefinitionStages
public static interface VirtualMachineScaleSet.DefinitionStages.WithProximityPlacementGroup
extends VirtualMachineScaleSet.DefinitionStages.WithDoNotRunExtensionsOnOverprovisionedVms
The stage of a virtual machine scale set definition allowing to set information about the proximity placement
group that the virtual machine scale set should be assigned to.
-
Method Summary
Modifier and TypeMethodDescriptionwithNewProximityPlacementGroup(String proximityPlacementGroupName, ProximityPlacementGroupType type) Creates a new proximity placement gruup witht he specified name and then adds it to the VM scale set.withProximityPlacementGroup(String proximityPlacementGroupId) Set information about the proximity placement group that the virtual machine scale set should be assigned to.Methods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithAdditionalCapabilities
withAdditionalCapabilitiesMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithDoNotRunExtensionsOnOverprovisionedVms
withDoNotRunExtensionsOnOverprovisionedVMsMethods inherited from interface VirtualMachineScaleSet.DefinitionStages.WithNetworkSubnet
withExistingPrimaryNetworkSubnet
-
Method Details
-
withProximityPlacementGroup
VirtualMachineScaleSet.DefinitionStages.WithDoNotRunExtensionsOnOverprovisionedVms withProximityPlacementGroup(String proximityPlacementGroupId) Set information about the proximity placement group that the virtual machine scale set should be assigned to.- Parameters:
proximityPlacementGroupId- The Id of the proximity placement group subResource.- Returns:
- the next stage of the definition.
-
withNewProximityPlacementGroup
VirtualMachineScaleSet.DefinitionStages.WithDoNotRunExtensionsOnOverprovisionedVms withNewProximityPlacementGroup(String proximityPlacementGroupName, ProximityPlacementGroupType type) Creates a new proximity placement gruup witht he specified name and then adds it to the VM scale set.- Parameters:
proximityPlacementGroupName- The name of the group to be created.type- the type of the group- Returns:
- the next stage of the definition.
-