Compartilhar via


ScriptReference Class

Definition

Script reference

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ScriptReferenceTypeConverter))]
public class ScriptReference : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IScriptReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.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: inline, 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.Api20220501.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