Show / Hide Table of Contents

Class ScriptAction

Custom script action to run on HDI ondemand cluster once it's up.

Inheritance
System.Object
ScriptAction
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Analytics.Synapse.Artifacts.dll
Syntax
[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.ScriptAction/ScriptActionConverter))]
public class ScriptAction

Constructors

ScriptAction(String, String, Object)

Initializes a new instance of ScriptAction.

Declaration
public ScriptAction (string name, string uri, object roles);
Parameters
System.String name

The user provided name of the script action.

System.String uri

The URI for the script action.

System.Object roles

The node types on which the script action should be executed.

Exceptions
System.ArgumentNullException

name, uri or roles is null.

Properties

Name

The user provided name of the script action.

Declaration
public string Name { get; set; }
Property Value
System.String

Parameters

The parameters for the script action.

Declaration
public string Parameters { get; set; }
Property Value
System.String

Roles

The node types on which the script action should be executed.

Declaration
public object Roles { get; set; }
Property Value
System.Object

Uri

The URI for the script action.

Declaration
public string Uri { get; set; }
Property Value
System.String

Back to top Azure SDK for .NET