Class: Azure::ARM::Compute::Models::RunCommandDocumentBase
- Inherits:
-
Object
- Object
- Azure::ARM::Compute::Models::RunCommandDocumentBase
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_compute/models/run_command_document_base.rb
Overview
Describes the properties of a Run Command metadata.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#description ⇒ String
The VM run command description.
-
#id ⇒ String
The VM run command id.
-
#label ⇒ String
The VM run command label.
-
#os_type ⇒ OperatingSystemTypes
values include: ‘Windows’, ‘Linux’.
-
#schema ⇒ String
The VM run command schema.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RunCommandDocumentBase class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns The VM run command description.
30 31 32 |
# File 'lib/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 30 def description @description end |
#id ⇒ String
Returns The VM run command id.
20 21 22 |
# File 'lib/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 20 def id @id end |
#label ⇒ String
Returns The VM run command label.
27 28 29 |
# File 'lib/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 27 def label @label end |
#os_type ⇒ OperatingSystemTypes
values include: ‘Windows’, ‘Linux’
24 25 26 |
# File 'lib/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 24 def os_type @os_type end |
#schema ⇒ String
Returns The VM run command schema.
17 18 19 |
# File 'lib/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 17 def schema @schema end |
Class Method Details
.mapper ⇒ Object
Mapper for RunCommandDocumentBase class as Ruby Hash. This will be used for serialization/deserialization.
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/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 37 def self.mapper() { required: false, serialized_name: 'RunCommandDocumentBase', type: { name: 'Composite', class_name: 'RunCommandDocumentBase', model_properties: { schema: { required: true, serialized_name: '$schema', type: { name: 'String' } }, id: { required: true, serialized_name: 'id', type: { name: 'String' } }, os_type: { required: true, serialized_name: 'osType', type: { name: 'Enum', module: 'OperatingSystemTypes' } }, label: { required: true, serialized_name: 'label', type: { name: 'String' } }, description: { required: true, serialized_name: 'description', type: { name: 'String' } } } } } end |