Sdílet prostřednictvím


ServiceAuthConfiguration Class

Definition

Global service auth configuration properties. These are the data-plane authorization keys and are used if a service doesn't define it's own.

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

Constructors

ServiceAuthConfiguration(String, String)

Initializes a new instance of ServiceAuthConfiguration.

Properties

PrimaryAuthKeyHash

The primary auth key hash. This is not returned in response of GET/PUT on the resource.. To see this please call listKeys API.

SecondaryAuthKeyHash

The secondary auth key hash. This is not returned in response of GET/PUT on the resource.. To see this please call listKeys API.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceAuthConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceAuthConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceAuthConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceAuthConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceAuthConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to