Compartilhar via


DatastoreCredentials Class

Definition

Base definition for datastore credentials.

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

Constructors

DatastoreCredentials()

Creates an new DatastoreCredentials instance.

Properties

CredentialsType

[Required] Credential type used to authentication with storage.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatastoreCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatastoreCredentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IDatastoreCredentials. Note: the Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IDatastoreCredentials 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 DatastoreCredentials, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatastoreCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to