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.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_dns.rb +9 -9
  3. data/lib/generated/azure_mgmt_dns/dns_management_client.rb +17 -5
  4. data/lib/generated/azure_mgmt_dns/models/aaaa_record.rb +2 -3
  5. data/lib/generated/azure_mgmt_dns/models/arecord.rb +2 -3
  6. data/lib/generated/azure_mgmt_dns/models/cname_record.rb +2 -3
  7. data/lib/generated/azure_mgmt_dns/models/{htp_status_code.rb → http_status_code.rb} +3 -3
  8. data/lib/generated/azure_mgmt_dns/models/mx_record.rb +3 -4
  9. data/lib/generated/azure_mgmt_dns/models/ns_record.rb +2 -3
  10. data/lib/generated/azure_mgmt_dns/models/operation_status.rb +1 -1
  11. data/lib/generated/azure_mgmt_dns/models/ptr_record.rb +2 -3
  12. data/lib/generated/azure_mgmt_dns/models/record_set.rb +20 -26
  13. data/lib/generated/azure_mgmt_dns/models/record_set_list_result.rb +5 -5
  14. data/lib/generated/azure_mgmt_dns/models/record_set_update_parameters.rb +3 -3
  15. data/lib/generated/azure_mgmt_dns/models/record_type.rb +1 -1
  16. data/lib/generated/azure_mgmt_dns/models/soa_record.rb +10 -9
  17. data/lib/generated/azure_mgmt_dns/models/srv_record.rb +5 -6
  18. data/lib/generated/azure_mgmt_dns/models/txt_record.rb +2 -2
  19. data/lib/generated/azure_mgmt_dns/models/zone.rb +10 -10
  20. data/lib/generated/azure_mgmt_dns/models/zone_delete_result.rb +8 -9
  21. data/lib/generated/azure_mgmt_dns/models/zone_list_result.rb +3 -4
  22. data/lib/generated/azure_mgmt_dns/module_definition.rb +1 -1
  23. data/lib/generated/azure_mgmt_dns/record_sets.rb +261 -241
  24. data/lib/generated/azure_mgmt_dns/version.rb +2 -2
  25. data/lib/generated/azure_mgmt_dns/zones.rb +212 -201
  26. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 465329ff758e32f782f73a101f91b0a49c3a30e8
4
- data.tar.gz: 5ef5dced9420cefefd1b66946229768644f8e25f
3
+ metadata.gz: fa1b6f94a19f0a92bb2917bba94654a6a677cb18
4
+ data.tar.gz: 59dc2dcfc39c8e91416b484ec0b02571d7531134
5
5
  SHA512:
6
- metadata.gz: 999d95539f976e5ed64abd31b0abda05b7a5a53f7cc317f58815b3ea89c5af05f9f698a3054df6ac5d0ab0a12b3a7e782678d61c3a298d5978debe6d204b6b39
7
- data.tar.gz: 3c54fb597f59568d5b85adb8d1d9583460894dc02b97db79369aaea1bea75196487e2028415e6a55e1996a9744eb3f90f2f500d4ce4dfee14745badfb5f88a98
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.17.0.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 :AaaaRecord, 'generated/azure_mgmt_dns/models/aaaa_record.rb'
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 :NsRecord, 'generated/azure_mgmt_dns/models/ns_record.rb'
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 :HtpStatusCode, 'generated/azure_mgmt_dns/models/htp_status_code.rb'
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.17.0.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] Gets subscription credentials which uniquely identify
21
- # Microsoft Azure subscription. The subscription ID forms part of the URI
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] Client Api Version.
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.17.0.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] Gets or sets the IPv6 address of this AAAA record in
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.17.0.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] Gets or sets the IPv4 address of this A record in
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.17.0.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] Gets or sets the canonical name for this record
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.17.0.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 HtpStatusCode
9
+ # Defines values for HttpStatusCode
10
10
  #
11
- module HtpStatusCode
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.17.0.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] Gets or sets the preference metric for this record.
15
+ # @return [Integer] The preference value for this MX record.
16
16
  attr_accessor :preference
