Selector Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Model that represents a selector in the Experiment resource.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.SelectorTypeConverter))]
public class Selector : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelector, Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IAssociativeArray<object>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.SelectorTypeConverter))>]
type Selector = class
interface ISelector
interface IJsonSerializable
interface IAssociativeArray<obj>
Public Class Selector
Implements IAssociativeArray(Of Object), ISelector
- Inheritance
-
Selector
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| Selector() |
Creates an new Selector instance. |
Fields
| Name | Description |
|---|---|
| __additionalProperties | |
Properties
| Name | Description |
|---|---|
| Filter |
Model that represents available filter types that can be applied to a targets list. |
| FilterType |
Enum that discriminates between filter types. Currently only |
| Id |
String of the selector ID. |
| Item[String] | |
| Type |
Enum of the selector type. |
Methods
| Name | Description |
|---|---|
| Add(String, Object) | |
| Clear() | |
| ContainsKey(String) | |
| CopyFrom(IDictionary) | |
| CopyFrom(PSObject) | |
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Selector. |
| DeserializeFromPSObject(PSObject) | |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelector. Note: the Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISelector interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. |
| FromJsonString(String) |
Creates a new instance of Selector, deserializing the content from a json string. |
| Remove(String) | |
| ToJson(JsonObject, SerializationMode) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| TryGetValue(String, Object) | |
Operators
| Name | Description |
|---|---|
| Implicit(Selector to Dictionary<String,Object>) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IAssociativeArray<Object>.AdditionalProperties | |
| IAssociativeArray<Object>.Count | |
| IAssociativeArray<Object>.Keys | |
| IAssociativeArray<Object>.Values | |