Class: Azure::Compute::Mgmt::V2016_04_30_preview::Models::OSDiskImage
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2016_04_30_preview::Models::OSDiskImage
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb
Overview
Contains the os disk image information.
Instance Attribute Summary collapse
-
#operating_system ⇒ OperatingSystemTypes
Possible values include: 'Windows', 'Linux'.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OSDiskImage class as Ruby Hash.
Instance Attribute Details
#operating_system ⇒ OperatingSystemTypes
Possible values include: 'Windows', 'Linux'
17 18 19 |
# File 'lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb', line 17 def @operating_system end |
Class Method Details
.mapper ⇒ Object
Mapper for OSDiskImage class as Ruby Hash. This will be used for serialization/deserialization.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb', line 24 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OSDiskImage', type: { name: 'Composite', class_name: 'OSDiskImage', model_properties: { operating_system: { client_side_validation: true, required: true, serialized_name: 'operatingSystem', type: { name: 'Enum', module: 'OperatingSystemTypes' } } } } } end |