Compartilhar via


AssetReferenceBase Class

Definition

Base definition for asset references.

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

Constructors

AssetReferenceBase()

Creates an new AssetReferenceBase instance.

Properties

ReferenceType

[Required] Specifies the type of asset reference.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AssetReferenceBase.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AssetReferenceBase.

FromJson(JsonNode)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AssetReferenceBase into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to