Interface VirtualMachine.DefinitionStages.WithProximityPlacementGroup

All Superinterfaces:
VirtualMachine.DefinitionStages.WithOS
All Known Subinterfaces:
VirtualMachine.DefinitionManaged, VirtualMachine.DefinitionManagedOrUnmanaged, VirtualMachine.DefinitionShared
Enclosing interface:
VirtualMachine.DefinitionStages

public static interface VirtualMachine.DefinitionStages.WithProximityPlacementGroup extends VirtualMachine.DefinitionStages.WithOS
The stage of a virtual machine definition allowing to set information about the proximity placement group that the virtual machine scale set should be assigned to.
  • Method Details

    • withProximityPlacementGroup

      VirtualMachine.DefinitionStages.WithOS withProximityPlacementGroup(String promixityPlacementGroupId)
      Set information about the proximity placement group that the virtual machine scale set should be assigned to.
      Parameters:
      promixityPlacementGroupId - The Id of the proximity placement group subResource.
      Returns:
      the next stage of the definition.
    • withNewProximityPlacementGroup

      VirtualMachine.DefinitionStages.WithOS withNewProximityPlacementGroup(String proximityPlacementGroupName, ProximityPlacementGroupType type)
      Creates a new proximity placement gruup witht he specified name and then adds it to the VM.
      Parameters:
      proximityPlacementGroupName - The name of the group to be created.
      type - the type of the group
      Returns:
      the next stage of the definition.