azure_mgmt_dns 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-04-01/generated/azure_mgmt_dns.rb +8 -5
  3. data/lib/2016-04-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
  4. data/lib/2016-04-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
  5. data/lib/2016-04-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
  6. data/lib/2016-04-01/generated/azure_mgmt_dns/models/resource.rb +5 -33
  7. data/lib/2016-04-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
  8. data/lib/2016-04-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
  9. data/lib/2016-04-01/generated/azure_mgmt_dns/record_sets.rb +12 -0
  10. data/lib/2016-04-01/generated/azure_mgmt_dns/zones.rb +10 -0
  11. data/lib/2017-09-01/generated/azure_mgmt_dns.rb +10 -7
  12. data/lib/2017-09-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
  13. data/lib/2017-09-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
  14. data/lib/2017-09-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
  15. data/lib/2017-09-01/generated/azure_mgmt_dns/models/resource.rb +7 -34
  16. data/lib/2017-09-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
  17. data/lib/2017-09-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
  18. data/lib/2017-09-01/generated/azure_mgmt_dns/record_sets.rb +12 -0
  19. data/lib/2017-09-01/generated/azure_mgmt_dns/zones.rb +10 -0
  20. data/lib/2017-10-01/generated/azure_mgmt_dns.rb +10 -7
  21. data/lib/2017-10-01/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
  22. data/lib/2017-10-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
  23. data/lib/2017-10-01/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
  24. data/lib/2017-10-01/generated/azure_mgmt_dns/models/resource.rb +7 -34
  25. data/lib/2017-10-01/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
  26. data/lib/2017-10-01/generated/azure_mgmt_dns/models/zone.rb +9 -9
  27. data/lib/2017-10-01/generated/azure_mgmt_dns/record_sets.rb +14 -0
  28. data/lib/2017-10-01/generated/azure_mgmt_dns/zones.rb +12 -0
  29. data/lib/2018-03-01-preview/generated/azure_mgmt_dns.rb +12 -9
  30. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/dns_management_client.rb +3 -4
  31. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/azure_entity_resource.rb +75 -0
  32. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/proxy_resource.rb +63 -0
  33. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/resource.rb +7 -34
  34. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/tracked_resource.rb +92 -0
  35. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone.rb +9 -9
  36. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/record_sets.rb +14 -0
  37. data/lib/2018-03-01-preview/generated/azure_mgmt_dns/zones.rb +12 -0
  38. data/lib/azure_mgmt_dns.rb +2 -0
  39. data/lib/profiles/latest/modules/dns_profile_module.rb +42 -30
  40. data/lib/profiles/v2017_03_09/dns_module_definition.rb +8 -0
  41. data/lib/profiles/v2017_03_09/dns_v2017_03_09_profile_client.rb +40 -0
  42. data/lib/profiles/v2017_03_09/modules/dns_profile_module.rb +151 -0
  43. data/lib/profiles/v2018_03_01/dns_module_definition.rb +8 -0
  44. data/lib/profiles/v2018_03_01/dns_v2018_03_01_profile_client.rb +40 -0
  45. data/lib/profiles/v2018_03_01/modules/dns_profile_module.rb +151 -0
  46. data/lib/version.rb +1 -1
  47. metadata +20 -2
