public static interface NetworkInterface.DefinitionStages.WithPrimaryPrivateIp
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.DefinitionStages.WithCreate |
withPrimaryPrivateIpAddressDynamic()
Enables dynamic private IP address allocation within the specified existing virtual network
subnet for the network interface's primary IP configuration.
|
NetworkInterface.DefinitionStages.WithCreate |
withPrimaryPrivateIpAddressStatic(String staticPrivateIpAddress)
Assigns the specified static private IP address within the specified existing virtual network
subnet to the network interface's primary IP configuration.
|
NetworkInterface.DefinitionStages.WithCreate withPrimaryPrivateIpAddressDynamic()
NetworkInterface.DefinitionStages.WithCreate withPrimaryPrivateIpAddressStatic(String staticPrivateIpAddress)
staticPrivateIpAddress - the static IP address within the specified subnet to assign to
the network interface/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/