ResourceSelector Class

Definition

The resource selector to filter policies by resource properties.

public class ResourceSelector : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.ResourceSelector>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.ResourceSelector>
type ResourceSelector = class
    interface IJsonModel<ResourceSelector>
    interface IPersistableModel<ResourceSelector>
Public Class ResourceSelector
Implements IJsonModel(Of ResourceSelector), IPersistableModel(Of ResourceSelector)
Inheritance
ResourceSelector
Implements

Constructors

ResourceSelector()

Initializes a new instance of ResourceSelector.

Properties

Name

The name of the resource selector.

Selectors

The list of the selector expressions.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ResourceSelector>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ResourceSelector>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResourceSelector>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResourceSelector>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ResourceSelector>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to