Class: Azure::Compute::Mgmt::V2018_04_01::Models::RunCommandInput
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2018_04_01::Models::RunCommandInput
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_input.rb
Overview
Capture Virtual Machine parameters.
Instance Attribute Summary collapse
-
#command_id ⇒ String
The run command id.
-
#parameters ⇒ Array<RunCommandInputParameter>
The run command parameters.
-
#script ⇒ Array<String>
value is given, the given script will override the default script of the command.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RunCommandInput class as Ruby Hash.
Instance Attribute Details
#command_id ⇒ String
Returns The run command id.
16 17 18 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_input.rb', line 16 def command_id @command_id end |
#parameters ⇒ Array<RunCommandInputParameter>
Returns The run command parameters.
24 25 26 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_input.rb', line 24 def parameters @parameters end |
#script ⇒ Array<String>
value is given, the given script will override the default script of the command.
21 22 23 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_input.rb', line 21 def script @script end |
Class Method Details
.mapper ⇒ Object
Mapper for RunCommandInput class as Ruby Hash. This will be used for serialization/deserialization.
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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/2018-04-01/generated/azure_mgmt_compute/models/run_command_input.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RunCommandInput', type: { name: 'Composite', class_name: 'RunCommandInput', model_properties: { command_id: { client_side_validation: true, required: true, serialized_name: 'commandId', type: { name: 'String' } }, script: { client_side_validation: true, required: false, serialized_name: 'script', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, parameters: { client_side_validation: true, required: false, serialized_name: 'parameters', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameterElementType', type: { name: 'Composite', class_name: 'RunCommandInputParameter' } } } } } } } end |