Class: Azure::Compute::Mgmt::V2018_04_01::Models::VirtualMachineScaleSetUpdateOSDisk
- Inherits:
 - 
      Object
      
        
- Object
 - Azure::Compute::Mgmt::V2018_04_01::Models::VirtualMachineScaleSetUpdateOSDisk
 
 
- Includes:
 - MsRestAzure
 
- Defined in:
 - lib/2018-04-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'.
 - 
  
    
      #disk_size_gb  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
gigabytes.
 - 
  
    
      #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/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 18 def caching @caching end  | 
  
#disk_size_gb ⇒ Integer
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
      28 29 30  | 
    
      # File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 28 def disk_size_gb @disk_size_gb 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.
      34 35 36  | 
    
      # File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 34 def image @image end  | 
  
#managed_disk ⇒ VirtualMachineScaleSetManagedDiskParameters
parameters.
      41 42 43  | 
    
      # File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 41 def managed_disk @managed_disk end  | 
  
#vhd_containers ⇒ Array<String>
Returns The list of virtual hard disk container uris.
      37 38 39  | 
    
      # File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 37 def vhd_containers @vhd_containers end  | 
  
#write_accelerator_enabled ⇒ Boolean
or disabled on the disk.
      22 23 24  | 
    
      # File 'lib/2018-04-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.
      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 106 107 108 109 110 111 112 113 114 115 116 117 118 119  | 
    
      # File 'lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb', line 48 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' } }, disk_size_gb: { client_side_validation: true, required: false, serialized_name: 'diskSizeGB', type: { name: 'Number' } }, 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  |