Interface VirtualMachine.DefinitionStages.WithProximityPlacementGroup

    • Method Detail

      • 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.