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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 886de64a6f514ac83bc5cf40b97cc2ff1f68cf3e
4
- data.tar.gz: 71f2b13985ff2109e365dc29f34071a72df3a19e
3
+ metadata.gz: 046aef8073b9c7ef09848a281796b9c0adc93c01
4
+ data.tar.gz: 1b58f0113851863eef86d56dd44cde5ba2698db9
5
5
  SHA512:
6
- metadata.gz: 0d3c0f384a6f3a6a62cec89241807582ae4e3fa32de9410c149de07f70a7d1866eeea925a5c048776ff0070917d40b9281c30a717a2d2c2d9467caa3b99979e5
7
- data.tar.gz: 2e7d90c048901425b9671bb05d71f3c7fc6c357f88edc1e1717a5fad249cb8f0cd8792b2af7043ff5638191df5df8ffa1eb18c0616f9cec57d7b0fe04e370791
6
+ metadata.gz: a46b6b6a920a3071e6893859b0de51bf1fda2974ddc2d0ba59be0836e69d297afd0dce66e1d4fd14ff2ffeb06f487b3d03e3550344dc8f376fb647f7847fb40e
7
+ data.tar.gz: dd8d903177b7fcfffd3dca5da6ea251f7f55ac0b5f9628658c157895ee8c79e5d88a0ab134d30f5c5fcf342f1416d6c56477aae736c7c7a5b48dcf8c0d72b2f0
@@ -25,15 +25,16 @@ module Azure::Redis::Mgmt::V2015_08_01
25
25
  # @return [String] Client API Version.
26
26
  attr_reader :api_version
27
27
 
28
- # @return [String] Gets or sets the preferred language for the response.
28
+ # @return [String] The preferred language for the response.
29
29
  attr_accessor :accept_language
30
30
 
31
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
32
- # Running Operations. Default value is 30.
31
+ # @return [Integer] The retry timeout in seconds for Long Running
32
+ # Operations. Default value is 30.
33
33
  attr_accessor :long_running_operation_retry_timeout
34
34
 
35
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
36
- # is generated and included in each request. Default is true.
35
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
36
+ # generated. When set to true a unique x-ms-client-request-id value is
37
+ # generated and included in each request. Default is true.
37
38
  attr_accessor :generate_client_request_id
38
39
 
39
40
  # @return [Redis] redis
@@ -125,7 +126,7 @@ module Azure::Redis::Mgmt::V2015_08_01
125
126
  #
126
127
  def add_telemetry
127
128
  sdk_information = 'azure_mgmt_redis'
128
- sdk_information = "#{sdk_information}/0.16.0"
129
+ sdk_information = "#{sdk_information}/0.17.0"
129
130
  add_user_agent_information(sdk_information)
130
131
  end
131
132
  end
@@ -25,15 +25,16 @@ module Azure::Redis::Mgmt::V2016_04_01
25
25
  # @return [String] Client Api Version.
26
26
  attr_reader :api_version
27
27
 
28
- # @return [String] Gets or sets the preferred language for the response.
28
+ # @return [String] The preferred language for the response.
29
29
  attr_accessor :accept_language
30
30
 
31
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
32
- # Running Operations. Default value is 30.
31
+ # @return [Integer] The retry timeout in seconds for Long Running
32
+ # Operations. Default value is 30.
33
33
  attr_accessor :long_running_operation_retry_timeout
34
34
 
35
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
36
- # is generated and included in each request. Default is true.
35
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
36
+ # generated. When set to true a unique x-ms-client-request-id value is
37
+ # generated and included in each request. Default is true.
37
38
  attr_accessor :generate_client_request_id
38
39
 
39
40
  # @return [Operations] operations
@@ -141,7 +142,7 @@ module Azure::Redis::Mgmt::V2016_04_01
141
142
  #
142
143
  def add_telemetry
143
144
  sdk_information = 'azure_mgmt_redis'
144
- sdk_information = "#{sdk_information}/0.16.0"
145
+ sdk_information = "#{sdk_information}/0.17.0"
145
146
  add_user_agent_information(sdk_information)
146
147
  end
147
148
  end
@@ -25,15 +25,16 @@ module Azure::Redis::Mgmt::V2017_02_01
25
25
  # @return [String] Client Api Version.
