NetworkInterface.DefinitionStages.WithCreate Interface
Implements
public static interface NetworkInterface.DefinitionStages.WithCreate
extends Creatable<NetworkInterface>, DefinitionWithTags<WithCreate>, WithPrimaryPublicIPAddress, WithNetworkSecurityGroup, WithSecondaryIPConfiguration, WithAcceleratedNetworking, WithLoadBalancer
The stage of the network interface definition which contains all the minimum required inputs for the resource to be created, but also allows for any other optional settings to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withDnsServer(String ipAddress)
Specifies the IP address of the custom DNS server to associate with the network interface. |
abstract
With |
withIPForwarding()
Enables IP forwarding in the network interface. |
abstract
With |
withInternalDnsNameLabel(String dnsNameLabel)
Specifies the internal DNS name label for the network interface. |
Method Details
withDnsServer
public abstract NetworkInterface.DefinitionStages.WithCreate withDnsServer(String ipAddress)
Specifies the IP address of the custom DNS server to associate with the network interface.
Note this method's effect is additive, i.e. each time it is used, the new dns server is added to the network interface.
Parameters:
Returns:
withIPForwarding
public abstract NetworkInterface.DefinitionStages.WithCreate withIPForwarding()
Enables IP forwarding in the network interface.
Returns:
withInternalDnsNameLabel
public abstract NetworkInterface.DefinitionStages.WithCreate withInternalDnsNameLabel(String dnsNameLabel)
Specifies the internal DNS name label for the network interface.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor