Share via


ScriptReference Class

Definition

Script reference

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ScriptReferenceTypeConverter))]
public class ScriptReference : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IScriptReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ScriptReferenceTypeConverter))>]
type ScriptReference = class
    interface IScriptReference
    interface IJsonSerializable
Public Class ScriptReference
Implements IScriptReference
Inheritance
ScriptReference
Attributes
Implements

Constructors

ScriptReference()

Creates an new ScriptReference instance.

Properties

ScriptArgument

Optional command line arguments passed to the script to run.

ScriptData

The location of scripts in the mounted volume.

ScriptSource

The storage source of the script: workspace.

Timeout

Optional time period passed to timeout command.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ScriptReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ScriptReference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IScriptReference.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ScriptReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to