26
26
  attr_reader :api_version
27
27
 
28
- # @return [String] Gets or sets the preferred language for the response.
28
+ # @return [String] The preferred language for the response.
29
29
  attr_accessor :accept_language
30
30
 
31
- # @return [Integer] Gets or sets the retry timeout in seconds for Long
32
- # Running Operations. Default value is 30.
31
+ # @return [Integer] The retry timeout in seconds for Long Running
32
+ # Operations. Default value is 30.
33
33
  attr_accessor :long_running_operation_retry_timeout
34
34
 
35
- # @return [Boolean] When set to true a unique x-ms-client-request-id value
36
- # is generated and included in each request. Default is true.
35
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
36
+ # generated. When set to true a unique x-ms-client-request-id value is
37
+ # generated and included in each request. Default is true.
37
38
  attr_accessor :generate_client_request_id
38
39
 
39
40
  # @return [Operations] operations
@@ -141,7 +142,7 @@ module Azure::Redis::Mgmt::V2017_02_01
141
142
  #
142
143
  def add_telemetry
143
144
  sdk_information = 'azure_mgmt_redis'
144
- sdk_information = "#{sdk_information}/0.16.0"
145
+ sdk_information = "#{sdk_information}/0.17.0"
145
146
  add_user_agent_information(sdk_information)
146
147
  end
147
148
  end
@@ -28,26 +28,30 @@ module Azure::Redis::Mgmt::V2017_10_01
28
28
  autoload :RedisManagementClient, '2017-10-01/generated/azure_mgmt_redis/redis_management_client.rb'
29
29
 
30
30
  module Models
31
- autoload :RedisListResult, '2017-10-01/generated/azure_mgmt_redis/models/redis_list_result.rb'
31
+ autoload :RedisRebootParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb'
32
32
  autoload :Sku, '2017-10-01/generated/azure_mgmt_redis/models/sku.rb'
33
- autoload :RedisRegenerateKeyParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb'
34
- autoload :RedisFirewallRuleListResult, '2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule_list_result.rb'
33
+ autoload :ExportRDBParameters, '2017-10-01/generated/azure_mgmt_redis/models/export_rdbparameters.rb'
34
+ autoload :RedisListResult, '2017-10-01/generated/azure_mgmt_redis/models/redis_list_result.rb'
35
35
  autoload :RedisAccessKeys, '2017-10-01/generated/azure_mgmt_redis/models/redis_access_keys.rb'
36
- autoload :OperationDisplay, '2017-10-01/generated/azure_mgmt_redis/models/operation_display.rb'
36
+ autoload :RedisRegenerateKeyParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb'
37
37
  autoload :Resource, '2017-10-01/generated/azure_mgmt_redis/models/resource.rb'
38
+ autoload :NotificationListResponse, '2017-10-01/generated/azure_mgmt_redis/models/notification_list_response.rb'
38
39
  autoload :OperationListResult, '2017-10-01/generated/azure_mgmt_redis/models/operation_list_result.rb'
39
- autoload :RedisLinkedServerCreateParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_create_parameters.rb'
40
40
  autoload :RedisUpdateParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb'
41
- autoload :RedisRebootParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb'
42
- autoload :RedisFirewallRuleCreateParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule_create_parameters.rb'
43
- autoload :ExportRDBParameters, '2017-10-01/generated/azure_mgmt_redis/models/export_rdbparameters.rb'
44
41
  autoload :ImportRDBParameters, '2017-10-01/generated/azure_mgmt_redis/models/import_rdbparameters.rb'
45
- autoload :Operation, '2017-10-01/generated/azure_mgmt_redis/models/operation.rb'
42
+ autoload :RedisFirewallRuleCreateParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule_create_parameters.rb'
46
43
  autoload :ScheduleEntry, '2017-10-01/generated/azure_mgmt_redis/models/schedule_entry.rb'
