Interface NetworkInterface.DefinitionStages.WithPrimaryPublicIPAddress

    • Method Detail

      • withNewPrimaryPublicIPAddress

        NetworkInterface.DefinitionStages.WithCreate withNewPrimaryPublicIPAddress​(Creatable<PublicIpAddress> creatable)
        Create a new public IP address to associate with network interface's primary IP configuration, based on the provided definition.
        Parameters:
        creatable - a creatable definition for a new public IP
        Returns:
        the next stage of the definition
      • withNewPrimaryPublicIPAddress

        NetworkInterface.DefinitionStages.WithCreate withNewPrimaryPublicIPAddress()
        Creates a new public IP address in the same region and group as the resource and associate it with the network interface's primary IP configuration.

        the internal name and DNS label for the public IP address will be derived from the network interface name

        Returns:
        the next stage of the definition
      • withNewPrimaryPublicIPAddress

        NetworkInterface.DefinitionStages.WithCreate withNewPrimaryPublicIPAddress​(String leafDnsLabel)
        Creates a new public IP address in the same region and group as the resource, with the specified DNS label and associate it with the network interface's primary IP configuration.

        the internal name for the public IP address will be derived from the DNS label

        Parameters:
        leafDnsLabel - the leaf domain label
        Returns:
        the next stage of the definition
      • withExistingPrimaryPublicIPAddress

        NetworkInterface.DefinitionStages.WithCreate withExistingPrimaryPublicIPAddress​(PublicIpAddress publicIPAddress)
        Associates an existing public IP address with the network interface's primary IP configuration.
        Parameters:
        publicIPAddress - an existing public IP address
        Returns:
        the next stage of the definition