azure_mgmt_notification_hubs 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20731451dc8ac0322822a55d3261fde099b5de2c
4
- data.tar.gz: 271b7a8b9ae545e64ff45a9c7f8680c1ac4b6847
3
+ metadata.gz: bf527a6005dfe5f5944e4b579c5b68c849cb3606
4
+ data.tar.gz: 49748d58024697bb944b5745972f3477f6a106e2
5
5
  SHA512:
6
- metadata.gz: d98f48f5b3d0b7f173faeb1c5a41f3497b93066dc96a0f073edcc48e884e7f4bb01ba894eb62166923804e1d8b7035a68964b87fbfb16fec947289905375f725
7
- data.tar.gz: 364d94cbe1db925608520ebd818fbff756ed50582282382e20b04d9ec63119e7fc3b24c432f2a5aa3ab47c466008f153588a97586222c3fd4517221761ae129d
6
+ metadata.gz: 408b8b2290adb392de170aa51a03b564866018c29a773a655f913e1fce8518cf52949246639d91366e2ece62aa091c4eee01b1f141405222837a82f3c03d1107
7
+ data.tar.gz: 455148038b06d83a65c6ef55b48a7c6baa85d36b3ba48d66dc063e1136eb122c526b3d088ab225f90c1d991e5c4ad39bdcded060af2a465d8356912a1edfaa5f
@@ -33,8 +33,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
33
33
  #
34
34
  # @return [CheckNameAvailabilityResponse] operation results.
35
35
  #
36
- def check_availability(resource_group_name, namespace_name, parameters, custom_headers = nil)
37
- response = check_availability_async(resource_group_name, namespace_name, parameters, custom_headers).value!
36
+ def check_availability(resource_group_name, namespace_name, parameters, custom_headers:nil)
37
+ response = check_availability_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
38
38
  response.body unless response.nil?
39
39
  end
40
40
 
@@ -50,8 +50,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
50
50
  #
51
51
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
52
  #
53
- def check_availability_with_http_info(resource_group_name, namespace_name, parameters, custom_headers = nil)
54
- check_availability_async(resource_group_name, namespace_name, parameters, custom_headers).value!
53
+ def check_availability_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil)
54
+ check_availability_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
55
55
  end
56
56
 
57
57
  #
@@ -66,7 +66,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
66
66
  #
67
67
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
68
  #
69
- def check_availability_async(resource_group_name, namespace_name, parameters, custom_headers = nil)
69
+ def check_availability_async(resource_group_name, namespace_name, parameters, custom_headers:nil)
70
70
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
71
71
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
72
72
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -75,13 +75,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
75
75
 
76
76
 
77
77
  request_headers = {}
78
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
78
79
 
79
80
  # Set Headers
80
81
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
81
82
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
82
83
 
83
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
84
-
85
84
  # Serialize Request
86
85
  request_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters.mapper()
87
86
  request_content = @client.serialize(request_mapper, parameters)
@@ -33,8 +33,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
33
33
  #
34
34
  # @return [CheckNameAvailabilityResponse] operation results.
35
35
  #
36
- def check_availability(parameters, custom_headers = nil)
37
- response = check_availability_async(parameters, custom_headers).value!
36
+ def check_availability(parameters, custom_headers:nil)
37
+ response = check_availability_async(parameters, custom_headers:custom_headers).value!
38
38
  response.body unless response.nil?
39
39
  end
40
40
 
@@ -50,8 +50,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
50
50
  #
51
51
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
52
  #
53
- def check_availability_with_http_info(parameters, custom_headers = nil)
54
- check_availability_async(parameters, custom_headers).value!
53
+ def check_availability_with_http_info(parameters, custom_headers:nil)
54
+ check_availability_async(parameters, custom_headers:custom_headers).value!
55
55
  end
56
56
 
57
57
  #
@@ -66,20 +66,19 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
66
66
  #
67
67
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
68
  #
69
- def check_availability_async(parameters, custom_headers = nil)
69
+ def check_availability_async(parameters, custom_headers:nil)
70
70
  fail ArgumentError, 'parameters is nil' if parameters.nil?
71
71
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
72
72
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
73
73
 
74
74
 
