Interface VirtualMachine.DefinitionStages.WithPrimaryNetworkInterface

    • Method Detail

      • withNewPrimaryNetworkInterface

        VirtualMachine.DefinitionStages.WithProximityPlacementGroup withNewPrimaryNetworkInterface​(Creatable<NetworkInterface> creatable)
        Creates a new network interface to associate with the virtual machine as its primary network interface, based on the provided definition.
        Parameters:
        creatable - a creatable definition for a new network interface
        Returns:
        the next stage of the definition
      • withExistingPrimaryNetworkInterface

        VirtualMachine.DefinitionStages.WithProximityPlacementGroup withExistingPrimaryNetworkInterface​(NetworkInterface networkInterface)
        Associates an existing network interface with the virtual machine as its primary network interface.
        Parameters:
        networkInterface - an existing network interface
        Returns:
        the next stage of the definition