azure_mgmt_redis 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-08-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
  3. data/lib/2016-04-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
  4. data/lib/2017-02-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
  5. data/lib/2017-10-01/generated/azure_mgmt_redis.rb +16 -12
  6. data/lib/2017-10-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb +58 -0
  7. data/lib/2017-10-01/generated/azure_mgmt_redis/models/notification_list_response.rb +67 -0
  8. data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_patch_schedule_list_result.rb +100 -0
  9. data/lib/2017-10-01/generated/azure_mgmt_redis/models/upgrade_notification.rb +80 -0
  10. data/lib/2017-10-01/generated/azure_mgmt_redis/patch_schedules.rb +211 -6
  11. data/lib/2017-10-01/generated/azure_mgmt_redis/redis.rb +191 -2
  12. data/lib/2017-10-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
  13. data/lib/2018-03-01/generated/azure_mgmt_redis.rb +70 -0
  14. data/lib/2018-03-01/generated/azure_mgmt_redis/firewall_rules.rb +528 -0
  15. data/lib/2018-03-01/generated/azure_mgmt_redis/linked_server.rb +594 -0
  16. data/lib/2018-03-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb +58 -0
  17. data/lib/2018-03-01/generated/azure_mgmt_redis/models/day_of_week.rb +23 -0
  18. data/lib/2018-03-01/generated/azure_mgmt_redis/models/export_rdbparameters.rb +68 -0
  19. data/lib/2018-03-01/generated/azure_mgmt_redis/models/import_rdbparameters.rb +65 -0
  20. data/lib/2018-03-01/generated/azure_mgmt_redis/models/notification_list_response.rb +67 -0
  21. data/lib/2018-03-01/generated/azure_mgmt_redis/models/operation.rb +58 -0
  22. data/lib/2018-03-01/generated/azure_mgmt_redis/models/operation_display.rb +80 -0
  23. data/lib/2018-03-01/generated/azure_mgmt_redis/models/operation_list_result.rb +102 -0
  24. data/lib/2018-03-01/generated/azure_mgmt_redis/models/provisioning_state.rb +26 -0
  25. data/lib/2018-03-01/generated/azure_mgmt_redis/models/proxy_resource.rb +63 -0
  26. data/lib/2018-03-01/generated/azure_mgmt_redis/models/reboot_type.rb +17 -0
  27. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_access_keys.rb +61 -0
  28. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_create_parameters.rb +205 -0
  29. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule.rb +85 -0
  30. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule_create_parameters.rb +57 -0
  31. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule_list_result.rb +100 -0
  32. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_force_reboot_response.rb +47 -0
  33. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_key_type.rb +16 -0
  34. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server.rb +47 -0
  35. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_create_parameters.rb +70 -0
  36. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties.rb +110 -0
  37. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties_list.rb +100 -0
  38. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_list_result.rb +99 -0
  39. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_patch_schedule.rb +83 -0
  40. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_patch_schedule_list_result.rb +100 -0
  41. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb +60 -0
  42. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb +48 -0
  43. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_resource.rb +325 -0
  44. data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb +143 -0
  45. data/lib/2018-03-01/generated/azure_mgmt_redis/models/replication_role.rb +16 -0
  46. data/lib/2018-03-01/generated/azure_mgmt_redis/models/resource.rb +71 -0
  47. data/lib/2018-03-01/generated/azure_mgmt_redis/models/schedule_entry.rb +72 -0
  48. data/lib/2018-03-01/generated/azure_mgmt_redis/models/sku.rb +73 -0
  49. data/lib/2018-03-01/generated/azure_mgmt_redis/models/sku_family.rb +16 -0
  50. data/lib/2018-03-01/generated/azure_mgmt_redis/models/sku_name.rb +17 -0
  51. data/lib/2018-03-01/generated/azure_mgmt_redis/models/tls_version.rb +17 -0
  52. data/lib/2018-03-01/generated/azure_mgmt_redis/models/tracked_resource.rb +92 -0
  53. data/lib/2018-03-01/generated/azure_mgmt_redis/models/upgrade_notification.rb +80 -0
  54. data/lib/2018-03-01/generated/azure_mgmt_redis/module_definition.rb +9 -0
  55. data/lib/2018-03-01/generated/azure_mgmt_redis/operations.rb +222 -0
  56. data/lib/2018-03-01/generated/azure_mgmt_redis/patch_schedules.rb +522 -0
  57. data/lib/2018-03-01/generated/azure_mgmt_redis/redis.rb +1671 -0
  58. data/lib/2018-03-01/generated/azure_mgmt_redis/redis_management_client.rb +149 -0
  59. data/lib/azure_mgmt_redis.rb +3 -2
  60. data/lib/profiles/latest/modules/redis_profile_module.rb +107 -83
  61. data/lib/version.rb +1 -1
  62. metadata +55 -5
