azure_mgmt_dns 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-04-01/generated/azure_mgmt_dns/dns_management_client.rb +1 -3
  3. data/lib/2016-04-01/generated/azure_mgmt_dns/models/aaaa_record.rb +2 -0
  4. data/lib/2016-04-01/generated/azure_mgmt_dns/models/arecord.rb +2 -0
  5. data/lib/2016-04-01/generated/azure_mgmt_dns/models/cname_record.rb +2 -0
  6. data/lib/2016-04-01/generated/azure_mgmt_dns/models/mx_record.rb +3 -0
  7. data/lib/2016-04-01/generated/azure_mgmt_dns/models/ns_record.rb +2 -0
  8. data/lib/2016-04-01/generated/azure_mgmt_dns/models/ptr_record.rb +2 -0
  9. data/lib/2016-04-01/generated/azure_mgmt_dns/models/record_set.rb +24 -0
  10. data/lib/2016-04-01/generated/azure_mgmt_dns/models/record_set_list_result.rb +4 -0
  11. data/lib/2016-04-01/generated/azure_mgmt_dns/models/record_set_update_parameters.rb +2 -0
  12. data/lib/2016-04-01/generated/azure_mgmt_dns/models/resource.rb +7 -0
  13. data/lib/2016-04-01/generated/azure_mgmt_dns/models/soa_record.rb +8 -0
  14. data/lib/2016-04-01/generated/azure_mgmt_dns/models/srv_record.rb +5 -0
  15. data/lib/2016-04-01/generated/azure_mgmt_dns/models/txt_record.rb +3 -0
  16. data/lib/2016-04-01/generated/azure_mgmt_dns/models/zone.rb +12 -0
  17. data/lib/2016-04-01/generated/azure_mgmt_dns/models/zone_delete_result.rb +5 -0
  18. data/lib/2016-04-01/generated/azure_mgmt_dns/models/zone_list_result.rb +4 -0
  19. data/lib/profiles/latest/dns_latest_profile_client.rb +1 -3
  20. data/lib/version.rb +1 -1
  21. metadata +10 -8
  22. data/lib/2016-04-01/generated/azure_mgmt_dns/version.rb +0 -8
  23. data/lib/profiles/common/configurable.rb +0 -86
  24. data/lib/profiles/common/default.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff2df8e03f09e9452ba0595be8ad4077d74bbf05
4
- data.tar.gz: 8f9a98814dd097df71e62dfe67d3c4ac6e1b9543
3
+ metadata.gz: 5788f75d36905efbae893f7123ab514dfc7858f1
4
+ data.tar.gz: f7f6965d2947143fe6deeb48baaa62aa47c24f10
5
5
  SHA512:
6
- metadata.gz: b1127661ddfa6084bccb9d47a473471f1e2f265d3da59f017e315c9f9e05cae0389ca0c45c775a9e62007c64e6abd099f6fb1e047c1c3ae013f5daadad888e6f
7
- data.tar.gz: 9bce9e3daf8478daa29817bc8b433cfb2cff43fc9499eed6fb1676f81be99371cf56a0bc76061329e44ad18631b7f796b421b5fda3aaca36e95695906eafc8c8
6
+ metadata.gz: a6b1004c7a674aba3d72a2b1b23ae416eb459be64d4b33c9a7fa3404a5731e8c91b9a5640dae65daf41af6a8b3b0d4bb5de66121b7502777520d565d343fc10c
7
+ data.tar.gz: 11d5cd021bf2afaac8485952206bd3de3dc4c2ea45b1dbc2765f91b5b7d69d5b2f4bea6b34e439707a1e402db484184fa540fc29dfda9f906dea824088009674
@@ -125,9 +125,7 @@ module Azure::Dns::Mgmt::V2016_04_01
125
125
  #
126
126
  def add_telemetry
127
127
  sdk_information = 'azure_mgmt_dns'
128
- if defined? Azure::Dns::Mgmt::V2016_04_01::VERSION
129
- sdk_information = "#{sdk_information}/#{Azure::Dns::Mgmt::V2016_04_01::VERSION}"
130
- end
128
+ sdk_information = "#{sdk_information}/0.15.2"
131
129
  add_user_agent_information(sdk_information)
132
130
  end
133
131
  end
