azure_mgmt_dns 0.17.3 → 0.17.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9f5ec21b0c18abbe8807a8a79c1923123c69c47b3ae7d7f0e056eea1e573314
4
- data.tar.gz: 4b183c59698a57a72f73916b167174712a3f425b60c3c6d03fa6825a5ddaa555
3
+ metadata.gz: 448902dd8afd356135200e9d3d5d303e0a3e4e75027bb0a5a7f3eb602c0e8061
4
+ data.tar.gz: 8a44da8e8cee38f79aa2e84393bea06d776690fd9eb1f9890dd85ba8d29c850c
5
5
  SHA512:
6
- metadata.gz: 6573e0f6233dde71b4c9135518a0f87bf18270ebf8fbeedbd8cbc4e339e964efe92b9b66b737cb984cc9f3d9b665a0bc64664912b8351507d1833b73e1c84b22
7
- data.tar.gz: 45cd9c3b08f313319f83faa2e426b00a41d6887f2e242c94fb478bf9c9433a8f09078f043de697f6afedb6d7c0f3d83d75849878cdb98ef1b6b1f70d78b710e8
6
+ metadata.gz: a68b49d67e31064c262cf04c1f55b345b5455f91acf54dd492ca92aac891f334c794b0706daf6fd5c6796b8feb644ab2f1682c6a574b4e383e3856725c31d3e6
7
+ data.tar.gz: dbd52e14d95f43c76bfe4d4c9e58c0a7727281db63aa41c12bbd03a00cfc9ea8b1126b9fe490643fd68417bb551613bee5339a37f77064a9c2fc973d5542f191
@@ -128,7 +128,7 @@ module Azure::Dns::Mgmt::V2016_04_01
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_dns'
131
- sdk_information = "#{sdk_information}/0.17.3"
131
+ sdk_information = "#{sdk_information}/0.17.4"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -128,7 +128,7 @@ module Azure::Dns::Mgmt::V2017_09_01
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_dns'
131
- sdk_information = "#{sdk_information}/0.17.3"
131
+ sdk_information = "#{sdk_information}/0.17.4"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -128,7 +128,7 @@ module Azure::Dns::Mgmt::V2017_10_01
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_dns'
131
- sdk_information = "#{sdk_information}/0.17.3"
131
+ sdk_information = "#{sdk_information}/0.17.4"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -128,7 +128,7 @@ module Azure::Dns::Mgmt::V2018_03_01_preview
128
128
  #
129
129
  def add_telemetry
130
130
  sdk_information = 'azure_mgmt_dns'
131
- sdk_information = "#{sdk_information}/0.17.3"
131
+ sdk_information = "#{sdk_information}/0.17.4"
132
132
  add_user_agent_information(sdk_information)
133
133
  end
134
134
  end
@@ -8,4 +8,5 @@ require '2016-04-01/generated/azure_mgmt_dns'
8
8
  require '2017-09-01/generated/azure_mgmt_dns'
9
9
  require 'profiles/v2017_03_09/dns_v2017_03_09_profile_client'
10
10
  require 'profiles/latest/dns_latest_profile_client'
11
+ require 'profiles/v2019_03_01_hybrid/dns_v2019_03_01_hybrid_profile_client'
11
12
  require 'profiles/v2018_03_01/dns_v2018_03_01_profile_client'
@@ -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::V2019_03_01_Hybrid 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/v2019_03_01_hybrid/dns_module_definition'
6
+ require 'profiles/v2019_03_01_hybrid/modules/dns_profile_module'
7
+
8
+ module Azure::Dns::Profiles::V2019_03_01_Hybrid
9
+ module Mgmt
10
+ #
11
+ # Client class for the V2019_03_01_Hybrid 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::V2019_03_01_Hybrid
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/V2019_03_01_Hybrid/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.3'
6
+ VERSION = '0.17.4'
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.3
4
+ version: 0.17.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-13 00:00:00.000000000 Z
11
+ date: 2019-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -204,6 +204,9 @@ files:
204
204
  - lib/profiles/v2018_03_01/dns_module_definition.rb
205
205
  - lib/profiles/v2018_03_01/dns_v2018_03_01_profile_client.rb
206
206
  - lib/profiles/v2018_03_01/modules/dns_profile_module.rb
207
+ - lib/profiles/v2019_03_01_hybrid/dns_module_definition.rb
208
+ - lib/profiles/v2019_03_01_hybrid/dns_v2019_03_01_hybrid_profile_client.rb
209
+ - lib/profiles/v2019_03_01_hybrid/modules/dns_profile_module.rb
207
210
  - lib/version.rb
208
211
  homepage: https://aka.ms/azure-sdk-for-ruby
209
212
  licenses: