Sdílet prostřednictvím


MachineLearningComputeSecrets Class

Definition

Secrets related to a Machine Learning compute. Might differ for every type of compute. Please note MachineLearningComputeSecrets 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 MachineLearningAksComputeSecrets, MachineLearningDatabricksComputeSecrets and MachineLearningVirtualMachineSecrets.

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

Constructors

MachineLearningComputeSecrets()

Initializes a new instance of MachineLearningComputeSecrets.

Explicit Interface Implementations

IJsonModel<MachineLearningComputeSecrets>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MachineLearningComputeSecrets>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningComputeSecrets>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningComputeSecrets>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MachineLearningComputeSecrets>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to