SimpleFilter 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 simple target filter.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.SimpleFilterTypeConverter))]
public class SimpleFilter : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISimpleFilter, Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.SimpleFilterTypeConverter))>]
type SimpleFilter = class
interface ISimpleFilter
interface IJsonSerializable
interface IFilter
interface IValidates
Public Class SimpleFilter
Implements ISimpleFilter, IValidates
- Inheritance
-
SimpleFilter
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| SimpleFilter() |
Creates an new SimpleFilter instance. |
Properties
| Name | Description |
|---|---|
| ParameterZone |
List of Azure availability zones to filter targets by. |
| Type |
Enum that discriminates between filter types. Currently only |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of SimpleFilter. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of SimpleFilter. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ISimpleFilter. |
| FromJsonString(String) |
Creates a new instance of SimpleFilter, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of SimpleFilter into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |