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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 343eab5a6f2b044d4988828d1fccf20478ab3efcb7539bf0e8a1b299fc75a55e
4
- data.tar.gz: 4cb7c9b357bcbc1034ad0a4960753a66351d32b218afd6c545d2e576f528699d
3
+ metadata.gz: facee876e1741e396faed8abcba8b85631bffb4b4ffbbec308433ccfa561ba75
4
+ data.tar.gz: 1766abf0dcf47f985ff02548da4531f6eb233eabc21b5e16f864e97f68e878c9
5
5
  SHA512:
6
- metadata.gz: 673a104bdea013f8fca3517d1c16820225840e0d87f8199c03158a7e3b342af3c1a704e0778b210c2f0ebc773a53813d21d398197624f40abecb265f089d7416
7
- data.tar.gz: 42819b3465261f2224a18989ac4676d11a0f1075ab010aa4d6654142404dea9b1f545beeed90506c896030c9f386f1763deda2bfa5341c29dccdb8bb5abf124b
6
+ metadata.gz: 6700ff579833290fa8899e83751cb07c9dc78e5d119c0b30cd06df6aab795fb30173401869b3e185336ef5bd799ba3b31da8c0b3156b3f305ed4a4898820203f
7
+ data.tar.gz: b2489200d1bbff12750dd0f60e8565ee39488bf11e3329cdc6d67cd23161db976ce1c58586f095d43b81c9a4605607a33f544739f1d53ec448d1d38c6cdfe5d2
@@ -168,7 +168,7 @@ module Azure::Security::Mgmt::V2015_06_01_preview
168
168
  #
169
169
  def add_telemetry
170
170
  sdk_information = 'azure_mgmt_security'
171
- sdk_information = "#{sdk_information}/0.18.1"
171
+ sdk_information = "#{sdk_information}/0.18.2"
172
172
  add_user_agent_information(sdk_information)
173
173
  end
174
174
  end
@@ -193,7 +193,7 @@ module Azure::Security::Mgmt::V2017_08_01_preview
193
193
  #
194
194
  def add_telemetry
195
195
  sdk_information = 'azure_mgmt_security'
196
- sdk_information = "#{sdk_information}/0.18.1"
196
+ sdk_information = "#{sdk_information}/0.18.2"
197
197
  add_user_agent_information(sdk_information)
198
198
  end
199
199
  end
@@ -121,7 +121,7 @@ module Azure::Security::Mgmt::V2017_08_01
121
121
  #
122
122
  def add_telemetry
123
123
  sdk_information = 'azure_mgmt_security'
124
- sdk_information = "#{sdk_information}/0.18.1"
124
+ sdk_information = "#{sdk_information}/0.18.2"
125
125
  add_user_agent_information(sdk_information)
126
126
  end
127
127
  end
@@ -124,7 +124,7 @@ module Azure::Security::Mgmt::V2018_06_01
124
124
  #
125
125
  def add_telemetry
126
126
  sdk_information = 'azure_mgmt_security'
127
- sdk_information = "#{sdk_information}/0.18.1"
127
+ sdk_information = "#{sdk_information}/0.18.2"
128
128
  add_user_agent_information(sdk_information)
129
129
  end
130
130
  end
@@ -138,7 +138,7 @@ module Azure::Security::Mgmt::V2019_01_01_preview
138
138
  #
139
139
  def add_telemetry
140
140
  sdk_information = 'azure_mgmt_security'
141
- sdk_information = "#{sdk_information}/0.18.1"
141
+ sdk_information = "#{sdk_information}/0.18.2"
142
142
  add_user_agent_information(sdk_information)
143
143
  end
144
144
  end
@@ -132,7 +132,7 @@ module Azure::Security::Mgmt::V2019_01_01
132
132
  #
133
133
  def add_telemetry
134
134
  sdk_information = 'azure_mgmt_security'
135
- sdk_information = "#{sdk_information}/0.18.1"
135
+ sdk_information = "#{sdk_information}/0.18.2"
136
136
  add_user_agent_information(sdk_information)
137
137
  end
138
138
  end
@@ -157,7 +157,7 @@ module Azure::Security::Mgmt::V2019_08_01
157
157
  #
158
158
  def add_telemetry
159
159
  sdk_information = 'azure_mgmt_security'
160
- sdk_information = "#{sdk_information}/0.18.1"
160
+ sdk_information = "#{sdk_information}/0.18.2"
161
161
  add_user_agent_information(sdk_information)
162
162
  end
163
163
  end
