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

IWithAttach<ParentT> 接口

定义

流量管理器配置文件终结点定义的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,也可以使用 TrafficManagerEndpoint.DefinitionStages.WithAttach.attach () 将流量管理器配置文件定义附加到父流量管理器配置文件更新。

public interface IWithAttach<ParentT> : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>, Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.UpdateDefinition.IWithCustomHeaders<ParentT>, Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.UpdateDefinition.IWithGeographicLocation<ParentT>, Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.UpdateDefinition.IWithRoutingPriority<ParentT>, Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.UpdateDefinition.IWithRoutingWeight<ParentT>, Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.UpdateDefinition.IWithSubnetRouting<ParentT>, Microsoft.Azure.Management.TrafficManager.Fluent.TrafficManagerEndpoint.UpdateDefinition.IWithTrafficDisabled<ParentT>
type IWithAttach<'ParentT> = interface
    interface IInUpdate<'ParentT>
    interface IWithRoutingWeight<'ParentT>
    interface IWithRoutingPriority<'ParentT>
    interface IWithSubnetRouting<'ParentT>
    interface IWithCustomHeaders<'ParentT>
    interface IWithGeographicLocation<'ParentT>
    interface IWithTrafficDisabled<'ParentT>
Public Interface IWithAttach(Of ParentT)
Implements IInUpdate(Of ParentT), IWithCustomHeaders(Of ParentT), IWithGeographicLocation(Of ParentT), IWithRoutingPriority(Of ParentT), IWithRoutingWeight(Of ParentT), IWithSubnetRouting(Of ParentT), IWithTrafficDisabled(Of ParentT)

类型参数

ParentT

TrafficManagerEndpoint.DefinitionStages.WithAttach.attach () 的返回类型。

派生
实现

方法

Attach()

流量管理器配置文件终结点定义的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,也可以使用 TrafficManagerEndpoint.DefinitionStages.WithAttach.attach () 将流量管理器配置文件定义附加到父流量管理器配置文件更新。

(继承自 IInUpdate<ParentT>)
WithCustomHeader(String, String)

指定将用于运行状况检查的终结点的自定义标头

(继承自 IWithCustomHeaders<ParentT>)
WithCustomHeaders(IDictionary<String,String>)

指定将用于运行状况检查的终结点的自定义标头

(继承自 IWithCustomHeaders<ParentT>)
WithGeographicLocation(IGeographicLocation)

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

(继承自 IWithGeographicLocation<ParentT>)
WithGeographicLocation(String)

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

(继承自 IWithGeographicLocation<ParentT>)
WithGeographicLocations(IList<IGeographicLocation>)

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

(继承自 IWithGeographicLocation<ParentT>)
WithGeographicLocations(IList<String>)

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

(继承自 IWithGeographicLocation<ParentT>)
WithRoutingPriority(Int32)

指定在配置文件上启用了 TrafficRoutingMethod.PRIORITY 的基于优先级的路由方法时使用的终结点的权重。

(继承自 IWithRoutingPriority<ParentT>)
WithRoutingWeight(Int32)

指定在配置文件上启用基于权重的路由方法 TrafficRoutingMethod.WEIGHTED 时将使用的终结点的权重。

(继承自 IWithRoutingWeight<ParentT>)
WithSubnetRouting(String, Int32)

指定使用子网路由方法 TrafficRoutingMethod.SUBNET 配置父配置文件时将使用的终结点的优先级。

(继承自 IWithSubnetRouting<ParentT>)
WithSubnetRouting(String, String)

指定使用子网路由方法 TrafficRoutingMethod.SUBNET 配置父配置文件时将使用的终结点的优先级。

(继承自 IWithSubnetRouting<ParentT>)
WithTrafficDisabled()

指定应从接收流量中排除此终结点。

(继承自 IWithTrafficDisabled<ParentT>)

适用于