Share via


MachineLearningDatastoreSecrets Class

Definition

Base definition for datastore secrets. Please note MachineLearningDatastoreSecrets is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MachineLearningAccountKeyDatastoreSecrets, MachineLearningCertificateDatastoreSecrets, MachineLearningSasDatastoreSecrets and MachineLearningServicePrincipalDatastoreSecrets.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownDatastoreSecrets))]
public abstract class MachineLearningDatastoreSecrets : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreSecrets>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningDatastoreSecrets>
public abstract class MachineLearningDatastoreSecrets
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownDatastoreSecrets))>]
type MachineLearningDatastoreSecrets = class
    interface IJsonModel<MachineLearningDatastoreSecrets>
    interface IPersistableModel<MachineLearningDatastoreSecrets>
type MachineLearningDatastoreSecrets = class
Public MustInherit Class MachineLearningDatastoreSecrets
Implements IJsonModel(Of MachineLearningDatastoreSecrets), IPersistableModel(Of MachineLearningDatastoreSecrets)
Public MustInherit Class MachineLearningDatastoreSecrets
Inheritance
MachineLearningDatastoreSecrets
Derived
Attributes
Implements

Constructors

MachineLearningDatastoreSecrets()

Initializes a new instance of MachineLearningDatastoreSecrets.

Explicit Interface Implementations

IJsonModel<MachineLearningDatastoreSecrets>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningDatastoreSecrets>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningDatastoreSecrets>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningDatastoreSecrets>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningDatastoreSecrets>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to