class Azure::Batch::Mgmt::V2017_09_01::Models::OSDisk

Settings for the operating system disk of the virtual machine.

Attributes

caching[RW]

@return [CachingType] The type of caching to be enabled for the data 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'

Public Class Methods

mapper() click to toggle source

Mapper for OSDisk class as Ruby Hash. This will be used for serialization/deserialization.

# 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