Condividi tramite


SqlServicePrincipal Class

Definition

The managed instance's service principal configuration for a resource.

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

Constructors

SqlServicePrincipal()

Initializes a new instance of SqlServicePrincipal.

Properties

ClientId

The Azure Active Directory application client id.

PrincipalId

The Azure Active Directory application object id.

PrincipalType

Service principal type.

TenantId

The Azure Active Directory tenant id.

Explicit Interface Implementations

IJsonModel<SqlServicePrincipal>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SqlServicePrincipal>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlServicePrincipal>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlServicePrincipal>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SqlServicePrincipal>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to