Class: Azure::Security::Mgmt::V2019_08_01::Models::IoTSecurityAggregatedRecommendation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb

Overview

Security Solution Recommendation Information

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns Description of the incident and what it means.

Returns:

  • (String)

    Description of the incident and what it means



34
35
36
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 34

def description
  @description
end

#detected_byString

Returns Name of the vendor that discovered the issue.

Returns:

  • (String)

    Name of the vendor that discovered the issue



40
41
42
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 40

def detected_by
  @detected_by
end

#healthy_devicesInteger

Returns the number of the healthy devices within the solution.

Returns:

  • (Integer)

    the number of the healthy devices within the solution



50
51
52
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 50

def healthy_devices
  @healthy_devices
end

#idString

Returns Resource Id.

Returns:

  • (String)

    Resource Id



16
17
18
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 16

def id
  @id
end

#log_analytics_queryString

devices/alerts

Returns:

  • (String)

    query in log analytics to get the list of affected



58
59
60
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 58

def log_analytics_query
  @log_analytics_query
end

#nameString

Returns Resource name.

Returns:

  • (String)

    Resource name



19
20
21
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 19

def name
  @name
end

#recommendation_display_nameString

Returns Display name of the recommendation type.

Returns:

  • (String)

    Display name of the recommendation type.



31
32
33
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 31

def recommendation_display_name
  @recommendation_display_name
end

#recommendation_nameString

Returns Name of the recommendation.

Returns:

  • (String)

    Name of the recommendation



28
29
30
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 28

def recommendation_name
  @recommendation_name
end

#recommendation_type_idString

Returns The recommendation-type GUID.

Returns:

  • (String)

    The recommendation-type GUID.



37
38
39
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 37

def recommendation_type_id
  @recommendation_type_id
end

#remediation_stepsString

Returns Recommended steps for remediation.

Returns:

  • (String)

    Recommended steps for remediation



43
44
45
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 43

def remediation_steps
  @remediation_steps
end

#reported_severityReportedSeverity

Possible values include: ‘Informational’, ‘Low’, ‘Medium’, ‘High’

Returns:



47
48
49
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 47

def reported_severity
  @reported_severity
end

#tagsHash{String => String}

Returns Resource tags.

Returns:

  • (Hash{String => String})

    Resource tags



25
26
27
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 25

def tags
  @tags
end

#typeString

Returns Resource type.

Returns:

  • (String)

    Resource type



22
23
24
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 22

def type
  @type
end

#unhealthy_device_countInteger

solution

Returns:

  • (Integer)

    the number of the unhealthy devices within the



54
55
56
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 54

def unhealthy_device_count
  @unhealthy_device_count
end

Class Method Details

.mapperObject

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



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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
# File 'lib/2019-08-01/generated/azure_mgmt_security/models/io_tsecurity_aggregated_recommendation.rb', line 65

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'IoTSecurityAggregatedRecommendation',
    type: {
      name: 'Composite',
      class_name: 'IoTSecurityAggregatedRecommendation',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        recommendation_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.recommendationName',
          type: {
            name: 'String'
          }
        },
        recommendation_display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.recommendationDisplayName',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        recommendation_type_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.recommendationTypeId',
          type: {
            name: 'String'
          }
        },
        detected_by: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.detectedBy',
          type: {
            name: 'String'
          }
        },
        remediation_steps: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.remediationSteps',
          type: {
            name: 'String'
          }
        },
        reported_severity: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.reportedSeverity',
          type: {
            name: 'String'
          }
        },
        healthy_devices: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.healthyDevices',
          type: {
            name: 'Number'
          }
        },
        unhealthy_device_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.unhealthyDeviceCount',
          type: {
            name: 'Number'
          }
        },
        log_analytics_query: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.logAnalyticsQuery',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end