75
75
  request_headers = {}
76
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
76
77
 
77
78
  # Set Headers
78
79
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
79
80
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
80
81
 
81
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
82
-
83
82
  # Serialize Request
84
83
  request_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckNameAvailabilityRequestParameters.mapper()
85
84
  request_content = @client.serialize(request_mapper, parameters)
@@ -32,8 +32,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
32
32
  #
33
33
  # @return [CheckAvailabilityResult] operation results.
34
34
  #
35
- def check_availability(parameters, custom_headers = nil)
36
- response = check_availability_async(parameters, custom_headers).value!
35
+ def check_availability(parameters, custom_headers:nil)
36
+ response = check_availability_async(parameters, custom_headers:custom_headers).value!
37
37
  response.body unless response.nil?
38
38
  end
39
39
 
@@ -48,8 +48,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
48
48
  #
49
49
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
50
  #
51
- def check_availability_with_http_info(parameters, custom_headers = nil)
52
- check_availability_async(parameters, custom_headers).value!
51
+ def check_availability_with_http_info(parameters, custom_headers:nil)
52
+ check_availability_async(parameters, custom_headers:custom_headers).value!
53
53
  end
54
54
 
55
55
  #
@@ -63,20 +63,19 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
63
63
  #
64
64
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
65
  #
66
- def check_availability_async(parameters, custom_headers = nil)
66
+ def check_availability_async(parameters, custom_headers:nil)
67
67
  fail ArgumentError, 'parameters is nil' if parameters.nil?
68
68
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
69
69
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
70
70
 
71
71
 
72
72
  request_headers = {}
73
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
73
74
 
74
75
  # Set Headers
75
76
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
76
77
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
77
78
 
78
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
79
-
80
79
  # Serialize Request
81
80
  request_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters.mapper()
82
81
  request_content = @client.serialize(request_mapper, parameters)
@@ -136,8 +135,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
136
135
  #
137
136
  # @return [NamespaceResource] operation results.
138
137
  #
139
- def create_or_update(resource_group_name, namespace_name, parameters, custom_headers = nil)
140
- response = create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers).value!
138
+ def create_or_update(resource_group_name, namespace_name, parameters, custom_headers:nil)
139
+ response = create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
141
140
  response.body unless response.nil?
142
141
  end
143
142
 
@@ -154,8 +153,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
154
153
  #
155
154
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
156
155
  #
157
- def create_or_update_with_http_info(resource_group_name, namespace_name, parameters, custom_headers = nil)
158
- create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers).value!
156
+ def create_or_update_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil)
157
+ create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
159
158
  end
160
159
 
161
160
  #
@@ -171,7 +170,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
171
170
  #
172
171
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
173
172
  #
174
- def create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers = nil)
173
+ def create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers:nil)
175
174
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
176
175
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
177
176
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -180,13 +179,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
180
179
 
181
180
 
182
181
  request_headers = {}
182
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
183
183
 
184
184
  # Set Headers
185
185
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
186
186
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
187
187
 
188
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
189
-
190
188
  # Serialize Request
191
189
  request_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters.mapper()
192
190
  request_content = @client.serialize(request_mapper, parameters)
@@ -255,8 +253,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
255
253
  #
256
254
  # @return [NamespaceResource] operation results.
257
255
  #
258
- def patch(resource_group_name, namespace_name, parameters, custom_headers = nil)
259
- response = patch_async(resource_group_name, namespace_name, parameters, custom_headers).value!
256
+ def patch(resource_group_name, namespace_name, parameters, custom_headers:nil)
257
+ response = patch_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
260
258
  response.body unless response.nil?
261
259
  end
262
260
 
@@ -272,8 +270,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
272
270
  #
273
271
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
274
272
  #
275
- def patch_with_http_info(resource_group_name, namespace_name, parameters, custom_headers = nil)
276
- patch_async(resource_group_name, namespace_name, parameters, custom_headers).value!
273
+ def patch_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil)
274
+ patch_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
277
275
  end
278
276
 
279
277
  #
@@ -288,7 +286,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
288
286
  #
289
287
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
290
288
  #
