Class: Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSDisk
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_12_01::Models::VirtualMachineScaleSetUpdateOSDisk
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb
Overview
Describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk.
Instance Attribute Summary collapse
-
#caching ⇒ CachingTypes
'None', 'ReadOnly', 'ReadWrite'.
-
#image ⇒ VirtualHardDisk
VirtualHardDisk will be copied before using it to attach to the Virtual Machine.
-
#managed_disk ⇒ VirtualMachineScaleSetManagedDiskParameters
parameters.
-
#vhd_containers ⇒ Array<String>
The list of virtual hard disk container uris.
-
#write_accelerator_enabled ⇒ Boolean
or disabled on the disk.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetUpdateOSDisk class as Ruby Hash.
Instance Attribute Details
#caching ⇒ CachingTypes
'None', 'ReadOnly', 'ReadWrite'
18 19 20 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 18 def caching @caching end |
#image ⇒ VirtualHardDisk
VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.
28 29 30 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 28 def image @image end |
#managed_disk ⇒ VirtualMachineScaleSetManagedDiskParameters
parameters.
35 36 37 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 35 def managed_disk @managed_disk end |
#vhd_containers ⇒ Array<String>
Returns The list of virtual hard disk container uris.
31 32 33 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 31 def vhd_containers @vhd_containers end |
#write_accelerator_enabled ⇒ Boolean
or disabled on the disk.
22 23 24 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 22 def write_accelerator_enabled @write_accelerator_enabled end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetUpdateOSDisk class as Ruby Hash. This will be used for serialization/deserialization.
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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineScaleSetUpdateOSDisk', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetUpdateOSDisk', model_properties: { 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' } }, image: { client_side_validation: true, required: false, serialized_name: 'image', type: { name: 'Composite', class_name: 'VirtualHardDisk' } }, vhd_containers: { client_side_validation: true, required: false, serialized_name: 'vhdContainers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, managed_disk: { client_side_validation: true, required: false, serialized_name: 'managedDisk', type: { name: 'Composite', class_name: 'VirtualMachineScaleSetManagedDiskParameters' } } } } } end |