@@ -0,0 +1,48 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2020-01-01-preview/generated/azure_mgmt_security/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::Security::Mgmt::V2020_01_01_preview
23
+ autoload :SecureScores, '2020-01-01-preview/generated/azure_mgmt_security/secure_scores.rb'
24
+ autoload :SecureScoreControls, '2020-01-01-preview/generated/azure_mgmt_security/secure_score_controls.rb'
25
+ autoload :SecureScoreControlDefinitions, '2020-01-01-preview/generated/azure_mgmt_security/secure_score_control_definitions.rb'
26
+ autoload :SecurityCenter, '2020-01-01-preview/generated/azure_mgmt_security/security_center.rb'
27
+
28
+ module Models
29
+ autoload :SecureScoreControlDefinitionList, '2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_list.rb'
30
+ autoload :Resource, '2020-01-01-preview/generated/azure_mgmt_security/models/resource.rb'
31
+ autoload :SecureScoreControlList, '2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_list.rb'
32
+ autoload :SecureScoreControlScore, '2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_score.rb'
33
+ autoload :Tags, '2020-01-01-preview/generated/azure_mgmt_security/models/tags.rb'
34
+ autoload :AzureResourceLink, '2020-01-01-preview/generated/azure_mgmt_security/models/azure_resource_link.rb'
35
+ autoload :ETag, '2020-01-01-preview/generated/azure_mgmt_security/models/etag.rb'
36
+ autoload :SecureScoresList, '2020-01-01-preview/generated/azure_mgmt_security/models/secure_scores_list.rb'
37
+ autoload :TrackedResource, '2020-01-01-preview/generated/azure_mgmt_security/models/tracked_resource.rb'
38
+ autoload :Location, '2020-01-01-preview/generated/azure_mgmt_security/models/location.rb'
39
+ autoload :SecureScoreControlDefinitionSource, '2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_source.rb'
40
+ autoload :Kind, '2020-01-01-preview/generated/azure_mgmt_security/models/kind.rb'
41
+ autoload :SecureScoreItem, '2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_item.rb'
42
+ autoload :SecureScoreControlDefinitionItem, '2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_definition_item.rb'
43
+ autoload :SecureScoreControlDetails, '2020-01-01-preview/generated/azure_mgmt_security/models/secure_score_control_details.rb'
44
+ autoload :AscLocation, '2020-01-01-preview/generated/azure_mgmt_security/models/asc_location.rb'
45
+ autoload :ControlType, '2020-01-01-preview/generated/azure_mgmt_security/models/control_type.rb'
46
+ autoload :ExpandControlsEnum, '2020-01-01-preview/generated/azure_mgmt_security/models/expand_controls_enum.rb'
47
+ end
48
+ end
@@ -0,0 +1,73 @@
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_preview
7
+ module Models
8
+ #
9
+ # The ASC location of the subscription is in the "name" field
10
+ #
11
+ class AscLocation < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return
16
+ attr_accessor :properties
17
+
18
+
19
+ #
20
+ # Mapper for AscLocation 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: 'AscLocation',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'AscLocation',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ type: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'type',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ properties: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'properties',
63
+ type: {
64
+ name: 'Object'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,47 @@
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_preview
7
+ module Models
8
+ #
9
+ # Describes an Azure resource with kind
10
+ #
11
+ class AzureResourceLink
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Azure resource Id
16
+ attr_accessor :id
17
+
18
+
19
+ #
20
+ # Mapper for AzureResourceLink 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: 'AzureResourceLink',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'AzureResourceLink',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ 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_preview
7
+ module Models
8
+ #
9
+ # Defines values for ControlType
10
+ #
11
+ module ControlType
12
+ BuiltIn = "BuiltIn"
13
+ Custom = "Custom"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,48 @@
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_preview
7
+ module Models
8
+ #
9
+ # Entity tag is used for comparing two or more entities from the same
10
+ # requested resource.
11
+ #
12
+ class ETag
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Entity tag is used for comparing two or more entities
17
+ # from the same requested resource.
18
+ attr_accessor :etag
19
+
20
+
21
+ #
22
+ # Mapper for ETag 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: 'ETag',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'ETag',
33
+ model_properties: {
34
+ etag: {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'etag',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,15 @@
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_preview
7
+ module Models
8
+ #
9
+ # Defines values for ExpandControlsEnum
10
+ #
11
+ module ExpandControlsEnum
12
+ Definition = "definition"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,46 @@
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_preview
7
+ module Models
8
+ #
9
+ # Describes an Azure resource with kind
10
+ #
11
+ class Kind
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Kind of the resource
16
+ attr_accessor :kind
17
+
18
+
19
+ #
20
+ # Mapper for Kind 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: 'Kind',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'Kind',
31
+ model_properties: {
32
+ kind: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'kind',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,47 @@
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_preview
7
+ module Models
8
+ #
9
+ # Describes an Azure resource with location
10
+ #
11
+ class Location
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Location where the resource is stored
16
+ attr_accessor :location
17
+
18
+
19
+ #
20
+ # Mapper for Location 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: 'Location',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'Location',
31
+ model_properties: {
32
+ location: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'location',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,80 @@
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_preview
7
+ module Models
8
+ #
9
+ # Describes an Azure resource.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource Id
16
+ attr_accessor :id
17
+
18
+ # @return [String] Resource name
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type
22
+ attr_accessor :type
23
+
24
+
25
+ # @return [String] the name of the resource group of the resource.
26
+ def resource_group
27
+ unless self.id.nil?
28
+ groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
29
+ groups.captures[0].strip if groups
30
+ end
31
+ end
32
+
33
+
34
+ #
35
+ # Mapper for Resource class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'Resource',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'Resource',
46
+ model_properties: {
47
+ id: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'id',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ name: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'name',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ type: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ read_only: true,
69
+ serialized_name: 'type',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end