azure_mgmt_dns 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2bddeaf76d6f6e123e91a94840a42eabab89384
4
- data.tar.gz: 0382fff2f80870acfa585256ee508bfbfe9f8bbb
3
+ metadata.gz: d7412467245ecfaae766a52697085903c53c7121
4
+ data.tar.gz: 77705e5b7072381496436cf7b49f19a011076e4d
5
5
  SHA512:
6
- metadata.gz: 99214a54d2a9c51a6690169109c5278b7da274c5b4bc938cca1a133b80eb74b0eb7a42fbf24a48be473c9fbcd033e98241a11e6d8e1ebcc374c9d2c8d2100d5b
7
- data.tar.gz: 616be41c6c816fd2f16c337ddd5ce2d6859f043e673430d05b194fe3a8695c97c46ec47b3e6bb7fea89ce896fc731f948e1b60aba1dcc0f942e0caf28708ad06
6
+ metadata.gz: d5d0f22d3fa41c7316a95366c8c82ef2e2b09bd1235b519c55392b8fa41f60687529013cbf2e2c993429d1bedf7fa6591708c65d44bf8b6393937fd2ea12b3a9
7
+ data.tar.gz: e6022849834fae799275ad8868cac325545ed1a0e910318beffecd64f75c8360b5287198a7e833974146f9721249e6d6bdeee09b2e4e37d8c6e3580726679f65
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The IPv6 address of this AAAA record.
17
16
  attr_accessor :ipv6address
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The IPv4 address of this A record.
17
16
  attr_accessor :ipv4address
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The canonical name for this CNAME record.
17
16
  attr_accessor :cname
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Integer] The preference value for this MX record.
17
16
  attr_accessor :preference
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The name server name for this NS record.
17
16
  attr_accessor :nsdname
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The PTR target domain name for this PTR record.
17
16
  attr_accessor :ptrdname
18
17
 
@@ -13,7 +13,6 @@ module Azure::ARM::Dns
13
13
 
14
14
  include MsRestAzure
15
15
 
16
- include MsRest::JSONable
17
16
  # @return [String] The ID of the record set.
18
17
  attr_accessor :id
19
18
 
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [RecordSet] Specifies information about the record set being
17
16
  # updated.
18
17
  attr_accessor :record_set
@@ -0,0 +1,95 @@
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::ARM::Dns
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Resource ID.
17
+ attr_accessor :id
18
+
19
+ # @return [String] Resource name.
20
+ attr_accessor :name
21
+
22
+ # @return [String] Resource type.
23
+ attr_accessor :type
24
+
25
+ # @return [String] Resource location.
26
+ attr_accessor :location
27
+
28
+ # @return [Hash{String => String}] Resource tags.
29
+ attr_accessor :tags
30
+
31
+
32
+ #
33
+ # Mapper for Resource class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ required: false,
39
+ serialized_name: 'Resource',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'Resource',
43
+ model_properties: {
44
+ id: {
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'id',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ name: {
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'name',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ type: {
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'type',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ location: {
69
+ required: true,
70
+ serialized_name: 'location',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ tags: {
76
+ required: false,
77
+ serialized_name: 'tags',
78
+ type: {
79
+ name: 'Dictionary',
80
+ value: {
81
+ required: false,
82
+ serialized_name: 'StringElementType',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The domain name of the authoritative name server for
17
16
  # this SOA record.
18
17
  attr_accessor :host
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Integer] The priority value for this SRV record.
17
16
  attr_accessor :priority
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [Array<String>] The text value of this TXT record.
17
16
  attr_accessor :value
18
17
 
@@ -8,11 +8,10 @@ module Azure::ARM::Dns
8
8
  #
9
9
  # Describes a DNS zone.
10
10
  #
11
- class Zone < MsRestAzure::Resource
11
+ class Zone < Resource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] The etag of the zone.
17
16
  attr_accessor :etag
18
17
 
@@ -12,7 +12,6 @@ module Azure::ARM::Dns
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- include MsRest::JSONable
16
15
  # @return [String] Users can perform a Get on Azure-AsyncOperation to get
17
16
  # the status of their delete Zone operations.
18
17
  attr_accessor :azure_async_operation
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::Dns
7
- VERSION = '0.13.0'
7
+ VERSION = '0.14.0'
8
8
  end
@@ -37,6 +37,7 @@ module Azure::ARM::Dns
37
37
  autoload :AaaaRecord, 'generated/azure_mgmt_dns/models/aaaa_record.rb'
38
38
  autoload :ZoneListResult, 'generated/azure_mgmt_dns/models/zone_list_result.rb'
39
39
  autoload :TxtRecord, 'generated/azure_mgmt_dns/models/txt_record.rb'
40
+ autoload :Resource, 'generated/azure_mgmt_dns/models/resource.rb'
40
41
  autoload :NsRecord, 'generated/azure_mgmt_dns/models/ns_record.rb'
41
42
  autoload :SoaRecord, 'generated/azure_mgmt_dns/models/soa_record.rb'
42
43
  autoload :Zone, 'generated/azure_mgmt_dns/models/zone.rb'
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.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-27 00:00:00.000000000 Z
11
+ date: 2017-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -102,6 +102,7 @@ files:
102
102
  - lib/generated/azure_mgmt_dns/models/record_set_list_result.rb
103
103
  - lib/generated/azure_mgmt_dns/models/record_set_update_parameters.rb
104
104
  - lib/generated/azure_mgmt_dns/models/record_type.rb
105
+ - lib/generated/azure_mgmt_dns/models/resource.rb
105
106
  - lib/generated/azure_mgmt_dns/models/soa_record.rb
106
107
  - lib/generated/azure_mgmt_dns/models/srv_record.rb
107
108
  - lib/generated/azure_mgmt_dns/models/txt_record.rb