azure_mgmt_security 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-06-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
  3. data/lib/2017-08-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
  4. data/lib/2017-08-01/generated/azure_mgmt_security/security_center.rb +1 -1
  5. data/lib/2018-06-01/generated/azure_mgmt_security/security_center.rb +1 -1
  6. data/lib/2019-01-01-preview/generated/azure_mgmt_security/security_center.rb +1 -1
  7. data/lib/2019-01-01/generated/azure_mgmt_security/security_center.rb +1 -1
  8. data/lib/2019-08-01/generated/azure_mgmt_security/security_center.rb +1 -1
  9. data/lib/2020-01-01-preview/generated/azure_mgmt_security.rb +48 -0
  10. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/asc_location.rb +73 -0
  11. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/azure_resource_link.rb +47 -0
  12. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/control_type.rb +16 -0
  13. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/etag.rb +48 -0
  14. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/expand_controls_enum.rb +15 -0
  15. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/kind.rb +46 -0
  16. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/location.rb +47 -0
  17. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/resource.rb +80 -0
  18. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_item.rb +141 -0
  19. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_list.rb +101 -0
  20. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_source.rb +47 -0
  21. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_details.rb +153 -0
  22. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_list.rb +101 -0
  23. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_score.rb +69 -0
  24. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_item.rb +104 -0
  25. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/secure_scores_list.rb +101 -0
  26. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/tags.rb +55 -0
  27. data/lib/2020-01-01-preview/generated/azure_mgmt_security/models/tracked_resource.rb +126 -0
  28. data/lib/2020-01-01-preview/generated/azure_mgmt_security/module_definition.rb +9 -0
  29. data/lib/2020-01-01-preview/generated/azure_mgmt_security/secure_score_control_definitions.rb +423 -0
  30. data/lib/2020-01-01-preview/generated/azure_mgmt_security/secure_score_controls.rb +444 -0
  31. data/lib/2020-01-01-preview/generated/azure_mgmt_security/secure_scores.rb +326 -0
  32. data/lib/2020-01-01-preview/generated/azure_mgmt_security/security_center.rb +139 -0
  33. data/lib/2020-01-01/generated/azure_mgmt_security.rb +121 -0
  34. data/lib/2020-01-01/generated/azure_mgmt_security/adaptive_application_controls.rb +394 -0
  35. data/lib/2020-01-01/generated/azure_mgmt_security/adaptive_network_hardenings.rb +539 -0
  36. data/lib/2020-01-01/generated/azure_mgmt_security/allowed_connections.rb +535 -0
  37. data/lib/2020-01-01/generated/azure_mgmt_security/assessments.rb +555 -0
  38. data/lib/2020-01-01/generated/azure_mgmt_security/assessments_metadata.rb +799 -0
  39. data/lib/2020-01-01/generated/azure_mgmt_security/discovered_security_solutions.rb +532 -0
  40. data/lib/2020-01-01/generated/azure_mgmt_security/external_security_solutions.rb +525 -0
  41. data/lib/2020-01-01/generated/azure_mgmt_security/jit_network_access_policies.rb +1295 -0
  42. data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_connectivity_state.rb +17 -0
  43. data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_connectivity_state1.rb +48 -0
  44. data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_external_security_solution.rb +99 -0
  45. data/lib/2020-01-01/generated/azure_mgmt_security/models/aad_solution_properties.rb +83 -0
  46. data/lib/2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardening.rb +116 -0
  47. data/lib/2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardening_enforce_request.rb +77 -0
  48. data/lib/2020-01-01/generated/azure_mgmt_security/models/adaptive_network_hardenings_list.rb +99 -0
  49. data/lib/2020-01-01/generated/azure_mgmt_security/models/allowed_connections_list.rb +100 -0
  50. data/lib/2020-01-01/generated/azure_mgmt_security/models/allowed_connections_resource.rb +118 -0
  51. data/lib/2020-01-01/generated/azure_mgmt_security/models/app_whitelisting_group.rb +207 -0
  52. data/lib/2020-01-01/generated/azure_mgmt_security/models/app_whitelisting_groups.rb +56 -0
  53. data/lib/2020-01-01/generated/azure_mgmt_security/models/app_whitelisting_issue_summary.rb +61 -0
  54. data/lib/2020-01-01/generated/azure_mgmt_security/models/asc_location.rb +73 -0
  55. data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_links.rb +47 -0
  56. data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_status.rb +71 -0
  57. data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_status_code.rb +17 -0
  58. data/lib/2020-01-01/generated/azure_mgmt_security/models/assessment_type.rb +18 -0
  59. data/lib/2020-01-01/generated/azure_mgmt_security/models/ata_external_security_solution.rb +98 -0
  60. data/lib/2020-01-01/generated/azure_mgmt_security/models/ata_solution_properties.rb +87 -0
  61. data/lib/2020-01-01/generated/azure_mgmt_security/models/azure_resource_details.rb +62 -0
  62. data/lib/2020-01-01/generated/azure_mgmt_security/models/category.rb +19 -0
  63. data/lib/2020-01-01/generated/azure_mgmt_security/models/cef_external_security_solution.rb +98 -0
  64. data/lib/2020-01-01/generated/azure_mgmt_security/models/cef_solution_properties.rb +109 -0
  65. data/lib/2020-01-01/generated/azure_mgmt_security/models/connectable_resource.rb +91 -0
  66. data/lib/2020-01-01/generated/azure_mgmt_security/models/connected_resource.rb +71 -0
  67. data/lib/2020-01-01/generated/azure_mgmt_security/models/connected_workspace.rb +47 -0
  68. data/lib/2020-01-01/generated/azure_mgmt_security/models/connection_type.rb +16 -0
  69. data/lib/2020-01-01/generated/azure_mgmt_security/models/direction.rb +16 -0
  70. data/lib/2020-01-01/generated/azure_mgmt_security/models/discovered_security_solution.rb +129 -0
  71. data/lib/2020-01-01/generated/azure_mgmt_security/models/discovered_security_solution_list.rb +99 -0
  72. data/lib/2020-01-01/generated/azure_mgmt_security/models/effective_network_security_groups.rb +66 -0
  73. data/lib/2020-01-01/generated/azure_mgmt_security/models/etag.rb +48 -0
  74. data/lib/2020-01-01/generated/azure_mgmt_security/models/expand_enum.rb +16 -0
  75. data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution.rb +98 -0
  76. data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_kind.rb +17 -0
  77. data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_kind1.rb +47 -0
  78. data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_list.rb +101 -0
  79. data/lib/2020-01-01/generated/azure_mgmt_security/models/external_security_solution_properties.rb +88 -0
  80. data/lib/2020-01-01/generated/azure_mgmt_security/models/implementation_effort.rb +17 -0
  81. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policies_list.rb +99 -0
  82. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy.rb +149 -0
  83. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_port.rb +70 -0
  84. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_request.rb +68 -0
  85. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_initiate_virtual_machine.rb +70 -0
  86. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_policy_virtual_machine.rb +81 -0
  87. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_port_rule.rb +103 -0
  88. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request.rb +89 -0
  89. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_port.rb +128 -0
  90. data/lib/2020-01-01/generated/azure_mgmt_security/models/jit_network_access_request_virtual_machine.rb +69 -0
  91. data/lib/2020-01-01/generated/azure_mgmt_security/models/kind.rb +46 -0
  92. data/lib/2020-01-01/generated/azure_mgmt_security/models/location.rb +47 -0
  93. data/lib/2020-01-01/generated/azure_mgmt_security/models/on_premise_resource_details.rb +95 -0
  94. data/lib/2020-01-01/generated/azure_mgmt_security/models/path_recommendation.rb +156 -0
  95. data/lib/2020-01-01/generated/azure_mgmt_security/models/protection_mode.rb +80 -0
  96. data/lib/2020-01-01/generated/azure_mgmt_security/models/protocol.rb +17 -0
  97. data/lib/2020-01-01/generated/azure_mgmt_security/models/publisher_info.rb +84 -0
  98. data/lib/2020-01-01/generated/azure_mgmt_security/models/resource.rb +80 -0
  99. data/lib/2020-01-01/generated/azure_mgmt_security/models/resource_details.rb +47 -0
  100. data/lib/2020-01-01/generated/azure_mgmt_security/models/rule.rb +111 -0
  101. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment.rb +156 -0
  102. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_list.rb +101 -0
  103. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata.rb +221 -0
  104. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_list.rb +100 -0
  105. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_partner_data.rb +70 -0
  106. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_metadata_properties.rb +194 -0
  107. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_assessment_partner_data.rb +57 -0
  108. data/lib/2020-01-01/generated/azure_mgmt_security/models/security_family.rb +18 -0
  109. data/lib/2020-01-01/generated/azure_mgmt_security/models/server_vulnerability_assessment.rb +76 -0
  110. data/lib/2020-01-01/generated/azure_mgmt_security/models/server_vulnerability_assessments_list.rb +55 -0
  111. data/lib/2020-01-01/generated/azure_mgmt_security/models/severity.rb +17 -0
  112. data/lib/2020-01-01/generated/azure_mgmt_security/models/status.rb +16 -0
  113. data/lib/2020-01-01/generated/azure_mgmt_security/models/status_reason.rb +17 -0
  114. data/lib/2020-01-01/generated/azure_mgmt_security/models/tags.rb +55 -0
  115. data/lib/2020-01-01/generated/azure_mgmt_security/models/threats.rb +22 -0
  116. data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_list.rb +100 -0
  117. data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_resource.rb +118 -0
  118. data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource.rb +154 -0
  119. data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource_child.rb +49 -0
  120. data/lib/2020-01-01/generated/azure_mgmt_security/models/topology_single_resource_parent.rb +49 -0
  121. data/lib/2020-01-01/generated/azure_mgmt_security/models/tracked_resource.rb +126 -0
  122. data/lib/2020-01-01/generated/azure_mgmt_security/models/transport_protocol.rb +16 -0
  123. data/lib/2020-01-01/generated/azure_mgmt_security/models/user_impact.rb +17 -0
  124. data/lib/2020-01-01/generated/azure_mgmt_security/models/user_recommendation.rb +58 -0
  125. data/lib/2020-01-01/generated/azure_mgmt_security/models/vm_recommendation.rb +81 -0
  126. data/lib/2020-01-01/generated/azure_mgmt_security/module_definition.rb +9 -0
  127. data/lib/2020-01-01/generated/azure_mgmt_security/security_center.rb +172 -0
  128. data/lib/2020-01-01/generated/azure_mgmt_security/server_vulnerability_assessment_operations.rb +462 -0
  129. data/lib/2020-01-01/generated/azure_mgmt_security/topology.rb +530 -0
  130. data/lib/azure_mgmt_security.rb +2 -0
  131. data/lib/profiles/latest/modules/security_profile_module.rb +366 -258
  132. data/lib/version.rb +1 -1
  133. metadata +123 -2
