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

IWithDnsServiceIP<ParentT>.WithDnsServiceIP(String) 方法

定义

指定分配给 Kubernetes DNS 服务的 IP 地址;它必须在服务 CIDR 中指定的 Kubernetes 服务地址范围内。

public Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithAttach<ParentT> WithDnsServiceIP (string dnsServiceIP);
abstract member WithDnsServiceIP : string -> Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithAttach<'ParentT>
Public Function WithDnsServiceIP (dnsServiceIP As String) As IWithAttach(Of ParentT)

参数

dnsServiceIP
String

分配给 Kubernetes DNS 服务的 IP 地址;它必须在服务 CIDR 中指定的 Kubernetes 服务地址范围内。

返回

适用于