azure_mgmt_policy_insights 0.17.5 → 0.17.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE.txt +20 -20
  3. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights.rb +0 -0
  4. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/column.rb +0 -0
  5. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  6. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  7. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  8. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
  9. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results_table.rb +0 -0
  10. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results_table_columns.rb +0 -0
  11. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results_table_metadata.rb +0 -0
  12. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  13. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results_table.rb +0 -0
  14. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results_table_columns.rb +0 -0
  15. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results_table_metadata.rb +0 -0
  16. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  17. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  18. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  19. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  20. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  21. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/operations.rb +0 -0
  22. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_events.rb +0 -0
  23. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  24. data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_states.rb +0 -0
  25. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights.rb +0 -0
  26. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  27. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  28. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  29. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_event.rb +0 -0
  30. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
  31. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
  32. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  33. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  34. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  35. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  36. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  37. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  38. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/operations.rb +0 -0
  39. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_events.rb +0 -0
  40. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  41. data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_states.rb +0 -0
  42. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights.rb +0 -0
  43. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  44. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  45. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  46. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +0 -0
  47. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +0 -0
  48. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_event.rb +0 -0
  49. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
  50. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
  51. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  52. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  53. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  54. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  55. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  56. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/summarize_results.rb +0 -0
  57. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/summary.rb +0 -0
  58. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/models/summary_results.rb +0 -0
  59. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  60. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/operations.rb +0 -0
  61. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_events.rb +0 -0
  62. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  63. data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_states.rb +0 -0
  64. data/lib/2018-04-04/generated/azure_mgmt_policy_insights.rb +0 -0
  65. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  66. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  67. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  68. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +0 -0
  69. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +0 -0
  70. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_event.rb +0 -0
  71. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +0 -0
  72. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
  73. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  74. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  75. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  76. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  77. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  78. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/summarize_results.rb +0 -0
  79. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/summary.rb +0 -0
  80. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/models/summary_results.rb +0 -0
  81. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  82. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/operations.rb +0 -0
  83. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_events.rb +0 -0
  84. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  85. data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb +0 -0
  86. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights.rb +0 -0
  87. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_definition.rb +0 -0
  88. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_response.rb +0 -0
  89. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +0 -0
  90. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb +0 -0
  91. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  92. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  93. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  94. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +0 -0
  95. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +0 -0
  96. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb +0 -0
  97. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb +0 -0
  98. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +0 -0
  99. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  100. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  101. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resource.rb +0 -0
  102. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resources_query_results.rb +0 -0
  103. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  104. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  105. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  106. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation.rb +0 -0
  107. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb +0 -0
  108. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb +0 -0
  109. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb +0 -0
  110. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_filters.rb +0 -0
  111. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb +0 -0
  112. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summarize_results.rb +0 -0
  113. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary.rb +0 -0
  114. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary_results.rb +0 -0
  115. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/tracked_resource_modification_details.rb +0 -0
  116. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +0 -0
  117. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  118. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/operations.rb +0 -0
  119. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  120. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb +0 -0
  121. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb +0 -0
  122. data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb +0 -0
  123. data/lib/2019-10-01/generated/azure_mgmt_policy_insights.rb +0 -0
  124. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/compliance_detail.rb +0 -0
  125. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_definition.rb +0 -0
  126. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_response.rb +0 -0
  127. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +0 -0
  128. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb +0 -0
  129. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operation.rb +0 -0
  130. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operation_display.rb +0 -0
  131. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +0 -0
  132. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +0 -0
  133. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +0 -0
  134. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb +0 -0
  135. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_group_summary.rb +0 -0
  136. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb +0 -0
  137. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata_collection.rb +0 -0
  138. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_state.rb +36 -0
  139. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +0 -0
  140. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +0 -0
  141. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure.rb +0 -0
  142. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +0 -0
  143. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_options.rb +0 -0
  144. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb +0 -0
  145. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summarize_results.rb +0 -0
  146. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb +0 -0
  147. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary_results.rb +0 -0
  148. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +0 -0
  149. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/module_definition.rb +0 -0
  150. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/operations.rb +0 -0
  151. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
  152. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_metadata_operations.rb +0 -0
  153. data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_states.rb +242 -0
  154. data/lib/azure_mgmt_policy_insights.rb +4 -4
  155. data/lib/module_definition.rb +7 -7
  156. data/lib/profiles/latest/modules/policyinsights_profile_module.rb +0 -0
  157. data/lib/profiles/latest/policyinsights_latest_profile_client.rb +40 -40
  158. data/lib/profiles/latest/policyinsights_module_definition.rb +8 -8
  159. data/lib/version.rb +1 -1
  160. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c44d3c6fc9a14e7027ddff3986c422bca795793b
