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

IWithGeographicLocation<ParentT>.WithGeographicLocations 方法

定义

重载

WithGeographicLocations(IList<IGeographicLocation>)

指定使用基于地理的路由方法 TrafficRoutingMethod.GEOGRAPHIC 配置父配置文件时将使用的终结点的地理位置列表。

WithGeographicLocations(IList<String>)

指定使用基于地理的路由方法 TrafficRoutingMethod.GEOGRAPHIC 配置父配置文件时将使用的终结点的地理位置列表。

WithGeographicLocations(IList<IGeographicLocation>)

指定使用基于地理的路由方法 TrafficRoutingMethod.GEOGRAPHIC 配置父配置文件时将使用的终结点的地理位置列表。

public Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<ParentT> WithGeographicLocations (System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Fluent.IGeographicLocation> geographicLocations);
abstract member WithGeographicLocations : System.Collections.Generic.IList<Microsoft.Azure.Management.TrafficManager.Fluent.IGeographicLocation> -> Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<'ParentT>
Public Function WithGeographicLocations (geographicLocations As IList(Of IGeographicLocation)) As IWithAttach(Of ParentT)

参数

geographicLocations
IList<IGeographicLocation>

地理位置。

返回

适用于

WithGeographicLocations(IList<String>)

指定使用基于地理的路由方法 TrafficRoutingMethod.GEOGRAPHIC 配置父配置文件时将使用的终结点的地理位置列表。

public Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<ParentT> WithGeographicLocations (System.Collections.Generic.IList<string> geographicLocationCodes);
abstract member WithGeographicLocations : System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<'ParentT>
Public Function WithGeographicLocations (geographicLocationCodes As IList(Of String)) As IWithAttach(Of ParentT)

参数

geographicLocationCodes
IList<String>

地理位置代码。

返回

适用于