Interface HasHostname

All Known Subinterfaces:
ApplicationGatewayListener, ApplicationGatewayRequestRoutingRule

public interface HasHostname
An interface representing a model's ability to reference a host name. The hostname supports wildcard format, e.g. "*.contoso.com", but is available only for ApplicationGatewaySkuName.STANDARD_V2 and ApplicationGatewaySkuName.WAF_V2 SKU
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Grouping of definition stages involving specifying the host name.
    static interface 
    Grouping of definition stages applicable as part of a parent resource update.
    static interface 
    Grouping of update stages involving specifying the host name.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the associated host name, or the first one if there exists multiple host names.
    Gets the associated host names.
  • Method Details

    • hostname

      String hostname()
      Gets the associated host name, or the first one if there exists multiple host names.
      Returns:
      the associated host name, or the first one if there exists multiple host names
    • hostnames

      List<String> hostnames()
      Gets the associated host names.
      Returns:
      the associated host names