public static interface VirtualMachine.DefinitionStages.WithPrimaryNetworkInterface
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithOS |
withExistingPrimaryNetworkInterface(com.microsoft.azure.management.network.NetworkInterface networkInterface)
Associates an existing network interface with the virtual machine as its primary network interface.
|
VirtualMachine.DefinitionStages.WithOS |
withNewPrimaryNetworkInterface(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.NetworkInterface> creatable)
Creates a new network interface to associate with the virtual machine as its primary network interface,
based on the provided definition.
|
VirtualMachine.DefinitionStages.WithOS withNewPrimaryNetworkInterface(com.microsoft.azure.management.resources.fluentcore.model.Creatable<com.microsoft.azure.management.network.NetworkInterface> creatable)
creatable - a creatable definition for a new network interfaceVirtualMachine.DefinitionStages.WithOS withExistingPrimaryNetworkInterface(com.microsoft.azure.management.network.NetworkInterface networkInterface)
networkInterface - an existing network interface/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/