Class: Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::DataDisks
- Inherits:
-
Object
- Object
- Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::DataDisks
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/data_disks.rb
Overview
Settings for the data disk which would be created for the File Server.
Instance Attribute Summary collapse
-
#caching_type ⇒ CachingType
This property is not patchable.
-
#disk_count ⇒ Integer
level 0 will be applied in the case of multiple disks.
-
#disk_size_in_gb ⇒ Integer
new desired size for resizing existing data disks.
-
#storage_account_type ⇒ StorageAccountType
be used on the disk.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DataDisks class as Ruby Hash.
Instance Attribute Details
#caching_type ⇒ CachingType
This property is not patchable. Possible values include: ‘none’, ‘readonly’, ‘readwrite’. Default value: ‘none’ .
22 23 24 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/data_disks.rb', line 22 def caching_type @caching_type end |
#disk_count ⇒ Integer
level 0 will be applied in the case of multiple disks.
26 27 28 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/data_disks.rb', line 26 def disk_count @disk_count end |
#disk_size_in_gb ⇒ Integer
new desired size for resizing existing data disks.
17 18 19 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/data_disks.rb', line 17 def disk_size_in_gb @disk_size_in_gb end |
#storage_account_type ⇒ StorageAccountType
be used on the disk. Possible values are: Standard_LRS or Premium_LRS. Possible values include: ‘Standard_LRS’, ‘Premium_LRS’
31 32 33 |
# File 'lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/data_disks.rb', line 31 def storage_account_type @storage_account_type end |
Class Method Details
.mapper ⇒ Object
Mapper for DataDisks class as Ruby Hash. This will be used for serialization/deserialization.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
# 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 |