class Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineScaleSetDataDisk
Describes a virtual machine scale set data disk.
Attributes
@return [CachingTypes] Specifies the caching requirements.
Possible values are:
*None*
*ReadOnly*
*ReadWrite*
Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'None', 'ReadOnly', 'ReadWrite'
@return [DiskCreateOptionTypes] The create option. Possible values include: 'FromImage', 'Empty', 'Attach'
@return [Integer] Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
@return [Integer] Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
@return [Integer] Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.
This value cannot be larger than 1023 GB
@return [Integer] Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
@return [VirtualMachineScaleSetManagedDiskParameters] The managed disk parameters.
@return [String] The disk name.
@return [Boolean] Specifies whether writeAccelerator should be enabled or disabled on the disk.
Private Class Methods
Mapper for VirtualMachineScaleSetDataDisk
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb, line 64 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetDataDisk', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetDataDisk', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, lun: { client_side_validation: true, required: true, serialized_name: 'lun', type: { name: 'Number' } }, caching: { client_side_validation: true, required: false, serialized_name: 'caching', type: { name: 'Enum', module: 'CachingTypes' } }, write_accelerator_enabled: { client_side_validation: true, required: false, serialized_name: 'writeAcceleratorEnabled', type: { name: 'Boolean' } }, create_option: { client_side_validation: true, required: true, serialized_name: 'createOption', type: { name: 'String' } }, disk_size_gb: { client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { name: 'Number' } }, managed_disk: { client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetManagedDiskParameters' } }, disk_iopsread_write: { client_side_validation: true, required: false, serialized_name: 'diskIOPSReadWrite', type: { name: 'Number' } }, disk_mbps_read_write: { client_side_validation: true, required: false, serialized_name: 'diskMBpsReadWrite', type: { name: 'Number' } } } } } end