@@ -0,0 +1,57 @@
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::V2018_03_01
7
+ module Models
8
+ #
9
+ # Parameters required for creating a firewall rule on redis cache.
10
+ #
11
+ class RedisFirewallRuleCreateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] lowest IP address included in the range
16
+ attr_accessor :start_ip
17
+
18
+ # @return [String] highest IP address included in the range
19
+ attr_accessor :end_ip
20
+
21
+
22
+ #
23
+ # Mapper for RedisFirewallRuleCreateParameters class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'RedisFirewallRuleCreateParameters',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'RedisFirewallRuleCreateParameters',
34
+ model_properties: {
35
+ start_ip: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'properties.startIP',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ end_ip: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'properties.endIP',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,100 @@
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::V2018_03_01
7
+ module Models
8
+ #
9
+ # The response of list firewall rules Redis operation.
10
+ #
11
+ class RedisFirewallRuleListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<RedisFirewallRule>] Results of the list firewall rules
17
+ # operation.
18
+ attr_accessor :value
19
+
20
+ # @return [String] Link for next page of results.
21
+ attr_accessor :next_link
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<RedisFirewallRule>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [RedisFirewallRuleListResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for RedisFirewallRuleListResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'RedisFirewallRuleListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'RedisFirewallRuleListResult',
67
+ model_properties: {
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'value',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'RedisFirewallRuleElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'RedisFirewallRule'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'nextLink',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end
@@ -0,0 +1,47 @@
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::V2018_03_01
7
+ module Models
8
+ #
9
+ # Response to force reboot for Redis cache.
10
+ #
11
+ class RedisForceRebootResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Status message
16
+ attr_accessor :message
17
+
18
+
19
+ #
20
+ # Mapper for RedisForceRebootResponse class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'RedisForceRebootResponse',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'RedisForceRebootResponse',
31
+ model_properties: {
32
+ message: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'message',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,16 @@
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::V2018_03_01
7
+ module Models
8
+ #
9
+ # Defines values for RedisKeyType
10
+ #
11
+ module RedisKeyType
12
+ Primary = "Primary"
13
+ Secondary = "Secondary"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,47 @@
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::V2018_03_01
7
+ module Models
8
+ #
9
+ # Linked server Id
10
+ #
11
+ class RedisLinkedServer
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Linked server Id.
16
+ attr_accessor :id
17
+
18
+
19
+ #
20
+ # Mapper for RedisLinkedServer class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'RedisLinkedServer',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'RedisLinkedServer',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,70 @@
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::V2018_03_01
7
+ module Models
8
+ #
9
+ # Parameter required for creating a linked server to redis cache.
10
+ #
11
+ class RedisLinkedServerCreateParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Fully qualified resourceId of the linked redis cache.
16
+ attr_accessor :linked_redis_cache_id
17
+
18
+ # @return [String] Location of the linked redis cache.
19
+ attr_accessor :linked_redis_cache_location
20
+
21
+ # @return [ReplicationRole] Role of the linked server. Possible values
22
+ # include: 'Primary', 'Secondary'
23
+ attr_accessor :server_role
24
+
25
+
26
+ #
27
+ # Mapper for RedisLinkedServerCreateParameters class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'RedisLinkedServerCreateParameters',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'RedisLinkedServerCreateParameters',
38
+ model_properties: {
39
+ linked_redis_cache_id: {
40
+ client_side_validation: true,
41
+ required: true,
42
+ serialized_name: 'properties.linkedRedisCacheId',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ linked_redis_cache_location: {
48
+ client_side_validation: true,
49
+ required: true,
50
+ serialized_name: 'properties.linkedRedisCacheLocation',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ server_role: {
56
+ client_side_validation: true,
57
+ required: true,
58
+ serialized_name: 'properties.serverRole',
59
+ type: {
60
+ name: 'Enum',
61
+ module: 'ReplicationRole'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,110 @@
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::V2018_03_01
7
+ module Models
8
+ #
9
+ # Response to put/get linked server (with properties) for Redis cache.
10
+ #
11
+ class RedisLinkedServerWithProperties < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Fully qualified resourceId of the linked redis cache.
16
+ attr_accessor :linked_redis_cache_id
17
+
18
+ # @return [String] Location of the linked redis cache.
19
+ attr_accessor :linked_redis_cache_location
20
+
21
+ # @return [ReplicationRole] Role of the linked server. Possible values
22
+ # include: 'Primary', 'Secondary'
23
+ attr_accessor :server_role
24
+
25
+ # @return [String] Terminal state of the link between primary and
26
+ # secondary redis cache.
27
+ attr_accessor :provisioning_state
28
+
29
+
30
+ #
31
+ # Mapper for RedisLinkedServerWithProperties class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'RedisLinkedServerWithProperties',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'RedisLinkedServerWithProperties',
42
+ model_properties: {
43
+ id: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'id',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ name: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'name',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ type: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'type',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ linked_redis_cache_id: {
71
+ client_side_validation: true,
72
+ required: true,
73
+ serialized_name: 'properties.linkedRedisCacheId',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ linked_redis_cache_location: {
79
+ client_side_validation: true,
80
+ required: true,
81
+ serialized_name: 'properties.linkedRedisCacheLocation',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ },
86
+ server_role: {
87
+ client_side_validation: true,
88
+ required: true,
89
+ serialized_name: 'properties.serverRole',
90
+ type: {
91
+ name: 'Enum',
92
+ module: 'ReplicationRole'
93
+ }
94
+ },
95
+ provisioning_state: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ read_only: true,
99
+ serialized_name: 'properties.provisioningState',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ end
108
+ end
109
+ end
110
+ end