291
- def patch_async(resource_group_name, namespace_name, parameters, custom_headers = nil)
289
+ def patch_async(resource_group_name, namespace_name, parameters, custom_headers:nil)
292
290
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
293
291
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
294
292
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -297,13 +295,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
297
295
 
298
296
 
299
297
  request_headers = {}
298
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
300
299
 
301
300
  # Set Headers
302
301
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
303
302
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
304
303
 
305
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
306
-
307
304
  # Serialize Request
308
305
  request_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters.mapper()
309
306
  request_content = @client.serialize(request_mapper, parameters)
@@ -359,8 +356,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
359
356
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
360
357
  # will be added to the HTTP request.
361
358
  #
362
- def delete(resource_group_name, namespace_name, custom_headers = nil)
363
- response = delete_async(resource_group_name, namespace_name, custom_headers).value!
359
+ def delete(resource_group_name, namespace_name, custom_headers:nil)
360
+ response = delete_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
364
361
  nil
365
362
  end
366
363
 
@@ -373,9 +370,9 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
373
370
  # @return [Concurrent::Promise] promise which provides async access to http
374
371
  # response.
375
372
  #
376
- def delete_async(resource_group_name, namespace_name, custom_headers = nil)
373
+ def delete_async(resource_group_name, namespace_name, custom_headers:nil)
377
374
  # Send request
378
- promise = begin_delete_async(resource_group_name, namespace_name, custom_headers)
375
+ promise = begin_delete_async(resource_group_name, namespace_name, custom_headers:custom_headers)
379
376
 
380
377
  promise = promise.then do |response|
381
378
  # Defining deserialization method.
@@ -399,8 +396,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
399
396
  #
400
397
  # @return [NamespaceResource] operation results.
401
398
  #
402
- def get(resource_group_name, namespace_name, custom_headers = nil)
403
- response = get_async(resource_group_name, namespace_name, custom_headers).value!
399
+ def get(resource_group_name, namespace_name, custom_headers:nil)
400
+ response = get_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
404
401
  response.body unless response.nil?
405
402
  end
406
403
 
@@ -414,8 +411,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
414
411
  #
415
412
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
416
413
  #
417
- def get_with_http_info(resource_group_name, namespace_name, custom_headers = nil)
418
- get_async(resource_group_name, namespace_name, custom_headers).value!
414
+ def get_with_http_info(resource_group_name, namespace_name, custom_headers:nil)
415
+ get_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
419
416
  end
420
417
 
421
418
  #
@@ -428,7 +425,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
428
425
  #
429
426
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
430
427
  #
431
- def get_async(resource_group_name, namespace_name, custom_headers = nil)
428
+ def get_async(resource_group_name, namespace_name, custom_headers:nil)
432
429
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
433
430
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
434
431
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -436,6 +433,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
436
433
 
437
434
 
438
435
  request_headers = {}
436
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
439
437
 
440
438
  # Set Headers
441
439
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -493,8 +491,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
493
491
  #
494
492
  # @return [SharedAccessAuthorizationRuleResource] operation results.
495
493
  #
496
- def create_or_update_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil)
497
- response = create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers).value!
494
+ def create_or_update_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil)
495
+ response = create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:custom_headers).value!
498
496
  response.body unless response.nil?
499
497
  end
500
498
 
@@ -511,8 +509,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
511
509
  #
512
510
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
513
511
  #
514
- def create_or_update_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil)
515
- create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers).value!
512
+ def create_or_update_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil)
513
+ create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:custom_headers).value!
516
514
  end
517
515
 
518
516
  #
@@ -528,7 +526,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
528
526
  #
529
527
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
530
528
  #
531
- def create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil)
529
+ def create_or_update_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil)
532
530
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
533
531
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
534
532
  fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
@@ -538,13 +536,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
538
536
 
539
537
 
540
538
  request_headers = {}
539
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
541
540
 
542
541
  # Set Headers
543
542
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
544
543
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
545
544
 
546
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
547
-
548
545
  # Serialize Request
549
546
  request_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters.mapper()
550
547
  request_content = @client.serialize(request_mapper, parameters)
@@ -601,8 +598,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
601
598
  # will be added to the HTTP request.
602
599
  #
