次の方法で共有


PrincipalConfig Class

Definition

PrincipalDefinition properties of Rule.

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

Constructors

PrincipalConfig()

Initializes a new instance of PrincipalConfig.

Properties

Attributes

A list of key-value pairs that match the attributes of the clients. The attributes are case-sensitive and must match the attributes provided by the clients during authentication.

ClientIds

A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection.

Usernames

A list of usernames that match the clients. The usernames are case-sensitive and must match the usernames provided by the clients during authentication.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PrincipalConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PrincipalConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PrincipalConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PrincipalConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PrincipalConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to