Class: Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01/generated/azure_mgmt_batch/models/osdisk.rb
Overview
Settings for the operating system disk of the virtual machine.
Instance Attribute Summary collapse
-
#caching ⇒ CachingType
disks.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OSDisk class as Ruby Hash.
Instance Attribute Details
#caching ⇒ CachingType
disks. none - The caching mode for the disk is not enabled. readOnly - The caching mode for the disk is read only. readWrite - The caching mode for the disk is read and write. Default value is none. Possible values include: ‘None’, ‘ReadOnly’, ‘ReadWrite’
21 22 23 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/osdisk.rb', line 21 def caching @caching end |
Class Method Details
.mapper ⇒ Object
Mapper for OSDisk class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/osdisk.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OSDisk', type: { name: 'Composite', class_name: 'OSDisk', model_properties: { caching: { client_side_validation: true, required: false, serialized_name: 'caching', type: { name: 'Enum', module: 'CachingType' } } } } } end |