603
600
  #
604
- def delete_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil)
605
- response = delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value!
601
+ def delete_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
602
+ response = delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value!
606
603
  nil
607
604
  end
608
605
 
@@ -617,8 +614,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
617
614
  #
618
615
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
619
616
  #
620
- def delete_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil)
621
- delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value!
617
+ def delete_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
618
+ delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value!
622
619
  end
623
620
 
624
621
  #
@@ -632,7 +629,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
632
629
  #
633
630
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
634
631
  #
635
- def delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil)
632
+ def delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
636
633
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
637
634
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
638
635
  fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
@@ -641,6 +638,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
641
638
 
642
639
 
643
640
  request_headers = {}
641
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
644
642
 
645
643
  # Set Headers
646
644
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -686,8 +684,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
686
684
  #
687
685
  # @return [SharedAccessAuthorizationRuleResource] operation results.
688
686
  #
689
- def get_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil)
690
- response = get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value!
687
+ def get_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
688
+ response = get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value!
691
689
  response.body unless response.nil?
692
690
  end
693
691
 
@@ -702,8 +700,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
702
700
  #
703
701
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
704
702
  #
705
- def get_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil)
706
- get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value!
703
+ def get_authorization_rule_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
704
+ get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value!
707
705
  end
708
706
 
709
707
  #
@@ -717,7 +715,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
717
715
  #
718
716
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
719
717
  #
720
- def get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil)
718
+ def get_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
721
719
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
722
720
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
723
721
  fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
@@ -726,6 +724,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
726
724
 
727
725
 
728
726
  request_headers = {}
727
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
729
728
 
730
729
  # Set Headers
731
730
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -781,8 +780,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
781
780
  #
782
781
  # @return [Array<NamespaceResource>] operation results.
783
782
  #
784
- def list(resource_group_name, custom_headers = nil)
785
- first_page = list_as_lazy(resource_group_name, custom_headers)
783
+ def list(resource_group_name, custom_headers:nil)
784
+ first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers)
786
785
  first_page.get_all_items
787
786
  end
788
787
 
@@ -797,8 +796,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
797
796
  #
798
797
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
799
798
  #
800
- def list_with_http_info(resource_group_name, custom_headers = nil)
801
- list_async(resource_group_name, custom_headers).value!
799
+ def list_with_http_info(resource_group_name, custom_headers:nil)
800
+ list_async(resource_group_name, custom_headers:custom_headers).value!
802
801
  end
803
802
 
804
803
  #
@@ -812,13 +811,14 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
812
811
  #
813
812
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
814
813
  #
815
- def list_async(resource_group_name, custom_headers = nil)
814
+ def list_async(resource_group_name, custom_headers:nil)
816
815
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
817
816
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
818
817
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
819
818
 
820
819
 
821
820
  request_headers = {}
821
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
822
822
 
823
823
  # Set Headers
824
824
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -872,8 +872,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
872
872
  #
873
873
  # @return [Array<NamespaceResource>] operation results.
874
874
  #
875
- def list_all(custom_headers = nil)
876
- first_page = list_all_as_lazy(custom_headers)
875
+ def list_all(custom_headers:nil)
876
+ first_page = list_all_as_lazy(custom_headers:custom_headers)
877
877
  first_page.get_all_items
878
878
  end
879
879
 
@@ -886,8 +886,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
886
886
  #
887
887
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
888
888
  #
889
- def list_all_with_http_info(custom_headers = nil)
890
- list_all_async(custom_headers).value!
889
+ def list_all_with_http_info(custom_headers:nil)
890
+ list_all_async(custom_headers:custom_headers).value!
891
891
  end
892
892
 
893
893
  #
@@ -899,12 +899,13 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
899
899
  #
900
900
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
901
901
  #
902
- def list_all_async(custom_headers = nil)
902
+ def list_all_async(custom_headers:nil)
903
903
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
904
904
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
905
905
 
906
906
 
907
907
  request_headers = {}
908
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
908
909
 
909
910
  # Set Headers
910
911
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -959,8 +960,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
959
960
  #
960
961
  # @return [Array<SharedAccessAuthorizationRuleResource>] operation results.
961
962
  #
