DatastoreProperties Class

Definition

Base definition for datastore contents configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.DatastorePropertiesTypeConverter))]
public class DatastoreProperties : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IDatastoreProperties, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.DatastorePropertiesTypeConverter))>]
type DatastoreProperties = class
    interface IDatastoreProperties
    interface IJsonSerializable
    interface IResourceBase
    interface IValidates
Public Class DatastoreProperties
Implements IDatastoreProperties, IValidates
Inheritance
DatastoreProperties
Attributes
Implements

Constructors

DatastoreProperties()

Creates an new DatastoreProperties instance.

Properties

Credentials

[Required] Account credentials.

DatastoreType

[Required] Storage type backing the datastore.

Description

The asset description text.

IsDefault

Readonly property to indicate if datastore is the workspace default datastore

Property

The asset property dictionary.

Tag

Tag dictionary. Tags can be added, removed, and updated.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatastoreProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatastoreProperties.

FromJson(JsonNode)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatastoreProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to