Class: Azure::Compute::Mgmt::V2020_06_01::Models::VirtualMachineReimageParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb

Overview

Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#temp_diskBoolean

value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk.

Returns:

  • (Boolean)

    Specifies whether to reimage temp disk. Default



19
20
21
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb', line 19

def temp_disk
  @temp_disk
end

Class Method Details

.mapperObject

Mapper for VirtualMachineReimageParameters class as Ruby Hash. This will be used for serialization/deserialization.



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineReimageParameters',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineReimageParameters',
      model_properties: {
        temp_disk: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tempDisk',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end