azure_mgmt_privatedns 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2018-09-01/generated/azure_mgmt_privatedns.rb +51 -0
  4. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/aaaa_record.rb +46 -0
  5. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/arecord.rb +46 -0
  6. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/cname_record.rb +46 -0
  7. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/mx_record.rb +57 -0
  8. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/private_zone.rb +196 -0
  9. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/private_zone_list_result.rb +99 -0
  10. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/provisioning_state.rb +20 -0
  11. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/proxy_resource.rb +62 -0
  12. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/ptr_record.rb +46 -0
  13. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/record_set.rb +275 -0
  14. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/record_set_list_result.rb +100 -0
  15. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/record_type.rb +22 -0
  16. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/resource.rb +83 -0
  17. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/soa_record.rb +114 -0
  18. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/srv_record.rb +79 -0
  19. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/sub_resource.rb +46 -0
  20. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/tracked_resource.rb +92 -0
  21. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/txt_record.rb +54 -0
  22. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link.rb +151 -0
  23. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link_list_result.rb +101 -0
  24. data/lib/2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link_state.rb +16 -0
  25. data/lib/2018-09-01/generated/azure_mgmt_privatedns/module_definition.rb +9 -0
  26. data/lib/2018-09-01/generated/azure_mgmt_privatedns/private_dns_management_client.rb +141 -0
  27. data/lib/2018-09-01/generated/azure_mgmt_privatedns/private_zones.rb +1051 -0
  28. data/lib/2018-09-01/generated/azure_mgmt_privatedns/record_sets.rb +1023 -0
  29. data/lib/2018-09-01/generated/azure_mgmt_privatedns/virtual_network_links.rb +908 -0
  30. data/lib/azure_mgmt_privatedns.rb +6 -0
  31. data/lib/module_definition.rb +8 -0
  32. data/lib/profiles/latest/modules/privatedns_profile_module.rb +149 -0
  33. data/lib/profiles/latest/privatedns_latest_profile_client.rb +40 -0
  34. data/lib/profiles/latest/privatedns_module_definition.rb +8 -0
  35. data/lib/version.rb +7 -0
  36. metadata +153 -0
