你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Selector 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Selector() |
初始化 Selector 类的新实例。 |
Selector(SelectorType, String, IList<TargetReference>) |
初始化 Selector 类的新实例。 |
Selector()
初始化 Selector 类的新实例。
public Selector ();
Public Sub New ()
适用于
Selector(SelectorType, String, IList<TargetReference>)
初始化 Selector 类的新实例。
public Selector (Microsoft.Azure.Management.Chaos.Models.SelectorType type, string id, System.Collections.Generic.IList<Microsoft.Azure.Management.Chaos.Models.TargetReference> targets);
new Microsoft.Azure.Management.Chaos.Models.Selector : Microsoft.Azure.Management.Chaos.Models.SelectorType * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Chaos.Models.TargetReference> -> Microsoft.Azure.Management.Chaos.Models.Selector
Public Sub New (type As SelectorType, id As String, targets As IList(Of TargetReference))
参数
- type
- SelectorType
选择器类型的枚举。 可能的值包括:“Percent”、“Random”、“Tag”、“List”
- id
- String
选择器 ID 的字符串。
- targets
- IList<TargetReference>
目标引用列表。