Class: Azure::Compute::Mgmt::V2019_07_01::Models::RunCommandDocumentBase
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_07_01::Models::RunCommandDocumentBase
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/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.
29 30 31 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 29 def description @description end |
#id ⇒ String
Returns The VM run command id.
19 20 21 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 19 def id @id end |
#label ⇒ String
Returns The VM run command label.
26 27 28 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 26 def label @label end |
#os_type ⇒ OperatingSystemTypes
values include: 'Windows', 'Linux'
23 24 25 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 23 def os_type @os_type end |
#schema ⇒ String
Returns The VM run command schema.
16 17 18 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 16 def schema @schema end |
Class Method Details
.mapper ⇒ Object
Mapper for RunCommandDocumentBase class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_document_base.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RunCommandDocumentBase', type: { name: 'Composite', class_name: 'RunCommandDocumentBase', 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' } } } } } end |