共用方式為


ServicePrincipalProperties Class

Definition

Details of the service principal.

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

Constructors

ServicePrincipalProperties()

Initializes a new instance of ServicePrincipalProperties.

Properties

ApplicationId

Application ID of service principal.

Secret

A secret string that the application uses to prove its identity, also can be referred to as application password (write only).

Explicit Interface Implementations

IJsonModel<ServicePrincipalProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServicePrincipalProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServicePrincipalProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServicePrincipalProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServicePrincipalProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to