Interface HasPublicIpAddress.DefinitionStages.WithNewPublicIPAddress<ReturnT>

Type Parameters:
ReturnT - the next stage of the definition
All Superinterfaces:
HasPublicIpAddress.DefinitionStages.WithNewPublicIPAddressNoDnsLabel<ReturnT>
All Known Subinterfaces:
HasPublicIpAddress.DefinitionStages.WithPublicIPAddress<ReturnT>, LoadBalancerPublicFrontend.Definition<ParentT>, LoadBalancerPublicFrontend.DefinitionStages.Blank<ParentT>, LoadBalancerPublicFrontend.DefinitionStages.WithPublicIPAddress<ParentT>, NicIpConfiguration.Definition<ParentT>, NicIpConfiguration.DefinitionStages.WithAttach<ParentT>, NicIpConfiguration.DefinitionStages.WithPublicIPAddress<ParentT>
Enclosing interface:
HasPublicIpAddress.DefinitionStages

public static interface HasPublicIpAddress.DefinitionStages.WithNewPublicIPAddress<ReturnT> extends HasPublicIpAddress.DefinitionStages.WithNewPublicIPAddressNoDnsLabel<ReturnT>
The stage of the definition allowing to associate the resource with a new public IP address.
  • Method Details

    • withNewPublicIpAddress

      ReturnT withNewPublicIpAddress(String leafDnsLabel)
      Creates a new public IP address in the same region and group as the resource, with the specified DNS label and associates it with the resource.

      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