Share via


ArmHDInsightModelFactory.RuntimeScriptActionDetail Method

Definition

Initializes a new instance of RuntimeScriptActionDetail.

public static Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail RuntimeScriptActionDetail (string name = default, Uri uri = default, string parameters = default, System.Collections.Generic.IEnumerable<string> roles = default, string applicationName = default, long? scriptExecutionId = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string status = default, string operation = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Models.ScriptActionExecutionSummary> executionSummary = default, string debugInformation = default);
static member RuntimeScriptActionDetail : string * Uri * string * seq<string> * string * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * seq<Azure.ResourceManager.HDInsight.Models.ScriptActionExecutionSummary> * string -> Azure.ResourceManager.HDInsight.Models.RuntimeScriptActionDetail
Public Shared Function RuntimeScriptActionDetail (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, Optional scriptExecutionId As Nullable(Of Long) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As String = Nothing, Optional operation As String = Nothing, Optional executionSummary As IEnumerable(Of ScriptActionExecutionSummary) = Nothing, Optional debugInformation As String = Nothing) As RuntimeScriptActionDetail

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.

scriptExecutionId
Nullable<Int64>

The execution id of the script action.

startOn
Nullable<DateTimeOffset>

The start time of script action execution.

endOn
Nullable<DateTimeOffset>

The end time of script action execution.

status
String

The current execution status of the script action.

operation
String

The reason why the script action was executed.

executionSummary
IEnumerable<ScriptActionExecutionSummary>

The summary of script action execution result.

debugInformation
String

The script action execution debug information.

Returns

A new RuntimeScriptActionDetail instance for mocking.

Applies to