你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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()

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

abstract List<String> hostnames()

Gets the associated host names.

Method Details

hostname

public abstract 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

public abstract List<String> hostnames()

Gets the associated host names.

Returns:

the associated host names

Applies to