Class: Azure::Security::Mgmt::V2020_01_01::Models::PathRecommendation

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#actionEnum



20
21
22
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 20

def action
  @action
end

#commonBoolean

machine



32
33
34
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 32

def common
  @common
end

#configuration_statusEnum

‘InProgress’, ‘Failed’, ‘NoStatus’



46
47
48
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 46

def configuration_status
  @configuration_status
end

#file_typeEnum

‘Executable’, ‘Unknown’



42
43
44
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 42

def file_type
  @file_type
end

#pathString

application



17
18
19
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 17

def path
  @path
end

#publisher_infoPublisherInfo



28
29
30
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 28

def publisher_info
  @publisher_info
end

#typeEnum

‘PublisherSignature’, ‘ProductSignature’, ‘BinarySignature’, ‘VersionAndAboveSignature’



25
26
27
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 25

def type
  @type
end

#user_sidsArray<String>



35
36
37
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 35

def user_sids
  @user_sids
end

#usernamesArray<UserRecommendation>



38
39
40
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 38

def usernames
  @usernames
end

Class Method Details

.mapperObject

Mapper for PathRecommendation class as Ruby Hash. This will be used for serialization/deserialization.



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
154
155
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb', line 53

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