Share via


IdAssetReference Class

Definition

Reference to an asset via its ARM resource ID.

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

Constructors

IdAssetReference()

Creates an new IdAssetReference instance.

Properties

AssetId

[Required] ARM resource ID of the asset.

ReferenceType

[Required] Specifies the type of asset reference.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of IdAssetReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of IdAssetReference.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of IdAssetReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to