Share via


DataPathAssetReference Class

Definition

Reference to an asset via its path in a datastore.

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

Constructors

DataPathAssetReference()

Creates an new DataPathAssetReference instance.

Properties

DatastoreId

ARM resource ID of the datastore where the asset is located.

Path

The path of the file/directory in the datastore.

ReferenceType

[Required] Specifies the type of asset reference.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataPathAssetReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataPathAssetReference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IDataPathAssetReference.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataPathAssetReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to