Class: Azure::Security::Mgmt::V2020_01_01::Models::ProtectionMode
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_01_01::Models::ProtectionMode
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01/generated/azure_mgmt_security/models/protection_mode.rb
Overview
The protection mode of the collection/file types. Exe/Msi/Script are used for Windows, Executable is used for Linux.
Instance Attribute Summary collapse
-
#exe ⇒ Enum
Possible values include: ‘Audit’, ‘Enforce’, ‘None’.
-
#executable ⇒ Enum
Possible values include: ‘Audit’, ‘Enforce’, ‘None’.
-
#msi ⇒ Enum
Possible values include: ‘Audit’, ‘Enforce’, ‘None’.
-
#script ⇒ Enum
Possible values include: ‘Audit’, ‘Enforce’, ‘None’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProtectionMode class as Ruby Hash.
Instance Attribute Details
#exe ⇒ Enum
17 18 19 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/protection_mode.rb', line 17 def exe @exe end |
#executable ⇒ Enum
26 27 28 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/protection_mode.rb', line 26 def executable @executable end |
#msi ⇒ Enum
20 21 22 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/protection_mode.rb', line 20 def msi @msi end |
#script ⇒ Enum
23 24 25 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/protection_mode.rb', line 23 def script @script end |
Class Method Details
.mapper ⇒ Object
Mapper for ProtectionMode class as Ruby Hash. This will be used for serialization/deserialization.
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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/protection_mode.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ProtectionMode', type: { name: 'Composite', class_name: 'ProtectionMode', model_properties: { exe: { client_side_validation: true, required: false, serialized_name: 'exe', type: { name: 'String' } }, msi: { client_side_validation: true, required: false, serialized_name: 'msi', type: { name: 'String' } }, script: { client_side_validation: true, required: false, serialized_name: 'script', type: { name: 'String' } }, executable: { client_side_validation: true, required: false, serialized_name: 'executable', type: { name: 'String' } } } } } end |