Class: Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandDocument
- Inherits:
-
RunCommandDocumentBase
- Object
- RunCommandDocumentBase
- Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandDocument
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb
Overview
Describes the properties of a Run Command.
Instance Attribute Summary collapse
-
#parameters ⇒ Array<RunCommandParameterDefinition>
the script.
-
#script ⇒ Array<String>
The script to be executed.
Attributes inherited from RunCommandDocumentBase
#description, #id, #label, #os_type, #schema
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RunCommandDocument class as Ruby Hash.
Instance Attribute Details
#parameters ⇒ Array<RunCommandParameterDefinition>
the script.
20 21 22 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb', line 20 def parameters @parameters end |
#script ⇒ Array<String>
Returns The script to be executed.
16 17 18 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb', line 16 def script @script end |
Class Method Details
.mapper ⇒ Object
Mapper for RunCommandDocument 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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/run_command_document.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RunCommandDocument', type: { name: 'Composite', class_name: 'RunCommandDocument', model_properties: { schema: { client_side_validation: true, required: true, serialized_name: '$schema', type: { name: 'String' } }, id: { client_side_validation: true, required: true, serialized_name: 'id', type: { name: 'String' } }, os_type: { client_side_validation: true, required: true, serialized_name: 'osType', type: { name: 'Enum', module: 'OperatingSystemTypes' } }, label: { client_side_validation: true, required: true, serialized_name: 'label', type: { name: 'String' } }, description: { client_side_validation: true, required: true, serialized_name: 'description', type: { name: 'String' } }, script: { client_side_validation: true, required: true, 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: 'RunCommandParameterDefinitionElementType', type: { name: 'Composite', class_name: 'RunCommandParameterDefinition' } } } } } } } end |