Class: Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateOSDisk
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineScaleSetUpdateOSDisk
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-30/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.
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-03-30/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.
24 25 26 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 24 def image @image end |
#managed_disk ⇒ VirtualMachineScaleSetManagedDiskParameters
parameters.
31 32 33 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 31 def managed_disk @managed_disk end |
#vhd_containers ⇒ Array<String>
Returns The list of virtual hard disk container uris.
27 28 29 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 27 def vhd_containers @vhd_containers end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineScaleSetUpdateOSDisk class as Ruby Hash. This will be used for serialization/deserialization.
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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 38 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' } }, 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 |