4
- data.tar.gz: 632ab786e0d1f392e1e3307d0670e4e9b1e55979
2
+ SHA256:
3
+ metadata.gz: c15a5879baf30d5f776827203bfcd5f8f4aac2b8c59aa668afbc86cae85e2c07
4
+ data.tar.gz: f2d9f6ccb303a94ad27ed4f2c4a1e9e5ccdeaa7ecbfda6f1a2085530ee2a58b6
5
5
  SHA512:
6
- metadata.gz: 35ec591550eda064bc094a5daa4a7f9c3f48d9fb00675f0132849326efe392abc3219bc6ff3609d8ac770d30f037d3fa06938daf24f210c78e4b2e74e0f1bcdb
7
- data.tar.gz: 7c2b2baeb4d47132e81962f0c80d06b112766413b0605a5355daf9e88757e8fddc85d52a37549a0ef153c72dee053af5637569913a9145df71cd9197538bae38
6
+ metadata.gz: 14ed4d1f690ccd95b21e3d28afeda2b68c937cb7029492d552ce16d0dd2eed7abf7719c088a9416745760c3d828758104b62bae98d3c6e10693f89b94eecd954
7
+ data.tar.gz: 8e6d62c827a06a2fe85609da870a1f40483b4d3d0a9c3779ba6ce42cdf9d47fe16d98d393aba96232382abeee463c654a94a3442a2c42c1c796827a627bf9dcb
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 Microsoft Corporation
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Microsoft Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  THE SOFTWARE.
@@ -129,7 +129,7 @@ module Azure::PolicyInsights::Mgmt::V2017_08_09_preview
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_policy_insights'
132
- sdk_information = "#{sdk_information}/0.17.5"
132
+ sdk_information = "#{sdk_information}/0.17.6"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -129,7 +129,7 @@ module Azure::PolicyInsights::Mgmt::V2017_10_17_preview
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_policy_insights'
132
- sdk_information = "#{sdk_information}/0.17.5"
132
+ sdk_information = "#{sdk_information}/0.17.6"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -129,7 +129,7 @@ module Azure::PolicyInsights::Mgmt::V2017_12_12_preview
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_policy_insights'
132
- sdk_information = "#{sdk_information}/0.17.5"
132
+ sdk_information = "#{sdk_information}/0.17.6"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -129,7 +129,7 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_policy_insights'
132
- sdk_information = "#{sdk_information}/0.17.5"
132
+ sdk_information = "#{sdk_information}/0.17.6"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -136,7 +136,7 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
136
136
  #
137
137
  def add_telemetry
138
138
  sdk_information = 'azure_mgmt_policy_insights'
139
- sdk_information = "#{sdk_information}/0.17.5"
139
+ sdk_information = "#{sdk_information}/0.17.6"
140
140
  add_user_agent_information(sdk_information)
141
141
  end
142
142
  end
@@ -117,6 +117,15 @@ module Azure::PolicyInsights::Mgmt::V2019_10_01
117
117
  # @return [Array<String>] Policy definition group names.
