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.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
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Accepted<NetworkInterface>beginCreate()Begins creating the network interface resource.NetworkInterface.DefinitionStages.WithCreatewithDnsServer(String ipAddress)Specifies the IP address of the custom DNS server to associate with the network interface.NetworkInterface.DefinitionStages.WithCreatewithInternalDnsNameLabel(String dnsNameLabel)Specifies the internal DNS name label for the network interface.NetworkInterface.DefinitionStages.WithCreatewithIPForwarding()Enables IP forwarding in the network interface.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Creatable
create, create, createAsync, createAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.network.models.NetworkInterface.DefinitionStages.WithAcceleratedNetworking
withAcceleratedNetworking
-
Methods inherited from interface com.azure.resourcemanager.network.models.NetworkInterface.DefinitionStages.WithApplicationSecurityGroup
withExistingApplicationSecurityGroup
-
Methods inherited from interface com.azure.resourcemanager.network.models.NetworkInterface.DefinitionStages.WithLoadBalancer
withExistingLoadBalancerBackend, withExistingLoadBalancerInboundNatRule
-
Methods inherited from interface com.azure.resourcemanager.network.models.NetworkInterface.DefinitionStages.WithNetworkSecurityGroup
withExistingNetworkSecurityGroup, withNewNetworkSecurityGroup
-
Methods inherited from interface com.azure.resourcemanager.network.models.NetworkInterface.DefinitionStages.WithPrimaryPublicIPAddress
withExistingPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress, withNewPrimaryPublicIPAddress
-
Methods inherited from interface com.azure.resourcemanager.network.models.NetworkInterface.DefinitionStages.WithSecondaryIPConfiguration
defineSecondaryIPConfiguration
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTags
-
-
-
-
Method Detail
-
withIPForwarding
NetworkInterface.DefinitionStages.WithCreate withIPForwarding()
Enables IP forwarding in the network interface.- Returns:
- the next stage of the definition
-
withDnsServer
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:
ipAddress- the IP address of the DNS server- Returns:
- the next stage of the definition
-
withInternalDnsNameLabel
NetworkInterface.DefinitionStages.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
-
beginCreate
Accepted<NetworkInterface> beginCreate()
Begins creating the network interface resource.- Returns:
- the accepted create operation
-
-