Interface HasHostname.DefinitionStages.WithHostname<ReturnT>

Type Parameters:
ReturnT - the next stage of the definition
All Known Subinterfaces:
ApplicationGatewayListener.Definition<ParentT>, ApplicationGatewayListener.DefinitionStages.WithAttach<ParentT>, ApplicationGatewayListener.DefinitionStages.WithHostname<ParentT>, ApplicationGatewayRequestRoutingRule.Definition<ParentT>, ApplicationGatewayRequestRoutingRule.DefinitionStages.WithAttach<ParentT>, ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendAddressOrAttach<ParentT>, ApplicationGatewayRequestRoutingRule.DefinitionStages.WithHostname<ParentT>
Enclosing interface:
HasHostname.DefinitionStages

public static interface HasHostname.DefinitionStages.WithHostname<ReturnT>
The stage of a definition allowing to specify host names.
  • Method Details

    • withHostname

      ReturnT withHostname(String hostname)
      Specifies the hostname to reference.
      Parameters:
      hostname - an existing frontend name on this load balancer
      Returns:
      the next stage of the definition
    • withHostnames

      ReturnT withHostnames(List<String> hostnames)
      Specifies up to 5 hostnames to reference.
      Parameters:
      hostnames - existing frontend hostnames on this load balancer
      Returns:
      the next stage of the definition