HasHostname Interface

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 STANDARD_V2 and WAF_V2 SKU

Method Summary

Modifier and Type Method and Description
abstract String hostname()
abstract List<String> hostnames()

Method Details

hostname

public abstract String hostname()

Returns:

the associated host name, or the first one if there exists multiple host names

hostnames

public abstract List hostnames()

Returns:

the associated host names

Applies to