共用方式為


ServicePrincipalInformation Class

Definition

ServicePrincipalInformation represents the details of the service principal to be used by the cluster during Arc Appliance installation.

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

Constructors

ServicePrincipalInformation(String, String, String)

Initializes a new instance of ServicePrincipalInformation.

Properties

ApplicationId

The application ID, also known as client ID, of the service principal.

Password

The password of the service principal.

PrincipalId

The principal ID, also known as the object ID, of the service principal.

TenantId

The tenant ID, also known as the directory ID, of the tenant in which the service principal is created.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServicePrincipalInformation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServicePrincipalInformation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServicePrincipalInformation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServicePrincipalInformation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServicePrincipalInformation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to