azure_mgmt_policy_insights 0.17.3 → 0.17.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_events.rb +8 -0
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_states.rb +8 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_events.rb +10 -0
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-10-17-preview/generated/azure_mgmt_policy_insights/policy_states.rb +10 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_events.rb +18 -0
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2017-12-12-preview/generated/azure_mgmt_policy_insights/policy_states.rb +34 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_events.rb +18 -0
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb +34 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +4 -4
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +43 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +11 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/operations.rb +2 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +1 -1
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb +1032 -32
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb +16 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb +64 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights.rb +39 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/error_definition.rb +115 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/error_response.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/query_options.rb +54 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation.rb +172 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb +124 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb +75 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_filters.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/resource_discovery_mode.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/module_definition.rb +9 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +131 -0
- data/lib/2019-07-01/generated/azure_mgmt_policy_insights/remediations.rb +3294 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights.rb +60 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/compliance_detail.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_event_details.rb +132 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/component_state_details.rb +109 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_definition.rb +115 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/error_response.rb +47 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +115 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operation.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operation_display.rb +79 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +70 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +110 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb +69 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_event.rb +416 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_events_query_results.rb +125 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_group_summary.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata.rb +168 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_metadata_collection.rb +101 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_state.rb +461 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +125 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure.rb +47 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_failure_error.rb +60 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/query_options.rb +134 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/slim_policy_metadata.rb +145 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summarize_results.rb +83 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary.rb +91 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/summary_results.rb +140 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/module_definition.rb +9 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/operations.rb +109 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_events.rb +1961 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb +140 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_metadata_operations.rb +316 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/policy_states.rb +3233 -0
- data/lib/azure_mgmt_policy_insights.rb +4 -2
- data/lib/profiles/latest/modules/policyinsights_profile_module.rb +55 -13
- data/lib/version.rb +1 -1
- metadata +56 -5
data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb
CHANGED
@@ -104,6 +104,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
104
104
|
end
|
105
105
|
|
106
106
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
107
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
108
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
107
109
|
# Deserialize Response
|
108
110
|
if status_code == 200
|
109
111
|
begin
|
@@ -200,6 +202,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
200
202
|
end
|
201
203
|
|
202
204
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
205
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
206
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
203
207
|
# Deserialize Response
|
204
208
|
if status_code == 200
|
205
209
|
begin
|
@@ -300,6 +304,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
300
304
|
end
|
301
305
|
|
302
306
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
307
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
308
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
303
309
|
# Deserialize Response
|
304
310
|
if status_code == 200
|
305
311
|
begin
|
@@ -400,6 +406,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
400
406
|
end
|
401
407
|
|
402
408
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
409
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
410
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
403
411
|
# Deserialize Response
|
404
412
|
if status_code == 200
|
405
413
|
begin
|
@@ -488,6 +496,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
488
496
|
end
|
489
497
|
|
490
498
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
499
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
500
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
491
501
|
# Deserialize Response
|
492
502
|
if status_code == 200
|
493
503
|
begin
|
@@ -576,6 +586,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
576
586
|
end
|
577
587
|
|
578
588
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
589
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
590
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
579
591
|
# Deserialize Response
|
580
592
|
if status_code == 200
|
581
593
|
begin
|
@@ -664,6 +676,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
664
676
|
end
|
665
677
|
|
666
678
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
679
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
680
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
667
681
|
# Deserialize Response
|
668
682
|
if status_code == 200
|
669
683
|
begin
|
@@ -752,6 +766,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
752
766
|
end
|
753
767
|
|
754
768
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
769
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
770
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
755
771
|
# Deserialize Response
|
756
772
|
if status_code == 200
|
757
773
|
begin
|
@@ -103,6 +103,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
103
103
|
end
|
104
104
|
|
105
105
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
106
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
107
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
106
108
|
# Deserialize Response
|
107
109
|
if status_code == 200
|
108
110
|
begin
|
@@ -195,6 +197,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
195
197
|
end
|
196
198
|
|
197
199
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
200
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
201
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
198
202
|
# Deserialize Response
|
199
203
|
if status_code == 200
|
200
204
|
begin
|
@@ -294,6 +298,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
294
298
|
end
|
295
299
|
|
296
300
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
301
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
302
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
297
303
|
# Deserialize Response
|
298
304
|
if status_code == 200
|
299
305
|
begin
|
@@ -397,6 +403,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
397
403
|
end
|
398
404
|
|
399
405
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
406
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
407
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
400
408
|
# Deserialize Response
|
401
409
|
if status_code == 200
|
402
410
|
begin
|
@@ -499,6 +507,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
499
507
|
end
|
500
508
|
|
501
509
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
510
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
511
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
502
512
|
# Deserialize Response
|
503
513
|
if status_code == 200
|
504
514
|
begin
|
@@ -591,6 +601,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
591
601
|
end
|
592
602
|
|
593
603
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
604
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
605
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
594
606
|
# Deserialize Response
|
595
607
|
if status_code == 200
|
596
608
|
begin
|
@@ -686,6 +698,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
686
698
|
end
|
687
699
|
|
688
700
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
701
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
702
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
689
703
|
# Deserialize Response
|
690
704
|
if status_code == 200
|
691
705
|
begin
|
@@ -774,6 +788,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
774
788
|
end
|
775
789
|
|
776
790
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
791
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
792
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
777
793
|
# Deserialize Response
|
778
794
|
if status_code == 200
|
779
795
|
begin
|
@@ -869,6 +885,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
869
885
|
end
|
870
886
|
|
871
887
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
888
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
889
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
872
890
|
# Deserialize Response
|
873
891
|
if status_code == 200
|
874
892
|
begin
|
@@ -968,6 +986,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
968
986
|
end
|
969
987
|
|
970
988
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
989
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
990
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
971
991
|
# Deserialize Response
|
972
992
|
if status_code == 200
|
973
993
|
begin
|
@@ -1066,6 +1086,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
1066
1086
|
end
|
1067
1087
|
|
1068
1088
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1089
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1090
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1069
1091
|
# Deserialize Response
|
1070
1092
|
if status_code == 200
|
1071
1093
|
begin
|
@@ -1154,6 +1176,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
1154
1176
|
end
|
1155
1177
|
|
1156
1178
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1179
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1180
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1157
1181
|
# Deserialize Response
|
1158
1182
|
if status_code == 200
|
1159
1183
|
begin
|
@@ -1253,6 +1277,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
1253
1277
|
end
|
1254
1278
|
|
1255
1279
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1280
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1281
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1256
1282
|
# Deserialize Response
|
1257
1283
|
if status_code == 200
|
1258
1284
|
begin
|
@@ -1345,6 +1371,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
1345
1371
|
end
|
1346
1372
|
|
1347
1373
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1374
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1375
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1348
1376
|
# Deserialize Response
|
1349
1377
|
if status_code == 200
|
1350
1378
|
begin
|
@@ -1444,6 +1472,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
1444
1472
|
end
|
1445
1473
|
|
1446
1474
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1475
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1476
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1447
1477
|
# Deserialize Response
|
1448
1478
|
if status_code == 200
|
1449
1479
|
begin
|
@@ -1547,6 +1577,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
1547
1577
|
end
|
1548
1578
|
|
1549
1579
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1580
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1581
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1550
1582
|
# Deserialize Response
|
1551
1583
|
if status_code == 200
|
1552
1584
|
begin
|
@@ -1649,6 +1681,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
1649
1681
|
end
|
1650
1682
|
|
1651
1683
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1684
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1685
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1652
1686
|
# Deserialize Response
|
1653
1687
|
if status_code == 200
|
1654
1688
|
begin
|
@@ -1741,6 +1775,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
1741
1775
|
end
|
1742
1776
|
|
1743
1777
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1778
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1779
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1744
1780
|
# Deserialize Response
|
1745
1781
|
if status_code == 200
|
1746
1782
|
begin
|
@@ -1840,6 +1876,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
1840
1876
|
end
|
1841
1877
|
|
1842
1878
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1879
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1880
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1843
1881
|
# Deserialize Response
|
1844
1882
|
if status_code == 200
|
1845
1883
|
begin
|
@@ -1932,6 +1970,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
1932
1970
|
end
|
1933
1971
|
|
1934
1972
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1973
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1974
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1935
1975
|
# Deserialize Response
|
1936
1976
|
if status_code == 200
|
1937
1977
|
begin
|
@@ -2030,6 +2070,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2030
2070
|
end
|
2031
2071
|
|
2032
2072
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2073
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2074
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2033
2075
|
# Deserialize Response
|
2034
2076
|
if status_code == 200
|
2035
2077
|
begin
|
@@ -2133,6 +2175,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2133
2175
|
end
|
2134
2176
|
|
2135
2177
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2178
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2179
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2136
2180
|
# Deserialize Response
|
2137
2181
|
if status_code == 200
|
2138
2182
|
begin
|
@@ -2235,6 +2279,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2235
2279
|
end
|
2236
2280
|
|
2237
2281
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2282
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2283
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2238
2284
|
# Deserialize Response
|
2239
2285
|
if status_code == 200
|
2240
2286
|
begin
|
@@ -2327,6 +2373,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2327
2373
|
end
|
2328
2374
|
|
2329
2375
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2376
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2377
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2330
2378
|
# Deserialize Response
|
2331
2379
|
if status_code == 200
|
2332
2380
|
begin
|
@@ -2415,6 +2463,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2415
2463
|
end
|
2416
2464
|
|
2417
2465
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2466
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2467
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2418
2468
|
# Deserialize Response
|
2419
2469
|
if status_code == 200
|
2420
2470
|
begin
|
@@ -2503,6 +2553,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2503
2553
|
end
|
2504
2554
|
|
2505
2555
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2556
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2557
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2506
2558
|
# Deserialize Response
|
2507
2559
|
if status_code == 200
|
2508
2560
|
begin
|
@@ -2591,6 +2643,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2591
2643
|
end
|
2592
2644
|
|
2593
2645
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2646
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2647
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2594
2648
|
# Deserialize Response
|
2595
2649
|
if status_code == 200
|
2596
2650
|
begin
|
@@ -2679,6 +2733,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2679
2733
|
end
|
2680
2734
|
|
2681
2735
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2736
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2737
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2682
2738
|
# Deserialize Response
|
2683
2739
|
if status_code == 200
|
2684
2740
|
begin
|
@@ -2767,6 +2823,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2767
2823
|
end
|
2768
2824
|
|
2769
2825
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2826
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2827
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2770
2828
|
# Deserialize Response
|
2771
2829
|
if status_code == 200
|
2772
2830
|
begin
|
@@ -2855,6 +2913,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2855
2913
|
end
|
2856
2914
|
|
2857
2915
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2916
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2917
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2858
2918
|
# Deserialize Response
|
2859
2919
|
if status_code == 200
|
2860
2920
|
begin
|
@@ -2943,6 +3003,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
2943
3003
|
end
|
2944
3004
|
|
2945
3005
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
3006
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
3007
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2946
3008
|
# Deserialize Response
|
2947
3009
|
if status_code == 200
|
2948
3010
|
begin
|
@@ -3031,6 +3093,8 @@ module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
|
3031
3093
|
end
|
3032
3094
|
|
3033
3095
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
3096
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
3097
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
3034
3098
|
# Deserialize Response
|
3035
3099
|
if status_code == 200
|
3036
3100
|
begin
|
@@ -0,0 +1,39 @@
|
|
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 '2019-07-01/generated/azure_mgmt_policy_insights/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::PolicyInsights::Mgmt::V2019_07_01
|
23
|
+
autoload :Remediations, '2019-07-01/generated/azure_mgmt_policy_insights/remediations.rb'
|
24
|
+
autoload :PolicyInsightsClient, '2019-07-01/generated/azure_mgmt_policy_insights/policy_insights_client.rb'
|
25
|
+
|
26
|
+
module Models
|
27
|
+
autoload :ErrorDefinition, '2019-07-01/generated/azure_mgmt_policy_insights/models/error_definition.rb'
|
28
|
+
autoload :RemediationFilters, '2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_filters.rb'
|
29
|
+
autoload :RemediationDeployment, '2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb'
|
30
|
+
autoload :Remediation, '2019-07-01/generated/azure_mgmt_policy_insights/models/remediation.rb'
|
31
|
+
autoload :RemediationDeploymentsListResult, '2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb'
|
32
|
+
autoload :TypedErrorInfo, '2019-07-01/generated/azure_mgmt_policy_insights/models/typed_error_info.rb'
|
33
|
+
autoload :ErrorResponse, '2019-07-01/generated/azure_mgmt_policy_insights/models/error_response.rb'
|
34
|
+
autoload :RemediationListResult, '2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb'
|
35
|
+
autoload :QueryOptions, '2019-07-01/generated/azure_mgmt_policy_insights/models/query_options.rb'
|
36
|
+
autoload :RemediationDeploymentSummary, '2019-07-01/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb'
|
37
|
+
autoload :ResourceDiscoveryMode, '2019-07-01/generated/azure_mgmt_policy_insights/models/resource_discovery_mode.rb'
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,115 @@
|
|
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::PolicyInsights::Mgmt::V2019_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Error definition.
|
10
|
+
#
|
11
|
+
class ErrorDefinition
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Service specific error code which serves as the
|
16
|
+
# substatus for the HTTP error code.
|
17
|
+
attr_accessor :code
|
18
|
+
|
19
|
+
# @return [String] Description of the error.
|
20
|
+
attr_accessor :message
|
21
|
+
|
22
|
+
# @return [String] The target of the error.
|
23
|
+
attr_accessor :target
|
24
|
+
|
25
|
+
# @return [Array<ErrorDefinition>] Internal error details.
|
26
|
+
attr_accessor :details
|
27
|
+
|
28
|
+
# @return [Array<TypedErrorInfo>] Additional scenario specific error
|
29
|
+
# details.
|
30
|
+
attr_accessor :additional_info
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for ErrorDefinition class as Ruby Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'ErrorDefinition',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'ErrorDefinition',
|
45
|
+
model_properties: {
|
46
|
+
code: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
read_only: true,
|
50
|
+
serialized_name: 'code',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
message: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'message',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
target: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'target',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
details: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'details',
|
78
|
+
type: {
|
79
|
+
name: 'Sequence',
|
80
|
+
element: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'ErrorDefinitionElementType',
|
84
|
+
type: {
|
85
|
+
name: 'Composite',
|
86
|
+
class_name: 'ErrorDefinition'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
},
|
91
|
+
additional_info: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
read_only: true,
|
95
|
+
serialized_name: 'additionalInfo',
|
96
|
+
type: {
|
97
|
+
name: 'Sequence',
|
98
|
+
element: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'TypedErrorInfoElementType',
|
102
|
+
type: {
|
103
|
+
name: 'Composite',
|
104
|
+
class_name: 'TypedErrorInfo'
|
105
|
+
}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|