ListSelector 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 list selector.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ListSelectorTypeConverter))]
public class ListSelector : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IListSelector, Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IAssociativeArray<object>, Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ListSelectorTypeConverter))>]
type ListSelector = class
interface IListSelector
interface IJsonSerializable
interface ISelector
interface IAssociativeArray<obj>
interface IValidates
Public Class ListSelector
Implements IAssociativeArray(Of Object), IListSelector, IValidates
- Inheritance
-
ListSelector
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ListSelector() |
Creates an new ListSelector instance. |
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] | |
| Target |
List of Target references. |
| 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 ListSelector. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ListSelector. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IListSelector. |
| FromJsonString(String) |
Creates a new instance of ListSelector, deserializing the content from a json string. |
| Remove(String) | |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ListSelector into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| TryGetValue(String, Object) | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IAssociativeArray<Object>.AdditionalProperties | |
| IAssociativeArray<Object>.Count | |
| IAssociativeArray<Object>.Keys | |
| IAssociativeArray<Object>.Values | |