Share via


BrokerAuthorizationConfig Class

Definition

Broker AuthorizationConfig properties.

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

Constructors

BrokerAuthorizationConfig()

Initializes a new instance of BrokerAuthorizationConfig.

Properties

Cache

Enable caching of the authorization rules.

Rules

The authorization rules to follow. If no rule is set, but Authorization Resource is used that would mean DenyAll.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BrokerAuthorizationConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BrokerAuthorizationConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BrokerAuthorizationConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BrokerAuthorizationConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BrokerAuthorizationConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to