Class: Azure::Compute::Mgmt::V2020_12_01::Models::SecurityProfile
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::SecurityProfile
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-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.
-
#security_type ⇒ SecurityTypes
machine.
-
#uefi_settings ⇒ UefiSettings
and vTPM used while creating the virtual machine.
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.
27 28 29 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/security_profile.rb', line 27 def encryption_at_host @encryption_at_host end |
#security_type ⇒ SecurityTypes
machine. It is set as TrustedLaunch to enable UefiSettings.
Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch. Possible values include: ‘TrustedLaunch’
33 34 35 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/security_profile.rb', line 33 def security_type @security_type end |
#uefi_settings ⇒ UefiSettings
and vTPM used while creating the virtual machine.
Minimum api-version: 2020-12-01
19 20 21 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/security_profile.rb', line 19 def uefi_settings @uefi_settings end |
Class Method Details
.mapper ⇒ Object
Mapper for SecurityProfile class as Ruby Hash. This will be used for serialization/deserialization.
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/security_profile.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SecurityProfile', type: { name: 'Composite', class_name: 'SecurityProfile', model_properties: { uefi_settings: { client_side_validation: true, required: false, serialized_name: 'uefiSettings', type: { name: 'Composite', class_name: 'UefiSettings' } }, encryption_at_host: { client_side_validation: true, required: false, serialized_name: 'encryptionAtHost', type: { name: 'Boolean' } }, security_type: { client_side_validation: true, required: false, serialized_name: 'securityType', type: { name: 'Enum', module: 'SecurityTypes' } } } } } end |