azure_mgmt_dns 0.16.1 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2016-04-01/generated/azure_mgmt_dns/dns_management_client.rb +7 -6
- data/lib/2016-04-01/generated/azure_mgmt_dns/record_sets.rb +58 -20
- data/lib/2016-04-01/generated/azure_mgmt_dns/zones.rb +42 -15
- data/lib/2017-09-01/generated/azure_mgmt_dns/dns_management_client.rb +7 -6
- data/lib/2017-09-01/generated/azure_mgmt_dns/record_sets.rb +58 -20
- data/lib/2017-09-01/generated/azure_mgmt_dns/zones.rb +42 -15
- data/lib/2017-10-01/generated/azure_mgmt_dns/dns_management_client.rb +7 -6
- data/lib/2017-10-01/generated/azure_mgmt_dns/record_sets.rb +69 -24
- data/lib/2017-10-01/generated/azure_mgmt_dns/zones.rb +51 -18
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/dns_management_client.rb +7 -6
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/record_sets.rb +69 -24
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/zones.rb +51 -18
- data/lib/azure_mgmt_dns.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +4 -4
@@ -24,15 +24,16 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
24
24
|
# @return [String] Specifies the API version.
|
25
25
|
attr_reader :api_version
|
26
26
|
|
27
|
-
# @return [String]
|
27
|
+
# @return [String] The preferred language for the response.
|
28
28
|
attr_accessor :accept_language
|
29
29
|
|
30
|
-
# @return [Integer]
|
31
|
-
#
|
30
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
31
|
+
# Operations. Default value is 30.
|
32
32
|
attr_accessor :long_running_operation_retry_timeout
|
33
33
|
|
34
|
-
# @return [Boolean]
|
35
|
-
#
|
34
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
35
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
36
|
+
# generated and included in each request. Default is true.
|
36
37
|
attr_accessor :generate_client_request_id
|
37
38
|
|
38
39
|
# @return [RecordSets] record_sets
|
@@ -128,7 +129,7 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
128
129
|
#
|
129
130
|
def add_telemetry
|
130
131
|
sdk_information = 'azure_mgmt_dns'
|
131
|
-
sdk_information = "#{sdk_information}/0.
|
132
|
+
sdk_information = "#{sdk_information}/0.17.0"
|
132
133
|
add_user_agent_information(sdk_information)
|
133
134
|
end
|
134
135
|
end
|
@@ -24,7 +24,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
24
24
|
#
|
25
25
|
# Updates a record set within a DNS zone.
|
26
26
|
#
|
27
|
-
# @param resource_group_name [String] The name of the resource group.
|
27
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
28
|
+
# is case insensitive.
|
28
29
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
29
30
|
# dot).
|
30
31
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -49,7 +50,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
49
50
|
#
|
50
51
|
# Updates a record set within a DNS zone.
|
51
52
|
#
|
52
|
-
# @param resource_group_name [String] The name of the resource group.
|
53
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
54
|
+
# is case insensitive.
|
53
55
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
54
56
|
# dot).
|
55
57
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -73,7 +75,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
73
75
|
#
|
74
76
|
# Updates a record set within a DNS zone.
|
75
77
|
#
|
76
|
-
# @param resource_group_name [String] The name of the resource group.
|
78
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
79
|
+
# is case insensitive.
|
77
80
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
78
81
|
# dot).
|
79
82
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -92,6 +95,9 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
92
95
|
#
|
93
96
|
def update_async(resource_group_name, zone_name, relative_record_set_name, record_type, parameters, if_match:nil, custom_headers:nil)
|
94
97
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
98
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
99
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
100
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
95
101
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
96
102
|
fail ArgumentError, 'relative_record_set_name is nil' if relative_record_set_name.nil?
|
97
103
|
fail ArgumentError, 'record_type is nil' if record_type.nil?
|
@@ -158,7 +164,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
158
164
|
#
|
159
165
|
# Creates or updates a record set within a DNS zone.
|
160
166
|
#
|
161
|
-
# @param resource_group_name [String] The name of the resource group.
|
167
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
168
|
+
# is case insensitive.
|
162
169
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
163
170
|
# dot).
|
164
171
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -188,7 +195,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
188
195
|
#
|
189
196
|
# Creates or updates a record set within a DNS zone.
|
190
197
|
#
|
191
|
-
# @param resource_group_name [String] The name of the resource group.
|
198
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
199
|
+
# is case insensitive.
|
192
200
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
193
201
|
# dot).
|
194
202
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -217,7 +225,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
217
225
|
#
|
218
226
|
# Creates or updates a record set within a DNS zone.
|
219
227
|
#
|
220
|
-
# @param resource_group_name [String] The name of the resource group.
|
228
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
229
|
+
# is case insensitive.
|
221
230
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
222
231
|
# dot).
|
223
232
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -241,6 +250,9 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
241
250
|
#
|
242
251
|
def create_or_update_async(resource_group_name, zone_name, relative_record_set_name, record_type, parameters, if_match:nil, if_none_match:nil, custom_headers:nil)
|
243
252
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
253
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
254
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
255
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
244
256
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
245
257
|
fail ArgumentError, 'relative_record_set_name is nil' if relative_record_set_name.nil?
|
246
258
|
fail ArgumentError, 'record_type is nil' if record_type.nil?
|
@@ -318,7 +330,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
318
330
|
#
|
319
331
|
# Deletes a record set from a DNS zone. This operation cannot be undone.
|
320
332
|
#
|
321
|
-
# @param resource_group_name [String] The name of the resource group.
|
333
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
334
|
+
# is case insensitive.
|
322
335
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
323
336
|
# dot).
|
324
337
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -342,7 +355,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
342
355
|
#
|
343
356
|
# Deletes a record set from a DNS zone. This operation cannot be undone.
|
344
357
|
#
|
345
|
-
# @param resource_group_name [String] The name of the resource group.
|
358
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
359
|
+
# is case insensitive.
|
346
360
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
347
361
|
# dot).
|
348
362
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -366,7 +380,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
366
380
|
#
|
367
381
|
# Deletes a record set from a DNS zone. This operation cannot be undone.
|
368
382
|
#
|
369
|
-
# @param resource_group_name [String] The name of the resource group.
|
383
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
384
|
+
# is case insensitive.
|
370
385
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
371
386
|
# dot).
|
372
387
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -385,6 +400,9 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
385
400
|
#
|
386
401
|
def delete_async(resource_group_name, zone_name, relative_record_set_name, record_type, if_match:nil, custom_headers:nil)
|
387
402
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
403
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
404
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
405
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
388
406
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
389
407
|
fail ArgumentError, 'relative_record_set_name is nil' if relative_record_set_name.nil?
|
390
408
|
fail ArgumentError, 'record_type is nil' if record_type.nil?
|
@@ -433,7 +451,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
433
451
|
#
|
434
452
|
# Gets a record set.
|
435
453
|
#
|
436
|
-
# @param resource_group_name [String] The name of the resource group.
|
454
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
455
|
+
# is case insensitive.
|
437
456
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
438
457
|
# dot).
|
439
458
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -454,7 +473,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
454
473
|
#
|
455
474
|
# Gets a record set.
|
456
475
|
#
|
457
|
-
# @param resource_group_name [String] The name of the resource group.
|
476
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
477
|
+
# is case insensitive.
|
458
478
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
459
479
|
# dot).
|
460
480
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -474,7 +494,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
474
494
|
#
|
475
495
|
# Gets a record set.
|
476
496
|
#
|
477
|
-
# @param resource_group_name [String] The name of the resource group.
|
497
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
498
|
+
# is case insensitive.
|
478
499
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
479
500
|
# dot).
|
480
501
|
# @param relative_record_set_name [String] The name of the record set, relative
|
@@ -489,6 +510,9 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
489
510
|
#
|
490
511
|
def get_async(resource_group_name, zone_name, relative_record_set_name, record_type, custom_headers:nil)
|
491
512
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
513
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
514
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
515
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
492
516
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
493
517
|
fail ArgumentError, 'relative_record_set_name is nil' if relative_record_set_name.nil?
|
494
518
|
fail ArgumentError, 'record_type is nil' if record_type.nil?
|
@@ -546,7 +570,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
546
570
|
#
|
547
571
|
# Lists the record sets of a specified type in a DNS zone.
|
548
572
|
#
|
549
|
-
# @param resource_group_name [String] The name of the resource group.
|
573
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
574
|
+
# is case insensitive.
|
550
575
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
551
576
|
# dot).
|
552
577
|
# @param record_type [RecordType] The type of record sets to enumerate.
|
@@ -571,7 +596,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
571
596
|
#
|
572
597
|
# Lists the record sets of a specified type in a DNS zone.
|
573
598
|
#
|
574
|
-
# @param resource_group_name [String] The name of the resource group.
|
599
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
600
|
+
# is case insensitive.
|
575
601
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
576
602
|
# dot).
|
577
603
|
# @param record_type [RecordType] The type of record sets to enumerate.
|
@@ -595,7 +621,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
595
621
|
#
|
596
622
|
# Lists the record sets of a specified type in a DNS zone.
|
597
623
|
#
|
598
|
-
# @param resource_group_name [String] The name of the resource group.
|
624
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
625
|
+
# is case insensitive.
|
599
626
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
600
627
|
# dot).
|
601
628
|
# @param record_type [RecordType] The type of record sets to enumerate.
|
@@ -614,6 +641,9 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
614
641
|
#
|
615
642
|
def list_by_type_async(resource_group_name, zone_name, record_type, top:nil, recordsetnamesuffix:nil, custom_headers:nil)
|
616
643
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
644
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
645
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
646
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
617
647
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
618
648
|
fail ArgumentError, 'record_type is nil' if record_type.nil?
|
619
649
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -669,7 +699,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
669
699
|
#
|
670
700
|
# Lists all record sets in a DNS zone.
|
671
701
|
#
|
672
|
-
# @param resource_group_name [String] The name of the resource group.
|
702
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
703
|
+
# is case insensitive.
|
673
704
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
674
705
|
# dot).
|
675
706
|
# @param top [Integer] The maximum number of record sets to return. If not
|
@@ -691,7 +722,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
691
722
|
#
|
692
723
|
# Lists all record sets in a DNS zone.
|
693
724
|
#
|
694
|
-
# @param resource_group_name [String] The name of the resource group.
|
725
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
726
|
+
# is case insensitive.
|
695
727
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
696
728
|
# dot).
|
697
729
|
# @param top [Integer] The maximum number of record sets to return. If not
|
@@ -712,7 +744,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
712
744
|
#
|
713
745
|
# Lists all record sets in a DNS zone.
|
714
746
|
#
|
715
|
-
# @param resource_group_name [String] The name of the resource group.
|
747
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
748
|
+
# is case insensitive.
|
716
749
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
717
750
|
# dot).
|
718
751
|
# @param top [Integer] The maximum number of record sets to return. If not
|
@@ -728,6 +761,9 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
728
761
|
#
|
729
762
|
def list_by_dns_zone_async(resource_group_name, zone_name, top:nil, recordsetnamesuffix:nil, custom_headers:nil)
|
730
763
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
764
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
765
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
766
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
731
767
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
732
768
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
733
769
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -958,7 +994,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
958
994
|
#
|
959
995
|
# Lists the record sets of a specified type in a DNS zone.
|
960
996
|
#
|
961
|
-
# @param resource_group_name [String] The name of the resource group.
|
997
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
998
|
+
# is case insensitive.
|
962
999
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
963
1000
|
# dot).
|
964
1001
|
# @param record_type [RecordType] The type of record sets to enumerate.
|
@@ -990,7 +1027,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
990
1027
|
#
|
991
1028
|
# Lists all record sets in a DNS zone.
|
992
1029
|
#
|
993
|
-
# @param resource_group_name [String] The name of the resource group.
|
1030
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
1031
|
+
# is case insensitive.
|
994
1032
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
995
1033
|
# dot).
|
996
1034
|
# @param top [Integer] The maximum number of record sets to return. If not
|
@@ -24,7 +24,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
24
24
|
#
|
25
25
|
# Creates or updates a DNS zone. Does not modify DNS records within the zone.
|
26
26
|
#
|
27
|
-
# @param resource_group_name [String] The name of the resource group.
|
27
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
28
|
+
# is case insensitive.
|
28
29
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
29
30
|
# dot).
|
30
31
|
# @param parameters [Zone] Parameters supplied to the CreateOrUpdate operation.
|
@@ -47,7 +48,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
47
48
|
#
|
48
49
|
# Creates or updates a DNS zone. Does not modify DNS records within the zone.
|
49
50
|
#
|
50
|
-
# @param resource_group_name [String] The name of the resource group.
|
51
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
52
|
+
# is case insensitive.
|
51
53
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
52
54
|
# dot).
|
53
55
|
# @param parameters [Zone] Parameters supplied to the CreateOrUpdate operation.
|
@@ -69,7 +71,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
69
71
|
#
|
70
72
|
# Creates or updates a DNS zone. Does not modify DNS records within the zone.
|
71
73
|
#
|
72
|
-
# @param resource_group_name [String] The name of the resource group.
|
74
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
75
|
+
# is case insensitive.
|
73
76
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
74
77
|
# dot).
|
75
78
|
# @param parameters [Zone] Parameters supplied to the CreateOrUpdate operation.
|
@@ -86,6 +89,9 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
86
89
|
#
|
87
90
|
def create_or_update_async(resource_group_name, zone_name, parameters, if_match:nil, if_none_match:nil, custom_headers:nil)
|
88
91
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
92
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
93
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
94
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
89
95
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
90
96
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
91
97
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -161,7 +167,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
161
167
|
# Deletes a DNS zone. WARNING: All DNS records in the zone will also be
|
162
168
|
# deleted. This operation cannot be undone.
|
163
169
|
#
|
164
|
-
# @param resource_group_name [String] The name of the resource group.
|
170
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
171
|
+
# is case insensitive.
|
165
172
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
166
173
|
# dot).
|
167
174
|
# @param if_match [String] The etag of the DNS zone. Omit this value to always
|
@@ -176,7 +183,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
176
183
|
end
|
177
184
|
|
178
185
|
#
|
179
|
-
# @param resource_group_name [String] The name of the resource group.
|
186
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
187
|
+
# is case insensitive.
|
180
188
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
181
189
|
# dot).
|
182
190
|
# @param if_match [String] The etag of the DNS zone. Omit this value to always
|
@@ -208,7 +216,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
208
216
|
# Gets a DNS zone. Retrieves the zone properties, but not the record sets
|
209
217
|
# within the zone.
|
210
218
|
#
|
211
|
-
# @param resource_group_name [String] The name of the resource group.
|
219
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
220
|
+
# is case insensitive.
|
212
221
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
213
222
|
# dot).
|
214
223
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -225,7 +234,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
225
234
|
# Gets a DNS zone. Retrieves the zone properties, but not the record sets
|
226
235
|
# within the zone.
|
227
236
|
#
|
228
|
-
# @param resource_group_name [String] The name of the resource group.
|
237
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
238
|
+
# is case insensitive.
|
229
239
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
230
240
|
# dot).
|
231
241
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -241,7 +251,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
241
251
|
# Gets a DNS zone. Retrieves the zone properties, but not the record sets
|
242
252
|
# within the zone.
|
243
253
|
#
|
244
|
-
# @param resource_group_name [String] The name of the resource group.
|
254
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
255
|
+
# is case insensitive.
|
245
256
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
246
257
|
# dot).
|
247
258
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -251,6 +262,9 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
251
262
|
#
|
252
263
|
def get_async(resource_group_name, zone_name, custom_headers:nil)
|
253
264
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
265
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
266
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
267
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
254
268
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
255
269
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
256
270
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -305,7 +319,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
305
319
|
#
|
306
320
|
# Lists the DNS zones within a resource group.
|
307
321
|
#
|
308
|
-
# @param resource_group_name [String] The name of the resource group.
|
322
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
323
|
+
# is case insensitive.
|
309
324
|
# @param top [Integer] The maximum number of record sets to return. If not
|
310
325
|
# specified, returns up to 100 record sets.
|
311
326
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -321,7 +336,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
321
336
|
#
|
322
337
|
# Lists the DNS zones within a resource group.
|
323
338
|
#
|
324
|
-
# @param resource_group_name [String] The name of the resource group.
|
339
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
340
|
+
# is case insensitive.
|
325
341
|
# @param top [Integer] The maximum number of record sets to return. If not
|
326
342
|
# specified, returns up to 100 record sets.
|
327
343
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -336,7 +352,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
336
352
|
#
|
337
353
|
# Lists the DNS zones within a resource group.
|
338
354
|
#
|
339
|
-
# @param resource_group_name [String] The name of the resource group.
|
355
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
356
|
+
# is case insensitive.
|
340
357
|
# @param top [Integer] The maximum number of record sets to return. If not
|
341
358
|
# specified, returns up to 100 record sets.
|
342
359
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -346,6 +363,9 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
346
363
|
#
|
347
364
|
def list_by_resource_group_async(resource_group_name, top:nil, custom_headers:nil)
|
348
365
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
366
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
367
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
368
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
349
369
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
350
370
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
351
371
|
|
@@ -490,7 +510,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
490
510
|
# Deletes a DNS zone. WARNING: All DNS records in the zone will also be
|
491
511
|
# deleted. This operation cannot be undone.
|
492
512
|
#
|
493
|
-
# @param resource_group_name [String] The name of the resource group.
|
513
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
514
|
+
# is case insensitive.
|
494
515
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
495
516
|
# dot).
|
496
517
|
# @param if_match [String] The etag of the DNS zone. Omit this value to always
|
@@ -509,7 +530,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
509
530
|
# Deletes a DNS zone. WARNING: All DNS records in the zone will also be
|
510
531
|
# deleted. This operation cannot be undone.
|
511
532
|
#
|
512
|
-
# @param resource_group_name [String] The name of the resource group.
|
533
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
534
|
+
# is case insensitive.
|
513
535
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
514
536
|
# dot).
|
515
537
|
# @param if_match [String] The etag of the DNS zone. Omit this value to always
|
@@ -528,7 +550,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
528
550
|
# Deletes a DNS zone. WARNING: All DNS records in the zone will also be
|
529
551
|
# deleted. This operation cannot be undone.
|
530
552
|
#
|
531
|
-
# @param resource_group_name [String] The name of the resource group.
|
553
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
554
|
+
# is case insensitive.
|
532
555
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
533
556
|
# dot).
|
534
557
|
# @param if_match [String] The etag of the DNS zone. Omit this value to always
|
@@ -541,6 +564,9 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
541
564
|
#
|
542
565
|
def begin_delete_async(resource_group_name, zone_name, if_match:nil, custom_headers:nil)
|
543
566
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
567
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
568
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
569
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
544
570
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
545
571
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
546
572
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -762,7 +788,8 @@ module Azure::Dns::Mgmt::V2017_09_01
|
|
762
788
|
#
|
763
789
|
# Lists the DNS zones within a resource group.
|
764
790
|
#
|
765
|
-
# @param resource_group_name [String] The name of the resource group.
|
791
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
792
|
+
# is case insensitive.
|
766
793
|
# @param top [Integer] The maximum number of record sets to return. If not
|
767
794
|
# specified, returns up to 100 record sets.
|
768
795
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|