Class: Azure::Compute::Mgmt::V2020_06_01::Models::SecurityProfile
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_06_01::Models::SecurityProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-06-01/generated/azure_mgmt_compute/models/security_profile.rb
Overview
Specifies the Security profile settings for the virtual machine or virtual machine scale set.
Instance Attribute Summary collapse
-
#encryption_at_host ⇒ Boolean
enable or disable the Host Encryption for the virtual machine or virtual machine scale set.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SecurityProfile class as Ruby Hash.
Instance Attribute Details
#encryption_at_host ⇒ Boolean
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.
22 23 24 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/security_profile.rb', line 22 def encryption_at_host @encryption_at_host end |
Class Method Details
.mapper ⇒ Object
Mapper for SecurityProfile 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 |
# File 'lib/2020-06-01/generated/azure_mgmt_compute/models/security_profile.rb', line 29 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 |