ResourceSelector 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.
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))>]
type ResourceSelector = class
interface IResourceSelector
interface IJsonSerializable
Public Class ResourceSelector
Implements IResourceSelector
- Inheritance
-
ResourceSelector
- Attributes
- Implements
Constructors
| ResourceSelector() |
Creates an new ResourceSelector instance. |
Properties
| Name |
The name of the resource selector. |
| Selector |
The list of the selector expressions. |
Methods
| 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. |