118
118
  attr_accessor :policy_definition_group_names
119
119
 
120
+ # @return [String] Evaluated policy definition version.
121
+ attr_accessor :policy_definition_version
122
+
123
+ # @return [String] Evaluated policy set definition version.
124
+ attr_accessor :policy_set_definition_version
125
+
126
+ # @return [String] Evaluated policy assignment version.
127
+ attr_accessor :policy_assignment_version
128
+
120
129
 
121
130
  #
122
131
  # Mapper for PolicyState class as Ruby Hash.
@@ -394,6 +403,33 @@ module Azure::PolicyInsights::Mgmt::V2019_10_01
394
403
  }
395
404
  }
396
405
  }
406
+ },
407
+ policy_definition_version: {
408
+ client_side_validation: true,
409
+ required: false,
410
+ read_only: true,
411
+ serialized_name: 'policyDefinitionVersion',
412
+ type: {
413
+ name: 'String'
414
+ }
415
+ },
416
+ policy_set_definition_version: {
417
+ client_side_validation: true,
418
+ required: false,
419
+ read_only: true,
420
+ serialized_name: 'policySetDefinitionVersion',
421
+ type: {
422
+ name: 'String'
423
+ }
424
+ },
425
+ policy_assignment_version: {
426
+ client_side_validation: true,
427
+ required: false,
428
+ read_only: true,
429
+ serialized_name: 'policyAssignmentVersion',
430
+ type: {
431
+ name: 'String'
432
+ }
397
433
  }
398
434
  }
399
435
  }
@@ -129,7 +129,7 @@ module Azure::PolicyInsights::Mgmt::V2019_10_01
129
129
  #
130
130
  def add_telemetry
131
131
  sdk_information = 'azure_mgmt_policy_insights'
132
- sdk_information = "#{sdk_information}/0.17.5"
132
+ sdk_information = "#{sdk_information}/0.17.6"
133
133
  add_user_agent_information(sdk_information)
134
134
  end
135
135
  end
@@ -1005,6 +1005,82 @@ module Azure::PolicyInsights::Mgmt::V2019_10_01
1005
1005
  promise.execute
1006
1006
  end
1007
1007
 
1008
+ #
1009
+ # Triggers a policy evaluation scan for all the resources under the
1010
+ # subscription
1011
+ #
1012
+ # @param subscription_id [String] Microsoft Azure subscription ID.
1013
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1014
+ # will be added to the HTTP request.
1015
+ #
1016
+ def trigger_subscription_evaluation(subscription_id, custom_headers:nil)
1017
+ response = trigger_subscription_evaluation_async(subscription_id, custom_headers:custom_headers).value!
1018
+ nil
1019
+ end
1020
+
1021
+ #
1022
+ # @param subscription_id [String] Microsoft Azure subscription ID.
1023
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1024
+ # will be added to the HTTP request.
1025
+ #
1026
+ # @return [Concurrent::Promise] promise which provides async access to http
1027
+ # response.
1028
+ #
1029
+ def trigger_subscription_evaluation_async(subscription_id, custom_headers:nil)
1030
+ # Send request
1031
+ promise = begin_trigger_subscription_evaluation_async(subscription_id, custom_headers:custom_headers)
1032
+
1033
+ promise = promise.then do |response|
1034
+ # Defining deserialization method.
1035
+ deserialize_method = lambda do |parsed_response|
1036
+ end
1037
+
1038
+ # Waiting for response.
1039
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
1040
+ end
1041
+
1042
+ promise
1043
+ end
1044
+
1045
+ #
1046
+ # Triggers a policy evaluation scan for all the resources under the resource
1047
+ # group.
1048
+ #
1049
+ # @param subscription_id [String] Microsoft Azure subscription ID.
1050
+ # @param resource_group_name [String] Resource group name.
1051
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1052
+ # will be added to the HTTP request.
1053
+ #
1054
+ def trigger_resource_group_evaluation(subscription_id, resource_group_name, custom_headers:nil)
1055
+ response = trigger_resource_group_evaluation_async(subscription_id, resource_group_name, custom_headers:custom_headers).value!
1056
+ nil
1057
+ end
1058
+
1059
+ #
1060
+ # @param subscription_id [String] Microsoft Azure subscription ID.
1061
+ # @param resource_group_name [String] Resource group name.
1062
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1063
+ # will be added to the HTTP request.
1064
+ #
1065
+ # @return [Concurrent::Promise] promise which provides async access to http
1066
+ # response.
1067
+ #
1068
+ def trigger_resource_group_evaluation_async(subscription_id, resource_group_name, custom_headers:nil)
1069
+ # Send request
1070
+ promise = begin_trigger_resource_group_evaluation_async(subscription_id, resource_group_name, custom_headers:custom_headers)
1071
+
1072
+ promise = promise.then do |response|
1073
+ # Defining deserialization method.
1074
+ deserialize_method = lambda do |parsed_response|
1075
+ end
1076
+
1077
+ # Waiting for response.
1078
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
1079
+ end
1080
+
1081
+ promise
1082
+ end
1083
+
1008
1084
  #
