Class: Azure::Compute::Mgmt::V2020_12_01::Models::UefiSettings

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

Overview

Specifies the security settings like secure boot and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#secure_boot_enabledBoolean

the virtual machine.
Minimum api-version: 2020-12-01

Returns:

  • (Boolean)

    Specifies whether secure boot should be enabled on



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

def secure_boot_enabled
  @secure_boot_enabled
end

#v_tpm_enabledBoolean

virtual machine.
Minimum api-version: 2020-12-01

Returns:

  • (Boolean)

    Specifies whether vTPM should be enabled on the



22
23
24
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/uefi_settings.rb', line 22

def v_tpm_enabled
  @v_tpm_enabled
end

Class Method Details

.mapperObject

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



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/uefi_settings.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UefiSettings',
    type: {
      name: 'Composite',
      class_name: 'UefiSettings',
      model_properties: {
        secure_boot_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'secureBootEnabled',
          type: {
            name: 'Boolean'
          }
        },
        v_tpm_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'vTpmEnabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end