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
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, createAsync
key
name
withTag, withTags
withExistingPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress
withExistingNetworkSecurityGroup, withNewNetworkSecurityGroup
defineSecondaryIPConfiguration
withAcceleratedNetworking
withExistingLoadBalancerBackend, withExistingLoadBalancerInboundNatRule
NetworkInterface.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 labelCopyright © 2019. All rights reserved.