Interface NetworkInterface.DefinitionStages.WithCreate
- All Superinterfaces:
Creatable<NetworkInterface>, HasName, Indexable, NetworkInterface.DefinitionStages.WithAcceleratedNetworking, NetworkInterface.DefinitionStages.WithApplicationSecurityGroup, NetworkInterface.DefinitionStages.WithLoadBalancer, NetworkInterface.DefinitionStages.WithNetworkSecurityGroup, NetworkInterface.DefinitionStages.WithPrimaryPublicIPAddress, NetworkInterface.DefinitionStages.WithPublicIPAddressDeleteOptions, NetworkInterface.DefinitionStages.WithSecondaryIPConfiguration, Resource.DefinitionWithTags<NetworkInterface.DefinitionStages.WithCreate>
- All Known Subinterfaces:
NetworkInterface.Definition
- Enclosing interface:
NetworkInterface.DefinitionStages
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, NetworkInterface.DefinitionStages.WithPublicIPAddressDeleteOptions
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 TypeMethodDescriptionBegins creating the network interface resource.withDnsServer(String ipAddress) Specifies the IP address of the custom DNS server to associate with the network interface.withInternalDnsNameLabel(String dnsNameLabel) Specifies the internal DNS name label for the network interface.Enables IP forwarding in the network interface.Methods inherited from interface Creatable
create, create, createAsync, createAsyncMethods inherited from interface NetworkInterface.DefinitionStages.WithAcceleratedNetworking
withAcceleratedNetworkingMethods inherited from interface NetworkInterface.DefinitionStages.WithApplicationSecurityGroup
withExistingApplicationSecurityGroupMethods inherited from interface NetworkInterface.DefinitionStages.WithLoadBalancer
withExistingLoadBalancerBackend, withExistingLoadBalancerInboundNatRuleMethods inherited from interface NetworkInterface.DefinitionStages.WithNetworkSecurityGroup
withExistingNetworkSecurityGroup, withNewNetworkSecurityGroupMethods inherited from interface NetworkInterface.DefinitionStages.WithPrimaryPublicIPAddress
withExistingPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress, withNewPrimaryPublicIPAddressMethods inherited from interface NetworkInterface.DefinitionStages.WithPublicIPAddressDeleteOptions
withPrimaryPublicIPAddressDeleteOptionsMethods inherited from interface NetworkInterface.DefinitionStages.WithSecondaryIPConfiguration
defineSecondaryIPConfigurationMethods inherited from interface Resource.DefinitionWithTags
withTag, withTags
-
Method Details
-
withIPForwarding
NetworkInterface.DefinitionStages.WithCreate withIPForwarding()Enables IP forwarding in the network interface.- Returns:
- the next stage of the definition
-
withDnsServer
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
Specifies the internal DNS name label for the network interface.- Parameters:
dnsNameLabel- the internal DNS name label- Returns:
- the next stage of the definition
-
beginCreate
Accepted<NetworkInterface> beginCreate()Begins creating the network interface resource.- Returns:
- the accepted create operation
-