962
- def list_authorization_rules(resource_group_name, namespace_name, custom_headers = nil)
963
- first_page = list_authorization_rules_as_lazy(resource_group_name, namespace_name, custom_headers)
963
+ def list_authorization_rules(resource_group_name, namespace_name, custom_headers:nil)
964
+ first_page = list_authorization_rules_as_lazy(resource_group_name, namespace_name, custom_headers:custom_headers)
964
965
  first_page.get_all_items
965
966
  end
966
967
 
@@ -974,8 +975,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
974
975
  #
975
976
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
976
977
  #
977
- def list_authorization_rules_with_http_info(resource_group_name, namespace_name, custom_headers = nil)
978
- list_authorization_rules_async(resource_group_name, namespace_name, custom_headers).value!
978
+ def list_authorization_rules_with_http_info(resource_group_name, namespace_name, custom_headers:nil)
979
+ list_authorization_rules_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
979
980
  end
980
981
 
981
982
  #
@@ -988,7 +989,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
988
989
  #
989
990
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
990
991
  #
991
- def list_authorization_rules_async(resource_group_name, namespace_name, custom_headers = nil)
992
+ def list_authorization_rules_async(resource_group_name, namespace_name, custom_headers:nil)
992
993
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
993
994
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
994
995
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -996,6 +997,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
996
997
 
997
998
 
998
999
  request_headers = {}
1000
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
999
1001
 
1000
1002
  # Set Headers
1001
1003
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1052,8 +1054,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1052
1054
  #
1053
1055
  # @return [ResourceListKeys] operation results.
1054
1056
  #
1055
- def list_keys(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil)
1056
- response = list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value!
1057
+ def list_keys(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
1058
+ response = list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value!
1057
1059
  response.body unless response.nil?
1058
1060
  end
1059
1061
 
@@ -1069,8 +1071,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1069
1071
  #
1070
1072
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1071
1073
  #
1072
- def list_keys_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil)
1073
- list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers).value!
1074
+ def list_keys_with_http_info(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
1075
+ list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value!
1074
1076
  end
1075
1077
 
1076
1078
  #
@@ -1085,7 +1087,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1085
1087
  #
1086
1088
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1087
1089
  #
1088
- def list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers = nil)
1090
+ def list_keys_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
1089
1091
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1090
1092
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
1091
1093
  fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
@@ -1094,6 +1096,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1094
1096
 
1095
1097
 
1096
1098
  request_headers = {}
1099
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1097
1100
 
1098
1101
  # Set Headers
1099
1102
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1152,8 +1155,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1152
1155
  #
1153
1156
  # @return [ResourceListKeys] operation results.
1154
1157
  #
1155
- def regenerate_keys(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil)
1156
- response = regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers).value!
1158
+ def regenerate_keys(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil)
1159
+ response = regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:custom_headers).value!
1157
1160
  response.body unless response.nil?
1158
1161
  end
1159
1162
 
@@ -1171,8 +1174,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1171
1174
  #
1172
1175
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1173
1176
  #
1174
- def regenerate_keys_with_http_info(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil)
1175
- regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers).value!
1177
+ def regenerate_keys_with_http_info(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil)
1178
+ regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:custom_headers).value!
1176
1179
  end
1177
1180
 
1178
1181
  #
@@ -1189,7 +1192,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1189
1192
  #
1190
1193
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1191
1194
  #
1192
- def regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers = nil)
1195
+ def regenerate_keys_async(resource_group_name, namespace_name, authorization_rule_name, parameters, custom_headers:nil)
1193
1196
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1194
1197
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
1195
1198
  fail ArgumentError, 'authorization_rule_name is nil' if authorization_rule_name.nil?
@@ -1199,13 +1202,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1199
1202
 
1200
1203
 
1201
1204
  request_headers = {}
1205
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1202
1206
 
1203
1207
  # Set Headers
1204
1208
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1205
1209
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1206
1210
 
1207
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
1208
-
1209
1211
  # Serialize Request
1210
1212
  request_mapper = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource.mapper()
1211
1213
  request_content = @client.serialize(request_mapper, parameters)
@@ -1262,8 +1264,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1262
1264
  # will be added to the HTTP request.
