Freigeben über


StateStoreResourceRule Class

Definition

State Store Resource Rule properties.

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

Constructors

StateStoreResourceRule(StateStoreResourceKeyType, IEnumerable<String>, StateStoreResourceDefinitionMethod)

Initializes a new instance of StateStoreResourceRule.

Properties

Keys

Give access to state store keys for the corresponding principals defined. When key type is pattern set glob-style pattern (e.g., '', 'clients/').

KeyType

Allowed keyTypes pattern, string, binary. The key type used for matching, for example pattern tries to match the key to a glob-style pattern and string checks key is equal to value provided in keys.

Method

Give access for Read, Write and ReadWrite access level.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<StateStoreResourceRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StateStoreResourceRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StateStoreResourceRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StateStoreResourceRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StateStoreResourceRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to