Class: Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetStorageProfile
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetStorageProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb
Overview
Describes a virtual machine scale set storage profile.
Instance Attribute Summary collapse
-
#data_disks ⇒ Array<VirtualMachineScaleSetDataDisk>
parameters that are used to add data disks to the virtual machines in the scale set.
-
#image_reference ⇒ ImageReference
You can specify information about platform images, marketplace images, or virtual machine images.
-
#os_disk ⇒ VirtualMachineScaleSetOSDisk
operating system disk used by the virtual machines in the scale set.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetStorageProfile class as Ruby Hash.
Instance Attribute Details
#data_disks ⇒ Array<VirtualMachineScaleSetDataDisk>
parameters that are used to add data disks to the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
34 35 36 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb', line 34 def data_disks @data_disks end |
#image_reference ⇒ ImageReference
You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
20 21 22 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb', line 20 def image_reference @image_reference end |
#os_disk ⇒ VirtualMachineScaleSetOSDisk
operating system disk used by the virtual machines in the scale set.
For more information about disks, see [About disks and VHDs for Azure virtual machines](docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
27 28 29 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb', line 27 def os_disk @os_disk end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetStorageProfile class as Ruby Hash. This will be used for serialization/deserialization.
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 86 87 88 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb', line 41 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetStorageProfile', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetStorageProfile', 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: 'VirtualMachineScaleSetOSDisk' } }, 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 |