1009
1085
  # Queries policy states for the subscription level policy set definition.
1010
1086
  #
@@ -2021,5 +2097,171 @@ module Azure::PolicyInsights::Mgmt::V2019_10_01
2021
2097
  promise.execute
2022
2098
  end
2023
2099
 
2100
+ #
2101
+ # Triggers a policy evaluation scan for all the resources under the
2102
+ # subscription
2103
+ #
2104
+ # @param subscription_id [String] Microsoft Azure subscription ID.
2105
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2106
+ # will be added to the HTTP request.
2107
+ #
2108
+ #
2109
+ def begin_trigger_subscription_evaluation(subscription_id, custom_headers:nil)
2110
+ response = begin_trigger_subscription_evaluation_async(subscription_id, custom_headers:custom_headers).value!
2111
+ nil
2112
+ end
2113
+
2114
+ #
2115
+ # Triggers a policy evaluation scan for all the resources under the
2116
+ # subscription
2117
+ #
2118
+ # @param subscription_id [String] Microsoft Azure subscription ID.
2119
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2120
+ # will be added to the HTTP request.
2121
+ #
2122
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2123
+ #
2124
+ def begin_trigger_subscription_evaluation_with_http_info(subscription_id, custom_headers:nil)
2125
+ begin_trigger_subscription_evaluation_async(subscription_id, custom_headers:custom_headers).value!
2126
+ end
2127
+
2128
+ #
2129
+ # Triggers a policy evaluation scan for all the resources under the
2130
+ # subscription
2131
+ #
2132
+ # @param subscription_id [String] Microsoft Azure subscription ID.
2133
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2134
+ # to the HTTP request.
2135
+ #
2136
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2137
+ #
2138
+ def begin_trigger_subscription_evaluation_async(subscription_id, custom_headers:nil)
2139
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
2140
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2141
+
2142
+
2143
+ request_headers = {}
2144
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2145
+
2146
+ # Set Headers
2147
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2148
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2149
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation'
2150
+
2151
+ request_url = @base_url || @client.base_url
2152
+
2153
+ options = {
2154
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2155
+ path_params: {'subscriptionId' => subscription_id},
2156
+ query_params: {'api-version' => @client.api_version},
2157
+ headers: request_headers.merge(custom_headers || {}),
2158
+ base_url: request_url
2159
+ }
2160
+ promise = @client.make_request_async(:post, path_template, options)
2161
+
2162
+ promise = promise.then do |result|
2163
+ http_response = result.response
2164
+ status_code = http_response.status
2165
+ response_content = http_response.body
2166
+ unless status_code == 200 || status_code == 202
2167
+ error_model = JSON.load(response_content)
2168
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
2169
+ end
2170
+
2171
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2172
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2173
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2174
+
2175
+ result
2176
+ end
2177
+
2178
+ promise.execute
2179
+ end
2180
+
2181
+ #
2182
+ # Triggers a policy evaluation scan for all the resources under the resource
2183
+ # group.
2184
+ #
2185
+ # @param subscription_id [String] Microsoft Azure subscription ID.
2186
+ # @param resource_group_name [String] Resource group name.
2187
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2188
+ # will be added to the HTTP request.
2189
+ #
2190
+ #
2191
+ def begin_trigger_resource_group_evaluation(subscription_id, resource_group_name, custom_headers:nil)
2192
+ response = begin_trigger_resource_group_evaluation_async(subscription_id, resource_group_name, custom_headers:custom_headers).value!
2193
+ nil
2194
+ end
2195
+
2196
+ #
2197
+ # Triggers a policy evaluation scan for all the resources under the resource
2198
+ # group.
2199
+ #
2200
+ # @param subscription_id [String] Microsoft Azure subscription ID.
2201
+ # @param resource_group_name [String] Resource group name.
2202
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2203
+ # will be added to the HTTP request.
2204
+ #
2205
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2206
+ #
2207
+ def begin_trigger_resource_group_evaluation_with_http_info(subscription_id, resource_group_name, custom_headers:nil)
2208
+ begin_trigger_resource_group_evaluation_async(subscription_id, resource_group_name, custom_headers:custom_headers).value!
2209
+ end
2210
+
2211
+ #
2212
+ # Triggers a policy evaluation scan for all the resources under the resource
2213
+ # group.
2214
+ #
2215
+ # @param subscription_id [String] Microsoft Azure subscription ID.
2216
+ # @param resource_group_name [String] Resource group name.
2217
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2218
+ # to the HTTP request.
2219
+ #
2220
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2221
+ #
2222
+ def begin_trigger_resource_group_evaluation_async(subscription_id, resource_group_name, custom_headers:nil)
2223
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
2224
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2225
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
2226
+
2227
+
2228
+ request_headers = {}
2229
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2230
+
2231
+ # Set Headers
2232
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2233
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2234
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PolicyInsights/policyStates/latest/triggerEvaluation'
2235
+
2236
+ request_url = @base_url || @client.base_url
2237
+
2238
+ options = {
2239
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2240
+ path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name},
2241
+ query_params: {'api-version' => @client.api_version},
2242
+ headers: request_headers.merge(custom_headers || {}),
2243
+ base_url: request_url
2244
+ }
2245
+ promise = @client.make_request_async(:post, path_template, options)
2246
+
2247
+ promise = promise.then do |result|
2248
+ http_response = result.response
2249
+ status_code = http_response.status
2250
+ response_content = http_response.body
2251
+ unless status_code == 200 || status_code == 202
2252
+ error_model = JSON.load(response_content)
2253
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
2254
+ end
2255
+
2256
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2257
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
2258
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
2259
+
2260
+ result
2261
+ end
2262
+
2263
+ promise.execute
2264
+ end
2265
+
2024
2266
  end