@@ -22,6 +22,7 @@ module Azure::Dns::Mgmt::V2016_04_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'AaaaRecord',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Dns::Mgmt::V2016_04_01
29
30
  class_name: 'AaaaRecord',
30
31
  model_properties: {
31
32
  ipv6address: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'ipv6Address',
34
36
  type: {
@@ -22,6 +22,7 @@ module Azure::Dns::Mgmt::V2016_04_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'ARecord',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Dns::Mgmt::V2016_04_01
29
30
  class_name: 'ARecord',
30
31
  model_properties: {
31
32
  ipv4address: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'ipv4Address',
34
36
  type: {
@@ -22,6 +22,7 @@ module Azure::Dns::Mgmt::V2016_04_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'CnameRecord',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Dns::Mgmt::V2016_04_01
29
30
  class_name: 'CnameRecord',
30
31
  model_properties: {
31
32
  cname: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'cname',
34
36
  type: {
@@ -25,6 +25,7 @@ module Azure::Dns::Mgmt::V2016_04_01
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
+ client_side_validation: true,
28
29
  required: false,
29
30
  serialized_name: 'MxRecord',
30
31
  type: {
@@ -32,6 +33,7 @@ module Azure::Dns::Mgmt::V2016_04_01
32
33
  class_name: 'MxRecord',
33
34
  model_properties: {
34
35
  preference: {
36
+ client_side_validation: true,
35
37
  required: false,
36
38
  serialized_name: 'preference',
37
39
  type: {
@@ -39,6 +41,7 @@ module Azure::Dns::Mgmt::V2016_04_01
39
41
  }
40
42
  },
41
43
  exchange: {
44
+ client_side_validation: true,
42
45
  required: false,
43
46
  serialized_name: 'exchange',
44
47
  type: {
@@ -22,6 +22,7 @@ module Azure::Dns::Mgmt::V2016_04_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'NsRecord',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Dns::Mgmt::V2016_04_01
29
30
  class_name: 'NsRecord',
30
31
  model_properties: {
31
32
  nsdname: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'nsdname',
34
36
  type: {
@@ -22,6 +22,7 @@ module Azure::Dns::Mgmt::V2016_04_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'PtrRecord',
27
28
  type: {
@@ -29,6 +30,7 @@ module Azure::Dns::Mgmt::V2016_04_01
29
30
  class_name: 'PtrRecord',
30
31
  model_properties: {
31
32
  ptrdname: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'ptrdname',
34
36
  type: {
@@ -67,6 +67,7 @@ module Azure::Dns::Mgmt::V2016_04_01
67
67
  #
68
68
  def self.mapper()
69
69
  {
70
+ client_side_validation: true,
70
71
  required: false,
71
72
  serialized_name: 'RecordSet',
72
73
  type: {
@@ -74,6 +75,7 @@ module Azure::Dns::Mgmt::V2016_04_01
74
75
  class_name: 'RecordSet',
75
76
  model_properties: {
76
77
  id: {
78
+ client_side_validation: true,
77
79
  required: false,
78
80
  serialized_name: 'id',
79
81
  type: {
@@ -81,6 +83,7 @@ module Azure::Dns::Mgmt::V2016_04_01
81
83
  }
82
84
  },
83
85
  name: {
86
+ client_side_validation: true,
84
87
  required: false,
85
88
  serialized_name: 'name',
86
89
  type: {
@@ -88,6 +91,7 @@ module Azure::Dns::Mgmt::V2016_04_01
88
91
  }
89
92
  },
90
93
  type: {
94
+ client_side_validation: true,
91
95
  required: false,
92
96
  serialized_name: 'type',
93
97
  type: {
@@ -95,6 +99,7 @@ module Azure::Dns::Mgmt::V2016_04_01
95
99
  }
96
100
  },
97
101
  etag: {
102
+ client_side_validation: true,
98
103
  required: false,
99
104
  serialized_name: 'etag',
100
105
  type: {
@@ -102,11 +107,13 @@ module Azure::Dns::Mgmt::V2016_04_01
102
107
  }
103
108
  },
104
109
  metadata: {
110
+ client_side_validation: true,
105
111
  required: false,
106
112
  serialized_name: 'properties.metadata',
107
113
  type: {
108
114
  name: 'Dictionary',
109
115
  value: {
116
+ client_side_validation: true,
110
117
  required: false,
111
118
  serialized_name: 'StringElementType',
112
119
  type: {
@@ -116,6 +123,7 @@ module Azure::Dns::Mgmt::V2016_04_01
116
123
  }
117
124
  },
118
125
  ttl: {
126
+ client_side_validation: true,
119
127
  required: false,
120
128
  serialized_name: 'properties.TTL',
121
129
  type: {
@@ -123,11 +131,13 @@ module Azure::Dns::Mgmt::V2016_04_01
123
131
  }
124
132
  },
125
133
  arecords: {
134
+ client_side_validation: true,
126
135
  required: false,
127
136
  serialized_name: 'properties.ARecords',
128
137
  type: {
129
138
  name: 'Sequence',
130
139
  element: {
140
+ client_side_validation: true,
131
141
  required: false,
132
142
  serialized_name: 'ARecordElementType',
133
143
  type: {
@@ -138,11 +148,13 @@ module Azure::Dns::Mgmt::V2016_04_01
138
148
  }
139
149
  },
140
150
  aaaa_records: {
151
+ client_side_validation: true,
141
152
  required: false,
142
153
  serialized_name: 'properties.AAAARecords',
143
154
  type: {
144
155
  name: 'Sequence',
145
156
  element: {
157
+ client_side_validation: true,
146
158
  required: false,
147
159
  serialized_name: 'AaaaRecordElementType',
148
160
  type: {
@@ -153,11 +165,13 @@ module Azure::Dns::Mgmt::V2016_04_01
153
165
  }
154
166
  },
155
167
  mx_records: {
168
+ client_side_validation: true,
156
169
  required: false,
157
170
  serialized_name: 'properties.MXRecords',
158
171
  type: {
159
172
  name: 'Sequence',
160
173
  element: {
174
+ client_side_validation: true,
161
175
  required: false,
162
176
  serialized_name: 'MxRecordElementType',
163
177
  type: {
@@ -168,11 +182,13 @@ module Azure::Dns::Mgmt::V2016_04_01
168
182
  }
169
183
  },
170
184
  ns_records: {
185
+ client_side_validation: true,
171
186
  required: false,
172
187
  serialized_name: 'properties.NSRecords',
173
188
  type: {
174
189
  name: 'Sequence',
175
190
  element: {
191
+ client_side_validation: true,
176
192
  required: false,
177
193
  serialized_name: 'NsRecordElementType',
178
194
  type: {
@@ -183,11 +199,13 @@ module Azure::Dns::Mgmt::V2016_04_01
183
199
  }
184
200
  },
185
201
  ptr_records: {
202
+ client_side_validation: true,
186
203
  required: false,
187
204
  serialized_name: 'properties.PTRRecords',
188
205
  type: {
189
206
  name: 'Sequence',
190
207
  element: {
208
+ client_side_validation: true,
191
209
  required: false,
192
210
  serialized_name: 'PtrRecordElementType',
193
211
  type: {
@@ -198,11 +216,13 @@ module Azure::Dns::Mgmt::V2016_04_01
198
216
  }
199
217
  },
200
218
  srv_records: {
219
+ client_side_validation: true,
201
220
  required: false,
202
221
  serialized_name: 'properties.SRVRecords',
203
222
  type: {
204
223
  name: 'Sequence',
205
224
  element: {
225
+ client_side_validation: true,
206
226
  required: false,
207
227
  serialized_name: 'SrvRecordElementType',
208
228
  type: {
@@ -213,11 +233,13 @@ module Azure::Dns::Mgmt::V2016_04_01
213
233
  }
214
234
  },
215
235
  txt_records: {
236
+ client_side_validation: true,
216
237
  required: false,
217
238
  serialized_name: 'properties.TXTRecords',
218
239
  type: {
219
240
  name: 'Sequence',
220
241
  element: {
242
+ client_side_validation: true,
221
243
  required: false,
222
244
  serialized_name: 'TxtRecordElementType',
223
245
  type: {
@@ -228,6 +250,7 @@ module Azure::Dns::Mgmt::V2016_04_01
228
250
  }
229
251
  },
230
252
  cname_record: {
253
+ client_side_validation: true,
231
254
  required: false,
232
255
  serialized_name: 'properties.CNAMERecord',
233
256
  type: {
@@ -236,6 +259,7 @@ module Azure::Dns::Mgmt::V2016_04_01
236
259
  }
237
260
  },
238
261
  soa_record: {
262
+ client_side_validation: true,
239
263
  required: false,
240
264
  serialized_name: 'properties.SOARecord',
241
265
  type: {
@@ -58,6 +58,7 @@ module Azure::Dns::Mgmt::V2016_04_01
58
58
  #
59
59
  def self.mapper()
60
60
  {
61
+ client_side_validation: true,
61
62
  required: false,
62
63
  serialized_name: 'RecordSetListResult',
63
64
  type: {
@@ -65,11 +66,13 @@ module Azure::Dns::Mgmt::V2016_04_01
65
66
  class_name: 'RecordSetListResult',
66
67
  model_properties: {
67
68
  value: {
69
+ client_side_validation: true,
68
70
  required: false,
69
71
  serialized_name: 'value',
70
72
  type: {
71
73
  name: 'Sequence',
72
74
  element: {
75
+ client_side_validation: true,
73
76
  required: false,
74
77
  serialized_name: 'RecordSetElementType',
75
78
  type: {
@@ -80,6 +83,7 @@ module Azure::Dns::Mgmt::V2016_04_01
80
83
  }
81
84
  },
82
85
  next_link: {
86
+ client_side_validation: true,
83
87
  required: false,
84
88
  serialized_name: 'nextLink',
85
89
  type: {
@@ -23,6 +23,7 @@ module Azure::Dns::Mgmt::V2016_04_01
23
23
  #
24
24
  def self.mapper()
25
25
  {
26
+ client_side_validation: true,
26
27
  required: false,
27
28
  serialized_name: 'RecordSetUpdateParameters',
28
29
  type: {
@@ -30,6 +31,7 @@ module Azure::Dns::Mgmt::V2016_04_01
30
31
  class_name: 'RecordSetUpdateParameters',
31
32
  model_properties: {
32
33
  record_set: {
34
+ client_side_validation: true,
33
35
  required: false,
34
36
  serialized_name: 'RecordSet',
35
37
  type: {
@@ -35,6 +35,7 @@ module Azure::Dns::Mgmt::V2016_04_01
35
35
  #
36
36
  def self.mapper()
37
37
  {
38
+ client_side_validation: true,
38
39
  required: false,
39
40
  serialized_name: 'Resource',
40
41
  type: {
@@ -42,6 +43,7 @@ module Azure::Dns::Mgmt::V2016_04_01
42
43
  class_name: 'Resource',
43
44
  model_properties: {
44
45
  id: {
46
+ client_side_validation: true,
45
47
  required: false,
46
48
  read_only: true,
47
49
  serialized_name: 'id',
@@ -50,6 +52,7 @@ module Azure::Dns::Mgmt::V2016_04_01
50
52
  }
51
53
  },
52
54
  name: {
55
+ client_side_validation: true,
53
56
  required: false,
54
57
  read_only: true,
55
58
  serialized_name: 'name',
@@ -58,6 +61,7 @@ module Azure::Dns::Mgmt::V2016_04_01
58
61
  }
59
62
  },
60
63
  type: {
64
+ client_side_validation: true,
61
65
  required: false,
62
66
  read_only: true,
63
67
  serialized_name: 'type',
@@ -66,6 +70,7 @@ module Azure::Dns::Mgmt::V2016_04_01
66
70
  }
67
71
  },
68
72
  location: {
73
+ client_side_validation: true,
69
74
  required: true,
70
75
  serialized_name: 'location',
71
76
  type: {
@@ -73,11 +78,13 @@ module Azure::Dns::Mgmt::V2016_04_01
73
78
  }
74
79
  },
75
80
  tags: {
81
+ client_side_validation: true,
76
82
  required: false,
77
83
  serialized_name: 'tags',
78
84
  type: {
79
85
  name: 'Dictionary',
80
86
  value: {
87
+ client_side_validation: true,
81
88
  required: false,
82
89
  serialized_name: 'StringElementType',
83
90
  type: {
@@ -42,6 +42,7 @@ module Azure::Dns::Mgmt::V2016_04_01
42
42
  #
43
43
  def self.mapper()
44
44
  {
45
+ client_side_validation: true,
45
46
  required: false,
46
47
  serialized_name: 'SoaRecord',
47
48
  type: {
@@ -49,6 +50,7 @@ module Azure::Dns::Mgmt::V2016_04_01
49
50
  class_name: 'SoaRecord',
50
51
  model_properties: {
51
52
  host: {
53
+ client_side_validation: true,
52
54
  required: false,
53
55
  serialized_name: 'host',
54
56
  type: {
@@ -56,6 +58,7 @@ module Azure::Dns::Mgmt::V2016_04_01
56
58
  }
57
59
  },
58
60
  email: {
61
+ client_side_validation: true,
59
62
  required: false,
60
63
  serialized_name: 'email',
61
64
  type: {
@@ -63,6 +66,7 @@ module Azure::Dns::Mgmt::V2016_04_01
63
66
  }
64
67
  },
65
68
  serial_number: {
69
+ client_side_validation: true,
66
70
  required: false,
67
71
  serialized_name: 'serialNumber',
68
72
  type: {
@@ -70,6 +74,7 @@ module Azure::Dns::Mgmt::V2016_04_01
70
74
  }
71
75
  },
72
76
  refresh_time: {
77
+ client_side_validation: true,
73
78
  required: false,
74
79
  serialized_name: 'refreshTime',
75
80
  type: {
@@ -77,6 +82,7 @@ module Azure::Dns::Mgmt::V2016_04_01
77
82
  }
78
83
  },
79
84
  retry_time: {
85
+ client_side_validation: true,
80
86
  required: false,
81
87
  serialized_name: 'retryTime',
82
88
  type: {
@@ -84,6 +90,7 @@ module Azure::Dns::Mgmt::V2016_04_01
84
90
  }
85
91
  },
86
92
  expire_time: {
93
+ client_side_validation: true,
87
94
  required: false,
88
95
  serialized_name: 'expireTime',
89
96
  type: {
@@ -91,6 +98,7 @@ module Azure::Dns::Mgmt::V2016_04_01
91
98
  }
92
99
  },
93
100
  minimum_ttl: {
101
+ client_side_validation: true,
94
102
  required: false,
95
103
  serialized_name: 'minimumTTL',
96
104
  type: {
@@ -31,6 +31,7 @@ module Azure::Dns::Mgmt::V2016_04_01
31
31
  #
32
32
  def self.mapper()
33
33
  {
34
+ client_side_validation: true,
34
35
  required: false,
35
36
  serialized_name: 'SrvRecord',
36
37
  type: {
@@ -38,6 +39,7 @@ module Azure::Dns::Mgmt::V2016_04_01
38
39
  class_name: 'SrvRecord',
39
40
  model_properties: {
40
41
  priority: {
42
+ client_side_validation: true,
41
43
  required: false,
42
44
  serialized_name: 'priority',
43
45
  type: {
@@ -45,6 +47,7 @@ module Azure::Dns::Mgmt::V2016_04_01
45
47
  }
46
48
  },
47
49
  weight: {
50
+ client_side_validation: true,
48
51
  required: false,
49
52
  serialized_name: 'weight',
50
53
  type: {
@@ -52,6 +55,7 @@ module Azure::Dns::Mgmt::V2016_04_01
52
55
  }
53
56
  },
54
57
  port: {
58
+ client_side_validation: true,
55
59
  required: false,
56
60
  serialized_name: 'port',
57
61
  type: {
@@ -59,6 +63,7 @@ module Azure::Dns::Mgmt::V2016_04_01
59
63
  }
60
64
  },
61
65
  target: {
66
+ client_side_validation: true,
62
67
  required: false,
63
68
  serialized_name: 'target',
64
69
  type: {
@@ -22,6 +22,7 @@ module Azure::Dns::Mgmt::V2016_04_01
22
22
  #
23
23
  def self.mapper()
24
24
  {
25
+ client_side_validation: true,
25
26
  required: false,
26
27
  serialized_name: 'TxtRecord',
27
28
  type: {
@@ -29,11 +30,13 @@ module Azure::Dns::Mgmt::V2016_04_01
29
30
  class_name: 'TxtRecord',
30
31
  model_properties: {
31
32
  value: {
33
+ client_side_validation: true,
32
34
  required: false,
33
35
  serialized_name: 'value',
34
36
  type: {
35
37
  name: 'Sequence',
36
38
  element: {
39
+ client_side_validation: true,
37
40
  required: false,
38
41
  serialized_name: 'StringElementType',
39
42
  type: {
@@ -36,6 +36,7 @@ module Azure::Dns::Mgmt::V2016_04_01
36
36
  #
37
37
  def self.mapper()
38
38
  {
39
+ client_side_validation: true,
39
40
  required: false,
40
41
  serialized_name: 'Zone',
41
42
  type: {
@@ -43,6 +44,7 @@ module Azure::Dns::Mgmt::V2016_04_01
43
44
  class_name: 'Zone',
44
45
  model_properties: {
45
46
  id: {
47
+ client_side_validation: true,
46
48
  required: false,
47
49
  read_only: true,
48
50
  serialized_name: 'id',
@@ -51,6 +53,7 @@ module Azure::Dns::Mgmt::V2016_04_01
51
53
  }
52
54
  },
53
55
  name: {
56
+ client_side_validation: true,
54
57
  required: false,
55
58
  read_only: true,
56
59
  serialized_name: 'name',
@@ -59,6 +62,7 @@ module Azure::Dns::Mgmt::V2016_04_01
59
62
  }
60
63
  },
61
64
  type: {
65
+ client_side_validation: true,
62
66
  required: false,
63
67
  read_only: true,
64
68
  serialized_name: 'type',
@@ -67,6 +71,7 @@ module Azure::Dns::Mgmt::V2016_04_01
67
71
  }
68
72
  },
69
73
  location: {
74
+ client_side_validation: true,
70
75
  required: true,
71
76
  serialized_name: 'location',
72
77
  type: {
@@ -74,11 +79,13 @@ module Azure::Dns::Mgmt::V2016_04_01
74
79
  }
75
80
  },
76
81
  tags: {
82
+ client_side_validation: true,
77
83
  required: false,
78
84
  serialized_name: 'tags',
79
85
  type: {
80
86
  name: 'Dictionary',
81
87
  value: {
88
+ client_side_validation: true,
82
89
  required: false,
83
90
  serialized_name: 'StringElementType',
84
91
  type: {
@@ -88,6 +95,7 @@ module Azure::Dns::Mgmt::V2016_04_01
88
95
  }
89
96
  },
90
97
  etag: {
98
+ client_side_validation: true,
91
99
  required: false,
92
100
  serialized_name: 'etag',
93
101
  type: {
@@ -95,6 +103,7 @@ module Azure::Dns::Mgmt::V2016_04_01
95
103
  }
96
104
  },
97
105
  max_number_of_record_sets: {
106
+ client_side_validation: true,
98
107
  required: false,
99
108
  serialized_name: 'properties.maxNumberOfRecordSets',
100
109
  type: {
@@ -102,6 +111,7 @@ module Azure::Dns::Mgmt::V2016_04_01
102
111
  }
103
112
  },
104
113
  number_of_record_sets: {
114
+ client_side_validation: true,
105
115
  required: false,
106
116
  serialized_name: 'properties.numberOfRecordSets',
107
117
  type: {
@@ -109,12 +119,14 @@ module Azure::Dns::Mgmt::V2016_04_01
109
119
  }
110
120
  },
111
121
  name_servers: {
122
+ client_side_validation: true,
112
123
  required: false,
113
124
  read_only: true,
114
125
  serialized_name: 'properties.nameServers',
115
126
  type: {
116
127
  name: 'Sequence',
117
128
  element: {
129
+ client_side_validation: true,
118
130
  required: false,
119
131
  serialized_name: 'StringElementType',
120
132
  type: {
@@ -46,6 +46,7 @@ module Azure::Dns::Mgmt::V2016_04_01
46
46
  #
47
47
  def self.mapper()
48
48
  {
49
+ client_side_validation: true,
49
50
  required: false,
50
51
  serialized_name: 'ZoneDeleteResult',
51
52
  type: {
@@ -53,6 +54,7 @@ module Azure::Dns::Mgmt::V2016_04_01
53
54
  class_name: 'ZoneDeleteResult',
54
55
  model_properties: {
55
56
  azure_async_operation: {
57
+ client_side_validation: true,
56
58
  required: false,
57
59
  serialized_name: 'azureAsyncOperation',
58
60
  type: {
@@ -60,6 +62,7 @@ module Azure::Dns::Mgmt::V2016_04_01
60
62
  }
61
63
  },
62
64
  status: {
65
+ client_side_validation: true,
63
66
  required: false,
64
67
  serialized_name: 'status',
65
68
  type: {
@@ -68,6 +71,7 @@ module Azure::Dns::Mgmt::V2016_04_01
68
71
  }
69
72
  },
70
73
  status_code: {
74
+ client_side_validation: true,
71
75
  required: false,
72
76
  serialized_name: 'statusCode',
73
77
  type: {
@@ -76,6 +80,7 @@ module Azure::Dns::Mgmt::V2016_04_01
76
80
  }
77
81
  },
78
82
  request_id: {
83
+ client_side_validation: true,
79
84
  required: false,
80
85
  serialized_name: 'requestId',
81
86
  type: {
@@ -57,6 +57,7 @@ module Azure::Dns::Mgmt::V2016_04_01
57
57
  #
58
58
  def self.mapper()
59
59
  {
60
+ client_side_validation: true,
60
61
  required: false,
61
62
  serialized_name: 'ZoneListResult',
62
63
  type: {
@@ -64,11 +65,13 @@ module Azure::Dns::Mgmt::V2016_04_01
64
65
  class_name: 'ZoneListResult',
65
66
  model_properties: {
66
67
  value: {
68
+ client_side_validation: true,
67
69
  required: false,
68
70
  serialized_name: 'value',
69
71
  type: {
70
72
  name: 'Sequence',
71
73
  element: {
74
+ client_side_validation: true,
72
75
  required: false,
73
76
  serialized_name: 'ZoneElementType',
74
77
  type: {
@@ -79,6 +82,7 @@ module Azure::Dns::Mgmt::V2016_04_01
79
82
  }
80
83
  },
81
84
  next_link: {
85
+ client_side_validation: true,
82
86
  required: false,
83
87
  serialized_name: 'nextLink',
84
88
  type: {
@@ -4,15 +4,13 @@
4
4
 
5
5
  require 'profiles/latest/dns_module_definition'
6
6
  require 'profiles/latest/modules/dns_profile_module'
7
- require 'profiles/common/configurable'
8
- require 'profiles/common/default'
9
7
 
10
8
  module Azure::Dns::Profiles::Latest::Mgmt
11
9
  #
12
10
  # Client class for the Latest profile SDK.
13
11
  #
14
12
  class Client < DnsClass
15
- include Azure::Common::Configurable
13
+ include MsRestAzure::Common::Configurable
16
14
 
17
15
 
18
16
  def initialize(options = {})
data/lib/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Dns::Mgmt
6
- VERSION = '0.15.1'
6
+ VERSION = '0.15.2'
7
7
  end
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.15.1
4
+ version: 0.15.2
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-10-30 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.9.0
75
+ version: 0.10.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.9.0
82
+ version: 0.10.0
83
83
  description: Microsoft Azure Dns Management Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -110,12 +110,9 @@ files:
110
110
  - lib/2016-04-01/generated/azure_mgmt_dns/models/zone_list_result.rb
111
111
  - lib/2016-04-01/generated/azure_mgmt_dns/module_definition.rb
112
112
  - lib/2016-04-01/generated/azure_mgmt_dns/record_sets.rb
113
- - lib/2016-04-01/generated/azure_mgmt_dns/version.rb
114
113
  - lib/2016-04-01/generated/azure_mgmt_dns/zones.rb
115
114
  - lib/azure_mgmt_dns.rb
116
115
  - lib/module_definition.rb
117
- - lib/profiles/common/configurable.rb
118
- - lib/profiles/common/default.rb
119
116
  - lib/profiles/latest/dns_latest_profile_client.rb
120
117
  - lib/profiles/latest/dns_module_definition.rb
121
118
  - lib/profiles/latest/modules/dns_profile_module.rb
@@ -123,7 +120,12 @@ files:
123
120
  homepage: https://aka.ms/azure-sdk-for-ruby
124
121
  licenses:
125
122
  - MIT
126
- metadata: {}
123
+ metadata:
124
+ bug_tracker_uri: https://github.com/Azure/azure-sdk-for-ruby/issues
125
+ changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
126
+ documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
127
+ homepage_uri: https://aka.ms/azure-sdk-for-ruby
128
+ source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_dns
127
129
  post_install_message:
128
130
  rdoc_options: []
129
131
  require_paths:
@@ -1,8 +0,0 @@
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::Dns::Mgmt::V2016_04_01
7
- VERSION = '0.15.1'
8
- end
@@ -1,86 +0,0 @@
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::Common
6
- # The Azure::Common::Configurable module provides basic configuration for Azure activities.
7
- module Configurable
8
- # @return [String] Azure tenant id (also known as domain).
9
- attr_accessor :tenant_id
10
-
11
- # @return [String] Azure client id.
12
- attr_accessor :client_id
13
-
14
- # @return [String] Azure secret key.
15
- attr_accessor :client_secret
16
-
17
- # @return [String] Azure subscription id.
18
- attr_accessor :subscription_id
19
-
20
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure active directory service settings.
21
- attr_accessor :active_directory_settings
22
-
23
- # @return [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
24
- attr_accessor :credentials
25
-
26
- class << self
27
- #
28
- # List of configurable keys for {Azure::Common::Client}.
29
- # @return [Array] of option keys.
30
- #
31
- def keys
32
- @keys ||= [:tenant_id, :client_id, :client_secret, :subscription_id, :active_directory_settings]
33
- end
34
- end
35
-
36
- #
37
- # Set configuration options using a block.
38
- #
39
- def configure
40
- yield self
41
- end
42
-
43
- #
44
- # Resets the configurable options to provided options or defaults.
45
- # This will also creates MsRest::TokenCredentials to be used for subsequent Azure Resource Manager clients.
46
- #
47
- def reset!(options = {})
48
- Azure::Common::Configurable.keys.each do |key|
49
- default_value = Azure::Common::Default.options[key]
50
- instance_variable_set(:"@#{key}", options.fetch(key, default_value))
51
- end
52
-
53
- fail ArgumentError, 'tenant_id is nil' if self.tenant_id.nil?
54
- fail ArgumentError, 'client_id is nil' if self.client_id.nil?
55
- fail ArgumentError, 'client_secret is nil' if self.client_secret.nil?
56
- fail ArgumentError, 'subscription_id is nil' if self.subscription_id.nil?
57
- fail ArgumentError, 'active_directory_settings is nil' if self.active_directory_settings.nil?
58
-
59
- default_value = MsRest::TokenCredentials.new(
60
- MsRestAzure::ApplicationTokenProvider.new(
61
- self.tenant_id, self.client_id, self.client_secret, self.active_directory_settings))
62
-
63
- instance_variable_set(:"@credentials", options.fetch(:credentials, default_value))
64
-
65
- self
66
- end
67
-
68
- def config
69
- self
70
- end
71
-
72
- private
73
-
74
- #
75
- # configures configurable options to default values
76
- #
77
- def setup_default_options
78
- opts = {}
79
- Azure::Common::Configurable.keys.map do |key|
80
- opts[key] = Azure::Common::Default.options[key]
81
- end
82
-
83
- opts
84
- end
85
- end
86
- end
@@ -1,57 +0,0 @@
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::Common
6
- module Default
7
- class << self
8
- #
9
- # Default Azure Tenant Id.
10
- # @return [String] Azure Tenant Id.
11
- #
12
- def tenant_id
13
- ENV['AZURE_TENANT_ID']
14
- end
15
-
16
- #
17
- # Default Azure Client Id.
18
- # @return [String] Azure Client Id.
19
- #
20
- def client_id
21
- ENV['AZURE_CLIENT_ID']
22
- end
23
-
24
- #
25
- # Default Azure Client Secret.
26
- # @return [String] Azure Client Secret.
27
- #
28
- def client_secret
29
- ENV['AZURE_CLIENT_SECRET']
30
- end
31
-
32
- #
33
- # Default Azure Subscription Id.
34
- # @return [String] Azure Subscription Id.
35
- #
36
- def subscription_id
37
- ENV['AZURE_SUBSCRIPTION_ID']
38
- end
39
-
40
- #
41
- # Default Azure Active Directory Service Settings.
42
- # @return [MsRestAzure::ActiveDirectoryServiceSettings] Azure Active Directory Service Settings.
43
- #
44
- def active_directory_settings
45
- MsRestAzure::ActiveDirectoryServiceSettings.get_azure_settings
46
- end
47
-
48
- #
49
- # Configuration options.
50
- # @return [Hash] Configuration options.
51
- #
52
- def options
53
- Hash[Azure::Common::Configurable.keys.map { |key| [key, send(key)]}]
54
- end
55
- end
56
- end
57
- end