azure_mgmt_policy 0.17.4 → 0.17.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
  4. data/lib/2015-10-01-preview/generated/azure_mgmt_policy/policy_definitions.rb +10 -0
  5. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
  6. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  7. data/lib/2016-04-01/generated/azure_mgmt_policy/policy_definitions.rb +10 -0
  8. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
  9. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  10. data/lib/2016-12-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
  11. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_assignments.rb +24 -0
  12. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_client.rb +1 -1
  13. data/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
  14. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_assignments.rb +101 -84
  15. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  16. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
  17. data/lib/2018-03-01/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
  18. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_assignments.rb +101 -84
  19. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_client.rb +1 -1
  20. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb +26 -0
  21. data/lib/2018-05-01/generated/azure_mgmt_policy/policy_set_definitions.rb +26 -0
  22. data/lib/2019-01-01/generated/azure_mgmt_policy.rb +42 -0
  23. data/lib/2019-01-01/generated/azure_mgmt_policy/models/error_response.rb +69 -0
  24. data/lib/2019-01-01/generated/azure_mgmt_policy/models/identity.rb +72 -0
  25. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment.rb +196 -0
  26. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_assignment_list_result.rb +98 -0
  27. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition.rb +152 -0
  28. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_list_result.rb +98 -0
  29. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_definition_reference.rb +58 -0
  30. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition.rb +151 -0
  31. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_set_definition_list_result.rb +99 -0
  32. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_sku.rb +59 -0
  33. data/lib/2019-01-01/generated/azure_mgmt_policy/models/policy_type.rb +17 -0
  34. data/lib/2019-01-01/generated/azure_mgmt_policy/models/resource_identity_type.rb +16 -0
  35. data/lib/2019-01-01/generated/azure_mgmt_policy/module_definition.rb +9 -0
  36. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_assignments.rb +1902 -0
  37. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_client.rb +139 -0
  38. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_definitions.rb +1391 -0
  39. data/lib/2019-01-01/generated/azure_mgmt_policy/policy_set_definitions.rb +1414 -0
  40. data/lib/azure_mgmt_policy.rb +6 -5
  41. data/lib/profiles/latest/modules/policy_profile_module.rb +28 -32
  42. data/lib/version.rb +1 -1
  43. metadata +23 -5
@@ -100,6 +100,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
100
100
  end
101
101
 
102
102
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
103
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
104
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
103
105
  # Deserialize Response
104
106
  if status_code == 200
105
107
  begin
@@ -215,6 +217,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
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
  # Deserialize Response
219
223
  if status_code == 201
220
224
  begin
@@ -310,6 +314,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
310
314
  end
311
315
 
312
316
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
317
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
318
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
313
319
  # Deserialize Response
314
320
  if status_code == 200
315
321
  begin
@@ -408,6 +414,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
408
414
  end
409
415
 
410
416
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
417
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
418
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
411
419
  # Deserialize Response
412
420
  if status_code == 200
413
421
  begin
@@ -528,6 +536,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
528
536
  end
529
537
 
530
538
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
539
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
540
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
531
541
  # Deserialize Response
532
542
  if status_code == 200
533
543
  begin
@@ -615,6 +625,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
615
625
  end
616
626
 
617
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?
618
630
  # Deserialize Response
619
631
  if status_code == 200
620
632
  begin
@@ -729,6 +741,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
729
741
  end
730
742
 
731
743
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
744
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
745
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
732
746
  # Deserialize Response
733
747
  if status_code == 200
734
748
  begin
@@ -860,6 +874,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
860
874
  end
861
875
 
862
876
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
877
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
878
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
863
879
  # Deserialize Response
864
880
  if status_code == 201
865
881
  begin
@@ -974,6 +990,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
974
990
  end
975
991
 
976
992
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
993
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
994
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
977
995
  # Deserialize Response
978
996
  if status_code == 200
979
997
  begin