@@ -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::V2018_03_01 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/v2018_03_01/dns_module_definition'
6
+ require 'profiles/v2018_03_01/modules/dns_profile_module'
7
+
8
+ module Azure::Dns::Profiles::V2018_03_01
9
+ module Mgmt
10
+ #
11
+ # Client class for the V2018_03_01 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
@@ -0,0 +1,151 @@
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 'azure_mgmt_dns'
6
+
7
+ module Azure::Dns::Profiles::V2018_03_01
8
+ module Mgmt
9
+ RecordSets = Azure::Dns::Mgmt::V2016_04_01::RecordSets
10
+ Zones = Azure::Dns::Mgmt::V2016_04_01::Zones
11
+
12
+ module Models
13
+ RecordSetUpdateParameters = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters
14
+ RecordSetListResult = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult
15
+ AaaaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord
16
+ ARecord = Azure::Dns::Mgmt::V2016_04_01::Models::ARecord
17
+ MxRecord = Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord
18
+ PtrRecord = Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord
19
+ SrvRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord
20
+ Resource = Azure::Dns::Mgmt::V2016_04_01::Models::Resource
21
+ CnameRecord = Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord
22
+ ZoneDeleteResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult
23
+ RecordSet = Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet
24
+ ZoneListResult = Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult
25
+ TxtRecord = Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord
26
+ NsRecord = Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord
27
+ SoaRecord = Azure::Dns::Mgmt::V2016_04_01::Models::SoaRecord
28
+ TrackedResource = Azure::Dns::Mgmt::V2016_04_01::Models::TrackedResource
29
+ Zone = Azure::Dns::Mgmt::V2016_04_01::Models::Zone
30
+ ProxyResource = Azure::Dns::Mgmt::V2016_04_01::Models::ProxyResource
31
+ AzureEntityResource = Azure::Dns::Mgmt::V2016_04_01::Models::AzureEntityResource
32
+ OperationStatus = Azure::Dns::Mgmt::V2016_04_01::Models::OperationStatus
33
+ HttpStatusCode = Azure::Dns::Mgmt::V2016_04_01::Models::HttpStatusCode
34
+ RecordType = Azure::Dns::Mgmt::V2016_04_01::Models::RecordType
35
+ end
36
+
37
+ #
38
+ # DnsManagementClass
39
+ #
40
+ class DnsManagementClass
41
+ attr_reader :record_sets, :zones, :configurable, :base_url, :options, :model_classes
42
+
43
+ def initialize(options = {})
44
+ if options.is_a?(Hash) && options.length == 0
45
+ @options = setup_default_options
46
+ else
47
+ @options = options
48
+ end
49
+
50
+ reset!(options)
51
+
52
+ @configurable = self
53
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
54
+ @options = options[:options].nil? ? nil:options[:options]
55
+
56
+ @client_0 = Azure::Dns::Mgmt::V2016_04_01::DnsManagementClient.new(configurable.credentials, base_url, options)
57
+ if(@client_0.respond_to?(:subscription_id))
58
+ @client_0.subscription_id = configurable.subscription_id
59
+ end
60
+ add_telemetry(@client_0)
61
+ @record_sets = @client_0.record_sets
62
+ @zones = @client_0.zones
63
+
64
+ @model_classes = ModelClasses.new
65
+ end
66
+
67
+ def add_telemetry(client)
68
+ profile_information = 'Profiles/V2018_03_01/Dns/Mgmt'
69
+ client.add_user_agent_information(profile_information)
70
+ end
71
+
72
+ def method_missing(method, *args)
73
+ if @client_0.respond_to?method
74
+ @client_0.send(method, *args)
75
+ else
76
+ super
77
+ end
78
+ end
79
+
80
+ end
81
+
82
+ class ModelClasses
83
+ def record_set_update_parameters
84
+ Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetUpdateParameters
85
+ end
86
+ def record_set_list_result
87
+ Azure::Dns::Mgmt::V2016_04_01::Models::RecordSetListResult
88
+ end
89
+ def aaaa_record
90
+ Azure::Dns::Mgmt::V2016_04_01::Models::AaaaRecord
91
+ end
92
+ def arecord
93
+ Azure::Dns::Mgmt::V2016_04_01::Models::ARecord
94
+ end
95
+ def mx_record
96
+ Azure::Dns::Mgmt::V2016_04_01::Models::MxRecord
97
+ end
98
+ def ptr_record
99
+ Azure::Dns::Mgmt::V2016_04_01::Models::PtrRecord
100
+ end
101
+ def srv_record
102
+ Azure::Dns::Mgmt::V2016_04_01::Models::SrvRecord
103
+ end
104
+ def resource
105
+ Azure::Dns::Mgmt::V2016_04_01::Models::Resource
106
+ end
107
+ def cname_record
108
+ Azure::Dns::Mgmt::V2016_04_01::Models::CnameRecord
109
+ end
110
+ def zone_delete_result
111
+ Azure::Dns::Mgmt::V2016_04_01::Models::ZoneDeleteResult
112
+ end
113
+ def record_set
114
+ Azure::Dns::Mgmt::V2016_04_01::Models::RecordSet
115
+ end
116
+ def zone_list_result
117
+ Azure::Dns::Mgmt::V2016_04_01::Models::ZoneListResult
118
+ end
119
+ def txt_record
120
+ Azure::Dns::Mgmt::V2016_04_01::Models::TxtRecord
121
+ end
122
+ def ns_record
123
+ Azure::Dns::Mgmt::V2016_04_01::Models::NsRecord
124
+ end
125
+ def soa_record
126
+ Azure::Dns::Mgmt::V2016_04_01::Models::SoaRecord
127
+ end
128
+ def tracked_resource
129
+ Azure::Dns::Mgmt::V2016_04_01::Models::TrackedResource
130
+ end
131
+ def zone
132
+ Azure::Dns::Mgmt::V2016_04_01::Models::Zone
133
+ end
134
+ def proxy_resource
135
+ Azure::Dns::Mgmt::V2016_04_01::Models::ProxyResource
136
+ end
137
+ def azure_entity_resource
138
+ Azure::Dns::Mgmt::V2016_04_01::Models::AzureEntityResource
139
+ end
140
+ def operation_status
141
+ Azure::Dns::Mgmt::V2016_04_01::Models::OperationStatus
142
+ end
143
+ def http_status_code
144
+ Azure::Dns::Mgmt::V2016_04_01::Models::HttpStatusCode
145
+ end
146
+ def record_type
147
+ Azure::Dns::Mgmt::V2016_04_01::Models::RecordType
148
+ end
149
+ end
150
+ end
151
+ end
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Dns::Mgmt
6
- VERSION = '0.17.1'
6
+ VERSION = '0.17.2'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_dns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
4
+ version: 0.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-14 00:00:00.000000000 Z
11
+ date: 2018-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,11 +91,13 @@ files:
91
91
  - lib/2016-04-01/generated/azure_mgmt_dns/dns_management_client.rb
92
92
  - lib/2016-04-01/generated/azure_mgmt_dns/models/aaaa_record.rb
93
93
  - lib/2016-04-01/generated/azure_mgmt_dns/models/arecord.rb
94
+ - lib/2016-04-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb
94
95
  - lib/2016-04-01/generated/azure_mgmt_dns/models/cname_record.rb
95
96
  - lib/2016-04-01/generated/azure_mgmt_dns/models/http_status_code.rb
96
97
  - lib/2016-04-01/generated/azure_mgmt_dns/models/mx_record.rb
97
98
  - lib/2016-04-01/generated/azure_mgmt_dns/models/ns_record.rb
98
99
  - lib/2016-04-01/generated/azure_mgmt_dns/models/operation_status.rb
100
+ - lib/2016-04-01/generated/azure_mgmt_dns/models/proxy_resource.rb
99
101
  - lib/2016-04-01/generated/azure_mgmt_dns/models/ptr_record.rb
100
102
  - lib/2016-04-01/generated/azure_mgmt_dns/models/record_set.rb
101
103
  - lib/2016-04-01/generated/azure_mgmt_dns/models/record_set_list_result.rb
@@ -104,6 +106,7 @@ files:
104
106
  - lib/2016-04-01/generated/azure_mgmt_dns/models/resource.rb
105
107
  - lib/2016-04-01/generated/azure_mgmt_dns/models/soa_record.rb
106
108
  - lib/2016-04-01/generated/azure_mgmt_dns/models/srv_record.rb
109
+ - lib/2016-04-01/generated/azure_mgmt_dns/models/tracked_resource.rb
107
110
  - lib/2016-04-01/generated/azure_mgmt_dns/models/txt_record.rb
108
111
  - lib/2016-04-01/generated/azure_mgmt_dns/models/zone.rb
109
112
  - lib/2016-04-01/generated/azure_mgmt_dns/models/zone_delete_result.rb
@@ -115,10 +118,12 @@ files:
115
118
  - lib/2017-09-01/generated/azure_mgmt_dns/dns_management_client.rb
116
119
  - lib/2017-09-01/generated/azure_mgmt_dns/models/aaaa_record.rb
117
120
  - lib/2017-09-01/generated/azure_mgmt_dns/models/arecord.rb
121
+ - lib/2017-09-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb
118
122
  - lib/2017-09-01/generated/azure_mgmt_dns/models/caa_record.rb
119
123
  - lib/2017-09-01/generated/azure_mgmt_dns/models/cname_record.rb
120
124
  - lib/2017-09-01/generated/azure_mgmt_dns/models/mx_record.rb
121
125
  - lib/2017-09-01/generated/azure_mgmt_dns/models/ns_record.rb
126
+ - lib/2017-09-01/generated/azure_mgmt_dns/models/proxy_resource.rb
122
127
  - lib/2017-09-01/generated/azure_mgmt_dns/models/ptr_record.rb
123
128
  - lib/2017-09-01/generated/azure_mgmt_dns/models/record_set.rb
124
129
  - lib/2017-09-01/generated/azure_mgmt_dns/models/record_set_list_result.rb
@@ -127,6 +132,7 @@ files:
127
132
  - lib/2017-09-01/generated/azure_mgmt_dns/models/resource.rb
