Condividi tramite


KustoDatabasePrincipal Class

Definition

A class representing database principal entity.

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

Constructors

KustoDatabasePrincipal(KustoDatabasePrincipalRole, String, KustoDatabasePrincipalType)

Initializes a new instance of KustoDatabasePrincipal.

Properties

AppId

Application id - relevant only for application principal type.

Email

Database principal email if exists.

Fqn

Database principal fully qualified name.

Name

Database principal name.

PrincipalType

Database principal type.

Role

Database principal role.

TenantName

The tenant name of the principal.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KustoDatabasePrincipal>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KustoDatabasePrincipal>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KustoDatabasePrincipal>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KustoDatabasePrincipal>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KustoDatabasePrincipal>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to