@@ -1062,6 +1080,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
1062
1080
  end
1063
1081
 
1064
1082
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1083
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1084
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1065
1085
  # Deserialize Response
1066
1086
  if status_code == 200
1067
1087
  begin
@@ -1150,6 +1170,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
1150
1170
  end
1151
1171
 
1152
1172
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1173
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1174
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1153
1175
  # Deserialize Response
1154
1176
  if status_code == 200
1155
1177
  begin
@@ -1238,6 +1260,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
1238
1260
  end
1239
1261
 
1240
1262
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1263
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1264
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1241
1265
  # Deserialize Response
1242
1266
  if status_code == 200
1243
1267
  begin
@@ -128,7 +128,7 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_policy'
131
- sdk_information = "#{sdk_information}/0.17.4"
131
+ sdk_information = "#{sdk_information}/0.17.5"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -107,6 +107,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
107
107
  end
108
108
 
109
109
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
110
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
111
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
110
112
  # Deserialize Response
111
113
  if status_code == 201
112
114
  begin
@@ -207,6 +209,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
207
209
  end
208
210
 
209
211
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
212
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
213
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
210
214
 
211
215
  result
212
216
  end
@@ -288,6 +292,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
288
292
  end
289
293
 
290
294
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
295
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
296
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
291
297
  # Deserialize Response
292
298
  if status_code == 200
293
299
  begin
@@ -378,6 +384,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
378
384
  end
379
385
 
380
386
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
387
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
388
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
381
389
  # Deserialize Response
382
390
  if status_code == 200
383
391
  begin
@@ -462,6 +470,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
462
470
  end
463
471
 
464
472
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
473
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
474
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
465
475
  # Deserialize Response
466
476
  if status_code == 200
467
477
  begin
@@ -544,6 +554,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
544
554
  end
545
555
 
546
556
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
557
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
558
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
547
559
  # Deserialize Response
548
560
  if status_code == 200
549
561
  begin
@@ -649,6 +661,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
649
661
  end
650
662
 
651
663
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
664
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
665
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
652
666
  # Deserialize Response
653
667
  if status_code == 201
654
668
  begin
@@ -752,6 +766,8 @@ module Azure::Policy::Mgmt::V2017_06_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
 
756
772
  result
757
773
  end
@@ -836,6 +852,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
836
852
  end
837
853
 
838
854
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
855
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
856
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
839
857
  # Deserialize Response
840
858
  if status_code == 200
841
859
  begin
@@ -923,6 +941,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
923
941
  end
924
942
 
925
943
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
944
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
945
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
926
946
  # Deserialize Response
927
947
  if status_code == 200
928
948
  begin
@@ -1011,6 +1031,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
1011
1031
  end
1012
1032
 
1013
1033
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1034
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1035
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1014
1036
  # Deserialize Response
1015
1037
  if status_code == 200
1016
1038
  begin
@@ -1099,6 +1121,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
1099
1121
  end
1100
1122
 
1101
1123
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1124
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1125
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1102
1126
  # Deserialize Response
1103
1127
  if status_code == 200
1104
1128
  begin
@@ -1187,6 +1211,8 @@ module Azure::Policy::Mgmt::V2017_06_01_preview
1187
1211
  end
1188
1212
 
1189
1213
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1214
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
1215
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
1190
1216
  # Deserialize Response
1191
1217
  if status_code == 200
1192
1218
  begin