128
133
  - lib/2017-09-01/generated/azure_mgmt_dns/models/soa_record.rb
129
134
  - lib/2017-09-01/generated/azure_mgmt_dns/models/srv_record.rb
135
+ - lib/2017-09-01/generated/azure_mgmt_dns/models/tracked_resource.rb
130
136
  - lib/2017-09-01/generated/azure_mgmt_dns/models/txt_record.rb
131
137
  - lib/2017-09-01/generated/azure_mgmt_dns/models/zone.rb
132
138
  - lib/2017-09-01/generated/azure_mgmt_dns/models/zone_list_result.rb
@@ -137,10 +143,12 @@ files:
137
143
  - lib/2017-10-01/generated/azure_mgmt_dns/dns_management_client.rb
138
144
  - lib/2017-10-01/generated/azure_mgmt_dns/models/aaaa_record.rb
139
145
  - lib/2017-10-01/generated/azure_mgmt_dns/models/arecord.rb
146
+ - lib/2017-10-01/generated/azure_mgmt_dns/models/azure_entity_resource.rb
140
147
  - lib/2017-10-01/generated/azure_mgmt_dns/models/caa_record.rb
141
148
  - lib/2017-10-01/generated/azure_mgmt_dns/models/cname_record.rb
142
149
  - lib/2017-10-01/generated/azure_mgmt_dns/models/mx_record.rb
143
150
  - lib/2017-10-01/generated/azure_mgmt_dns/models/ns_record.rb
151
+ - lib/2017-10-01/generated/azure_mgmt_dns/models/proxy_resource.rb
144
152
  - lib/2017-10-01/generated/azure_mgmt_dns/models/ptr_record.rb
145
153
  - lib/2017-10-01/generated/azure_mgmt_dns/models/record_set.rb
146
154
  - lib/2017-10-01/generated/azure_mgmt_dns/models/record_set_list_result.rb
@@ -149,6 +157,7 @@ files:
149
157
  - lib/2017-10-01/generated/azure_mgmt_dns/models/resource.rb
150
158
  - lib/2017-10-01/generated/azure_mgmt_dns/models/soa_record.rb
151
159
  - lib/2017-10-01/generated/azure_mgmt_dns/models/srv_record.rb
160
+ - lib/2017-10-01/generated/azure_mgmt_dns/models/tracked_resource.rb
152
161
  - lib/2017-10-01/generated/azure_mgmt_dns/models/txt_record.rb
153
162
  - lib/2017-10-01/generated/azure_mgmt_dns/models/zone.rb
154
163
  - lib/2017-10-01/generated/azure_mgmt_dns/models/zone_list_result.rb
@@ -160,10 +169,12 @@ files:
160
169
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/dns_management_client.rb
161
170
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/aaaa_record.rb
162
171
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/arecord.rb
172
+ - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/azure_entity_resource.rb
163
173
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/caa_record.rb
164
174
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/cname_record.rb
165
175
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/mx_record.rb
166
176
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/ns_record.rb
177
+ - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/proxy_resource.rb
167
178
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/ptr_record.rb
168
179
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/record_set.rb
169
180
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/record_set_list_result.rb
@@ -173,6 +184,7 @@ files:
173
184
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/soa_record.rb
174
185
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/srv_record.rb
175
186
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/sub_resource.rb
187
+ - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/tracked_resource.rb
176
188
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/txt_record.rb
177
189
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone.rb
178
190
  - lib/2018-03-01-preview/generated/azure_mgmt_dns/models/zone_list_result.rb
@@ -186,6 +198,12 @@ files:
186
198
  - lib/profiles/latest/dns_latest_profile_client.rb
187
199
  - lib/profiles/latest/dns_module_definition.rb
188
200
  - lib/profiles/latest/modules/dns_profile_module.rb
201
+ - lib/profiles/v2017_03_09/dns_module_definition.rb
202
+ - lib/profiles/v2017_03_09/dns_v2017_03_09_profile_client.rb
203
+ - lib/profiles/v2017_03_09/modules/dns_profile_module.rb
204
+ - lib/profiles/v2018_03_01/dns_module_definition.rb
205
+ - lib/profiles/v2018_03_01/dns_v2018_03_01_profile_client.rb
206
+ - lib/profiles/v2018_03_01/modules/dns_profile_module.rb
189
207
  - lib/version.rb
190
208
  homepage: https://aka.ms/azure-sdk-for-ruby
191
209
  licenses: