KubernetesServicePrincipal Class

Definition

Parameters to authenticate using Service Principal.

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

Constructors

Name Description
KubernetesServicePrincipal()

Initializes a new instance of KubernetesServicePrincipal.

Properties

Name Description
ClientCertificate

Base64-encoded certificate used to authenticate a Service Principal.

ClientCertificatePassword

The password for the certificate used to authenticate a Service Principal.

ClientCertificateSendChain

Specifies whether to include x5c header in client claims when acquiring a token to enable subject name / issuer based authentication for the Client Certificate.

ClientId

The client Id for authenticating a Service Principal.

ClientSecret

The client secret for authenticating a Service Principal.

TenantId

The tenant Id for authenticating a Service Principal.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<KubernetesServicePrincipal>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KubernetesServicePrincipal>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KubernetesServicePrincipal>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KubernetesServicePrincipal>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KubernetesServicePrincipal>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to