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.WithLoadBalancer
Creatable.create()), but also allows
for any other optional settings to be specified.| 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()
Enable IP forwarding in the network interface.
|
create, createAsync, createAsync, namekeywithTag, withTagswithExistingPrimaryPublicIpAddress, withNewPrimaryPublicIpAddress, withNewPrimaryPublicIpAddress, withNewPrimaryPublicIpAddresswithExistingNetworkSecurityGroup, withNewNetworkSecurityGroupdefineSecondaryIpConfigurationwithExistingLoadBalancerBackend, 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.
*/