Class: Azure::Compute::Mgmt::V2020_12_01::Models::DisallowedConfiguration

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

Overview

Specifies the disallowed configuration for a virtual machine image.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#vm_disk_typeVmDiskTypes

values include: 'None', 'Unmanaged'

Returns:

  • (VmDiskTypes)

    VM disk types which are disallowed. Possible



17
18
19
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/disallowed_configuration.rb', line 17

def vm_disk_type
  @vm_disk_type
end

Class Method Details

.mapperObject

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



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

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DisallowedConfiguration',
    type: {
      name: 'Composite',
      class_name: 'DisallowedConfiguration',
      model_properties: {
        vm_disk_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vmDiskType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end