# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2020_12_01
  module Models
    #
    # Specifies the security settings like secure boot and vTPM used while
    # creating the virtual machine. <br><br>Minimum api-version: 2020-12-01
    #
    class UefiSettings

      include MsRestAzure

      # @return [Boolean] Specifies whether secure boot should be enabled on
      # the virtual machine. <br><br>Minimum api-version: 2020-12-01
      attr_accessor :secure_boot_enabled

      # @return [Boolean] Specifies whether vTPM should be enabled on the
      # virtual machine. <br><br>Minimum api-version: 2020-12-01
      attr_accessor :v_tpm_enabled


      #
      # Mapper for UefiSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end
