Filter 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 available filter types that can be applied to a targets list.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.FilterTypeConverter))]
public class Filter : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.FilterTypeConverter))>]
type Filter = class
interface IFilter
interface IJsonSerializable
Public Class Filter
Implements IFilter
- Inheritance
-
Filter
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| Filter() |
Creates an new Filter instance. |
Properties
| Name | Description |
|---|---|
| Type |
Enum that discriminates between filter types. Currently only |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Filter. |
| DeserializeFromPSObject(PSObject) | |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilter. Note: the Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IFilter 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 Filter, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |