azure_mgmt_dns 0.17.0 → 0.17.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2016-04-01/generated/azure_mgmt_dns.rb +8 -5
- data/lib/2016-04-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/record_set_list_result.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/resource.rb +12 -31
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
- data/lib/2016-04-01/generated/azure_mgmt_dns/models/zone_list_result.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_dns/record_sets.rb +12 -0
- data/lib/2016-04-01/generated/azure_mgmt_dns/zones.rb +10 -0
- data/lib/2017-09-01/generated/azure_mgmt_dns.rb +10 -7
- data/lib/2017-09-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/record_set_list_result.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/resource.rb +14 -32
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
- data/lib/2017-09-01/generated/azure_mgmt_dns/models/zone_list_result.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_dns/record_sets.rb +12 -0
- data/lib/2017-09-01/generated/azure_mgmt_dns/zones.rb +10 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns.rb +10 -7
- data/lib/2017-10-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/record_set_list_result.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/resource.rb +14 -32
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
- data/lib/2017-10-01/generated/azure_mgmt_dns/models/zone_list_result.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_dns/record_sets.rb +14 -0
- data/lib/2017-10-01/generated/azure_mgmt_dns/zones.rb +12 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns.rb +12 -9
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/record_set_list_result.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/resource.rb +14 -32
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone.rb +9 -9
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone_list_result.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/record_sets.rb +14 -0
- data/lib/2018-03-01-preview/generated/azure_mgmt_dns/zones.rb +12 -0
- data/lib/azure_mgmt_dns.rb +3 -0
- data/lib/profiles/latest/modules/dns_profile_module.rb +42 -30
- data/lib/profiles/v2017_03_09/dns_module_definition.rb +8 -0
- data/lib/profiles/v2017_03_09/dns_v2017_03_09_profile_client.rb +40 -0
- data/lib/profiles/v2017_03_09/modules/dns_profile_module.rb +151 -0
- data/lib/profiles/v2018_03_01/dns_module_definition.rb +8 -0
- data/lib/profiles/v2018_03_01/dns_v2018_03_01_profile_client.rb +40 -0
- data/lib/profiles/v2018_03_01/modules/dns_profile_module.rb +151 -0
- data/lib/profiles/v2019_03_01_hybrid/dns_module_definition.rb +8 -0
- data/lib/profiles/v2019_03_01_hybrid/dns_v2019_03_01_hybrid_profile_client.rb +40 -0
- data/lib/profiles/v2019_03_01_hybrid/modules/dns_profile_module.rb +151 -0
- data/lib/version.rb +1 -1
- metadata +26 -5
@@ -0,0 +1,92 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Dns::Mgmt::V2018_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The resource model definition for a ARM tracked top level resource
|
10
|
+
#
|
11
|
+
class TrackedResource < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Resource tags.
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
# @return [String] The geo-location where the resource lives
|
19
|
+
attr_accessor :location
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for TrackedResource class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'TrackedResource',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'TrackedResource',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
type: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'type',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
tags: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'tags',
|
66
|
+
type: {
|
67
|
+
name: 'Dictionary',
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'StringElementType',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
location: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: true,
|
81
|
+
serialized_name: 'location',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -8,7 +8,7 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
8
8
|
#
|
9
9
|
# Describes a DNS zone.
|
10
10
|
#
|
11
|
-
class Zone <
|
11
|
+
class Zone < TrackedResource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
@@ -84,14 +84,6 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
84
84
|
name: 'String'
|
85
85
|
}
|
86
86
|
},
|
87
|
-
location: {
|
88
|
-
client_side_validation: true,
|
89
|
-
required: true,
|
90
|
-
serialized_name: 'location',
|
91
|
-
type: {
|
92
|
-
name: 'String'
|
93
|
-
}
|
94
|
-
},
|
95
87
|
tags: {
|
96
88
|
client_side_validation: true,
|
97
89
|
required: false,
|
@@ -108,6 +100,14 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
108
100
|
}
|
109
101
|
}
|
110
102
|
},
|
103
|
+
location: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: true,
|
106
|
+
serialized_name: 'location',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
111
|
etag: {
|
112
112
|
client_side_validation: true,
|
113
113
|
required: false,
|
@@ -30,7 +30,7 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
30
30
|
def get_all_items
|
31
31
|
items = @value
|
32
32
|
page = self
|
33
|
-
while page.next_link != nil do
|
33
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
34
34
|
page = page.get_next_page
|
35
35
|
items.concat(page.value)
|
36
36
|
end
|
@@ -103,7 +103,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
103
103
|
fail ArgumentError, 'record_type is nil' if record_type.nil?
|
104
104
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
105
105
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
106
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
106
107
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
108
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
107
109
|
|
108
110
|
|
109
111
|
request_headers = {}
|
@@ -258,7 +260,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
258
260
|
fail ArgumentError, 'record_type is nil' if record_type.nil?
|
259
261
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
260
262
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
263
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
261
264
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
265
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
262
266
|
|
263
267
|
|
264
268
|
request_headers = {}
|
@@ -407,7 +411,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
407
411
|
fail ArgumentError, 'relative_record_set_name is nil' if relative_record_set_name.nil?
|
408
412
|
fail ArgumentError, 'record_type is nil' if record_type.nil?
|
409
413
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
414
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
410
415
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
416
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
411
417
|
|
412
418
|
|
413
419
|
request_headers = {}
|
@@ -517,7 +523,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
517
523
|
fail ArgumentError, 'relative_record_set_name is nil' if relative_record_set_name.nil?
|
518
524
|
fail ArgumentError, 'record_type is nil' if record_type.nil?
|
519
525
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
526
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
520
527
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
528
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
521
529
|
|
522
530
|
|
523
531
|
request_headers = {}
|
@@ -647,7 +655,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
647
655
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
648
656
|
fail ArgumentError, 'record_type is nil' if record_type.nil?
|
649
657
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
658
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
650
659
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
660
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
651
661
|
|
652
662
|
|
653
663
|
request_headers = {}
|
@@ -766,7 +776,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
766
776
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
767
777
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
768
778
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
779
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
769
780
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
781
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
770
782
|
|
771
783
|
|
772
784
|
request_headers = {}
|
@@ -885,7 +897,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
885
897
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
886
898
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
887
899
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
900
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
888
901
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
902
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
889
903
|
|
890
904
|
|
891
905
|
request_headers = {}
|
@@ -95,7 +95,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
95
95
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
96
96
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
97
97
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
98
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
98
99
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
100
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
99
101
|
|
100
102
|
|
101
103
|
request_headers = {}
|
@@ -267,7 +269,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
267
269
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
268
270
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
269
271
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
272
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
270
273
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
274
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
271
275
|
|
272
276
|
|
273
277
|
request_headers = {}
|
@@ -381,7 +385,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
381
385
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
382
386
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
383
387
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
388
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
384
389
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
390
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
385
391
|
|
386
392
|
|
387
393
|
request_headers = {}
|
@@ -489,7 +495,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
489
495
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
490
496
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
491
497
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
498
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
492
499
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
500
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
493
501
|
|
494
502
|
|
495
503
|
request_headers = {}
|
@@ -579,7 +587,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
579
587
|
#
|
580
588
|
def list_async(top:nil, custom_headers:nil)
|
581
589
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
590
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
582
591
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
592
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
583
593
|
|
584
594
|
|
585
595
|
request_headers = {}
|
@@ -691,7 +701,9 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
|
|
691
701
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
692
702
|
fail ArgumentError, 'zone_name is nil' if zone_name.nil?
|
693
703
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
704
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
694
705
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
706
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
695
707
|
|
696
708
|
|
697
709
|
request_headers = {}
|
data/lib/azure_mgmt_dns.rb
CHANGED
@@ -6,4 +6,7 @@ require '2018-03-01-preview/generated/azure_mgmt_dns'
|
|
6
6
|
require '2017-10-01/generated/azure_mgmt_dns'
|
7
7
|
require '2016-04-01/generated/azure_mgmt_dns'
|
8
8
|
require '2017-09-01/generated/azure_mgmt_dns'
|
9
|
+
require 'profiles/v2017_03_09/dns_v2017_03_09_profile_client'
|
9
10
|
require 'profiles/latest/dns_latest_profile_client'
|
11
|
+
require 'profiles/v2019_03_01_hybrid/dns_v2019_03_01_hybrid_profile_client'
|
12
|
+
require 'profiles/v2018_03_01/dns_v2018_03_01_profile_client'
|
@@ -10,24 +10,27 @@ module Azure::Dns::Profiles::Latest
|
|
10
10
|
Zones = Azure::Dns::Mgmt::V2018_03_01_preview::Zones
|
11
11
|
|
12
12
|
module Models
|
13
|
-
CaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord
|
14
|
-
RecordSet = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSet
|
15
|
-
AaaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord
|
16
13
|
RecordSetUpdateParameters = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetUpdateParameters
|
17
|
-
|
14
|
+
ARecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord
|
18
15
|
RecordSetListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetListResult
|
19
|
-
|
16
|
+
MxRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord
|
20
17
|
SubResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource
|
18
|
+
PtrRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord
|
19
|
+
NsRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::NsRecord
|
20
|
+
SrvRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord
|
21
21
|
CnameRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord
|
22
22
|
SoaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord
|
23
|
-
|
23
|
+
Resource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource
|
24
|
+
RecordSet = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSet
|
24
25
|
ZoneUpdate = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate
|
25
26
|
TxtRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::TxtRecord
|
26
27
|
ZoneListResult = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult
|
27
|
-
|
28
|
-
|
29
|
-
|
28
|
+
AaaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord
|
29
|
+
CaaRecord = Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord
|
30
|
+
TrackedResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::TrackedResource
|
30
31
|
Zone = Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone
|
32
|
+
ProxyResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ProxyResource
|
33
|
+
AzureEntityResource = Azure::Dns::Mgmt::V2018_03_01_preview::Models::AzureEntityResource
|
31
34
|
ZoneType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType
|
32
35
|
RecordType = Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordType
|
33
36
|
end
|
@@ -78,38 +81,41 @@ module Azure::Dns::Profiles::Latest
|
|
78
81
|
end
|
79
82
|
|
80
83
|
class ModelClasses
|
81
|
-
def caa_record
|
82
|
-
Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord
|
83
|
-
end
|
84
|
-
def record_set
|
85
|
-
Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSet
|
86
|
-
end
|
87
|
-
def aaaa_record
|
88
|
-
Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord
|
89
|
-
end
|
90
84
|
def record_set_update_parameters
|
91
85
|
Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetUpdateParameters
|
92
86
|
end
|
93
|
-
def
|
94
|
-
Azure::Dns::Mgmt::V2018_03_01_preview::Models::
|
87
|
+
def arecord
|
88
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::ARecord
|
95
89
|
end
|
96
90
|
def record_set_list_result
|
97
91
|
Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSetListResult
|
98
92
|
end
|
99
|
-
def
|
100
|
-
Azure::Dns::Mgmt::V2018_03_01_preview::Models::
|
93
|
+
def mx_record
|
94
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::MxRecord
|
101
95
|
end
|
102
96
|
def sub_resource
|
103
97
|
Azure::Dns::Mgmt::V2018_03_01_preview::Models::SubResource
|
104
98
|
end
|
99
|
+
def ptr_record
|
100
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::PtrRecord
|
101
|
+
end
|
102
|
+
def ns_record
|
103
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::NsRecord
|
104
|
+
end
|
105
|
+
def srv_record
|
106
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::SrvRecord
|
107
|
+
end
|
105
108
|
def cname_record
|
106
109
|
Azure::Dns::Mgmt::V2018_03_01_preview::Models::CnameRecord
|
107
110
|
end
|
108
111
|
def soa_record
|
109
112
|
Azure::Dns::Mgmt::V2018_03_01_preview::Models::SoaRecord
|
110
113
|
end
|
111
|
-
def
|
112
|
-
Azure::Dns::Mgmt::V2018_03_01_preview::Models::
|
114
|
+
def resource
|
115
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::Resource
|
116
|
+
end
|
117
|
+
def record_set
|
118
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::RecordSet
|
113
119
|
end
|
114
120
|
def zone_update
|
115
121
|
Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneUpdate
|
@@ -120,18 +126,24 @@ module Azure::Dns::Profiles::Latest
|
|
120
126
|
def zone_list_result
|
121
127
|
Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneListResult
|
122
128
|
end
|
123
|
-
def
|
124
|
-
Azure::Dns::Mgmt::V2018_03_01_preview::Models::
|
129
|
+
def aaaa_record
|
130
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::AaaaRecord
|
125
131
|
end
|
126
|
-
def
|
127
|
-
Azure::Dns::Mgmt::V2018_03_01_preview::Models::
|
132
|
+
def caa_record
|
133
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::CaaRecord
|
128
134
|
end
|
129
|
-
def
|
130
|
-
Azure::Dns::Mgmt::V2018_03_01_preview::Models::
|
135
|
+
def tracked_resource
|
136
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::TrackedResource
|
131
137
|
end
|
132
138
|
def zone
|
133
139
|
Azure::Dns::Mgmt::V2018_03_01_preview::Models::Zone
|
134
140
|
end
|
141
|
+
def proxy_resource
|
142
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::ProxyResource
|
143
|
+
end
|
144
|
+
def azure_entity_resource
|
145
|
+
Azure::Dns::Mgmt::V2018_03_01_preview::Models::AzureEntityResource
|
146
|
+
end
|
135
147
|
def zone_type
|
136
148
|
Azure::Dns::Mgmt::V2018_03_01_preview::Models::ZoneType
|
137
149
|
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
module Azure end
|
6
|
+
module Azure::Dns end
|
7
|
+
module Azure::Dns::Profiles end
|
8
|
+
module Azure::Dns::Profiles::V2017_03_09 end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'profiles/v2017_03_09/dns_module_definition'
|
6
|
+
require 'profiles/v2017_03_09/modules/dns_profile_module'
|
7
|
+
|
8
|
+
module Azure::Dns::Profiles::V2017_03_09
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the V2017_03_09 profile SDK.
|
12
|
+
#
|
13
|
+
class Client < DnsManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
15
|
+
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|