class Azure::BatchAI::Mgmt::V2018_03_01::Models::DataDisks

Settings for the data disk which would be created for the File Server.

Attributes

caching_type[RW]

@return [CachingType] None, ReadOnly, ReadWrite. Default value is None. This property is not patchable. Possible values include: 'none', 'readonly', 'readwrite'. Default value: 'none' .

disk_count[RW]

@return [Integer] Number of data disks to be attached to the VM. RAID level 0 will be applied in the case of multiple disks.

disk_size_in_gb[RW]

@return [Integer] Initial disk size in GB for blank data disks, and the new desired size for resizing existing data disks.

storage_account_type[RW]

@return [StorageAccountType] Specifies the type of storage account to be used on the disk. Possible values are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS'

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-03-01/generated/azure_mgmt_batchai/models/data_disks.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DataDisks',
    type: {
      name: 'Composite',
      class_name: 'DataDisks',
      model_properties: {
        disk_size_in_gb: {
          client_side_validation: true,
          required: true,
          serialized_name: 'diskSizeInGB',
          type: {
            name: 'Number'
          }
        },
        caching_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'cachingType',
          default_value: 'none',
          type: {
            name: 'Enum',
            module: 'CachingType'
          }
        },
        disk_count: {
          client_side_validation: true,
          required: true,
          serialized_name: 'diskCount',
          type: {
            name: 'Number'
          }
        },
        storage_account_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'storageAccountType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end