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

TrafficManagerEndpoint.DefinitionStages.WithGeographicLocation<ParentT> 接口

类型参数

ParentT

的返回类型 WithAttach#attach()

public static interface TrafficManagerEndpoint.DefinitionStages.WithGeographicLocation

允许指定地理区域的流量管理器终结点定义的阶段。

方法摘要

修饰符和类型 方法和描述
abstract WithAttach<ParentT> withGeographicLocation(GeographicLocation geographicLocation)

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

abstract WithAttach<ParentT> withGeographicLocation(String geographicLocationCode)

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

abstract WithAttach<ParentT> withGeographicLocations(Collection<String> geographicLocationCodes)

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

abstract WithAttach<ParentT> withGeographicLocations(List<GeographicLocation> geographicLocations)

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

方法详细信息

withGeographicLocation

public abstract TrafficManagerEndpoint.DefinitionStages.WithAttach withGeographicLocation(GeographicLocation geographicLocation)

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

Parameters:

geographicLocation - 地理位置

Returns:

定义的下一阶段

withGeographicLocation

public abstract TrafficManagerEndpoint.DefinitionStages.WithAttach withGeographicLocation(String geographicLocationCode)

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

Parameters:

geographicLocationCode - 地理位置代码

Returns:

定义的下一阶段

withGeographicLocations

public abstract TrafficManagerEndpoint.DefinitionStages.WithAttach withGeographicLocations(Collection geographicLocationCodes)

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

Parameters:

geographicLocationCodes - 地理位置代码

Returns:

定义的下一阶段

withGeographicLocations

public abstract TrafficManagerEndpoint.DefinitionStages.WithAttach withGeographicLocations(List geographicLocations)

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

Parameters:

geographicLocations - 地理位置

Returns:

定义的下一阶段

适用于