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,130 @@
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
+ # Parameters supplied to the Update Redis operation.
10
+ #
11
+ class RedisUpdateParameters
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 [Hash{String => String}] Resource tags.
35
+ attr_accessor :tags
36
+
37
+
38
+ #
39
+ # Mapper for RedisUpdateParameters class as Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'RedisUpdateParameters',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'RedisUpdateParameters',
50
+ model_properties: {
51
+ redis_configuration: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'properties.redisConfiguration',
55
+ type: {
56
+ name: 'Dictionary',
57
+ value: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'StringElementType',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ }
65
+ }
66
+ },
67
+ enable_non_ssl_port: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'properties.enableNonSslPort',
71
+ type: {
72
+ name: 'Boolean'
73
+ }
74
+ },
75
+ tenant_settings: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'properties.tenantSettings',
79
+ type: {
80
+ name: 'Dictionary',
81
+ value: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'StringElementType',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ }
89
+ }
90
+ },
91
+ shard_count: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'properties.shardCount',
95
+ type: {
96
+ name: 'Number'
97
+ }
98
+ },
99
+ sku: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ serialized_name: 'properties.sku',
103
+ type: {
104
+ name: 'Composite',
105
+ class_name: 'Sku'
106
+ }
107
+ },
108
+ tags: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'tags',
112
+ type: {
113
+ name: 'Dictionary',
114
+ value: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'StringElementType',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ end
128
+ end
129
+ end
130
+ 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::V2017_10_01
7
+ module Models
8
+ #
9
+ # Defines values for ReplicationRole
10
+ #
11
+ module ReplicationRole
12
+ Primary = "Primary"
13
+ Secondary = "Secondary"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,71 @@
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
+ # The Resource definition.
10
+ #
11
+ class Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource ID.
16
+ attr_accessor :id
17
+
18
+ # @return [String] Resource name.
19
+ attr_accessor :name
20
+
21
+ # @return [String] Resource type.
22
+ attr_accessor :type
23
+
24
+
25
+ #
26
+ # Mapper for Resource 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: 'Resource',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'Resource',
37
+ model_properties: {
38
+ id: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'id',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ name: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'name',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ type: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'type',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,72 @@
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
+ # Patch schedule entry for a Premium Redis Cache.
10
+ #
11
+ class ScheduleEntry
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DayOfWeek] Day of the week when a cache can be patched.
16
+ # Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday',
17
+ # 'Friday', 'Saturday', 'Sunday', 'Everyday', 'Weekend'
18
+ attr_accessor :day_of_week
19
+
20
+ # @return [Integer] Start hour after which cache patching can start.
21
+ attr_accessor :start_hour_utc
22
+
23
+ # @return [Duration] ISO8601 timespan specifying how much time cache
24
+ # patching can take.
25
+ attr_accessor :maintenance_window
26
+
27
+
28
+ #
29
+ # Mapper for ScheduleEntry class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'ScheduleEntry',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'ScheduleEntry',
40
+ model_properties: {
41
+ day_of_week: {
42
+ client_side_validation: true,
43
+ required: true,
44
+ serialized_name: 'dayOfWeek',
45
+ type: {
46
+ name: 'Enum',
47
+ module: 'DayOfWeek'
48
+ }
49
+ },
50
+ start_hour_utc: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'startHourUtc',
54
+ type: {
55
+ name: 'Number'
56
+ }
57
+ },
58
+ maintenance_window: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'maintenanceWindow',
62
+ type: {
63
+ name: 'TimeSpan'
64
+ }
65
+ }
66
+ }
67
+ }
68
+ }
69
+ end
70
+ end
71
+ end
72
+ end
@@ -0,0 +1,73 @@
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
+ # SKU parameters supplied to the create Redis operation.
10
+ #
11
+ class Sku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [SkuName] The type of Redis cache to deploy. Valid values:
16
+ # (Basic, Standard, Premium). Possible values include: 'Basic',
17
+ # 'Standard', 'Premium'
18
+ attr_accessor :name
19
+
20
+ # @return [SkuFamily] The SKU family to use. Valid values: (C, P). (C =
21
+ # Basic/Standard, P = Premium). Possible values include: 'C', 'P'
22
+ attr_accessor :family
23
+
24
+ # @return [Integer] The size of the Redis cache to deploy. Valid values:
25
+ # for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium)
26
+ # family (1, 2, 3, 4).
27
+ attr_accessor :capacity
28
+
29
+
30
+ #
31
+ # Mapper for Sku 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: 'Sku',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'Sku',
42
+ model_properties: {
43
+ name: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ family: {
52
+ client_side_validation: true,
53
+ required: true,
54
+ serialized_name: 'family',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ capacity: {
60
+ client_side_validation: true,
61
+ required: true,
62
+ serialized_name: 'capacity',
63
+ type: {
64
+ name: 'Number'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ 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::V2017_10_01
7
+ module Models
8
+ #
9
+ # Defines values for SkuFamily
10
+ #
11
+ module SkuFamily
12
+ C = "C"
13
+ P = "P"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,17 @@
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
+ # Defines values for SkuName
10
+ #
11
+ module SkuName
12
+ Basic = "Basic"
13
+ Standard = "Standard"
14
+ Premium = "Premium"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,92 @@
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
+ # The resource model definition for a ARM tracked top level resource
10
+ #
11
+ class TrackedResource < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] Resource tags.
16
+ attr_accessor :tags
17
+
18
+ # @return [String] The geo-location where the resource lives
19
+ attr_accessor :location
20
+
21
+
22
+ #
23
+ # Mapper for TrackedResource 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: 'TrackedResource',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'TrackedResource',
34
+ model_properties: {
35
+ id: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'id',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ name: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'name',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ type: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ read_only: true,
57
+ serialized_name: 'type',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ tags: {
63
+ client_side_validation: true,
64
+ required: false,
65
+ serialized_name: 'tags',
66
+ type: {
67
+ name: 'Dictionary',
68
+ value: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'StringElementType',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ }
76
+ }
77
+ },
78
+ location: {
79
+ client_side_validation: true,
80
+ required: true,
81
+ serialized_name: 'location',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end