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

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 Details

    • 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

      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