Share via


Selector Constructors

Definition

Overloads

Selector()

Initializes a new instance of the Selector class.

Selector(SelectorType, String, IList<TargetReference>)

Initializes a new instance of the Selector class.

Selector()

Initializes a new instance of the Selector class.

public Selector ();
Public Sub New ()

Applies to

Selector(SelectorType, String, IList<TargetReference>)

Initializes a new instance of the Selector class.

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))

Parameters

type
SelectorType

Enum of the selector type. Possible values include: 'Percent', 'Random', 'Tag', 'List'

id
String

String of the selector ID.

targets
IList<TargetReference>

List of Target references.

Applies to