azure_mgmt_policy_insights 0.17.2 → 0.17.7
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.rb +27 -11
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb +103 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb +59 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation.rb +59 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb +79 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb +70 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb +91 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb +81 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb +69 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb +384 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +82 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb +16 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb +69 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summarize_results.rb +83 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary.rb +92 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary_results.rb +76 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/operations.rb +109 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb +9 -1
- data/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb +2127 -0
- 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-10-01/generated/azure_mgmt_policy_insights.rb +55 -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/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 +103 -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_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 +440 -0
- data/lib/2019-10-01/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb +82 -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 +123 -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_insights_client.rb +136 -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 +2267 -0
- data/lib/azure_mgmt_policy_insights.rb +3 -2
- data/lib/profiles/latest/modules/policyinsights_profile_module.rb +125 -83
- data/lib/version.rb +1 -1
- metadata +52 -5
@@ -86,6 +86,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
86
86
|
end
|
87
87
|
|
88
88
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
89
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
90
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
89
91
|
# Deserialize Response
|
90
92
|
if status_code == 200
|
91
93
|
begin
|
@@ -124,6 +124,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
124
124
|
end
|
125
125
|
|
126
126
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
127
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
128
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
127
129
|
# Deserialize Response
|
128
130
|
if status_code == 200
|
129
131
|
begin
|
@@ -243,6 +245,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
243
245
|
end
|
244
246
|
|
245
247
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
248
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
249
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
246
250
|
# Deserialize Response
|
247
251
|
if status_code == 200
|
248
252
|
begin
|
@@ -366,6 +370,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
366
370
|
end
|
367
371
|
|
368
372
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
373
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
374
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
369
375
|
# Deserialize Response
|
370
376
|
if status_code == 200
|
371
377
|
begin
|
@@ -486,6 +492,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
486
492
|
end
|
487
493
|
|
488
494
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
495
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
496
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
489
497
|
# Deserialize Response
|
490
498
|
if status_code == 200
|
491
499
|
begin
|
@@ -610,6 +618,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
610
618
|
end
|
611
619
|
|
612
620
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
621
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
622
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
613
623
|
# Deserialize Response
|
614
624
|
if status_code == 200
|
615
625
|
begin
|
@@ -734,6 +744,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
734
744
|
end
|
735
745
|
|
736
746
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
747
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
748
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
737
749
|
# Deserialize Response
|
738
750
|
if status_code == 200
|
739
751
|
begin
|
@@ -858,6 +870,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
858
870
|
end
|
859
871
|
|
860
872
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
873
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
874
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
861
875
|
# Deserialize Response
|
862
876
|
if status_code == 200
|
863
877
|
begin
|
@@ -986,6 +1000,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
986
1000
|
end
|
987
1001
|
|
988
1002
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1003
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1004
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
989
1005
|
# Deserialize Response
|
990
1006
|
if status_code == 200
|
991
1007
|
begin
|
@@ -1079,6 +1095,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
1079
1095
|
end
|
1080
1096
|
|
1081
1097
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1098
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1099
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1082
1100
|
# Deserialize Response
|
1083
1101
|
if status_code == 200
|
1084
1102
|
begin
|
@@ -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.
|
132
|
+
sdk_information = "#{sdk_information}/0.17.7"
|
133
133
|
add_user_agent_information(sdk_information)
|
134
134
|
end
|
135
135
|
end
|
@@ -136,6 +136,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
136
136
|
end
|
137
137
|
|
138
138
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
139
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
140
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
139
141
|
# Deserialize Response
|
140
142
|
if status_code == 200
|
141
143
|
begin
|
@@ -244,6 +246,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
244
246
|
end
|
245
247
|
|
246
248
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
249
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
250
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
247
251
|
# Deserialize Response
|
248
252
|
if status_code == 200
|
249
253
|
begin
|
@@ -375,6 +379,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
375
379
|
end
|
376
380
|
|
377
381
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
382
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
383
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
378
384
|
# Deserialize Response
|
379
385
|
if status_code == 200
|
380
386
|
begin
|
@@ -482,6 +488,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
482
488
|
end
|
483
489
|
|
484
490
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
491
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
492
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
485
493
|
# Deserialize Response
|
486
494
|
if status_code == 200
|
487
495
|
begin
|
@@ -617,6 +625,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
617
625
|
end
|
618
626
|
|
619
627
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
628
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
629
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
620
630
|
# Deserialize Response
|
621
631
|
if status_code == 200
|
622
632
|
begin
|
@@ -728,6 +738,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
728
738
|
end
|
729
739
|
|
730
740
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
741
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
742
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
731
743
|
# Deserialize Response
|
732
744
|
if status_code == 200
|
733
745
|
begin
|
@@ -860,6 +872,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
860
872
|
end
|
861
873
|
|
862
874
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
875
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
876
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
863
877
|
# Deserialize Response
|
864
878
|
if status_code == 200
|
865
879
|
begin
|
@@ -968,6 +982,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
968
982
|
end
|
969
983
|
|
970
984
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
985
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
986
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
971
987
|
# Deserialize Response
|
972
988
|
if status_code == 200
|
973
989
|
begin
|
@@ -1104,6 +1120,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
1104
1120
|
end
|
1105
1121
|
|
1106
1122
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1123
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1124
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1107
1125
|
# Deserialize Response
|
1108
1126
|
if status_code == 200
|
1109
1127
|
begin
|
@@ -1216,6 +1234,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
1216
1234
|
end
|
1217
1235
|
|
1218
1236
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1237
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1238
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1219
1239
|
# Deserialize Response
|
1220
1240
|
if status_code == 200
|
1221
1241
|
begin
|
@@ -1352,6 +1372,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
1352
1372
|
end
|
1353
1373
|
|
1354
1374
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1375
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1376
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1355
1377
|
# Deserialize Response
|
1356
1378
|
if status_code == 200
|
1357
1379
|
begin
|
@@ -1464,6 +1486,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
1464
1486
|
end
|
1465
1487
|
|
1466
1488
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1489
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1490
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1467
1491
|
# Deserialize Response
|
1468
1492
|
if status_code == 200
|
1469
1493
|
begin
|
@@ -1600,6 +1624,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
1600
1624
|
end
|
1601
1625
|
|
1602
1626
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1627
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1628
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1603
1629
|
# Deserialize Response
|
1604
1630
|
if status_code == 200
|
1605
1631
|
begin
|
@@ -1712,6 +1738,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
1712
1738
|
end
|
1713
1739
|
|
1714
1740
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1741
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1742
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1715
1743
|
# Deserialize Response
|
1716
1744
|
if status_code == 200
|
1717
1745
|
begin
|
@@ -1852,6 +1880,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
1852
1880
|
end
|
1853
1881
|
|
1854
1882
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1883
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1884
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1855
1885
|
# Deserialize Response
|
1856
1886
|
if status_code == 200
|
1857
1887
|
begin
|
@@ -1968,6 +1998,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
1968
1998
|
end
|
1969
1999
|
|
1970
2000
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2001
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2002
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1971
2003
|
# Deserialize Response
|
1972
2004
|
if status_code == 200
|
1973
2005
|
begin
|
@@ -2061,6 +2093,8 @@ module Azure::PolicyInsights::Mgmt::V2018_04_04
|
|
2061
2093
|
end
|
2062
2094
|
|
2063
2095
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2096
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2097
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2064
2098
|
# Deserialize Response
|
2065
2099
|
if status_code == 200
|
2066
2100
|
begin
|
@@ -22,24 +22,40 @@ require 'ms_rest_azure'
|
|
22
22
|
module Azure::PolicyInsights::Mgmt::V2018_07_01_preview
|
23
23
|
autoload :PolicyTrackedResources, '2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_tracked_resources.rb'
|
24
24
|
autoload :Remediations, '2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb'
|
25
|
+
autoload :PolicyStates, '2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_states.rb'
|
26
|
+
autoload :Operations, '2018-07-01-preview/generated/azure_mgmt_policy_insights/operations.rb'
|
25
27
|
autoload :PolicyInsightsClient, '2018-07-01-preview/generated/azure_mgmt_policy_insights/policy_insights_client.rb'
|
26
28
|
|
27
29
|
module Models
|
28
|
-
autoload :
|
29
|
-
autoload :
|
30
|
+
autoload :ErrorResponse, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_response.rb'
|
31
|
+
autoload :ExpressionEvaluationDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/expression_evaluation_details.rb'
|
32
|
+
autoload :TrackedResourceModificationDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/tracked_resource_modification_details.rb'
|
33
|
+
autoload :IfNotExistsEvaluationDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/if_not_exists_evaluation_details.rb'
|
34
|
+
autoload :PolicyTrackedResourcesQueryResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resources_query_results.rb'
|
35
|
+
autoload :PolicyEvaluationDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_evaluation_details.rb'
|
36
|
+
autoload :QueryFailure, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb'
|
37
|
+
autoload :PolicyState, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_state.rb'
|
38
|
+
autoload :RemediationDeploymentSummary, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment_summary.rb'
|
39
|
+
autoload :PolicyStatesQueryResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_query_results.rb'
|
30
40
|
autoload :RemediationListResult, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_list_result.rb'
|
41
|
+
autoload :SummaryResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary_results.rb'
|
42
|
+
autoload :ErrorDefinition, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_definition.rb'
|
43
|
+
autoload :PolicyDefinitionSummary, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_definition_summary.rb'
|
44
|
+
autoload :RemediationDeploymentsListResult, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb'
|
45
|
+
autoload :PolicyAssignmentSummary, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_assignment_summary.rb'
|
31
46
|
autoload :PolicyTrackedResource, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resource.rb'
|
47
|
+
autoload :Summary, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summary.rb'
|
48
|
+
autoload :RemediationFilters, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_filters.rb'
|
49
|
+
autoload :SummarizeResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/summarize_results.rb'
|
32
50
|
autoload :TypedErrorInfo, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/typed_error_info.rb'
|
51
|
+
autoload :OperationDisplay, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation_display.rb'
|
52
|
+
autoload :PolicyDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_details.rb'
|
53
|
+
autoload :Operation, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operation.rb'
|
54
|
+
autoload :Remediation, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation.rb'
|
55
|
+
autoload :OperationsListResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/operations_list_results.rb'
|
33
56
|
autoload :QueryFailureError, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure_error.rb'
|
34
|
-
autoload :ErrorDefinition, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_definition.rb'
|
35
|
-
autoload :RemediationFilters, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_filters.rb'
|
36
|
-
autoload :RemediationDeployment, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb'
|
37
|
-
autoload :TrackedResourceModificationDetails, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/tracked_resource_modification_details.rb'
|
38
|
-
autoload :RemediationDeploymentsListResult, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployments_list_result.rb'
|
39
|
-
autoload :QueryFailure, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_failure.rb'
|
40
|
-
autoload :ErrorResponse, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/error_response.rb'
|
41
|
-
autoload :PolicyTrackedResourcesQueryResults, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_tracked_resources_query_results.rb'
|
42
57
|
autoload :QueryOptions, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/query_options.rb'
|
43
|
-
autoload :
|
58
|
+
autoload :RemediationDeployment, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/remediation_deployment.rb'
|
59
|
+
autoload :PolicyStatesResource, '2018-07-01-preview/generated/azure_mgmt_policy_insights/models/policy_states_resource.rb'
|
44
60
|
end
|
45
61
|
end
|
@@ -0,0 +1,103 @@
|
|
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::V2018_07_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Evaluation details of policy language expressions.
|
10
|
+
#
|
11
|
+
class ExpressionEvaluationDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Evaluation result.
|
16
|
+
attr_accessor :result
|
17
|
+
|
18
|
+
# @return [String] Expression evaluated.
|
19
|
+
attr_accessor :expression
|
20
|
+
|
21
|
+
# @return [String] Property path if the expression is a field or an
|
22
|
+
# alias.
|
23
|
+
attr_accessor :path
|
24
|
+
|
25
|
+
# @return Value of the expression.
|
26
|
+
attr_accessor :expression_value
|
27
|
+
|
28
|
+
# @return Target value to be compared with the expression value.
|
29
|
+
attr_accessor :target_value
|
30
|
+
|
31
|
+
# @return [String] Operator to compare the expression value and the
|
32
|
+
# target value.
|
33
|
+
attr_accessor :operator
|
34
|
+
|
35
|
+
|
36
|
+
#
|
37
|
+
# Mapper for ExpressionEvaluationDetails class as Ruby Hash.
|
38
|
+
# This will be used for serialization/deserialization.
|
39
|
+
#
|
40
|
+
def self.mapper()
|
41
|
+
{
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'ExpressionEvaluationDetails',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'ExpressionEvaluationDetails',
|
48
|
+
model_properties: {
|
49
|
+
result: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'result',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
expression: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'expression',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
path: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'path',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
expression_value: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'expressionValue',
|
77
|
+
type: {
|
78
|
+
name: 'Object'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
target_value: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'targetValue',
|
85
|
+
type: {
|
86
|
+
name: 'Object'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
operator: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'operator',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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::V2018_07_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Evaluation details of IfNotExists effect.
|
10
|
+
#
|
11
|
+
class IfNotExistsEvaluationDetails
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] ID of the last evaluated resource for IfNotExists
|
16
|
+
# effect.
|
17
|
+
attr_accessor :resource_id
|
18
|
+
|
19
|
+
# @return [Integer] Total number of resources to which the existence
|
20
|
+
# condition is applicable.
|
21
|
+
attr_accessor :total_resources
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for IfNotExistsEvaluationDetails class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'IfNotExistsEvaluationDetails',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'IfNotExistsEvaluationDetails',
|
36
|
+
model_properties: {
|
37
|
+
resource_id: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'resourceId',
|
41
|
+
type: {
|
42
|
+
name: 'String'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
total_resources: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'totalResources',
|
49
|
+
type: {
|
50
|
+
name: 'Number'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|