public static interface VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithCreate |
withExistingSecondaryNetworkInterface(NetworkInterface networkInterface)
Associates an existing network interface with the virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate |
withNewSecondaryNetworkInterface(Creatable<NetworkInterface> creatable)
Creates a new network interface to associate with the virtual machine, based on the provided definition.
|
VirtualMachine.DefinitionStages.WithCreate withNewSecondaryNetworkInterface(Creatable<NetworkInterface> creatable)
Note this method's effect is additive, i.e. each time it is used, a new secondary network interface added to the virtual machine.
creatable - a creatable definition for a new network interfaceVirtualMachine.DefinitionStages.WithCreate withExistingSecondaryNetworkInterface(NetworkInterface networkInterface)
Note this method's effect is additive, i.e. each time it is used, the new secondary network interface added to the virtual machine.
networkInterface - an existing network interfaceCopyright © 2020 Microsoft Corporation. All rights reserved.