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
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d29945e0f9765bc690d9a5479ab36296b4c018bd
4
+ data.tar.gz: 03ccc3f25dae225cc7fcb868c0780aabd1a69a57
5
+ SHA512:
6
+ metadata.gz: 53b9e536f20dd26f391aad764cfac19cf6f5e066df0cbaf36de0efece61411f9419629941eecce2a63b56e0583162910d0475e21435e31e4f1a448dec698d65d
7
+ data.tar.gz: 59400ee052787d81a743f8f747b32142858a1200164291e39102a3fb381a13167e091a83576b10232a97264d40411c671aff50f7af230025ab107972c7bf9082
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Microsoft Corporation
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,51 @@
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
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require '2018-09-01/generated/azure_mgmt_privatedns/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::PrivateDns::Mgmt::V2018_09_01
23
+ autoload :PrivateZones, '2018-09-01/generated/azure_mgmt_privatedns/private_zones.rb'
24
+ autoload :VirtualNetworkLinks, '2018-09-01/generated/azure_mgmt_privatedns/virtual_network_links.rb'
25
+ autoload :RecordSets, '2018-09-01/generated/azure_mgmt_privatedns/record_sets.rb'
26
+ autoload :PrivateDnsManagementClient, '2018-09-01/generated/azure_mgmt_privatedns/private_dns_management_client.rb'
27
+
28
+ module Models
29
+ autoload :PtrRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/ptr_record.rb'
30
+ autoload :SoaRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/soa_record.rb'
31
+ autoload :PrivateZoneListResult, '2018-09-01/generated/azure_mgmt_privatedns/models/private_zone_list_result.rb'
32
+ autoload :SrvRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/srv_record.rb'
33
+ autoload :SubResource, '2018-09-01/generated/azure_mgmt_privatedns/models/sub_resource.rb'
34
+ autoload :VirtualNetworkLinkListResult, '2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link_list_result.rb'
35
+ autoload :AaaaRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/aaaa_record.rb'
36
+ autoload :TxtRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/txt_record.rb'
37
+ autoload :MxRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/mx_record.rb'
38
+ autoload :ARecord, '2018-09-01/generated/azure_mgmt_privatedns/models/arecord.rb'
39
+ autoload :RecordSetListResult, '2018-09-01/generated/azure_mgmt_privatedns/models/record_set_list_result.rb'
40
+ autoload :CnameRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/cname_record.rb'
41
+ autoload :Resource, '2018-09-01/generated/azure_mgmt_privatedns/models/resource.rb'
42
+ autoload :TrackedResource, '2018-09-01/generated/azure_mgmt_privatedns/models/tracked_resource.rb'
43
+ autoload :PrivateZone, '2018-09-01/generated/azure_mgmt_privatedns/models/private_zone.rb'
44
+ autoload :VirtualNetworkLink, '2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link.rb'
45
+ autoload :ProxyResource, '2018-09-01/generated/azure_mgmt_privatedns/models/proxy_resource.rb'
46
+ autoload :RecordSet, '2018-09-01/generated/azure_mgmt_privatedns/models/record_set.rb'
47
+ autoload :ProvisioningState, '2018-09-01/generated/azure_mgmt_privatedns/models/provisioning_state.rb'
48
+ autoload :VirtualNetworkLinkState, '2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link_state.rb'
49
+ autoload :RecordType, '2018-09-01/generated/azure_mgmt_privatedns/models/record_type.rb'
50
+ end
51
+ end
@@ -0,0 +1,46 @@
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::PrivateDns::Mgmt::V2018_09_01
7
+ module Models
8
+ #
9
+ # An AAAA record.
10
+ #
11
+ class AaaaRecord
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The IPv6 address of this AAAA record.
16
+ attr_accessor :ipv6address
17
+
18
+
19
+ #
20
+ # Mapper for AaaaRecord class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'AaaaRecord',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'AaaaRecord',
31
+ model_properties: {
32
+ ipv6address: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'ipv6Address',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,46 @@
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::PrivateDns::Mgmt::V2018_09_01
7
+ module Models
8
+ #
9
+ # An A record.
10
+ #
11
+ class ARecord
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The IPv4 address of this A record.
16
+ attr_accessor :ipv4address
17
+
18
+
19
+ #
20
+ # Mapper for ARecord class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'ARecord',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ARecord',
31
+ model_properties: {
32
+ ipv4address: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'ipv4Address',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,46 @@
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::PrivateDns::Mgmt::V2018_09_01
7
+ module Models
8
+ #
9
+ # A CNAME record.
10
+ #
11
+ class CnameRecord
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The canonical name for this CNAME record.
16
+ attr_accessor :cname
17
+
18
+
19
+ #
20
+ # Mapper for CnameRecord class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'CnameRecord',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'CnameRecord',
31
+ model_properties: {
32
+ cname: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'cname',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,57 @@
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::PrivateDns::Mgmt::V2018_09_01
7
+ module Models
8
+ #
9
+ # An MX record.
10
+ #
11
+ class MxRecord
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The preference value for this MX record.
16
+ attr_accessor :preference
17
+
18
+ # @return [String] The domain name of the mail host for this MX record.
19
+ attr_accessor :exchange
20
+
21
+
22
+ #
23
+ # Mapper for MxRecord 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: 'MxRecord',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'MxRecord',
34
+ model_properties: {
35
+ preference: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'preference',
39
+ type: {
40
+ name: 'Number'
41
+ }
42
+ },
43
+ exchange: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'exchange',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,196 @@
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::PrivateDns::Mgmt::V2018_09_01
7
+ module Models
8
+ #
9
+ # Describes a Private DNS zone.
10
+ #
11
+ class PrivateZone < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The ETag of the zone.
16
+ attr_accessor :etag
17
+
18
+ # @return [Integer] The maximum number of record sets that can be created
19
+ # in this Private DNS zone. This is a read-only property and any attempt
20
+ # to set this value will be ignored.
21
+ attr_accessor :max_number_of_record_sets
22
+
23
+ # @return [Integer] The current number of record sets in this Private DNS
24
+ # zone. This is a read-only property and any attempt to set this value
25
+ # will be ignored.
26
+ attr_accessor :number_of_record_sets
27
+
28
+ # @return [Integer] The maximum number of virtual networks that can be
29
+ # linked to this Private DNS zone. This is a read-only property and any
30
+ # attempt to set this value will be ignored.
31
+ attr_accessor :max_number_of_virtual_network_links
32
+
33
+ # @return [Integer] The current number of virtual networks that are
34
+ # linked to this Private DNS zone. This is a read-only property and any
35
+ # attempt to set this value will be ignored.
36
+ attr_accessor :number_of_virtual_network_links
37
+
38
+ # @return [Integer] The maximum number of virtual networks that can be
39
+ # linked to this Private DNS zone with registration enabled. This is a
40
+ # read-only property and any attempt to set this value will be ignored.
41
+ attr_accessor :max_number_of_virtual_network_links_with_registration
42
+
43
+ # @return [Integer] The current number of virtual networks that are
44
+ # linked to this Private DNS zone with registration enabled. This is a
45
+ # read-only property and any attempt to set this value will be ignored.
46
+ attr_accessor :number_of_virtual_network_links_with_registration
47
+
48
+ # @return [ProvisioningState] The provisioning state of the resource.
49
+ # This is a read-only property and any attempt to set this value will be
50
+ # ignored. Possible values include: 'Creating', 'Updating', 'Deleting',
51
+ # 'Succeeded', 'Failed', 'Canceled'
52
+ attr_accessor :provisioning_state
53
+
54
+
55
+ #
56
+ # Mapper for PrivateZone class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'PrivateZone',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'PrivateZone',
67
+ model_properties: {
68
+ id: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'id',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ name: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ read_only: true,
81
+ serialized_name: 'name',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ type: {
87
+ client_side_validation: true,
88
+ required: false,
89
+ read_only: true,
90
+ serialized_name: 'type',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ tags: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'tags',
99
+ type: {
100
+ name: 'Dictionary',
101
+ value: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'StringElementType',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ }
109
+ }
110
+ },
111
+ location: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'location',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ etag: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ serialized_name: 'etag',
123
+ type: {
124
+ name: 'String'
125
+ }
126
+ },
127
+ max_number_of_record_sets: {
128
+ client_side_validation: true,
129
+ required: false,
130
+ read_only: true,
131
+ serialized_name: 'properties.maxNumberOfRecordSets',
132
+ type: {
133
+ name: 'Number'
134
+ }
135
+ },
136
+ number_of_record_sets: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ read_only: true,
140
+ serialized_name: 'properties.numberOfRecordSets',
141
+ type: {
142
+ name: 'Number'
143
+ }
144
+ },
145
+ max_number_of_virtual_network_links: {
146
+ client_side_validation: true,
147
+ required: false,
148
+ read_only: true,
149
+ serialized_name: 'properties.maxNumberOfVirtualNetworkLinks',
150
+ type: {
151
+ name: 'Number'
152
+ }
153
+ },
154
+ number_of_virtual_network_links: {
155
+ client_side_validation: true,
156
+ required: false,
157
+ read_only: true,
158
+ serialized_name: 'properties.numberOfVirtualNetworkLinks',
159
+ type: {
160
+ name: 'Number'
161
+ }
162
+ },
163
+ max_number_of_virtual_network_links_with_registration: {
164
+ client_side_validation: true,
165
+ required: false,
166
+ read_only: true,
167
+ serialized_name: 'properties.maxNumberOfVirtualNetworkLinksWithRegistration',
168
+ type: {
169
+ name: 'Number'
170
+ }
171
+ },
172
+ number_of_virtual_network_links_with_registration: {
173
+ client_side_validation: true,
174
+ required: false,
175
+ read_only: true,
176
+ serialized_name: 'properties.numberOfVirtualNetworkLinksWithRegistration',
177
+ type: {
178
+ name: 'Number'
179
+ }
180
+ },
181
+ provisioning_state: {
182
+ client_side_validation: true,
183
+ required: false,
184
+ read_only: true,
185
+ serialized_name: 'properties.provisioningState',
186
+ type: {
187
+ name: 'String'
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
193
+ end
194
+ end
195
+ end
196
+ end