azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

34 строки
2.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.HasHostname"
fullName: "com.azure.resourcemanager.network.models.HasHostname"
name: "HasHostname"
nameWithType: "HasHostname"
summary: "An interface representing a model's ability to reference a host name."
syntax: "public interface **HasHostname**"
methods:
- uid: "com.azure.resourcemanager.network.models.HasHostname.hostname()"
fullName: "com.azure.resourcemanager.network.models.HasHostname.hostname()"
name: "hostname()"
nameWithType: "HasHostname.hostname()"
modifiers:
- "abstract"
syntax: "public abstract String hostname()"
returns:
description: "the associated host name, or the first one if there exists multiple host names"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.HasHostname.hostnames()"
fullName: "com.azure.resourcemanager.network.models.HasHostname.hostnames()"
name: "hostnames()"
nameWithType: "HasHostname.hostnames()"
modifiers:
- "abstract"
syntax: "public abstract List<String> hostnames()"
returns:
description: "the associated host names"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
type: "interface"
desc: "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 <xref uid=\"com.azure.resourcemanager.network.models.ApplicationGatewaySkuName.STANDARD_V2\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ApplicationGatewaySkuName#STANDARD_V2\"></xref> and <xref uid=\"com.azure.resourcemanager.network.models.ApplicationGatewaySkuName.WAF_V2\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ApplicationGatewaySkuName#WAF_V2\"></xref> SKU"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0