Class: Azure::Compute::Mgmt::V2020_12_01::Models::UefiSettings
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::UefiSettings
- 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
-
#secure_boot_enabled ⇒ Boolean
the virtual machine.
-
#v_tpm_enabled ⇒ Boolean
virtual machine.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UefiSettings class as Ruby Hash.
Instance Attribute Details
#secure_boot_enabled ⇒ Boolean
the virtual machine.
Minimum api-version: 2020-12-01
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_enabled ⇒ Boolean
virtual machine.
Minimum api-version: 2020-12-01
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
.mapper ⇒ Object
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 |