2025
2267
  end
@@ -2,10 +2,10 @@
2
2
  # Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
- require '2017-08-09-preview/generated/azure_mgmt_policy_insights'
6
- require '2017-10-17-preview/generated/azure_mgmt_policy_insights'
5
+ require '2019-10-01/generated/azure_mgmt_policy_insights'
6
+ require '2018-07-01-preview/generated/azure_mgmt_policy_insights'
7
7
  require '2017-12-12-preview/generated/azure_mgmt_policy_insights'
8
8
  require '2018-04-04/generated/azure_mgmt_policy_insights'
9
- require '2018-07-01-preview/generated/azure_mgmt_policy_insights'
10
- require '2019-10-01/generated/azure_mgmt_policy_insights'
9
+ require '2017-08-09-preview/generated/azure_mgmt_policy_insights'
10
+ require '2017-10-17-preview/generated/azure_mgmt_policy_insights'
11
11
  require 'profiles/latest/policyinsights_latest_profile_client'
@@ -1,7 +1,7 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure end
6
- module Azure::PolicyInsights end
7
- module Azure::PolicyInsights::Mgmt end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::PolicyInsights end
7
+ module Azure::PolicyInsights::Mgmt end
@@ -1,40 +1,40 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- require 'profiles/latest/policyinsights_module_definition'
6
- require 'profiles/latest/modules/policyinsights_profile_module'
7
-
8
- module Azure::PolicyInsights::Profiles::Latest
9
- module Mgmt
10
- #
11
- # Client class for the Latest profile SDK.
12
- #
13
- class Client < PolicyInsightsManagementClass
14
- include MsRestAzure::Common::Configurable
15
-
16
- #
17
- # Initializes a new instance of the Client class.
18
- # @param options [Hash] hash of client options.
19
- # options = {
20
- # tenant_id: 'YOUR TENANT ID',
21
- # client_id: 'YOUR CLIENT ID',
22
- # client_secret: 'YOUR CLIENT SECRET',
23
- # subscription_id: 'YOUR SUBSCRIPTION ID',
24
- # credentials: credentials,
25
- # active_directory_settings: active_directory_settings,
26
- # base_url: 'YOUR BASE URL',
27
- # options: options
28
- # }
29
- # 'credentials' are optional and if not passed in the hash, will be obtained
30
- # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
- #
32
- # Also, base_url, active_directory_settings & options are optional.
33
- #
34
- def initialize(options = {})
35
- super(options)
36
- end
37
-
38
- end
39
- end
40
- end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ require 'profiles/latest/policyinsights_module_definition'
6
+ require 'profiles/latest/modules/policyinsights_profile_module'
7
+
8
+ module Azure::PolicyInsights::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < PolicyInsightsManagementClass
14
+ include MsRestAzure::Common::Configurable
15
+
16
+ #
17
+ # Initializes a new instance of the Client class.
18
+ # @param options [Hash] hash of client options.
19
+ # options = {
20
+ # tenant_id: 'YOUR TENANT ID',
21
+ # client_id: 'YOUR CLIENT ID',
22
+ # client_secret: 'YOUR CLIENT SECRET',
23
+ # subscription_id: 'YOUR SUBSCRIPTION ID',
24
+ # credentials: credentials,
25
+ # active_directory_settings: active_directory_settings,
26
+ # base_url: 'YOUR BASE URL',
27
+ # options: options
28
+ # }
29
+ # 'credentials' are optional and if not passed in the hash, will be obtained
30
+ # from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
31
+ #
32
+ # Also, base_url, active_directory_settings & options are optional.
33
+ #
34
+ def initialize(options = {})
35
+ super(options)
36
+ end
37
+
38
+ end
39
+ end
40
+ end
@@ -1,8 +1,8 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure end
6
- module Azure::PolicyInsights end
7
- module Azure::PolicyInsights::Profiles end
8
- module Azure::PolicyInsights::Profiles::Latest end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::PolicyInsights end
7
+ module Azure::PolicyInsights::Profiles end
8
+ module Azure::PolicyInsights::Profiles::Latest end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::PolicyInsights::Mgmt
6
- VERSION = '0.17.5'
6
+ VERSION = '0.17.6'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_policy_insights
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.5
4
+ version: 0.17.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-12 00:00:00.000000000 Z
11
+ date: 2020-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -270,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
270
  version: '0'
271
271
  requirements: []
272
272
  rubyforge_project:
273
- rubygems_version: 2.5.2.3
273
+ rubygems_version: 2.7.8
274
274
  signing_key:
275
275
  specification_version: 4
276
276
  summary: Official Ruby client library to consume Microsoft Azure Resource Policy Insights