Language

ResourceSelector Class

Definition

The resource selector to filter policies by resource properties.

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

Constructors

Name Description
ResourceSelector()

Creates an new ResourceSelector instance.

Properties

Name Description
Name

The name of the resource selector.

Selector

The list of the selector expressions.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceSelector.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceSelector.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceSelector into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Explicit Interface Implementations

Name Description
IResourceSelectorAutoGenerated.Name
IResourceSelectorAutoGenerated.Selector

Applies to