public static interface NetworkInterface.DefinitionStages.WithCreate extends com.microsoft.azure.management.resources.fluentcore.model.Creatable<NetworkInterface>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags<NetworkInterface.DefinitionStages.WithCreate>, NetworkInterface.DefinitionStages.WithPrimaryPublicIPAddress, NetworkInterface.DefinitionStages.WithNetworkSecurityGroup, NetworkInterface.DefinitionStages.WithSecondaryIPConfiguration, NetworkInterface.DefinitionStages.WithAcceleratedNetworking, NetworkInterface.DefinitionStages.WithLoadBalancer
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.DefinitionStages.WithCreate |
withDnsServer(String ipAddress)
Specifies the IP address of the custom DNS server to associate with the network interface.
|
NetworkInterface.DefinitionStages.WithCreate |
withInternalDnsNameLabel(String dnsNameLabel)
Specifies the internal DNS name label for the network interface.
|
NetworkInterface.DefinitionStages.WithCreate |
withIPForwarding()
Enables IP forwarding in the network interface.
|
create, createAsync, createAsynckeynamewithTag, withTagswithExistingPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress, withNewPrimaryPublicIPAddresswithExistingNetworkSecurityGroup, withNewNetworkSecurityGroupdefineSecondaryIPConfigurationwithAcceleratedNetworkingwithExistingLoadBalancerBackend, withExistingLoadBalancerInboundNatRuleNetworkInterface.DefinitionStages.WithCreate withIPForwarding()
NetworkInterface.DefinitionStages.WithCreate withDnsServer(String ipAddress)
Note this method's effect is additive, i.e. each time it is used, the new dns server is added to the network interface.
ipAddress - the IP address of the DNS serverNetworkInterface.DefinitionStages.WithCreate withInternalDnsNameLabel(String dnsNameLabel)
dnsNameLabel - the internal DNS name label/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/