azure_mgmt_policy 0.17.4 → 0.17.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
- data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_definitions.rb +10 -0
- data/lib/2016-04-01/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
- data/lib/2016-04-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_policy/policy_definitions.rb +10 -0
- data/lib/2016-12-01/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
- data/lib/2016-12-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
- data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
- data/lib/2018-03-01/generated/azure_mgmt_policy/policy_assignments.rb +101 -84
- data/lib/2018-03-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2018-03-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
- data/lib/2018-03-01/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_assignments.rb +101 -84
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
- data/lib/2018-05-01/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy.rb +42 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/error_response.rb +69 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/identity.rb +72 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment.rb +196 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition.rb +152 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/module_definition.rb +9 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/policy_assignments.rb +1902 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/policy_client.rb +139 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -0
- data/lib/2019-01-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy.rb +43 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/enforcement_mode.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/error_response.rb +69 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/identity.rb +72 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_assignment.rb +209 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition.rb +152 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/module_definition.rb +9 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/policy_assignments.rb +1902 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/policy_client.rb +139 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -0
- data/lib/2019-06-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy.rb +49 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/enforcement_mode.rb +16 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/error_additional_info.rb +59 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/error_response.rb +113 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/identity.rb +73 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/parameter_definitions_value.rb +91 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/parameter_definitions_value_metadata.rb +76 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/parameter_type.rb +21 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/parameter_values_value.rb +46 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_assignment.rb +220 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_definition.rb +164 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_definition_group.rb +91 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +100 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +182 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/policy_type.rb +18 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/module_definition.rb +9 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/policy_assignments.rb +2179 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/policy_client.rb +139 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -0
- data/lib/2019-09-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -0
- data/lib/azure_mgmt_policy.rb +6 -3
- data/lib/profiles/latest/modules/policy_profile_module.rb +32 -32
- data/lib/version.rb +1 -1
- metadata +67 -5
@@ -132,7 +132,7 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
132
132
|
#
|
133
133
|
def add_telemetry
|
134
134
|
sdk_information = 'azure_mgmt_policy'
|
135
|
-
sdk_information = "#{sdk_information}/0.17.
|
135
|
+
sdk_information = "#{sdk_information}/0.17.9"
|
136
136
|
add_user_agent_information(sdk_information)
|
137
137
|
end
|
138
138
|
end
|
@@ -116,6 +116,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
116
116
|
end
|
117
117
|
|
118
118
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
119
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
120
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
119
121
|
# Deserialize Response
|
120
122
|
if status_code == 201
|
121
123
|
begin
|
@@ -215,6 +217,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
215
217
|
end
|
216
218
|
|
217
219
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
220
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
221
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
218
222
|
|
219
223
|
result
|
220
224
|
end
|
@@ -305,6 +309,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
305
309
|
end
|
306
310
|
|
307
311
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
312
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
313
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
308
314
|
# Deserialize Response
|
309
315
|
if status_code == 200
|
310
316
|
begin
|
@@ -401,6 +407,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
401
407
|
end
|
402
408
|
|
403
409
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
410
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
411
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
404
412
|
# Deserialize Response
|
405
413
|
if status_code == 200
|
406
414
|
begin
|
@@ -515,6 +523,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
515
523
|
end
|
516
524
|
|
517
525
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
526
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
527
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
518
528
|
# Deserialize Response
|
519
529
|
if status_code == 201
|
520
530
|
begin
|
@@ -617,6 +627,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
617
627
|
end
|
618
628
|
|
619
629
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
630
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
631
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
620
632
|
|
621
633
|
result
|
622
634
|
end
|
@@ -710,6 +722,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
710
722
|
end
|
711
723
|
|
712
724
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
725
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
726
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
713
727
|
# Deserialize Response
|
714
728
|
if status_code == 200
|
715
729
|
begin
|
@@ -803,6 +817,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
803
817
|
end
|
804
818
|
|
805
819
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
820
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
821
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
806
822
|
# Deserialize Response
|
807
823
|
if status_code == 200
|
808
824
|
begin
|
@@ -891,6 +907,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
891
907
|
end
|
892
908
|
|
893
909
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
910
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
911
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
894
912
|
# Deserialize Response
|
895
913
|
if status_code == 200
|
896
914
|
begin
|
@@ -987,6 +1005,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
987
1005
|
end
|
988
1006
|
|
989
1007
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1008
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1009
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
990
1010
|
# Deserialize Response
|
991
1011
|
if status_code == 200
|
992
1012
|
begin
|
@@ -1084,6 +1104,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
1084
1104
|
end
|
1085
1105
|
|
1086
1106
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1107
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1108
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1087
1109
|
# Deserialize Response
|
1088
1110
|
if status_code == 200
|
1089
1111
|
begin
|
@@ -1178,6 +1200,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
1178
1200
|
end
|
1179
1201
|
|
1180
1202
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1203
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1204
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1181
1205
|
# Deserialize Response
|
1182
1206
|
if status_code == 200
|
1183
1207
|
begin
|
@@ -1275,6 +1299,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
1275
1299
|
end
|
1276
1300
|
|
1277
1301
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1302
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1303
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1278
1304
|
# Deserialize Response
|
1279
1305
|
if status_code == 200
|
1280
1306
|
begin
|
@@ -116,6 +116,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
116
116
|
end
|
117
117
|
|
118
118
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
119
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
120
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
119
121
|
# Deserialize Response
|
120
122
|
if status_code == 201
|
121
123
|
begin
|
@@ -225,6 +227,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
225
227
|
end
|
226
228
|
|
227
229
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
230
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
231
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
228
232
|
|
229
233
|
result
|
230
234
|
end
|
@@ -315,6 +319,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
315
319
|
end
|
316
320
|
|
317
321
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
322
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
323
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
318
324
|
# Deserialize Response
|
319
325
|
if status_code == 200
|
320
326
|
begin
|
@@ -414,6 +420,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
414
420
|
end
|
415
421
|
|
416
422
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
423
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
424
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
417
425
|
# Deserialize Response
|
418
426
|
if status_code == 200
|
419
427
|
begin
|
@@ -507,6 +515,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
507
515
|
end
|
508
516
|
|
509
517
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
518
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
519
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
510
520
|
# Deserialize Response
|
511
521
|
if status_code == 200
|
512
522
|
begin
|
@@ -595,6 +605,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
595
605
|
end
|
596
606
|
|
597
607
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
608
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
609
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
598
610
|
# Deserialize Response
|
599
611
|
if status_code == 200
|
600
612
|
begin
|
@@ -709,6 +721,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
709
721
|
end
|
710
722
|
|
711
723
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
724
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
725
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
712
726
|
# Deserialize Response
|
713
727
|
if status_code == 201
|
714
728
|
begin
|
@@ -821,6 +835,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
821
835
|
end
|
822
836
|
|
823
837
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
838
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
839
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
824
840
|
|
825
841
|
result
|
826
842
|
end
|
@@ -914,6 +930,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
914
930
|
end
|
915
931
|
|
916
932
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
933
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
934
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
917
935
|
# Deserialize Response
|
918
936
|
if status_code == 200
|
919
937
|
begin
|
@@ -1010,6 +1028,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
1010
1028
|
end
|
1011
1029
|
|
1012
1030
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1031
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1032
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1013
1033
|
# Deserialize Response
|
1014
1034
|
if status_code == 200
|
1015
1035
|
begin
|
@@ -1107,6 +1127,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
1107
1127
|
end
|
1108
1128
|
|
1109
1129
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1130
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1131
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1110
1132
|
# Deserialize Response
|
1111
1133
|
if status_code == 200
|
1112
1134
|
begin
|
@@ -1201,6 +1223,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
1201
1223
|
end
|
1202
1224
|
|
1203
1225
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1226
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1227
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1204
1228
|
# Deserialize Response
|
1205
1229
|
if status_code == 200
|
1206
1230
|
begin
|
@@ -1298,6 +1322,8 @@ module Azure::Policy::Mgmt::V2018_03_01
|
|
1298
1322
|
end
|
1299
1323
|
|
1300
1324
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1325
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1326
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1301
1327
|
# Deserialize Response
|
1302
1328
|
if status_code == 200
|
1303
1329
|
begin
|
@@ -136,6 +136,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
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
|
@@ -275,6 +277,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
275
277
|
end
|
276
278
|
|
277
279
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
280
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
281
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
278
282
|
# Deserialize Response
|
279
283
|
if status_code == 201
|
280
284
|
begin
|
@@ -400,6 +404,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
400
404
|
end
|
401
405
|
|
402
406
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
407
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
408
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
403
409
|
# Deserialize Response
|
404
410
|
if status_code == 200
|
405
411
|
begin
|
@@ -431,8 +437,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
431
437
|
# assignments that apply to the resource group, which is everything in the
|
432
438
|
# unfiltered list except those applied to resources contained within the
|
433
439
|
# resource group. If $filter=policyDefinitionId eq '{value}' is provided, the
|
434
|
-
# returned list includes
|
435
|
-
#
|
440
|
+
# returned list includes all policy assignments of the policy definition whose
|
441
|
+
# id is {value} that apply to the resource group.
|
436
442
|
#
|
437
443
|
# @param resource_group_name [String] The name of the resource group that
|
438
444
|
# contains policy assignments.
|
@@ -463,8 +469,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
463
469
|
# assignments that apply to the resource group, which is everything in the
|
464
470
|
# unfiltered list except those applied to resources contained within the
|
465
471
|
# resource group. If $filter=policyDefinitionId eq '{value}' is provided, the
|
466
|
-
# returned list includes
|
467
|
-
#
|
472
|
+
# returned list includes all policy assignments of the policy definition whose
|
473
|
+
# id is {value} that apply to the resource group.
|
468
474
|
#
|
469
475
|
# @param resource_group_name [String] The name of the resource group that
|
470
476
|
# contains policy assignments.
|
@@ -494,8 +500,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
494
500
|
# assignments that apply to the resource group, which is everything in the
|
495
501
|
# unfiltered list except those applied to resources contained within the
|
496
502
|
# resource group. If $filter=policyDefinitionId eq '{value}' is provided, the
|
497
|
-
# returned list includes
|
498
|
-
#
|
503
|
+
# returned list includes all policy assignments of the policy definition whose
|
504
|
+
# id is {value} that apply to the resource group.
|
499
505
|
#
|
500
506
|
# @param resource_group_name [String] The name of the resource group that
|
501
507
|
# contains policy assignments.
|
@@ -546,6 +552,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
546
552
|
end
|
547
553
|
|
548
554
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
555
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
556
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
549
557
|
# Deserialize Response
|
550
558
|
if status_code == 200
|
551
559
|
begin
|
@@ -576,13 +584,13 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
576
584
|
# is provided, the returned list includes all policy assignments that apply to
|
577
585
|
# the resource, which is everything in the unfiltered list except those applied
|
578
586
|
# to resources contained within the resource. If $filter=policyDefinitionId eq
|
579
|
-
# '{value}' is provided, the returned list includes
|
580
|
-
#
|
581
|
-
#
|
582
|
-
#
|
583
|
-
#
|
584
|
-
#
|
585
|
-
#
|
587
|
+
# '{value}' is provided, the returned list includes all policy assignments of
|
588
|
+
# the policy definition whose id is {value} that apply to the resource. Three
|
589
|
+
# parameters plus the resource name are used to identify a specific resource.
|
590
|
+
# If the resource is not part of a parent resource (the more common case), the
|
591
|
+
# parent resource path should not be provided (or provided as ''). For example
|
592
|
+
# a web app could be specified as ({resourceProviderNamespace} ==
|
593
|
+
# 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
|
586
594
|
# {resourceName} == 'MyWebApp'). If the resource is part of a parent resource,
|
587
595
|
# then all parameters should be provided. For example a virtual machine DNS
|
588
596
|
# name could be specified as ({resourceProviderNamespace} ==
|
@@ -630,13 +638,13 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
630
638
|
# is provided, the returned list includes all policy assignments that apply to
|
631
639
|
# the resource, which is everything in the unfiltered list except those applied
|
632
640
|
# to resources contained within the resource. If $filter=policyDefinitionId eq
|
633
|
-
# '{value}' is provided, the returned list includes
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
637
|
-
#
|
638
|
-
#
|
639
|
-
#
|
641
|
+
# '{value}' is provided, the returned list includes all policy assignments of
|
642
|
+
# the policy definition whose id is {value} that apply to the resource. Three
|
643
|
+
# parameters plus the resource name are used to identify a specific resource.
|
644
|
+
# If the resource is not part of a parent resource (the more common case), the
|
645
|
+
# parent resource path should not be provided (or provided as ''). For example
|
646
|
+
# a web app could be specified as ({resourceProviderNamespace} ==
|
647
|
+
# 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
|
640
648
|
# {resourceName} == 'MyWebApp'). If the resource is part of a parent resource,
|
641
649
|
# then all parameters should be provided. For example a virtual machine DNS
|
642
650
|
# name could be specified as ({resourceProviderNamespace} ==
|
@@ -683,13 +691,13 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
683
691
|
# is provided, the returned list includes all policy assignments that apply to
|
684
692
|
# the resource, which is everything in the unfiltered list except those applied
|
685
693
|
# to resources contained within the resource. If $filter=policyDefinitionId eq
|
686
|
-
# '{value}' is provided, the returned list includes
|
687
|
-
#
|
688
|
-
#
|
689
|
-
#
|
690
|
-
#
|
691
|
-
#
|
692
|
-
#
|
694
|
+
# '{value}' is provided, the returned list includes all policy assignments of
|
695
|
+
# the policy definition whose id is {value} that apply to the resource. Three
|
696
|
+
# parameters plus the resource name are used to identify a specific resource.
|
697
|
+
# If the resource is not part of a parent resource (the more common case), the
|
698
|
+
# parent resource path should not be provided (or provided as ''). For example
|
699
|
+
# a web app could be specified as ({resourceProviderNamespace} ==
|
700
|
+
# 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
|
693
701
|
# {resourceName} == 'MyWebApp'). If the resource is part of a parent resource,
|
694
702
|
# then all parameters should be provided. For example a virtual machine DNS
|
695
703
|
# name could be specified as ({resourceProviderNamespace} ==
|
@@ -762,6 +770,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
762
770
|
end
|
763
771
|
|
764
772
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
773
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
774
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
765
775
|
# Deserialize Response
|
766
776
|
if status_code == 200
|
767
777
|
begin
|
@@ -792,9 +802,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
792
802
|
# provided, the returned list includes all policy assignments that apply to the
|
793
803
|
# subscription, which is everything in the unfiltered list except those applied
|
794
804
|
# to objects contained within the subscription. If $filter=policyDefinitionId
|
795
|
-
# eq '{value}' is provided, the returned list includes
|
796
|
-
#
|
797
|
-
# {value}.
|
805
|
+
# eq '{value}' is provided, the returned list includes all policy assignments
|
806
|
+
# of the policy definition whose id is {value}.
|
798
807
|
#
|
799
808
|
# @param filter [String] The filter to apply on the operation. Valid values for
|
800
809
|
# $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is
|
@@ -822,9 +831,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
822
831
|
# provided, the returned list includes all policy assignments that apply to the
|
823
832
|
# subscription, which is everything in the unfiltered list except those applied
|
824
833
|
# to objects contained within the subscription. If $filter=policyDefinitionId
|
825
|
-
# eq '{value}' is provided, the returned list includes
|
826
|
-
#
|
827
|
-
# {value}.
|
834
|
+
# eq '{value}' is provided, the returned list includes all policy assignments
|
835
|
+
# of the policy definition whose id is {value}.
|
828
836
|
#
|
829
837
|
# @param filter [String] The filter to apply on the operation. Valid values for
|
830
838
|
# $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is
|
@@ -851,9 +859,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
851
859
|
# provided, the returned list includes all policy assignments that apply to the
|
852
860
|
# subscription, which is everything in the unfiltered list except those applied
|
853
861
|
# to objects contained within the subscription. If $filter=policyDefinitionId
|
854
|
-
# eq '{value}' is provided, the returned list includes
|
855
|
-
#
|
856
|
-
# {value}.
|
862
|
+
# eq '{value}' is provided, the returned list includes all policy assignments
|
863
|
+
# of the policy definition whose id is {value}.
|
857
864
|
#
|
858
865
|
# @param filter [String] The filter to apply on the operation. Valid values for
|
859
866
|
# $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is
|
@@ -897,6 +904,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
897
904
|
end
|
898
905
|
|
899
906
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
907
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
908
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
900
909
|
# Deserialize Response
|
901
910
|
if status_code == 200
|
902
911
|
begin
|
@@ -1023,6 +1032,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1023
1032
|
end
|
1024
1033
|
|
1025
1034
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1035
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1036
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1026
1037
|
# Deserialize Response
|
1027
1038
|
if status_code == 200
|
1028
1039
|
begin
|
@@ -1169,6 +1180,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1169
1180
|
end
|
1170
1181
|
|
1171
1182
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1183
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1184
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1172
1185
|
# Deserialize Response
|
1173
1186
|
if status_code == 201
|
1174
1187
|
begin
|
@@ -1295,6 +1308,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1295
1308
|
end
|
1296
1309
|
|
1297
1310
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1311
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1312
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1298
1313
|
# Deserialize Response
|
1299
1314
|
if status_code == 200
|
1300
1315
|
begin
|
@@ -1326,8 +1341,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1326
1341
|
# assignments that apply to the resource group, which is everything in the
|
1327
1342
|
# unfiltered list except those applied to resources contained within the
|
1328
1343
|
# resource group. If $filter=policyDefinitionId eq '{value}' is provided, the
|
1329
|
-
# returned list includes
|
1330
|
-
#
|
1344
|
+
# returned list includes all policy assignments of the policy definition whose
|
1345
|
+
# id is {value} that apply to the resource group.
|
1331
1346
|
#
|
1332
1347
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1333
1348
|
# to List operation.
|
@@ -1355,8 +1370,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1355
1370
|
# assignments that apply to the resource group, which is everything in the
|
1356
1371
|
# unfiltered list except those applied to resources contained within the
|
1357
1372
|
# resource group. If $filter=policyDefinitionId eq '{value}' is provided, the
|
1358
|
-
# returned list includes
|
1359
|
-
#
|
1373
|
+
# returned list includes all policy assignments of the policy definition whose
|
1374
|
+
# id is {value} that apply to the resource group.
|
1360
1375
|
#
|
1361
1376
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1362
1377
|
# to List operation.
|
@@ -1383,8 +1398,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1383
1398
|
# assignments that apply to the resource group, which is everything in the
|
1384
1399
|
# unfiltered list except those applied to resources contained within the
|
1385
1400
|
# resource group. If $filter=policyDefinitionId eq '{value}' is provided, the
|
1386
|
-
# returned list includes
|
1387
|
-
#
|
1401
|
+
# returned list includes all policy assignments of the policy definition whose
|
1402
|
+
# id is {value} that apply to the resource group.
|
1388
1403
|
#
|
1389
1404
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1390
1405
|
# to List operation.
|
@@ -1425,6 +1440,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1425
1440
|
end
|
1426
1441
|
|
1427
1442
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1443
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1444
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1428
1445
|
# Deserialize Response
|
1429
1446
|
if status_code == 200
|
1430
1447
|
begin
|
@@ -1455,13 +1472,13 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1455
1472
|
# is provided, the returned list includes all policy assignments that apply to
|
1456
1473
|
# the resource, which is everything in the unfiltered list except those applied
|
1457
1474
|
# to resources contained within the resource. If $filter=policyDefinitionId eq
|
1458
|
-
# '{value}' is provided, the returned list includes
|
1459
|
-
#
|
1460
|
-
#
|
1461
|
-
#
|
1462
|
-
#
|
1463
|
-
#
|
1464
|
-
#
|
1475
|
+
# '{value}' is provided, the returned list includes all policy assignments of
|
1476
|
+
# the policy definition whose id is {value} that apply to the resource. Three
|
1477
|
+
# parameters plus the resource name are used to identify a specific resource.
|
1478
|
+
# If the resource is not part of a parent resource (the more common case), the
|
1479
|
+
# parent resource path should not be provided (or provided as ''). For example
|
1480
|
+
# a web app could be specified as ({resourceProviderNamespace} ==
|
1481
|
+
# 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
|
1465
1482
|
# {resourceName} == 'MyWebApp'). If the resource is part of a parent resource,
|
1466
1483
|
# then all parameters should be provided. For example a virtual machine DNS
|
1467
1484
|
# name could be specified as ({resourceProviderNamespace} ==
|
@@ -1498,13 +1515,13 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1498
1515
|
# is provided, the returned list includes all policy assignments that apply to
|
1499
1516
|
# the resource, which is everything in the unfiltered list except those applied
|
1500
1517
|
# to resources contained within the resource. If $filter=policyDefinitionId eq
|
1501
|
-
# '{value}' is provided, the returned list includes
|
1502
|
-
#
|
1503
|
-
#
|
1504
|
-
#
|
1505
|
-
#
|
1506
|
-
#
|
1507
|
-
#
|
1518
|
+
# '{value}' is provided, the returned list includes all policy assignments of
|
1519
|
+
# the policy definition whose id is {value} that apply to the resource. Three
|
1520
|
+
# parameters plus the resource name are used to identify a specific resource.
|
1521
|
+
# If the resource is not part of a parent resource (the more common case), the
|
1522
|
+
# parent resource path should not be provided (or provided as ''). For example
|
1523
|
+
# a web app could be specified as ({resourceProviderNamespace} ==
|
1524
|
+
# 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
|
1508
1525
|
# {resourceName} == 'MyWebApp'). If the resource is part of a parent resource,
|
1509
1526
|
# then all parameters should be provided. For example a virtual machine DNS
|
1510
1527
|
# name could be specified as ({resourceProviderNamespace} ==
|
@@ -1540,13 +1557,13 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1540
1557
|
# is provided, the returned list includes all policy assignments that apply to
|
1541
1558
|
# the resource, which is everything in the unfiltered list except those applied
|
1542
1559
|
# to resources contained within the resource. If $filter=policyDefinitionId eq
|
1543
|
-
# '{value}' is provided, the returned list includes
|
1544
|
-
#
|
1545
|
-
#
|
1546
|
-
#
|
1547
|
-
#
|
1548
|
-
#
|
1549
|
-
#
|
1560
|
+
# '{value}' is provided, the returned list includes all policy assignments of
|
1561
|
+
# the policy definition whose id is {value} that apply to the resource. Three
|
1562
|
+
# parameters plus the resource name are used to identify a specific resource.
|
1563
|
+
# If the resource is not part of a parent resource (the more common case), the
|
1564
|
+
# parent resource path should not be provided (or provided as ''). For example
|
1565
|
+
# a web app could be specified as ({resourceProviderNamespace} ==
|
1566
|
+
# 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
|
1550
1567
|
# {resourceName} == 'MyWebApp'). If the resource is part of a parent resource,
|
1551
1568
|
# then all parameters should be provided. For example a virtual machine DNS
|
1552
1569
|
# name could be specified as ({resourceProviderNamespace} ==
|
@@ -1597,6 +1614,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1597
1614
|
end
|
1598
1615
|
|
1599
1616
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1617
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1618
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1600
1619
|
# Deserialize Response
|
1601
1620
|
if status_code == 200
|
1602
1621
|
begin
|
@@ -1627,9 +1646,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1627
1646
|
# provided, the returned list includes all policy assignments that apply to the
|
1628
1647
|
# subscription, which is everything in the unfiltered list except those applied
|
1629
1648
|
# to objects contained within the subscription. If $filter=policyDefinitionId
|
1630
|
-
# eq '{value}' is provided, the returned list includes
|
1631
|
-
#
|
1632
|
-
# {value}.
|
1649
|
+
# eq '{value}' is provided, the returned list includes all policy assignments
|
1650
|
+
# of the policy definition whose id is {value}.
|
1633
1651
|
#
|
1634
1652
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1635
1653
|
# to List operation.
|
@@ -1656,9 +1674,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1656
1674
|
# provided, the returned list includes all policy assignments that apply to the
|
1657
1675
|
# subscription, which is everything in the unfiltered list except those applied
|
1658
1676
|
# to objects contained within the subscription. If $filter=policyDefinitionId
|
1659
|
-
# eq '{value}' is provided, the returned list includes
|
1660
|
-
#
|
1661
|
-
# {value}.
|
1677
|
+
# eq '{value}' is provided, the returned list includes all policy assignments
|
1678
|
+
# of the policy definition whose id is {value}.
|
1662
1679
|
#
|
1663
1680
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1664
1681
|
# to List operation.
|
@@ -1684,9 +1701,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1684
1701
|
# provided, the returned list includes all policy assignments that apply to the
|
1685
1702
|
# subscription, which is everything in the unfiltered list except those applied
|
1686
1703
|
# to objects contained within the subscription. If $filter=policyDefinitionId
|
1687
|
-
# eq '{value}' is provided, the returned list includes
|
1688
|
-
#
|
1689
|
-
# {value}.
|
1704
|
+
# eq '{value}' is provided, the returned list includes all policy assignments
|
1705
|
+
# of the policy definition whose id is {value}.
|
1690
1706
|
#
|
1691
1707
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1692
1708
|
# to List operation.
|
@@ -1727,6 +1743,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1727
1743
|
end
|
1728
1744
|
|
1729
1745
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1746
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1747
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1730
1748
|
# Deserialize Response
|
1731
1749
|
if status_code == 200
|
1732
1750
|
begin
|
@@ -1758,8 +1776,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1758
1776
|
# assignments that apply to the resource group, which is everything in the
|
1759
1777
|
# unfiltered list except those applied to resources contained within the
|
1760
1778
|
# resource group. If $filter=policyDefinitionId eq '{value}' is provided, the
|
1761
|
-
# returned list includes
|
1762
|
-
#
|
1779
|
+
# returned list includes all policy assignments of the policy definition whose
|
1780
|
+
# id is {value} that apply to the resource group.
|
1763
1781
|
#
|
1764
1782
|
# @param resource_group_name [String] The name of the resource group that
|
1765
1783
|
# contains policy assignments.
|
@@ -1796,13 +1814,13 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1796
1814
|
# is provided, the returned list includes all policy assignments that apply to
|
1797
1815
|
# the resource, which is everything in the unfiltered list except those applied
|
1798
1816
|
# to resources contained within the resource. If $filter=policyDefinitionId eq
|
1799
|
-
# '{value}' is provided, the returned list includes
|
1800
|
-
#
|
1801
|
-
#
|
1802
|
-
#
|
1803
|
-
#
|
1804
|
-
#
|
1805
|
-
#
|
1817
|
+
# '{value}' is provided, the returned list includes all policy assignments of
|
1818
|
+
# the policy definition whose id is {value} that apply to the resource. Three
|
1819
|
+
# parameters plus the resource name are used to identify a specific resource.
|
1820
|
+
# If the resource is not part of a parent resource (the more common case), the
|
1821
|
+
# parent resource path should not be provided (or provided as ''). For example
|
1822
|
+
# a web app could be specified as ({resourceProviderNamespace} ==
|
1823
|
+
# 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
|
1806
1824
|
# {resourceName} == 'MyWebApp'). If the resource is part of a parent resource,
|
1807
1825
|
# then all parameters should be provided. For example a virtual machine DNS
|
1808
1826
|
# name could be specified as ({resourceProviderNamespace} ==
|
@@ -1857,9 +1875,8 @@ module Azure::Policy::Mgmt::V2018_05_01
|
|
1857
1875
|
# provided, the returned list includes all policy assignments that apply to the
|
1858
1876
|
# subscription, which is everything in the unfiltered list except those applied
|
1859
1877
|
# to objects contained within the subscription. If $filter=policyDefinitionId
|
1860
|
-
# eq '{value}' is provided, the returned list includes
|
1861
|
-
#
|
1862
|
-
# {value}.
|
1878
|
+
# eq '{value}' is provided, the returned list includes all policy assignments
|
1879
|
+
# of the policy definition whose id is {value}.
|
1863
1880
|
#
|
1864
1881
|
# @param filter [String] The filter to apply on the operation. Valid values for
|
1865
1882
|
# $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is
|