@@ -136,6 +136,8 @@ module Azure::Policy::Mgmt::V2018_03_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_03_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_03_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_03_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 only policy assignments that apply to the resource
435
- # group and assign the policy definition whose id is {value}.
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_03_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 only policy assignments that apply to the resource
467
- # group and assign the policy definition whose id is {value}.
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_03_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 only policy assignments that apply to the resource
498
- # group and assign the policy definition whose id is {value}.
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_03_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_03_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 only policy assignments
580
- # that apply to the resource and assign the policy definition whose id is
581
- # {value}. Three parameters plus the resource name are used to identify a
582
- # specific resource. If the resource is not part of a parent resource (the more
583
- # common case), the parent resource path should not be provided (or provided as
584
- # ''). For example a web app could be specified as ({resourceProviderNamespace}
585
- # == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
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_03_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 only policy assignments
634
- # that apply to the resource and assign the policy definition whose id is
635
- # {value}. Three parameters plus the resource name are used to identify a
636
- # specific resource. If the resource is not part of a parent resource (the more
637
- # common case), the parent resource path should not be provided (or provided as
638
- # ''). For example a web app could be specified as ({resourceProviderNamespace}
639
- # == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
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_03_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 only policy assignments
687
- # that apply to the resource and assign the policy definition whose id is
688
- # {value}. Three parameters plus the resource name are used to identify a
689
- # specific resource. If the resource is not part of a parent resource (the more
690
- # common case), the parent resource path should not be provided (or provided as
691
- # ''). For example a web app could be specified as ({resourceProviderNamespace}
692
- # == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
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_03_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_03_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 only policy assignments
796
- # that apply to the subscription and assign the policy definition whose id is
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_03_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 only policy assignments
826
- # that apply to the subscription and assign the policy definition whose id is
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_03_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 only policy assignments
855
- # that apply to the subscription and assign the policy definition whose id is
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_03_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_03_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_03_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_03_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_03_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 only policy assignments that apply to the resource
1330
- # group and assign the policy definition whose id is {value}.
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_03_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 only policy assignments that apply to the resource
1359
- # group and assign the policy definition whose id is {value}.
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_03_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 only policy assignments that apply to the resource
1387
- # group and assign the policy definition whose id is {value}.
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_03_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_03_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 only policy assignments
1459
- # that apply to the resource and assign the policy definition whose id is
1460
- # {value}. Three parameters plus the resource name are used to identify a
1461
- # specific resource. If the resource is not part of a parent resource (the more
1462
- # common case), the parent resource path should not be provided (or provided as
1463
- # ''). For example a web app could be specified as ({resourceProviderNamespace}
1464
- # == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
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_03_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 only policy assignments
1502
- # that apply to the resource and assign the policy definition whose id is
1503
- # {value}. Three parameters plus the resource name are used to identify a
1504
- # specific resource. If the resource is not part of a parent resource (the more
1505
- # common case), the parent resource path should not be provided (or provided as
1506
- # ''). For example a web app could be specified as ({resourceProviderNamespace}
1507
- # == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
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_03_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 only policy assignments
1544
- # that apply to the resource and assign the policy definition whose id is
1545
- # {value}. Three parameters plus the resource name are used to identify a
1546
- # specific resource. If the resource is not part of a parent resource (the more
1547
- # common case), the parent resource path should not be provided (or provided as
1548
- # ''). For example a web app could be specified as ({resourceProviderNamespace}
1549
- # == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
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_03_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_03_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 only policy assignments
1631
- # that apply to the subscription and assign the policy definition whose id is
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_03_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 only policy assignments
1660
- # that apply to the subscription and assign the policy definition whose id is
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_03_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 only policy assignments
1688
- # that apply to the subscription and assign the policy definition whose id is
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_03_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_03_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 only policy assignments that apply to the resource
1762
- # group and assign the policy definition whose id is {value}.
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_03_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 only policy assignments
1800
- # that apply to the resource and assign the policy definition whose id is
1801
- # {value}. Three parameters plus the resource name are used to identify a
1802
- # specific resource. If the resource is not part of a parent resource (the more
1803
- # common case), the parent resource path should not be provided (or provided as
1804
- # ''). For example a web app could be specified as ({resourceProviderNamespace}
1805
- # == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites',
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_03_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 only policy assignments
1861
- # that apply to the subscription and assign the policy definition whose id is
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