VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface Interface
public static interface VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface
The stage of a virtual machine definition allowing to specify additional network interfaces.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExistingSecondaryNetworkInterface(NetworkInterface networkInterface)
Associates an existing network interface with the virtual machine. |
abstract
With |
withNewSecondaryNetworkInterface(Creatable<NetworkInterface> creatable)
Creates a new network interface to associate with the virtual machine, based on the provided definition. |
abstract
With |
withNewSecondaryNetworkInterface(Creatable<NetworkInterface> creatable, DeleteOptions deleteOptions)
Creates a new network interface to associate with the virtual machine, based on the provided definition. |
Method Details
withExistingSecondaryNetworkInterface
public abstract VirtualMachine.DefinitionStages.WithCreate 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 abstract VirtualMachine.DefinitionStages.WithCreate withNewSecondaryNetworkInterface(Creatable
Creates a new network interface to associate with the virtual machine, based on the provided definition.
Note this method's effect is additive, i.e. each time it is used, a new secondary network interface added to the virtual machine.
Parameters:
Returns:
withNewSecondaryNetworkInterface
public abstract VirtualMachine.DefinitionStages.WithCreate withNewSecondaryNetworkInterface(Creatable
Creates a new network interface to associate with the virtual machine, based on the provided definition.
Note this method's effect is additive, i.e. each time it is used, a new secondary network interface added to the virtual machine.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for