你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServicePrincipalInformation Class

Definition

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

public class ServicePrincipalInformation : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkCloud.Models.ServicePrincipalInformation>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkCloud.Models.ServicePrincipalInformation>
type ServicePrincipalInformation = class
    interface IJsonModel<ServicePrincipalInformation>
    interface IPersistableModel<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