public static interface VirtualMachine.UpdateStages.WithSecondaryNetworkInterface
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.Update |
withExistingSecondaryNetworkInterface(com.microsoft.azure.management.network.NetworkInterface networkInterface)
Associate an existing network interface with the virtual machine.
|
VirtualMachine.Update |
withNewSecondaryNetworkInterface(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.NetworkInterface> creatable)
Create a new network interface to associate with the virtual machine, based on the
provided definition.
|
VirtualMachine.Update |
withoutSecondaryNetworkInterface(String name)
Removes a network interface associated with virtual machine.
|
VirtualMachine.Update withNewSecondaryNetworkInterface(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.NetworkInterface> creatable)
Note this method's effect is additive, i.e. each time it is used, the new secondary network interface added to the virtual machine.
creatable - a creatable definition for a new network interfaceVirtualMachine.Update withExistingSecondaryNetworkInterface(com.microsoft.azure.management.network.NetworkInterface networkInterface)
networkInterface - an existing network interfaceVirtualMachine.Update withoutSecondaryNetworkInterface(String name)
name - the name of the secondary network interface to remove/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/