@@ -0,0 +1,194 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Security::Mgmt::V2020_01_01
7
+ module Models
8
+ #
9
+ # Describes properties of an assessment metadata.
10
+ #
11
+ class SecurityAssessmentMetadataProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] User friendly display name of the assessment
16
+ attr_accessor :display_name
17
+
18
+ # @return [String] Azure resource ID of the policy definition that turns
19
+ # this assessment calculation on
20
+ attr_accessor :policy_definition_id
21
+
22
+ # @return [String] Human readable description of the assessment
23
+ attr_accessor :description
24
+
25
+ # @return [String] Human readable description of what you should do to
26
+ # mitigate this security issue
27
+ attr_accessor :remediation_description
28
+
29
+ # @return [Array<Category>]
30
+ attr_accessor :category
31
+
32
+ # @return [Severity] The severity level of the assessment. Possible
33
+ # values include: 'Low', 'Medium', 'High'
34
+ attr_accessor :severity
35
+
36
+ # @return [UserImpact] The user impact of the assessment. Possible values
37
+ # include: 'Low', 'Moderate', 'High'
38
+ attr_accessor :user_impact
39
+
40
+ # @return [ImplementationEffort] The implementation effort required to
41
+ # remediate this assessment. Possible values include: 'Low', 'Moderate',
42
+ # 'High'
43
+ attr_accessor :implementation_effort
44
+
45
+ # @return [Array<Threats>]
46
+ attr_accessor :threats
47
+
48
+ # @return [Boolean] True if this assessment is in preview release status
49
+ attr_accessor :preview
50
+
51
+ # @return [AssessmentType] BuiltIn if the assessment based on built-in
52
+ # Azure Policy definition, Custom if the assessment based on custom Azure
53
+ # Policy definition. Possible values include: 'BuiltIn', 'CustomPolicy',
54
+ # 'CustomerManaged', 'VerifiedPartner'
55
+ attr_accessor :assessment_type
56
+
57
+ # @return [SecurityAssessmentMetadataPartnerData]
58
+ attr_accessor :partner_data
59
+
60
+
61
+ #
62
+ # Mapper for SecurityAssessmentMetadataProperties class as Ruby Hash.
63
+ # This will be used for serialization/deserialization.
64
+ #
65
+ def self.mapper()
66
+ {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'SecurityAssessmentMetadataProperties',
70
+ type: {
71
+ name: 'Composite',
72
+ class_name: 'SecurityAssessmentMetadataProperties',
73
+ model_properties: {
74
+ display_name: {
75
+ client_side_validation: true,
76
+ required: true,
77
+ serialized_name: 'displayName',
78
+ type: {
79
+ name: 'String'
80
+ }
81
+ },
82
+ policy_definition_id: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'policyDefinitionId',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ description: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'description',
95
+ type: {
96
+ name: 'String'
97
+ }
98
+ },
99
+ remediation_description: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ serialized_name: 'remediationDescription',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ },
107
+ category: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ serialized_name: 'category',
111
+ type: {
112
+ name: 'Sequence',
113
+ element: {
114
+ client_side_validation: true,
115
+ required: false,
116
+ serialized_name: 'CategoryElementType',
117
+ type: {
118
+ name: 'String'
119
+ }
120
+ }
121
+ }
122
+ },
123
+ severity: {
124
+ client_side_validation: true,
125
+ required: true,
126
+ serialized_name: 'severity',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ user_impact: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ serialized_name: 'userImpact',
135
+ type: {
136
+ name: 'String'
137
+ }
138
+ },
139
+ implementation_effort: {
140
+ client_side_validation: true,
141
+ required: false,
142
+ serialized_name: 'implementationEffort',
143
+ type: {
144
+ name: 'String'
145
+ }
146
+ },
147
+ threats: {
148
+ client_side_validation: true,
149
+ required: false,
150
+ serialized_name: 'threats',
151
+ type: {
152
+ name: 'Sequence',
153
+ element: {
154
+ client_side_validation: true,
155
+ required: false,
156
+ serialized_name: 'ThreatsElementType',
157
+ type: {
158
+ name: 'String'
159
+ }
160
+ }
161
+ }
162
+ },
163
+ preview: {
164
+ client_side_validation: true,
165
+ required: false,
166
+ serialized_name: 'preview',
167
+ type: {
168
+ name: 'Boolean'
169
+ }
170
+ },
171
+ assessment_type: {
172
+ client_side_validation: true,
173
+ required: true,
174
+ serialized_name: 'assessmentType',
175
+ type: {
176
+ name: 'String'
177
+ }
178
+ },
179
+ partner_data: {
180
+ client_side_validation: true,
181
+ required: false,
182
+ serialized_name: 'partnerData',
183
+ type: {
184
+ name: 'Composite',
185
+ class_name: 'SecurityAssessmentMetadataPartnerData'
186
+ }
187
+ }
188
+ }
189
+ }
190
+ }
191
+ end
192
+ end
193
+ end
194
+ end
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Security::Mgmt::V2020_01_01
7
+ module Models
8
+ #
9
+ # Data regarding 3rd party partner integration
10
+ #
11
+ class SecurityAssessmentPartnerData
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the company of the partner
16
+ attr_accessor :partner_name
17
+
18
+ # @return [String] secret to authenticate the partner - write only
19
+ attr_accessor :secret
20
+
21
+
22
+ #
23
+ # Mapper for SecurityAssessmentPartnerData class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'SecurityAssessmentPartnerData',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'SecurityAssessmentPartnerData',
34
+ model_properties: {
35
+ partner_name: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'partnerName',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ secret: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'secret',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,18 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Security::Mgmt::V2020_01_01
7
+ module Models
8
+ #
9
+ # Defines values for SecurityFamily
10
+ #
11
+ module SecurityFamily
12
+ Waf = "Waf"
13
+ Ngfw = "Ngfw"
14
+ SaasWaf = "SaasWaf"
15
+ Va = "Va"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,76 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Security::Mgmt::V2020_01_01
7
+ module Models
8
+ #
9
+ # Describes the server vulnerability assessment details on a resource
10
+ #
11
+ class ServerVulnerabilityAssessment < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Enum] The provisioningState of the vulnerability assessment
16
+ # capability on the VM. Possible values include: 'Succeeded', 'Failed',
17
+ # 'Canceled', 'Provisioning', 'Deprovisioning'
18
+ attr_accessor :provisioning_state
19
+
20
+
21
+ #
22
+ # Mapper for ServerVulnerabilityAssessment class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'ServerVulnerabilityAssessment',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ServerVulnerabilityAssessment',
33
+ model_properties: {
34
+ id: {
35
+ client_side_validation: true,
36
+ required: false,
37
+ read_only: true,
38
+ serialized_name: 'id',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ name: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'name',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ type: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'type',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ provisioning_state: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'properties.provisioningState',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ end
74
+ end
75
+ end
76
+ end
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Security::Mgmt::V2020_01_01
7
+ module Models
8
+ #
9
+ # List of server vulnerability assessments
10
+ #
11
+ class ServerVulnerabilityAssessmentsList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<ServerVulnerabilityAssessment>]
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for ServerVulnerabilityAssessmentsList class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ServerVulnerabilityAssessmentsList',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ServerVulnerabilityAssessmentsList',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'ServerVulnerabilityAssessmentElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'ServerVulnerabilityAssessment'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Security::Mgmt::V2020_01_01
7
+ module Models
8
+ #
9
+ # Defines values for Severity
10
+ #
11
+ module Severity
12
+ Low = "Low"
13
+ Medium = "Medium"
14
+ High = "High"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Security::Mgmt::V2020_01_01
7
+ module Models
8
+ #
9
+ # Defines values for Status
10
+ #
11
+ module Status
12
+ Revoked = "Revoked"
13
+ Initiated = "Initiated"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Security::Mgmt::V2020_01_01
7
+ module Models
8
+ #
9
+ # Defines values for StatusReason
10
+ #
11
+ module StatusReason
12
+ Expired = "Expired"
13
+ UserRequested = "UserRequested"
14
+ NewerRequestInitiated = "NewerRequestInitiated"
15
+ end
16
+ end
17
+ end