1263
1265
  #
1264
1266
  #
1265
- def begin_delete(resource_group_name, namespace_name, custom_headers = nil)
1266
- response = begin_delete_async(resource_group_name, namespace_name, custom_headers).value!
1267
+ def begin_delete(resource_group_name, namespace_name, custom_headers:nil)
1268
+ response = begin_delete_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
1267
1269
  nil
1268
1270
  end
1269
1271
 
@@ -1278,8 +1280,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1278
1280
  #
1279
1281
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1280
1282
  #
1281
- def begin_delete_with_http_info(resource_group_name, namespace_name, custom_headers = nil)
1282
- begin_delete_async(resource_group_name, namespace_name, custom_headers).value!
1283
+ def begin_delete_with_http_info(resource_group_name, namespace_name, custom_headers:nil)
1284
+ begin_delete_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
1283
1285
  end
1284
1286
 
1285
1287
  #
@@ -1293,7 +1295,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1293
1295
  #
1294
1296
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1295
1297
  #
1296
- def begin_delete_async(resource_group_name, namespace_name, custom_headers = nil)
1298
+ def begin_delete_async(resource_group_name, namespace_name, custom_headers:nil)
1297
1299
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1298
1300
  fail ArgumentError, 'namespace_name is nil' if namespace_name.nil?
1299
1301
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -1301,6 +1303,7 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1301
1303
 
1302
1304
 
1303
1305
  request_headers = {}
1306
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1304
1307
 
1305
1308
  # Set Headers
1306
1309
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1345,8 +1348,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1345
1348
  #
1346
1349
  # @return [NamespaceListResult] operation results.
1347
1350
  #
1348
- def list_next(next_page_link, custom_headers = nil)
1349
- response = list_next_async(next_page_link, custom_headers).value!
1351
+ def list_next(next_page_link, custom_headers:nil)
1352
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
1350
1353
  response.body unless response.nil?
1351
1354
  end
1352
1355
 
@@ -1360,8 +1363,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1360
1363
  #
1361
1364
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1362
1365
  #
1363
- def list_next_with_http_info(next_page_link, custom_headers = nil)
1364
- list_next_async(next_page_link, custom_headers).value!
1366
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
1367
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
1365
1368
  end
1366
1369
 
1367
1370
  #
@@ -1374,11 +1377,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1374
1377
  #
1375
1378
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1376
1379
  #
1377
- def list_next_async(next_page_link, custom_headers = nil)
1380
+ def list_next_async(next_page_link, custom_headers:nil)
1378
1381
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1379
1382
 
1380
1383
 
1381
1384
  request_headers = {}
1385
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1382
1386
 
1383
1387
  # Set Headers
1384
1388
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1433,8 +1437,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1433
1437
  #
1434
1438
  # @return [NamespaceListResult] operation results.
1435
1439
  #
1436
- def list_all_next(next_page_link, custom_headers = nil)
1437
- response = list_all_next_async(next_page_link, custom_headers).value!
1440
+ def list_all_next(next_page_link, custom_headers:nil)
1441
+ response = list_all_next_async(next_page_link, custom_headers:custom_headers).value!
1438
1442
  response.body unless response.nil?
1439
1443
  end
1440
1444
 
@@ -1449,8 +1453,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1449
1453
  #
1450
1454
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1451
1455
  #
1452
- def list_all_next_with_http_info(next_page_link, custom_headers = nil)
1453
- list_all_next_async(next_page_link, custom_headers).value!
1456
+ def list_all_next_with_http_info(next_page_link, custom_headers:nil)
1457
+ list_all_next_async(next_page_link, custom_headers:custom_headers).value!
1454
1458
  end
1455
1459
 
1456
1460
  #
@@ -1464,11 +1468,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1464
1468
  #
1465
1469
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1466
1470
  #
1467
- def list_all_next_async(next_page_link, custom_headers = nil)
1471
+ def list_all_next_async(next_page_link, custom_headers:nil)
1468
1472
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1469
1473
 
1470
1474
 
1471
1475
  request_headers = {}
1476
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1472
1477
 
1473
1478
  # Set Headers
