azure_mgmt_dns 0.16.1 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- 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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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?
|
@@ -782,7 +818,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
782
818
|
#
|
783
819
|
# Lists all record sets in a DNS zone.
|
784
820
|
#
|
785
|
-
# @param resource_group_name [String] The name of the resource group.
|
821
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
822
|
+
# is case insensitive.
|
786
823
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
787
824
|
# dot).
|
788
825
|
# @param top [Integer] The maximum number of record sets to return. If not
|
@@ -804,7 +841,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
804
841
|
#
|
805
842
|
# Lists all record sets in a DNS zone.
|
806
843
|
#
|
807
|
-
# @param resource_group_name [String] The name of the resource group.
|
844
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
845
|
+
# is case insensitive.
|
808
846
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
809
847
|
# dot).
|
810
848
|
# @param top [Integer] The maximum number of record sets to return. If not
|
@@ -825,7 +863,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
825
863
|
#
|
826
864
|
# Lists all record sets in a DNS zone.
|
827
865
|
#
|
828
|
-
# @param resource_group_name [String] The name of the resource group.
|
866
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
867
|
+
# is case insensitive.
|
829
868
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
830
869
|
# dot).
|
831
870
|
# @param top [Integer] The maximum number of record sets to return. If not
|
@@ -841,6 +880,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
841
880
|
#
|
842
881
|
def list_all_by_dns_zone_async(resource_group_name, zone_name, top:nil, record_set_name_suffix:nil, custom_headers:nil)
|
843
882
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
883
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
884
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
885
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
844
886
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
845
887
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
846
888
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -1159,7 +1201,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
1159
1201
|
#
|
1160
1202
|
# Lists the record sets of a specified type in a DNS zone.
|
1161
1203
|
#
|
1162
|
-
# @param resource_group_name [String] The name of the resource group.
|
1204
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
1205
|
+
# is case insensitive.
|
1163
1206
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
1164
1207
|
# dot).
|
1165
1208
|
# @param record_type [RecordType] The type of record sets to enumerate.
|
@@ -1191,7 +1234,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
1191
1234
|
#
|
1192
1235
|
# Lists all record sets in a DNS zone.
|
1193
1236
|
#
|
1194
|
-
# @param resource_group_name [String] The name of the resource group.
|
1237
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
1238
|
+
# is case insensitive.
|
1195
1239
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
1196
1240
|
# dot).
|
1197
1241
|
# @param top [Integer] The maximum number of record sets to return. If not
|
@@ -1220,7 +1264,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
1220
1264
|
#
|
1221
1265
|
# Lists all record sets in a DNS zone.
|
1222
1266
|
#
|
1223
|
-
# @param resource_group_name [String] The name of the resource group.
|
1267
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
1268
|
+
# is case insensitive.
|
1224
1269
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
1225
1270
|
# dot).
|
1226
1271
|
# @param top [Integer] The maximum number of record sets to return. If not
|
@@ -24,7 +24,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
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::V2018_03_01_preview
|
|
305
319
|
#
|
306
320
|
# Updates a DNS zone. Does not modify DNS records within the zone.
|
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 zone_name [String] The name of the DNS zone (without a terminating
|
310
325
|
# dot).
|
311
326
|
# @param parameters [ZoneUpdate] Parameters supplied to the Update operation.
|
@@ -325,7 +340,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
325
340
|
#
|
326
341
|
# Updates a DNS zone. Does not modify DNS records within the zone.
|
327
342
|
#
|
328
|
-
# @param resource_group_name [String] The name of the resource group.
|
343
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
344
|
+
# is case insensitive.
|
329
345
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
330
346
|
# dot).
|
331
347
|
# @param parameters [ZoneUpdate] Parameters supplied to the Update operation.
|
@@ -344,7 +360,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
344
360
|
#
|
345
361
|
# Updates a DNS zone. Does not modify DNS records within the zone.
|
346
362
|
#
|
347
|
-
# @param resource_group_name [String] The name of the resource group.
|
363
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
364
|
+
# is case insensitive.
|
348
365
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
349
366
|
# dot).
|
350
367
|
# @param parameters [ZoneUpdate] Parameters supplied to the Update operation.
|
@@ -358,6 +375,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
358
375
|
#
|
359
376
|
def update_async(resource_group_name, zone_name, parameters, if_match:nil, custom_headers:nil)
|
360
377
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
378
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
379
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
380
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
361
381
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
362
382
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
363
383
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -421,7 +441,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
421
441
|
#
|
422
442
|
# Lists the DNS zones within a resource group.
|
423
443
|
#
|
424
|
-
# @param resource_group_name [String] The name of the resource group.
|
444
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
445
|
+
# is case insensitive.
|
425
446
|
# @param top [Integer] The maximum number of record sets to return. If not
|
426
447
|
# specified, returns up to 100 record sets.
|
427
448
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -437,7 +458,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
437
458
|
#
|
438
459
|
# Lists the DNS zones within a resource group.
|
439
460
|
#
|
440
|
-
# @param resource_group_name [String] The name of the resource group.
|
461
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
462
|
+
# is case insensitive.
|
441
463
|
# @param top [Integer] The maximum number of record sets to return. If not
|
442
464
|
# specified, returns up to 100 record sets.
|
443
465
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -452,7 +474,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
452
474
|
#
|
453
475
|
# Lists the DNS zones within a resource group.
|
454
476
|
#
|
455
|
-
# @param resource_group_name [String] The name of the resource group.
|
477
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
478
|
+
# is case insensitive.
|
456
479
|
# @param top [Integer] The maximum number of record sets to return. If not
|
457
480
|
# specified, returns up to 100 record sets.
|
458
481
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -462,6 +485,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
462
485
|
#
|
463
486
|
def list_by_resource_group_async(resource_group_name, top:nil, custom_headers:nil)
|
464
487
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
488
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
489
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
490
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
465
491
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
466
492
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
467
493
|
|
@@ -606,7 +632,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
606
632
|
# Deletes a DNS zone. WARNING: All DNS records in the zone will also be
|
607
633
|
# deleted. This operation cannot be undone.
|
608
634
|
#
|
609
|
-
# @param resource_group_name [String] The name of the resource group.
|
635
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
636
|
+
# is case insensitive.
|
610
637
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
611
638
|
# dot).
|
612
639
|
# @param if_match [String] The etag of the DNS zone. Omit this value to always
|
@@ -625,7 +652,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
625
652
|
# Deletes a DNS zone. WARNING: All DNS records in the zone will also be
|
626
653
|
# deleted. This operation cannot be undone.
|
627
654
|
#
|
628
|
-
# @param resource_group_name [String] The name of the resource group.
|
655
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
656
|
+
# is case insensitive.
|
629
657
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
630
658
|
# dot).
|
631
659
|
# @param if_match [String] The etag of the DNS zone. Omit this value to always
|
@@ -644,7 +672,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
644
672
|
# Deletes a DNS zone. WARNING: All DNS records in the zone will also be
|
645
673
|
# deleted. This operation cannot be undone.
|
646
674
|
#
|
647
|
-
# @param resource_group_name [String] The name of the resource group.
|
675
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
676
|
+
# is case insensitive.
|
648
677
|
# @param zone_name [String] The name of the DNS zone (without a terminating
|
649
678
|
# dot).
|
650
679
|
# @param if_match [String] The etag of the DNS zone. Omit this value to always
|
@@ -657,6 +686,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
657
686
|
#
|
658
687
|
def begin_delete_async(resource_group_name, zone_name, if_match:nil, custom_headers:nil)
|
659
688
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
689
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
690
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
691
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
660
692
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
661
693
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
662
694
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -878,7 +910,8 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
878
910
|
#
|
879
911
|
# Lists the DNS zones within a resource group.
|
880
912
|
#
|
881
|
-
# @param resource_group_name [String] The name of the resource group.
|
913
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
914
|
+
# is case insensitive.
|
882
915
|
# @param top [Integer] The maximum number of record sets to return. If not
|
883
916
|
# specified, returns up to 100 record sets.
|
884
917
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|