Partager via


Selector Class

Definition

The selector expression.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.SelectorTypeConverter))]
public class Selector : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.ISelector
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.SelectorTypeConverter))>]
type Selector = class
    interface ISelector
    interface IJsonSerializable
Public Class Selector
Implements ISelector
Inheritance
Selector
Attributes
Implements

Constructors

Selector()

Creates an new Selector instance.

Properties

In

The list of values to filter in.

Kind

The selector kind.

NotIn

The list of values to filter out.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Selector.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Selector.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.ISelector.

FromJsonString(String)

Creates a new instance of Selector, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Selector into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to