Class: Azure::Security::Mgmt::V2020_01_01::Models::PathRecommendation
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_01_01::Models::PathRecommendation
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb
Overview
Represents a path that is recommended to be allowed and its properties
Instance Attribute Summary collapse
-
#action ⇒ Enum
Possible values include: ‘Recommended’, ‘Add’, ‘Remove’.
-
#common ⇒ Boolean
Whether the path is commonly run on the machine.
-
#configuration_status ⇒ Enum
‘InProgress’, ‘Failed’, ‘NoStatus’.
-
#file_type ⇒ Enum
‘Executable’, ‘Unknown’.
-
#path ⇒ String
The full path to whitelist.
- #publisher_info ⇒ PublisherInfo
-
#type ⇒ Enum
‘PublisherSignature’, ‘ProductSignature’, ‘BinarySignature’, ‘VersionAndAboveSignature’.
- #user_sids ⇒ Array<String>
- #usernames ⇒ Array<UserRecommendation>
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PathRecommendation class as Ruby Hash.
Instance Attribute Details
#action ⇒ Enum
Returns Possible values include: ‘Recommended’, ‘Add’, ‘Remove’.
19 20 21 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 19 def action @action end |
#common ⇒ Boolean
Returns Whether the path is commonly run on the machine.
30 31 32 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 30 def common @common end |
#configuration_status ⇒ Enum
‘InProgress’, ‘Failed’, ‘NoStatus’
44 45 46 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 44 def configuration_status @configuration_status end |
#file_type ⇒ Enum
‘Executable’, ‘Unknown’
40 41 42 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 40 def file_type @file_type end |
#path ⇒ String
Returns The full path to whitelist.
16 17 18 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 16 def path @path end |
#publisher_info ⇒ PublisherInfo
27 28 29 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 27 def publisher_info @publisher_info end |
#type ⇒ Enum
‘PublisherSignature’, ‘ProductSignature’, ‘BinarySignature’, ‘VersionAndAboveSignature’
24 25 26 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 24 def type @type end |
#user_sids ⇒ Array<String>
33 34 35 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 33 def user_sids @user_sids end |
#usernames ⇒ Array<UserRecommendation>
36 37 38 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 36 def usernames @usernames end |
Class Method Details
.mapper ⇒ Object
Mapper for PathRecommendation class as Ruby Hash. This will be used for serialization/deserialization.
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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PathRecommendation', type: { name: 'Composite', class_name: 'PathRecommendation', model_properties: { path: { client_side_validation: true, required: false, serialized_name: 'path', type: { name: 'String' } }, action: { client_side_validation: true, required: false, serialized_name: 'action', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, publisher_info: { client_side_validation: true, required: false, serialized_name: 'publisherInfo', type: { name: 'Composite', class_name: 'PublisherInfo' } }, common: { client_side_validation: true, required: false, serialized_name: 'common', type: { name: 'Boolean' } }, user_sids: { client_side_validation: true, required: false, serialized_name: 'userSids', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, usernames: { client_side_validation: true, required: false, serialized_name: 'usernames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'UserRecommendationElementType', type: { name: 'Composite', class_name: 'UserRecommendation' } } } }, file_type: { client_side_validation: true, required: false, serialized_name: 'fileType', type: { name: 'String' } }, configuration_status: { client_side_validation: true, required: false, serialized_name: 'configurationStatus', type: { name: 'String' } } } } } end |