# 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_06_01
module Models
#
# Specifies the Security profile settings for the virtual machine or
# virtual machine scale set.
#
class SecurityProfile
include MsRestAzure
# @return [Boolean] This property can be used by user in the request to
# enable or disable the Host Encryption for the virtual machine or
# virtual machine scale set. This will enable the encryption for all the
# disks including Resource/Temp disk at host itself.
Default:
# The Encryption at host will be disabled unless this property is set to
# true for the resource.
attr_accessor :encryption_at_host
#
# Mapper for SecurityProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'SecurityProfile',
type: {
name: 'Composite',
class_name: 'SecurityProfile',
model_properties: {
encryption_at_host: {
client_side_validation: true,
required: false,
serialized_name: 'encryptionAtHost',
type: {
name: 'Boolean'
}
}
}
}
}
end
end
end
end