你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IWithGeographicLocation<ParentT>.WithGeographicLocation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WithGeographicLocation(IGeographicLocation) |
指定使用基于地理的路由方法 TrafficRoutingMethod.GEOGRAPHIC 配置父配置文件时将使用的终结点的地理位置。 |
WithGeographicLocation(String) |
指定使用基于地理的路由方法 TrafficRoutingMethod.GEOGRAPHIC 配置父配置文件时将使用的终结点的地理位置。 |
WithGeographicLocation(IGeographicLocation)
指定使用基于地理的路由方法 TrafficRoutingMethod.GEOGRAPHIC 配置父配置文件时将使用的终结点的地理位置。
public Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<ParentT> WithGeographicLocation (Microsoft.Azure.Management.TrafficManager.Fluent.IGeographicLocation geographicLocation);
abstract member WithGeographicLocation : Microsoft.Azure.Management.TrafficManager.Fluent.IGeographicLocation -> Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<'ParentT>
Public Function WithGeographicLocation (geographicLocation As IGeographicLocation) As IWithAttach(Of ParentT)
参数
- geographicLocation
- IGeographicLocation
地理位置。
返回
适用于
WithGeographicLocation(String)
指定使用基于地理的路由方法 TrafficRoutingMethod.GEOGRAPHIC 配置父配置文件时将使用的终结点的地理位置。
public Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<ParentT> WithGeographicLocation (string geographicLocationCode);
abstract member WithGeographicLocation : string -> Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.Definition.IWithAttach<'ParentT>
Public Function WithGeographicLocation (geographicLocationCode As String) As IWithAttach(Of ParentT)
参数
- geographicLocationCode
- String
地理位置代码。