class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::DataDisks
Settings for the data disk which would be created for the File
Server.
Attributes
@return [CachingType] None, ReadOnly, ReadWrite. Default value is None. This property is not patchable. Possible values include: 'none', 'readonly', 'readwrite'. Default value: 'none' .
@return [Integer] Number of data disks to be attached to the VM. RAID level 0 will be applied in the case of multiple disks.
@return [Integer] Initial disk size in GB for blank data disks, and the new desired size for resizing existing data disks.
@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 for DataDisks
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01-preview/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, read_only: true, 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