public static interface NetworkInterface.DefinitionStages.WithCreate extends Creatable<NetworkInterface>, Resource.DefinitionWithTags<NetworkInterface.DefinitionStages.WithCreate>, NetworkInterface.DefinitionStages.WithPrimaryPublicIPAddress, NetworkInterface.DefinitionStages.WithNetworkSecurityGroup, NetworkInterface.DefinitionStages.WithSecondaryIPConfiguration, NetworkInterface.DefinitionStages.WithAcceleratedNetworking, NetworkInterface.DefinitionStages.WithLoadBalancer, NetworkInterface.DefinitionStages.WithApplicationSecurityGroup
| Modifier and Type | Method and Description |
|---|---|
Accepted<NetworkInterface> |
beginCreate()
Begins creating the network interface resource.
|
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, create, createAsync, createAsyncnamewithTag, withTagswithExistingPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress, withNewPrimaryPublicIPAddresswithExistingNetworkSecurityGroup, withNewNetworkSecurityGroupdefineSecondaryIPConfigurationwithAcceleratedNetworkingwithExistingLoadBalancerBackend, withExistingLoadBalancerInboundNatRulewithExistingApplicationSecurityGroupNetworkInterface.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 labelAccepted<NetworkInterface> beginCreate()
Copyright © 2021 Microsoft Corporation. All rights reserved.