Class: Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Disk
- Inherits:
-
Object
- Object
- Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::Disk
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/disk.rb
Overview
Specifies the disk information fo the HANA instance
Instance Attribute Summary collapse
-
#disk_size_gb ⇒ Integer
gigabytes.
-
#lun ⇒ Integer
This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
-
#name ⇒ String
The disk name.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Disk class as Ruby Hash.
Instance Attribute Details
#disk_size_gb ⇒ Integer
gigabytes.
20 21 22 |
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/disk.rb', line 20 def disk_size_gb @disk_size_gb end |
#lun ⇒ Integer
This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
25 26 27 |
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/disk.rb', line 25 def lun @lun end |
#name ⇒ String
Returns The disk name.
16 17 18 |
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/disk.rb', line 16 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for Disk class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 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 |
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/disk.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Disk', type: { name: 'Composite', class_name: 'Disk', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, disk_size_gb: { client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { name: 'Number' } }, lun: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lun', type: { name: 'Number' } } } } } end |