Class ScriptAction | Azure SDK for Net
Rachel Davis
Published Feb 16, 2026
Custom script action to run on HDI ondemand cluster once it's up.
Inheritance
ScriptAction
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DataFactory.dll
Syntax
public class ScriptAction Constructors
ScriptAction()
Initializes a new instance of the ScriptAction class.
Declaration
public ScriptAction (); ScriptAction(String, String, Object, String)
Initializes a new instance of the ScriptAction class.
Declaration
public ScriptAction (string name, string uri, object roles, string parameters = null); Parameters
| String name The user provided name of the script action. |
| String uri The URI for the script action. |
| Object roles The node types on which the script action should be executed. |
| String parameters The parameters for the script action. |
Properties
Name
Gets or sets the user provided name of the script action.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public string Name { get; set; } Property Value
Parameters
Gets or sets the parameters for the script action.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="parameters")]
public string Parameters { get; set; } Property Value
Roles
Gets or sets the node types on which the script action should be executed.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="roles")]
public object Roles { get; set; } Property Value
Uri
Gets or sets the URI for the script action.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="uri")]
public string Uri { get; set; } Property Value
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();