Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ExecuteScriptActionParameters
- Inherits:
-
Object
- Object
- Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::ExecuteScriptActionParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb
Overview
The parameters for the script actions to execute on a running cluster.
Instance Attribute Summary collapse
-
#persist_on_success ⇒ Boolean
Gets or sets if the scripts needs to be persisted.
-
#script_actions ⇒ Array<RuntimeScriptAction>
actions.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ExecuteScriptActionParameters class as Ruby Hash.
Instance Attribute Details
#persist_on_success ⇒ Boolean
Returns Gets or sets if the scripts needs to be persisted.
20 21 22 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb', line 20 def persist_on_success @persist_on_success end |
#script_actions ⇒ Array<RuntimeScriptAction>
actions.
17 18 19 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb', line 17 def script_actions @script_actions end |
Class Method Details
.mapper ⇒ Object
Mapper for ExecuteScriptActionParameters class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/execute_script_action_parameters.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ExecuteScriptActionParameters', type: { name: 'Composite', class_name: 'ExecuteScriptActionParameters', model_properties: { script_actions: { client_side_validation: true, required: false, serialized_name: 'scriptActions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RuntimeScriptActionElementType', type: { name: 'Composite', class_name: 'RuntimeScriptAction' } } } }, persist_on_success: { client_side_validation: true, required: true, serialized_name: 'persistOnSuccess', type: { name: 'Boolean' } } } } } end |