Compartilhar via


DatastoreSecrets Class

Definition

Base definition for datastore secrets.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.DatastoreSecretsTypeConverter))]
public class DatastoreSecrets : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IDatastoreSecrets
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.DatastoreSecretsTypeConverter))>]
type DatastoreSecrets = class
    interface IDatastoreSecrets
    interface IJsonSerializable
Public Class DatastoreSecrets
Implements IDatastoreSecrets
Inheritance
DatastoreSecrets
Attributes
Implements

Constructors

DatastoreSecrets()

Creates an new DatastoreSecrets instance.

Properties

SecretsType

[Required] Credential type used to authentication with storage.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatastoreSecrets.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatastoreSecrets.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IDatastoreSecrets. Note: the Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IDatastoreSecrets interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of DatastoreSecrets, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatastoreSecrets into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to