Share via


ArmHDInsightModelFactory.RuntimeScriptAction Method

Definition

Initializes a new instance of RuntimeScriptAction.

public static Azure.ResourceManager.HDInsight.Models.RuntimeScriptAction RuntimeScriptAction (string name = default, Uri uri = default, string parameters = default, System.Collections.Generic.IEnumerable<string> roles = default, string applicationName = default);
static member RuntimeScriptAction : string * Uri * string * seq<string> * string -> Azure.ResourceManager.HDInsight.Models.RuntimeScriptAction
Public Shared Function RuntimeScriptAction (Optional name As String = Nothing, Optional uri As Uri = Nothing, Optional parameters As String = Nothing, Optional roles As IEnumerable(Of String) = Nothing, Optional applicationName As String = Nothing) As RuntimeScriptAction

Parameters

name
String

The name of the script action.

uri
Uri

The URI to the script.

parameters
String

The parameters for the script.

roles
IEnumerable<String>

The list of roles where script will be executed.

applicationName
String

The application name of the script action, if any.

Returns

A new RuntimeScriptAction instance for mocking.

Applies to