共用方式為


ArmHDInsightModelFactory.ExecuteScriptActionContent Method

Definition

Initializes a new instance of ExecuteScriptActionContent.

public static Azure.ResourceManager.HDInsight.Models.ExecuteScriptActionContent ExecuteScriptActionContent (System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Models.RuntimeScriptAction> scriptActions = default, bool persistOnSuccess = false);
static member ExecuteScriptActionContent : seq<Azure.ResourceManager.HDInsight.Models.RuntimeScriptAction> * bool -> Azure.ResourceManager.HDInsight.Models.ExecuteScriptActionContent
Public Shared Function ExecuteScriptActionContent (Optional scriptActions As IEnumerable(Of RuntimeScriptAction) = Nothing, Optional persistOnSuccess As Boolean = false) As ExecuteScriptActionContent

Parameters

scriptActions
IEnumerable<RuntimeScriptAction>

The list of run time script actions.

persistOnSuccess
Boolean

Gets or sets if the scripts needs to be persisted.

Returns

A new ExecuteScriptActionContent instance for mocking.

Applies to