VirtualMachine.UpdateStages.WithSecondaryNetworkInterface Interface
public interface WithSecondaryNetworkInterface
The stage of a virtual machine update allowing to specify additional network interfaces.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withExistingSecondaryNetworkInterface(NetworkInterface networkInterface)
Associates an existing network interface with the virtual machine. Note this method's effect is additive, i.e. each time it is used, the new secondary network interface added to the virtual machine. |
Virtual |
withNewSecondaryNetworkInterface(Creatable<NetworkInterface> creatable)
Creates a new network interface to associate with the virtual machine. Note this method's effect is additive, i.e. each time it is used, the new secondary network interface added to the virtual machine. |
Virtual |
withoutSecondaryNetworkInterface(String name)
Removes a secondary network interface from the virtual machine. |
Method Details
withExistingSecondaryNetworkInterface
public Update withExistingSecondaryNetworkInterface(NetworkInterface networkInterface)
Associates an existing network interface with the virtual machine.
Note this method's effect is additive, i.e. each time it is used, the new secondary network interface added to the virtual machine.
Parameters:
Returns:
withNewSecondaryNetworkInterface
public Update withNewSecondaryNetworkInterface(Creatable
Creates a new network interface to associate with the virtual machine.
Note this method's effect is additive, i.e. each time it is used, the new secondary network interface added to the virtual machine.
Parameters:
Returns:
withoutSecondaryNetworkInterface
public Update withoutSecondaryNetworkInterface(String name)
Removes a secondary network interface from the virtual machine.
Parameters:
Returns:
Applies to
Azure SDK for Java