Share via


ServicePrincipalProperties Class

Definition

The Azure service principal used by Kubernetes for configuring load balancers.

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

Constructors

ServicePrincipalProperties(String, String)

Initializes a new instance of ServicePrincipalProperties.

Properties

ClientId

The service principal client ID.

Secret

The service principal secret. This is not returned in response of GET/PUT on the resource. To see this please call listKeys.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

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