Class: Azure::Compute::Mgmt::V2019_07_01::Models::VirtualMachineScaleSetUpdateStorageProfile
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_07_01::Models::VirtualMachineScaleSetUpdateStorageProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb
Overview
Describes a virtual machine scale set storage profile.
Instance Attribute Summary collapse
-
#data_disks ⇒ Array<VirtualMachineScaleSetDataDisk>
The data disks.
-
#image_reference ⇒ ImageReference
The image reference.
-
#os_disk ⇒ VirtualMachineScaleSetUpdateOSDisk
The OS disk.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetUpdateStorageProfile class as Ruby Hash.
Instance Attribute Details
#data_disks ⇒ Array<VirtualMachineScaleSetDataDisk>
Returns The data disks.
22 23 24 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb', line 22 def data_disks @data_disks end |
#image_reference ⇒ ImageReference
Returns The image reference.
16 17 18 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb', line 16 def image_reference @image_reference end |
#os_disk ⇒ VirtualMachineScaleSetUpdateOSDisk
Returns The OS disk.
19 20 21 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb', line 19 def os_disk @os_disk end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetUpdateStorageProfile class as Ruby Hash. This will be used for serialization/deserialization.
30 31 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 70 71 72 73 74 75 76 77 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateStorageProfile', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetUpdateStorageProfile', model_properties: { image_reference: { client_side_validation: true, required: false, serialized_name: 'imageReference', type: { name: 'Composite', class_name: 'ImageReference' } }, os_disk: { client_side_validation: true, required: false, serialized_name: 'osDisk', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetUpdateOSDisk' } }, data_disks: { client_side_validation: true, required: false, serialized_name: 'dataDisks', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDiskElementType', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetDataDisk' } } } } } } } end |