47
- autoload :RedisCreateParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_create_parameters.rb'
48
- autoload :RedisLinkedServerWithPropertiesList, '2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties_list.rb'
49
- autoload :RedisLinkedServer, '2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server.rb'
44
+ autoload :CheckNameAvailabilityParameters, '2017-10-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb'
45
+ autoload :Operation, '2017-10-01/generated/azure_mgmt_redis/models/operation.rb'
46
+ autoload :RedisPatchScheduleListResult, '2017-10-01/generated/azure_mgmt_redis/models/redis_patch_schedule_list_result.rb'
47
+ autoload :UpgradeNotification, '2017-10-01/generated/azure_mgmt_redis/models/upgrade_notification.rb'
50
48
  autoload :RedisForceRebootResponse, '2017-10-01/generated/azure_mgmt_redis/models/redis_force_reboot_response.rb'
49
+ autoload :RedisLinkedServer, '2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server.rb'
50
+ autoload :OperationDisplay, '2017-10-01/generated/azure_mgmt_redis/models/operation_display.rb'
51
+ autoload :RedisFirewallRuleListResult, '2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule_list_result.rb'
52
+ autoload :RedisLinkedServerWithPropertiesList, '2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties_list.rb'
53
+ autoload :RedisCreateParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_create_parameters.rb'
54
+ autoload :RedisLinkedServerCreateParameters, '2017-10-01/generated/azure_mgmt_redis/models/redis_linked_server_create_parameters.rb'
51
55
  autoload :ProxyResource, '2017-10-01/generated/azure_mgmt_redis/models/proxy_resource.rb'
52
56
  autoload :TrackedResource, '2017-10-01/generated/azure_mgmt_redis/models/tracked_resource.rb'
53
57
  autoload :RedisFirewallRule, '2017-10-01/generated/azure_mgmt_redis/models/redis_firewall_rule.rb'
@@ -0,0 +1,58 @@
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 body to pass for name availability check.
10
+ #
11
+ class CheckNameAvailabilityParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Resource type. The only legal value of this property
19
+ # for checking redis cache name availability is 'Microsoft.Cache/redis'.
20
+ attr_accessor :type
21
+
22
+
23
+ #
24
+ # Mapper for CheckNameAvailabilityParameters class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'CheckNameAvailabilityParameters',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'CheckNameAvailabilityParameters',
35
+ model_properties: {
36
+ name: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'name',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ type: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'type',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,67 @@
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 response of listUpgradeNotifications.
10
+ #
11
+ class NotificationListResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<UpgradeNotification>] List of all notifications.
16
+ attr_accessor :value
17
+
18
+ # @return [String] Link for next set of notifications.
19
+ attr_accessor :next_link
20
+
21
+
22
+ #
23
+ # Mapper for NotificationListResponse 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: 'NotificationListResponse',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'NotificationListResponse',
34
+ model_properties: {
35
+ value: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'value',
39
+ type: {
40
+ name: 'Sequence',
41
+ element: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'UpgradeNotificationElementType',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'UpgradeNotification'
48
+ }
49
+ }
50
+ }
51
+ },
52
+ next_link: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'nextLink',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ 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::V2017_10_01
7
+ module Models
8
+ #
9
+ # The response of list patch schedules Redis operation.
10
+ #
11
+ class RedisPatchScheduleListResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<RedisPatchSchedule>] Results of the list patch schedules
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<RedisPatchSchedule>] 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 [RedisPatchScheduleListResult] 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 RedisPatchScheduleListResult 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: 'RedisPatchScheduleListResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'RedisPatchScheduleListResult',
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: 'RedisPatchScheduleElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'RedisPatchSchedule'
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,80 @@
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
+ # Properties of upgrade notification.
10
+ #
11
+ class UpgradeNotification
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of upgrade notification.
16
+ attr_accessor :name
17
+
18
+ # @return [DateTime] Timestamp when upgrade notification occured.
19
+ attr_accessor :timestamp
20
+
21
+ # @return [Hash{String => String}] Details about this upgrade
22
+ # notification
23
+ attr_accessor :upsell_notification
24
+
25
+
26
+ #
27
+ # Mapper for UpgradeNotification 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: 'UpgradeNotification',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'UpgradeNotification',
38
+ model_properties: {
39
+ name: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'name',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ timestamp: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'timestamp',
53
+ type: {
54
+ name: 'DateTime'
55
+ }
56
+ },
57
+ upsell_notification: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'upsellNotification',
62
+ type: {
63
+ name: 'Dictionary',
64
+ value: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'StringElementType',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end