1474
1479
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1522,8 +1527,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1522
1527
  #
1523
1528
  # @return [SharedAccessAuthorizationRuleListResult] operation results.
1524
1529
  #
1525
- def list_authorization_rules_next(next_page_link, custom_headers = nil)
1526
- response = list_authorization_rules_next_async(next_page_link, custom_headers).value!
1530
+ def list_authorization_rules_next(next_page_link, custom_headers:nil)
1531
+ response = list_authorization_rules_next_async(next_page_link, custom_headers:custom_headers).value!
1527
1532
  response.body unless response.nil?
1528
1533
  end
1529
1534
 
@@ -1537,8 +1542,8 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1537
1542
  #
1538
1543
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1539
1544
  #
1540
- def list_authorization_rules_next_with_http_info(next_page_link, custom_headers = nil)
1541
- list_authorization_rules_next_async(next_page_link, custom_headers).value!
1545
+ def list_authorization_rules_next_with_http_info(next_page_link, custom_headers:nil)
1546
+ list_authorization_rules_next_async(next_page_link, custom_headers:custom_headers).value!
1542
1547
  end
1543
1548
 
1544
1549
  #
@@ -1551,11 +1556,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1551
1556
  #
1552
1557
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1553
1558
  #
1554
- def list_authorization_rules_next_async(next_page_link, custom_headers = nil)
1559
+ def list_authorization_rules_next_async(next_page_link, custom_headers:nil)
1555
1560
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1556
1561
 
1557
1562
 
1558
1563
  request_headers = {}
1564
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1559
1565
 
1560
1566
  # Set Headers
1561
1567
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1611,12 +1617,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1611
1617
  # @return [NamespaceListResult] which provide lazy access to pages of the
1612
1618
  # response.
1613
1619
  #
1614
- def list_as_lazy(resource_group_name, custom_headers = nil)
1615
- response = list_async(resource_group_name, custom_headers).value!
1620
+ def list_as_lazy(resource_group_name, custom_headers:nil)
1621
+ response = list_async(resource_group_name, custom_headers:custom_headers).value!
1616
1622
  unless response.nil?
1617
1623
  page = response.body
1618
1624
  page.next_method = Proc.new do |next_page_link|
1619
- list_next_async(next_page_link, custom_headers)
1625
+ list_next_async(next_page_link, custom_headers:custom_headers)
1620
1626
  end
1621
1627
  page
1622
1628
  end
@@ -1632,12 +1638,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1632
1638
  # @return [NamespaceListResult] which provide lazy access to pages of the
1633
1639
  # response.
1634
1640
  #
1635
- def list_all_as_lazy(custom_headers = nil)
1636
- response = list_all_async(custom_headers).value!
1641
+ def list_all_as_lazy(custom_headers:nil)
1642
+ response = list_all_async(custom_headers:custom_headers).value!
1637
1643
  unless response.nil?
1638
1644
  page = response.body
1639
1645
  page.next_method = Proc.new do |next_page_link|
1640
- list_all_next_async(next_page_link, custom_headers)
1646
+ list_all_next_async(next_page_link, custom_headers:custom_headers)
1641
1647
  end
1642
1648
  page
1643
1649
  end
@@ -1654,12 +1660,12 @@ module Azure::NotificationHubs::Mgmt::V2017_04_01
1654
1660
  # @return [SharedAccessAuthorizationRuleListResult] which provide lazy access
1655
1661
  # to pages of the response.
1656
1662
  #
1657
- def list_authorization_rules_as_lazy(resource_group_name, namespace_name, custom_headers = nil)
1658
- response = list_authorization_rules_async(resource_group_name, namespace_name, custom_headers).value!
1663
+ def list_authorization_rules_as_lazy(resource_group_name, namespace_name, custom_headers:nil)
1664
+ response = list_authorization_rules_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
1659
1665
  unless response.nil?
1660
1666
  page = response.body
1661
1667
  page.next_method = Proc.new do |next_page_link|
1662
- list_authorization_rules_next_async(next_page_link, custom_headers)
1668
+ list_authorization_rules_next_async(next_page_link, custom_headers:custom_headers)
1663
1669
  end
1664
1670
  page
1665
1671
  end