azure_mgmt_redis 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-08-01/generated/azure_mgmt_redis/redis.rb +66 -62
  3. data/lib/2015-08-01/generated/azure_mgmt_redis/redis_management_client.rb +4 -1
  4. data/lib/2016-04-01/generated/azure_mgmt_redis/firewall_rules.rb +15 -13
  5. data/lib/2016-04-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb +1 -1
  6. data/lib/2016-04-01/generated/azure_mgmt_redis/operations.rb +15 -13
  7. data/lib/2016-04-01/generated/azure_mgmt_redis/patch_schedules.rb +18 -17
  8. data/lib/2016-04-01/generated/azure_mgmt_redis/redis.rb +100 -99
  9. data/lib/2016-04-01/generated/azure_mgmt_redis/redis_firewall_rule_operations.rb +18 -17
  10. data/lib/2016-04-01/generated/azure_mgmt_redis/redis_management_client.rb +4 -1
  11. data/lib/2017-02-01/generated/azure_mgmt_redis/firewall_rules.rb +33 -30
  12. data/lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb +1 -1
  13. data/lib/2017-02-01/generated/azure_mgmt_redis/operations.rb +15 -13
  14. data/lib/2017-02-01/generated/azure_mgmt_redis/patch_schedules.rb +18 -17
  15. data/lib/2017-02-01/generated/azure_mgmt_redis/redis.rb +100 -99
  16. data/lib/2017-02-01/generated/azure_mgmt_redis/redis_linked_server_operations.rb +28 -26
  17. data/lib/2017-02-01/generated/azure_mgmt_redis/redis_management_client.rb +4 -1
  18. data/lib/2017-10-01/generated/azure_mgmt_redis.rb +64 -0
  19. data/lib/2017-10-01/generated/azure_mgmt_redis/firewall_rules.rb +528 -0
  20. data/lib/2017-10-01/generated/azure_mgmt_redis/linked_server.rb +594 -0
  21. data/lib/2017-10-01/generated/azure_mgmt_redis/models/day_of_week.rb +23 -0
  22. data/lib/2017-10-01/generated/azure_mgmt_redis/models/export_rdbparameters.rb +68 -0
  23. data/lib/2017-10-01/generated/azure_mgmt_redis/models/import_rdbparameters.rb +65 -0
  24. data/lib/2017-10-01/generated/azure_mgmt_redis/models/operation.rb +58 -0
  25. data/lib/2017-10-01/generated/azure_mgmt_redis/models/operation_display.rb +80 -0
  26. data/lib/2017-10-01/generated/azure_mgmt_redis/models/operation_list_result.rb +102 -0
  27. data/lib/2017-10-01/generated/azure_mgmt_redis/models/proxy_resource.rb +63 -0
  28. data/lib/2017-10-01/generated/azure_mgmt_redis/models/reboot_type.rb +17 -0
  29. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_access_keys.rb +61 -0
  30. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_create_parameters.rb +192 -0
  31. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule.rb +85 -0
  32. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule_create_parameters.rb +57 -0
  33. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule_list_result.rb +100 -0
  34. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_force_reboot_response.rb +47 -0
  35. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_key_type.rb +16 -0
  36. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server.rb +47 -0
  37. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_create_parameters.rb +70 -0
  38. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties.rb +110 -0
  39. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties_list.rb +100 -0
  40. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_list_result.rb +99 -0
  41. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_patch_schedule.rb +83 -0
  42. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb +60 -0
  43. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb +48 -0
  44. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_resource.rb +309 -0
  45. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb +130 -0
  46. data/lib/2017-10-01/generated/azure_mgmt_redis/models/replication_role.rb +16 -0
  47. data/lib/2017-10-01/generated/azure_mgmt_redis/models/resource.rb +71 -0
  48. data/lib/2017-10-01/generated/azure_mgmt_redis/models/schedule_entry.rb +72 -0
  49. data/lib/2017-10-01/generated/azure_mgmt_redis/models/sku.rb +73 -0
  50. data/lib/2017-10-01/generated/azure_mgmt_redis/models/sku_family.rb +16 -0
  51. data/lib/2017-10-01/generated/azure_mgmt_redis/models/sku_name.rb +17 -0
  52. data/lib/2017-10-01/generated/azure_mgmt_redis/models/tracked_resource.rb +92 -0
  53. data/lib/2017-10-01/generated/azure_mgmt_redis/module_definition.rb +9 -0
  54. data/lib/2017-10-01/generated/azure_mgmt_redis/operations.rb +222 -0
  55. data/lib/2017-10-01/generated/azure_mgmt_redis/patch_schedules.rb +317 -0
  56. data/lib/2017-10-01/generated/azure_mgmt_redis/redis.rb +1482 -0
  57. data/lib/2017-10-01/generated/azure_mgmt_redis/redis_management_client.rb +148 -0
  58. data/lib/azure_mgmt_redis.rb +1 -0
  59. data/lib/profiles/latest/modules/redis_profile_module.rb +166 -147
  60. data/lib/profiles/latest/redis_latest_profile_client.rb +28 -9
  61. data/lib/profiles/latest/redis_module_definition.rb +0 -1
  62. data/lib/version.rb +1 -1
  63. metadata +43 -3
