Interface NetworkInterface.DefinitionStages.WithCreate

    • Method Detail

      • 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