@@ -0,0 +1,6 @@
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 '2018-09-01/generated/azure_mgmt_privatedns'
6
+ require 'profiles/latest/privatedns_latest_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::PrivateDns end
7
+ module Azure::PrivateDns::Mgmt end
8
+
@@ -0,0 +1,149 @@
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_privatedns'
6
+
7
+ module Azure::PrivateDns::Profiles::Latest
8
+ module Mgmt
9
+ PrivateZones = Azure::PrivateDns::Mgmt::V2018_09_01::PrivateZones
10
+ VirtualNetworkLinks = Azure::PrivateDns::Mgmt::V2018_09_01::VirtualNetworkLinks
11
+ RecordSets = Azure::PrivateDns::Mgmt::V2018_09_01::RecordSets
12
+
13
+ module Models
14
+ PtrRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::PtrRecord
15
+ SoaRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::SoaRecord
16
+ PrivateZoneListResult = Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZoneListResult
17
+ SrvRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::SrvRecord
18
+ SubResource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::SubResource
19
+ VirtualNetworkLinkListResult = Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkListResult
20
+ AaaaRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::AaaaRecord
21
+ TxtRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::TxtRecord
22
+ MxRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::MxRecord
23
+ ARecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::ARecord
24
+ RecordSetListResult = Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSetListResult
25
+ CnameRecord = Azure::PrivateDns::Mgmt::V2018_09_01::Models::CnameRecord
26
+ Resource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::Resource
27
+ TrackedResource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::TrackedResource
28
+ PrivateZone = Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZone
29
+ VirtualNetworkLink = Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLink
30
+ ProxyResource = Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProxyResource
31
+ RecordSet = Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSet
32
+ ProvisioningState = Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProvisioningState
33
+ VirtualNetworkLinkState = Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkState
34
+ RecordType = Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordType
35
+ end
36
+
37
+ #
38
+ # PrivateDnsManagementClass
39
+ #
40
+ class PrivateDnsManagementClass
41
+ attr_reader :private_zones, :virtual_network_links, :record_sets, :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::PrivateDns::Mgmt::V2018_09_01::PrivateDnsManagementClient.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
+ @private_zones = @client_0.private_zones
62
+ @virtual_network_links = @client_0.virtual_network_links
63
+ @record_sets = @client_0.record_sets
64
+
65
+ @model_classes = ModelClasses.new
66
+ end
67
+
68
+ def add_telemetry(client)
69
+ profile_information = 'Profiles/Latest/PrivateDns/Mgmt'
70
+ client.add_user_agent_information(profile_information)
71
+ end
72
+
73
+ def method_missing(method, *args)
74
+ if @client_0.respond_to?method
75
+ @client_0.send(method, *args)
76
+ else
77
+ super
78
+ end
79
+ end
80
+
81
+ end
82
+
83
+ class ModelClasses
84
+ def ptr_record
85
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::PtrRecord
86
+ end
87
+ def soa_record
88
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::SoaRecord
89
+ end
90
+ def private_zone_list_result
91
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZoneListResult
92
+ end
93
+ def srv_record
94
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::SrvRecord
95
+ end
96
+ def sub_resource
97
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::SubResource
98
+ end
99
+ def virtual_network_link_list_result
100
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkListResult
101
+ end
102
+ def aaaa_record
103
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::AaaaRecord
104
+ end
105
+ def txt_record
106
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::TxtRecord
107
+ end
108
+ def mx_record
109
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::MxRecord
110
+ end
111
+ def arecord
112
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::ARecord
113
+ end
114
+ def record_set_list_result
115
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSetListResult
116
+ end
117
+ def cname_record
118
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::CnameRecord
119
+ end
120
+ def resource
121
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::Resource
122
+ end
123
+ def tracked_resource
124
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::TrackedResource
125
+ end
126
+ def private_zone
127
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::PrivateZone
128
+ end
129
+ def virtual_network_link
130
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLink
131
+ end
132
+ def proxy_resource
133
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProxyResource
134
+ end
135
+ def record_set
136
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordSet
137
+ end
138
+ def provisioning_state
139
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::ProvisioningState
140
+ end
141
+ def virtual_network_link_state
142
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::VirtualNetworkLinkState
143
+ end
144
+ def record_type
145
+ Azure::PrivateDns::Mgmt::V2018_09_01::Models::RecordType
146
+ end
147
+ end
148
+ end
149
+ 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/latest/privatedns_module_definition'
6
+ require 'profiles/latest/modules/privatedns_profile_module'
7
+
8
+ module Azure::PrivateDns::Profiles::Latest
9
+ module Mgmt
10
+ #
11
+ # Client class for the Latest profile SDK.
12
+ #
13
+ class Client < PrivateDnsManagementClass
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,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::PrivateDns end
7
+ module Azure::PrivateDns::Profiles end
8
+ module Azure::PrivateDns::Profiles::Latest end
data/lib/version.rb ADDED
@@ -0,0 +1,7 @@
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::PrivateDns::Mgmt
6
+ VERSION = '0.17.0'
7
+ end
metadata ADDED
@@ -0,0 +1,153 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: azure_mgmt_privatedns
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.17.0
5
+ platform: ruby
6
+ authors:
7
+ - Microsoft Corporation
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-02-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3'
55
+ - !ruby/object:Gem::Dependency
56
+ name: dotenv
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ms_rest_azure
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.11.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.11.0
83
+ description: Microsoft Azure Private DNS Management Client Library for Ruby
84
+ email: azrubyteam@microsoft.com
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - LICENSE.txt
90
+ - lib/2018-09-01/generated/azure_mgmt_privatedns.rb
91
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/aaaa_record.rb
92
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/arecord.rb
93
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/cname_record.rb
94
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/mx_record.rb
95
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/private_zone.rb
96
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/private_zone_list_result.rb
97
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/provisioning_state.rb
98
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/proxy_resource.rb
99
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/ptr_record.rb
100
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/record_set.rb
101
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/record_set_list_result.rb
102
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/record_type.rb
103
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/resource.rb
104
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/soa_record.rb
105
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/srv_record.rb
106
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/sub_resource.rb
107
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/tracked_resource.rb
108
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/txt_record.rb
109
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link.rb
110
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link_list_result.rb
111
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link_state.rb
112
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/module_definition.rb
113
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/private_dns_management_client.rb
114
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/private_zones.rb
115
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/record_sets.rb
116
+ - lib/2018-09-01/generated/azure_mgmt_privatedns/virtual_network_links.rb
117
+ - lib/azure_mgmt_privatedns.rb
118
+ - lib/module_definition.rb
119
+ - lib/profiles/latest/modules/privatedns_profile_module.rb
120
+ - lib/profiles/latest/privatedns_latest_profile_client.rb
121
+ - lib/profiles/latest/privatedns_module_definition.rb
122
+ - lib/version.rb
123
+ homepage: https://aka.ms/azure-sdk-for-ruby
124
+ licenses:
125
+ - MIT
126
+ metadata:
127
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
128
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
129
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
130
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
131
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_privatedns
132
+ post_install_message:
133
+ rdoc_options: []
134
+ require_paths:
135
+ - lib
136
+ required_ruby_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: 2.0.0
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ requirements: []
147
+ rubyforge_project:
148
+ rubygems_version: 2.5.1
149
+ signing_key:
150
+ specification_version: 4
151
+ summary: Official Ruby client library to consume Microsoft Azure Private DNS Management
152
+ services.
153
+ test_files: []