Condividi tramite


SourceControlServicePrincipal Class

Definition

Service principal metadata.

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

Constructors

SourceControlServicePrincipal()

Initializes a new instance of SourceControlServicePrincipal.

Properties

AppId

App id of service principal.

CredentialsExpireOn

Expiration time of service principal credentials.

Id

Id of service principal.

TenantId

Tenant id of service principal.

Explicit Interface Implementations

IJsonModel<SourceControlServicePrincipal>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SourceControlServicePrincipal>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SourceControlServicePrincipal>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SourceControlServicePrincipal>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SourceControlServicePrincipal>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to