@@ -0,0 +1,83 @@
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::Redis::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # Response to put/get patch schedules for Redis cache.
10
+ #
11
+ class RedisPatchSchedule < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<ScheduleEntry>] List of patch schedules for a Redis
16
+ # cache.
17
+ attr_accessor :schedule_entries
18
+
19
+
20
+ #
21
+ # Mapper for RedisPatchSchedule class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'RedisPatchSchedule',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'RedisPatchSchedule',
32
+ model_properties: {
33
+ id: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ schedule_entries: {
61
+ client_side_validation: true,
62
+ required: true,
63
+ serialized_name: 'properties.scheduleEntries',
64
+ type: {
65
+ name: 'Sequence',
66
+ element: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'ScheduleEntryElementType',
70
+ type: {
71
+ name: 'Composite',
72
+ class_name: 'ScheduleEntry'
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,60 @@
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::Redis::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # Specifies which Redis node(s) to reboot.
10
+ #
11
+ class RedisRebootParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [RebootType] Which Redis node(s) to reboot. Depending on this
16
+ # value data loss is possible. Possible values include: 'PrimaryNode',
17
+ # 'SecondaryNode', 'AllNodes'
18
+ attr_accessor :reboot_type
19
+
20
+ # @return [Integer] If clustering is enabled, the ID of the shard to be
21
+ # rebooted.
22
+ attr_accessor :shard_id
23
+
24
+
25
+ #
26
+ # Mapper for RedisRebootParameters class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'RedisRebootParameters',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'RedisRebootParameters',
37
+ model_properties: {
38
+ reboot_type: {
39
+ client_side_validation: true,
40
+ required: true,
41
+ serialized_name: 'rebootType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ shard_id: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'shardId',
50
+ type: {
51
+ name: 'Number'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,48 @@
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::Redis::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # Specifies which Redis access keys to reset.
10
+ #
11
+ class RedisRegenerateKeyParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [RedisKeyType] The Redis access key to regenerate. Possible
16
+ # values include: 'Primary', 'Secondary'
17
+ attr_accessor :key_type
18
+
19
+
20
+ #
21
+ # Mapper for RedisRegenerateKeyParameters class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'RedisRegenerateKeyParameters',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'RedisRegenerateKeyParameters',
32
+ model_properties: {
33
+ key_type: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'keyType',
37
+ type: {
38
+ name: 'Enum',
39
+ module: 'RedisKeyType'
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,309 @@
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::Redis::Mgmt::V2017_10_01
7
+ module Models
8
+ #
9
+ # A single Redis item in List or Get Operation.
10
+ #
11
+ class RedisResource < TrackedResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] All Redis Settings. Few possible keys:
16
+ # rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value
17
+ # etc.
18
+ attr_accessor :redis_configuration
19
+
20
+ # @return [Boolean] Specifies whether the non-ssl Redis server port
21
+ # (6379) is enabled.
22
+ attr_accessor :enable_non_ssl_port
23
+
24
+ # @return [Hash{String => String}] A dictionary of tenant settings
25
+ attr_accessor :tenant_settings
26
+
27
+ # @return [Integer] The number of shards to be created on a Premium
28
+ # Cluster Cache.
29
+ attr_accessor :shard_count
30
+
31
+ # @return [Sku] The SKU of the Redis cache to deploy.
32
+ attr_accessor :sku
33
+
34
+ # @return [String] The full resource ID of a subnet in a virtual network
35
+ # to deploy the Redis cache in. Example format:
36
+ # /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
37
+ attr_accessor :subnet_id
38
+
39
+ # @return [String] Static IP address. Required when deploying a Redis
40
+ # cache inside an existing Azure Virtual Network.
41
+ attr_accessor :static_ip
42
+
43
+ # @return [String] Redis version.
44
+ attr_accessor :redis_version
45
+
46
+ # @return [String] Redis instance provisioning status.
47
+ attr_accessor :provisioning_state
48
+
49
+ # @return [String] Redis host name.
50
+ attr_accessor :host_name
51
+
52
+ # @return [Integer] Redis non-SSL port.
53
+ attr_accessor :port
54
+
55
+ # @return [Integer] Redis SSL port.
56
+ attr_accessor :ssl_port
57
+
58
+ # @return [RedisAccessKeys] The keys of the Redis cache - not set if this
59
+ # object is not the response to Create or Update redis cache
60
+ attr_accessor :access_keys
61
+
62
+ # @return [Array<RedisLinkedServer>] List of the linked servers
63
+ # associated with the cache
64
+ attr_accessor :linked_servers
65
+
66
+ # @return [Array<String>] A list of availability zones denoting where the
67
+ # resource needs to come from.
68
+ attr_accessor :zones
69
+
70
+
71
+ #
72
+ # Mapper for RedisResource class as Ruby Hash.
73
+ # This will be used for serialization/deserialization.
74
+ #
75
+ def self.mapper()
76
+ {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'RedisResource',
80
+ type: {
81
+ name: 'Composite',
82
+ class_name: 'RedisResource',
83
+ model_properties: {
84
+ id: {
85
+ client_side_validation: true,
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'id',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ name: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ read_only: true,
97
+ serialized_name: 'name',
98
+ type: {
99
+ name: 'String'
100
+ }
101
+ },
102
+ type: {
103
+ client_side_validation: true,
104
+ required: false,
105
+ read_only: true,
106
+ serialized_name: 'type',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ tags: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ serialized_name: 'tags',
115
+ type: {
116
+ name: 'Dictionary',
117
+ value: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'StringElementType',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ }
125
+ }
126
+ },
127
+ location: {
128
+ client_side_validation: true,
129
+ required: true,
130
+ serialized_name: 'location',
131
+ type: {
132
+ name: 'String'
133
+ }
134
+ },
135
+ redis_configuration: {
136
+ client_side_validation: true,
137
+ required: false,
138
+ serialized_name: 'properties.redisConfiguration',
139
+ type: {
140
+ name: 'Dictionary',
141
+ value: {
142
+ client_side_validation: true,
143
+ required: false,
144
+ serialized_name: 'StringElementType',
145
+ type: {
146
+ name: 'String'
147
+ }
148
+ }
149
+ }
150
+ },
151
+ enable_non_ssl_port: {
152
+ client_side_validation: true,
153
+ required: false,
154
+ serialized_name: 'properties.enableNonSslPort',
155
+ type: {
156
+ name: 'Boolean'
157
+ }
158
+ },
159
+ tenant_settings: {
160
+ client_side_validation: true,
161
+ required: false,
162
+ serialized_name: 'properties.tenantSettings',
163
+ type: {
164
+ name: 'Dictionary',
165
+ value: {
166
+ client_side_validation: true,
167
+ required: false,
168
+ serialized_name: 'StringElementType',
169
+ type: {
170
+ name: 'String'
171
+ }
172
+ }
173
+ }
174
+ },
175
+ shard_count: {
176
+ client_side_validation: true,
177
+ required: false,
178
+ serialized_name: 'properties.shardCount',
179
+ type: {
180
+ name: 'Number'
181
+ }
182
+ },
183
+ sku: {
184
+ client_side_validation: true,
185
+ required: true,
186
+ serialized_name: 'properties.sku',
187
+ type: {
188
+ name: 'Composite',
189
+ class_name: 'Sku'
190
+ }
191
+ },
192
+ subnet_id: {
193
+ client_side_validation: true,
194
+ required: false,
195
+ serialized_name: 'properties.subnetId',
196
+ constraints: {
197
+ Pattern: '^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$'
198
+ },
199
+ type: {
200
+ name: 'String'
201
+ }
202
+ },
203
+ static_ip: {
204
+ client_side_validation: true,
205
+ required: false,
206
+ serialized_name: 'properties.staticIP',
207
+ constraints: {
208
+ Pattern: '^\d+\.\d+\.\d+\.\d+$'
209
+ },
210
+ type: {
211
+ name: 'String'
212
+ }
213
+ },
214
+ redis_version: {
215
+ client_side_validation: true,
216
+ required: false,
217
+ read_only: true,
218
+ serialized_name: 'properties.redisVersion',
219
+ type: {
220
+ name: 'String'
221
+ }
222
+ },
223
+ provisioning_state: {
224
+ client_side_validation: true,
225
+ required: false,
226
+ read_only: true,
227
+ serialized_name: 'properties.provisioningState',
228
+ type: {
229
+ name: 'String'
230
+ }
231
+ },
232
+ host_name: {
233
+ client_side_validation: true,
234
+ required: false,
235
+ read_only: true,
236
+ serialized_name: 'properties.hostName',
237
+ type: {
238
+ name: 'String'
239
+ }
240
+ },
241
+ port: {
242
+ client_side_validation: true,
243
+ required: false,
244
+ read_only: true,
245
+ serialized_name: 'properties.port',
246
+ type: {
247
+ name: 'Number'
248
+ }
249
+ },
250
+ ssl_port: {
251
+ client_side_validation: true,
252
+ required: false,
253
+ read_only: true,
254
+ serialized_name: 'properties.sslPort',
255
+ type: {
256
+ name: 'Number'
257
+ }
258
+ },
259
+ access_keys: {
260
+ client_side_validation: true,
261
+ required: false,
262
+ read_only: true,
263
+ serialized_name: 'properties.accessKeys',
264
+ type: {
265
+ name: 'Composite',
266
+ class_name: 'RedisAccessKeys'
267
+ }
268
+ },
269
+ linked_servers: {
270
+ client_side_validation: true,
271
+ required: false,
272
+ read_only: true,
273
+ serialized_name: 'properties.linkedServers',
274
+ type: {
275
+ name: 'Sequence',
276
+ element: {
277
+ client_side_validation: true,
278
+ required: false,
279
+ serialized_name: 'RedisLinkedServerElementType',
280
+ type: {
281
+ name: 'Composite',
282
+ class_name: 'RedisLinkedServer'
283
+ }
284
+ }
285
+ }
286
+ },
287
+ zones: {
288
+ client_side_validation: true,
289
+ required: false,
290
+ serialized_name: 'zones',
291
+ type: {
292
+ name: 'Sequence',
293
+ element: {
294
+ client_side_validation: true,
295
+ required: false,
296
+ serialized_name: 'StringElementType',
297
+ type: {
298
+ name: 'String'
299
+ }
300
+ }
301
+ }
302
+ }
303
+ }
304
+ }
305
+ }
306
+ end
307
+ end
308
+ end
309
+ end