azure_mgmt_dns 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_dns.rb +9 -9
- data/lib/generated/azure_mgmt_dns/dns_management_client.rb +17 -5
- data/lib/generated/azure_mgmt_dns/models/aaaa_record.rb +2 -3
- data/lib/generated/azure_mgmt_dns/models/arecord.rb +2 -3
- data/lib/generated/azure_mgmt_dns/models/cname_record.rb +2 -3
- data/lib/generated/azure_mgmt_dns/models/{htp_status_code.rb → http_status_code.rb} +3 -3
- data/lib/generated/azure_mgmt_dns/models/mx_record.rb +3 -4
- data/lib/generated/azure_mgmt_dns/models/ns_record.rb +2 -3
- data/lib/generated/azure_mgmt_dns/models/operation_status.rb +1 -1
- data/lib/generated/azure_mgmt_dns/models/ptr_record.rb +2 -3
- data/lib/generated/azure_mgmt_dns/models/record_set.rb +20 -26
- data/lib/generated/azure_mgmt_dns/models/record_set_list_result.rb +5 -5
- data/lib/generated/azure_mgmt_dns/models/record_set_update_parameters.rb +3 -3
- data/lib/generated/azure_mgmt_dns/models/record_type.rb +1 -1
- data/lib/generated/azure_mgmt_dns/models/soa_record.rb +10 -9
- data/lib/generated/azure_mgmt_dns/models/srv_record.rb +5 -6
- data/lib/generated/azure_mgmt_dns/models/txt_record.rb +2 -2
- data/lib/generated/azure_mgmt_dns/models/zone.rb +10 -10
- data/lib/generated/azure_mgmt_dns/models/zone_delete_result.rb +8 -9
- data/lib/generated/azure_mgmt_dns/models/zone_list_result.rb +3 -4
- data/lib/generated/azure_mgmt_dns/module_definition.rb +1 -1
- data/lib/generated/azure_mgmt_dns/record_sets.rb +261 -241
- data/lib/generated/azure_mgmt_dns/version.rb +2 -2
- data/lib/generated/azure_mgmt_dns/zones.rb +212 -201
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa1b6f94a19f0a92bb2917bba94654a6a677cb18
|
4
|
+
data.tar.gz: 59dc2dcfc39c8e91416b484ec0b02571d7531134
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24db1e0661138c9074bb82571179d6a64ed0a064793a44865fe5a4a9359955a9423eebee7ed3f00676cc9f6c789b832ab9fd903293b3e38089b04a6759757481
|
7
|
+
data.tar.gz: d0d99173e772328d8abe6ca04c847b9e04183bf64af9bbf38d708e7328991b00b312b5ae604aa881b25d40e80bc8304d83c1660e7eaac8b06c3e0bacbd9eeb5d
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -25,23 +25,23 @@ module Azure::ARM::Dns
|
|
25
25
|
autoload :DnsManagementClient, 'generated/azure_mgmt_dns/dns_management_client.rb'
|
26
26
|
|
27
27
|
module Models
|
28
|
+
autoload :RecordSet, 'generated/azure_mgmt_dns/models/record_set.rb'
|
28
29
|
autoload :ARecord, 'generated/azure_mgmt_dns/models/arecord.rb'
|
29
|
-
autoload :
|
30
|
+
autoload :RecordSetUpdateParameters, 'generated/azure_mgmt_dns/models/record_set_update_parameters.rb'
|
30
31
|
autoload :MxRecord, 'generated/azure_mgmt_dns/models/mx_record.rb'
|
31
|
-
autoload :
|
32
|
+
autoload :RecordSetListResult, 'generated/azure_mgmt_dns/models/record_set_list_result.rb'
|
32
33
|
autoload :PtrRecord, 'generated/azure_mgmt_dns/models/ptr_record.rb'
|
33
34
|
autoload :SrvRecord, 'generated/azure_mgmt_dns/models/srv_record.rb'
|
34
|
-
autoload :TxtRecord, 'generated/azure_mgmt_dns/models/txt_record.rb'
|
35
35
|
autoload :CnameRecord, 'generated/azure_mgmt_dns/models/cname_record.rb'
|
36
|
-
autoload :SoaRecord, 'generated/azure_mgmt_dns/models/soa_record.rb'
|
37
|
-
autoload :RecordSet, 'generated/azure_mgmt_dns/models/record_set.rb'
|
38
|
-
autoload :RecordSetUpdateParameters, 'generated/azure_mgmt_dns/models/record_set_update_parameters.rb'
|
39
|
-
autoload :RecordSetListResult, 'generated/azure_mgmt_dns/models/record_set_list_result.rb'
|
40
36
|
autoload :ZoneDeleteResult, 'generated/azure_mgmt_dns/models/zone_delete_result.rb'
|
37
|
+
autoload :AaaaRecord, 'generated/azure_mgmt_dns/models/aaaa_record.rb'
|
41
38
|
autoload :ZoneListResult, 'generated/azure_mgmt_dns/models/zone_list_result.rb'
|
39
|
+
autoload :TxtRecord, 'generated/azure_mgmt_dns/models/txt_record.rb'
|
40
|
+
autoload :NsRecord, 'generated/azure_mgmt_dns/models/ns_record.rb'
|
41
|
+
autoload :SoaRecord, 'generated/azure_mgmt_dns/models/soa_record.rb'
|
42
42
|
autoload :Zone, 'generated/azure_mgmt_dns/models/zone.rb'
|
43
43
|
autoload :OperationStatus, 'generated/azure_mgmt_dns/models/operation_status.rb'
|
44
|
-
autoload :
|
44
|
+
autoload :HttpStatusCode, 'generated/azure_mgmt_dns/models/http_status_code.rb'
|
45
45
|
autoload :RecordType, 'generated/azure_mgmt_dns/models/record_type.rb'
|
46
46
|
end
|
47
47
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -17,12 +17,11 @@ module Azure::ARM::Dns
|
|
17
17
|
# @return Credentials needed for the client to connect to Azure.
|
18
18
|
attr_reader :credentials
|
19
19
|
|
20
|
-
# @return [String]
|
21
|
-
# Microsoft Azure subscription.
|
22
|
-
# for every service call.
|
20
|
+
# @return [String] Specifies the Azure subscription ID, which uniquely
|
21
|
+
# identifies the Microsoft Azure subscription.
|
23
22
|
attr_accessor :subscription_id
|
24
23
|
|
25
|
-
# @return [String]
|
24
|
+
# @return [String] Specifies the API version.
|
26
25
|
attr_reader :api_version
|
27
26
|
|
28
27
|
# @return [String] Gets or sets the preferred language for the response.
|
@@ -62,6 +61,7 @@ module Azure::ARM::Dns
|
|
62
61
|
@accept_language = 'en-US'
|
63
62
|
@long_running_operation_retry_timeout = 30
|
64
63
|
@generate_client_request_id = true
|
64
|
+
add_telemetry
|
65
65
|
end
|
66
66
|
|
67
67
|
#
|
@@ -119,5 +119,17 @@ module Azure::ARM::Dns
|
|
119
119
|
super(request_url, method, path, options)
|
120
120
|
end
|
121
121
|
|
122
|
+
|
123
|
+
private
|
124
|
+
#
|
125
|
+
# Adds telemetry information.
|
126
|
+
#
|
127
|
+
def add_telemetry
|
128
|
+
sdk_information = 'azure_mgmt_dns'
|
129
|
+
if defined? Azure::ARM::Dns::VERSION
|
130
|
+
sdk_information = "#{sdk_information}/#{Azure::ARM::Dns::VERSION}"
|
131
|
+
end
|
132
|
+
add_user_agent_information(sdk_information)
|
133
|
+
end
|
122
134
|
end
|
123
135
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,8 +12,7 @@ module Azure::ARM::Dns
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
16
|
-
# string notation.
|
15
|
+
# @return [String] The IPv6 address of this AAAA record.
|
17
16
|
attr_accessor :ipv6address
|
18
17
|
|
19
18
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,8 +12,7 @@ module Azure::ARM::Dns
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
16
|
-
# string notation.
|
15
|
+
# @return [String] The IPv4 address of this A record.
|
17
16
|
attr_accessor :ipv4address
|
18
17
|
|
19
18
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,8 +12,7 @@ module Azure::ARM::Dns
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
16
|
-
# without a terminating dot.
|
15
|
+
# @return [String] The canonical name for this CNAME record.
|
17
16
|
attr_accessor :cname
|
18
17
|
|
19
18
|
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Dns
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Defines values for
|
9
|
+
# Defines values for HttpStatusCode
|
10
10
|
#
|
11
|
-
module
|
11
|
+
module HttpStatusCode
|
12
12
|
Continue = "Continue"
|
13
13
|
SwitchingProtocols = "SwitchingProtocols"
|
14
14
|
OK = "OK"
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,11 +12,10 @@ module Azure::ARM::Dns
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Integer]
|
15
|
+
# @return [Integer] The preference value for this MX record.
|
16
16
|
attr_accessor :preference
|
17
17
|
|
18
|
-
# @return [String]
|
19
|
-
# without a terminating dot.
|
18
|
+
# @return [String] The domain name of the mail host for this MX record.
|
20
19
|
attr_accessor :exchange
|
21
20
|
|
22
21
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,8 +12,7 @@ module Azure::ARM::Dns
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
16
|
-
# without a terminating dot.
|
15
|
+
# @return [String] The name server name for this NS record.
|
17
16
|
attr_accessor :nsdname
|
18
17
|
|
19
18
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,8 +12,7 @@ module Azure::ARM::Dns
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
16
|
-
# record without a terminating dot.
|
15
|
+
# @return [String] The PTR target domain name for this PTR record.
|
17
16
|
attr_accessor :ptrdname
|
18
17
|
|
19
18
|
|
@@ -1,69 +1,63 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Dns
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Describes a DNS
|
10
|
-
# type).
|
9
|
+
# Describes a DNS record set (a collection of DNS records with the same
|
10
|
+
# name and type).
|
11
11
|
#
|
12
12
|
class RecordSet
|
13
13
|
|
14
14
|
include MsRestAzure
|
15
15
|
|
16
|
-
# @return [String]
|
16
|
+
# @return [String] The ID of the record set.
|
17
17
|
attr_accessor :id
|
18
18
|
|
19
|
-
# @return [String]
|
19
|
+
# @return [String] The name of the record set.
|
20
20
|
attr_accessor :name
|
21
21
|
|
22
|
-
# @return [String]
|
22
|
+
# @return [String] The type of the record set.
|
23
23
|
attr_accessor :type
|
24
24
|
|
25
|
-
# @return [String]
|
25
|
+
# @return [String] The etag of the record set.
|
26
26
|
attr_accessor :etag
|
27
27
|
|
28
|
-
# @return [Hash{String => String}]
|
29
|
-
#
|
28
|
+
# @return [Hash{String => String}] The metadata attached to the record
|
29
|
+
# set.
|
30
30
|
attr_accessor :metadata
|
31
31
|
|
32
|
-
# @return [Integer]
|
32
|
+
# @return [Integer] The TTL (time-to-live) of the records in the record
|
33
|
+
# set.
|
33
34
|
attr_accessor :ttl
|
34
35
|
|
35
|
-
# @return [Array<ARecord>]
|
36
|
-
# RecordSet.
|
36
|
+
# @return [Array<ARecord>] The list of A records in the record set.
|
37
37
|
attr_accessor :arecords
|
38
38
|
|
39
|
-
# @return [Array<AaaaRecord>]
|
40
|
-
# the RecordSet.
|
39
|
+
# @return [Array<AaaaRecord>] The list of AAAA records in the record set.
|
41
40
|
attr_accessor :aaaa_records
|
42
41
|
|
43
|
-
# @return [Array<MxRecord>]
|
44
|
-
# RecordSet.
|
42
|
+
# @return [Array<MxRecord>] The list of MX records in the record set.
|
45
43
|
attr_accessor :mx_records
|
46
44
|
|
47
|
-
# @return [Array<NsRecord>]
|
48
|
-
# RecordSet.
|
45
|
+
# @return [Array<NsRecord>] The list of NS records in the record set.
|
49
46
|
attr_accessor :ns_records
|
50
47
|
|
51
|
-
# @return [Array<PtrRecord>]
|
52
|
-
# RecordSet.
|
48
|
+
# @return [Array<PtrRecord>] The list of PTR records in the record set.
|
53
49
|
attr_accessor :ptr_records
|
54
50
|
|
55
|
-
# @return [Array<SrvRecord>]
|
56
|
-
# RecordSet.
|
51
|
+
# @return [Array<SrvRecord>] The list of SRV records in the record set.
|
57
52
|
attr_accessor :srv_records
|
58
53
|
|
59
|
-
# @return [Array<TxtRecord>]
|
60
|
-
# RecordSet.
|
54
|
+
# @return [Array<TxtRecord>] The list of TXT records in the record set.
|
61
55
|
attr_accessor :txt_records
|
62
56
|
|
63
|
-
# @return [CnameRecord]
|
57
|
+
# @return [CnameRecord] The CNAME record in the record set.
|
64
58
|
attr_accessor :cname_record
|
65
59
|
|
66
|
-
# @return [SoaRecord]
|
60
|
+
# @return [SoaRecord] The SOA record in the record set.
|
67
61
|
attr_accessor :soa_record
|
68
62
|
|
69
63
|
|
@@ -1,22 +1,22 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Dns
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# The response to a
|
9
|
+
# The response to a record set List operation.
|
10
10
|
#
|
11
11
|
class RecordSetListResult
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Array<RecordSet>]
|
16
|
-
#
|
15
|
+
# @return [Array<RecordSet>] Information about the record sets in the
|
16
|
+
# response.
|
17
17
|
attr_accessor :value
|
18
18
|
|
19
|
-
# @return [String]
|
19
|
+
# @return [String] The continuation token for the next page of results.
|
20
20
|
attr_accessor :next_link
|
21
21
|
|
22
22
|
# return [Proc] with next page method call.
|
@@ -1,18 +1,18 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
6
|
module Azure::ARM::Dns
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
# Parameters supplied to update a
|
9
|
+
# Parameters supplied to update a record set.
|
10
10
|
#
|
11
11
|
class RecordSetUpdateParameters
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [RecordSet]
|
15
|
+
# @return [RecordSet] Specifies information about the record set being
|
16
16
|
# updated.
|
17
17
|
attr_accessor :record_set
|
18
18
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,26 +12,27 @@ module Azure::ARM::Dns
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String]
|
16
|
-
#
|
15
|
+
# @return [String] The domain name of the authoritative name server for
|
16
|
+
# this SOA record.
|
17
17
|
attr_accessor :host
|
18
18
|
|
19
|
-
# @return [String]
|
19
|
+
# @return [String] The email contact for this SOA record.
|
20
20
|
attr_accessor :email
|
21
21
|
|
22
|
-
# @return [Integer]
|
22
|
+
# @return [Integer] The serial number for this SOA record.
|
23
23
|
attr_accessor :serial_number
|
24
24
|
|
25
|
-
# @return [Integer]
|
25
|
+
# @return [Integer] The refresh value for this SOA record.
|
26
26
|
attr_accessor :refresh_time
|
27
27
|
|
28
|
-
# @return [Integer]
|
28
|
+
# @return [Integer] The retry time for this SOA record.
|
29
29
|
attr_accessor :retry_time
|
30
30
|
|
31
|
-
# @return [Integer]
|
31
|
+
# @return [Integer] The expire time for this SOA record.
|
32
32
|
attr_accessor :expire_time
|
33
33
|
|
34
|
-
# @return [Integer]
|
34
|
+
# @return [Integer] The minimum value for this SOA record. By convention
|
35
|
+
# this is used to determine the negative caching duration.
|
35
36
|
attr_accessor :minimum_ttl
|
36
37
|
|
37
38
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -12,17 +12,16 @@ module Azure::ARM::Dns
|
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [Integer]
|
15
|
+
# @return [Integer] The priority value for this SRV record.
|
16
16
|
attr_accessor :priority
|
17
17
|
|
18
|
-
# @return [Integer]
|
18
|
+
# @return [Integer] The weight value for this SRV record.
|
19
19
|
attr_accessor :weight
|
20
20
|
|
21
|
-
# @return [Integer]
|
21
|
+
# @return [Integer] The port value for this SRV record.
|
22
22
|
attr_accessor :port
|
23
23
|
|
24
|
-
# @return [String]
|
25
|
-
# record, without a terminating dot.
|
24
|
+
# @return [String] The target domain name for this SRV record.
|
26
25
|
attr_accessor :target
|
27
26
|
|
28
27
|
|