17
17
 
18
- # @return [String] Gets or sets the domain name of the mail host,
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.17.0.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] Gets or sets the name server name for this record,
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.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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] Gets or sets the PTR target domain name for this
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.17.0.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 RecordSet (a set of DNS records with the same name and
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] Gets or sets the ID of the resource.
16
+ # @return [String] The ID of the record set.
17
17
  attr_accessor :id
18
18
 
19
- # @return [String] Gets or sets the name of the resource.
19
+ # @return [String] The name of the record set.
20
20
  attr_accessor :name
21
21
 
22
- # @return [String] Gets or sets the type of the resource.
22
+ # @return [String] The type of the record set.
23
23
  attr_accessor :type
24
24
 
25
- # @return [String] Gets or sets the ETag of the RecordSet.
25
+ # @return [String] The etag of the record set.
26
26
  attr_accessor :etag
27
27
 
28
- # @return [Hash{String => String}] Gets or sets the metadata attached to
29
- # the resource.
28
+ # @return [Hash{String => String}] The metadata attached to the record
29
+ # set.
30
30
  attr_accessor :metadata
31
31
 
32
- # @return [Integer] Gets or sets the TTL of the records in the RecordSet.
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>] Gets or sets the list of A records in the
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>] Gets or sets the list of AAAA records in
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>] Gets or sets the list of MX records in the
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>] Gets or sets the list of NS records in the
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>] Gets or sets the list of PTR records in the
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>] Gets or sets the list of SRV records in the
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>] Gets or sets the list of TXT records in the
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] Gets or sets the CNAME record in the RecordSet.
57
+ # @return [CnameRecord] The CNAME record in the record set.
64
58
  attr_accessor :cname_record
65
59
 
66
- # @return [SoaRecord] Gets or sets the SOA record in the RecordSet.
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.17.0.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 RecordSet List operation.
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>] Gets or sets information about the
16
- # RecordSets in the response.
15
+ # @return [Array<RecordSet>] Information about the record sets in the
16
+ # response.
17
17
  attr_accessor :value
18
18
 
19
- # @return [String] Gets or sets the continuation token for the next page.
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.17.0.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 RecordSet.
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] Gets or sets information about the RecordSet being
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.17.0.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
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.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] Gets or sets the domain name of the authoritative
16
- # name server, without a temrinating dot.
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] Gets or sets the email for this record.
19
+ # @return [String] The email contact for this SOA record.
20
20
  attr_accessor :email
21
21
 
22
- # @return [Integer] Gets or sets the serial number for this record.
22
+ # @return [Integer] The serial number for this SOA record.
23
23
  attr_accessor :serial_number
24
24
 
25
- # @return [Integer] Gets or sets the refresh value for this record.
25
+ # @return [Integer] The refresh value for this SOA record.
26
26
  attr_accessor :refresh_time
27
27
 
28
- # @return [Integer] Gets or sets the retry time for this record.
28
+ # @return [Integer] The retry time for this SOA record.
29
29
  attr_accessor :retry_time
30
30
 
31
- # @return [Integer] Gets or sets the expire time for this record.
31
+ # @return [Integer] The expire time for this SOA record.
32
32
  attr_accessor :expire_time
33
33
 
34
- # @return [Integer] Gets or sets the minimum TTL value for this record.
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.17.0.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] Gets or sets the priority metric for this record.
15
+ # @return [Integer] The priority value for this SRV record.
16
16
  attr_accessor :priority
17
17
 
18
- # @return [Integer] Gets or sets the weight metric for this this record.
18
+ # @return [Integer] The weight value for this SRV record.
19
19
  attr_accessor :weight
20
20
 
21
- # @return [Integer] Gets or sets the port of the service for this record.
21
+ # @return [Integer] The port value for this SRV record.
22
22
  attr_accessor :port
23
23
 
24
- # @return [String] Gets or sets the domain name of the target for this
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