NetworkInterface.DefinitionStages.WithCreate Interface

public interface WithCreate extends Creatable,Resource.DefinitionWithTags,NetworkInterface.DefinitionStages.WithPrimaryPublicIPAddress,NetworkInterface.DefinitionStages.WithNetworkSecurityGroup,NetworkInterface.DefinitionStages.WithSecondaryIPConfiguration,NetworkInterface.DefinitionStages.WithAcceleratedNetworking,NetworkInterface.DefinitionStages.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
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.

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.

Inherited Members

Method Details

withDnsServer

public 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:

ipAddress - the IP address of the DNS server

Returns:

the next stage of the definition

withInternalDnsNameLabel

public WithCreate withInternalDnsNameLabel(String dnsNameLabel)

Specifies the internal DNS name label for the network interface.

Parameters:

dnsNameLabel - the internal DNS name label

Returns:

the next stage of the definition

withIPForwarding

public WithCreate withIPForwarding()

Enables IP forwarding in the network interface.

Returns:

the next stage of the definition

Applies to