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.
- checksums.yaml +4 -4
- data/lib/2015-08-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
- data/lib/2016-04-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
- data/lib/2017-02-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
- data/lib/2017-10-01/generated/azure_mgmt_redis.rb +16 -12
- data/lib/2017-10-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb +58 -0
- data/lib/2017-10-01/generated/azure_mgmt_redis/models/notification_list_response.rb +67 -0
- data/lib/2017-10-01/generated/azure_mgmt_redis/models/redis_patch_schedule_list_result.rb +100 -0
- data/lib/2017-10-01/generated/azure_mgmt_redis/models/upgrade_notification.rb +80 -0
- data/lib/2017-10-01/generated/azure_mgmt_redis/patch_schedules.rb +211 -6
- data/lib/2017-10-01/generated/azure_mgmt_redis/redis.rb +191 -2
- data/lib/2017-10-01/generated/azure_mgmt_redis/redis_management_client.rb +7 -6
- data/lib/2018-03-01/generated/azure_mgmt_redis.rb +70 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/firewall_rules.rb +528 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/linked_server.rb +594 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/check_name_availability_parameters.rb +58 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/day_of_week.rb +23 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/export_rdbparameters.rb +68 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/import_rdbparameters.rb +65 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/notification_list_response.rb +67 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/operation.rb +58 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/operation_display.rb +80 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/operation_list_result.rb +102 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/provisioning_state.rb +26 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/proxy_resource.rb +63 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/reboot_type.rb +17 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_access_keys.rb +61 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_create_parameters.rb +205 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule.rb +85 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule_create_parameters.rb +57 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_firewall_rule_list_result.rb +100 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_force_reboot_response.rb +47 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_key_type.rb +16 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server.rb +47 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_create_parameters.rb +70 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties.rb +110 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_linked_server_with_properties_list.rb +100 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_list_result.rb +99 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_patch_schedule.rb +83 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_patch_schedule_list_result.rb +100 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb +60 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb +48 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_resource.rb +325 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb +143 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/replication_role.rb +16 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/resource.rb +71 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/schedule_entry.rb +72 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/sku.rb +73 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/sku_family.rb +16 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/sku_name.rb +17 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/tls_version.rb +17 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/tracked_resource.rb +92 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/models/upgrade_notification.rb +80 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/module_definition.rb +9 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/operations.rb +222 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/patch_schedules.rb +522 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/redis.rb +1671 -0
- data/lib/2018-03-01/generated/azure_mgmt_redis/redis_management_client.rb +149 -0
- data/lib/azure_mgmt_redis.rb +3 -2
- data/lib/profiles/latest/modules/redis_profile_module.rb +107 -83
- data/lib/version.rb +1 -1
- metadata +55 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 046aef8073b9c7ef09848a281796b9c0adc93c01
|
4
|
+
data.tar.gz: 1b58f0113851863eef86d56dd44cde5ba2698db9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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]
|
28
|
+
# @return [String] The preferred language for the response.
|
29
29
|
attr_accessor :accept_language
|
30
30
|
|
31
|
-
# @return [Integer]
|
32
|
-
#
|
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]
|
36
|
-
#
|
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.
|
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]
|
28
|
+
# @return [String] The preferred language for the response.
|
29
29
|
attr_accessor :accept_language
|
30
30
|
|
31
|
-
# @return [Integer]
|
32
|
-
#
|
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]
|
36
|
-
#
|
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.
|
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]
|
28
|
+
# @return [String] The preferred language for the response.
|
29
29
|
attr_accessor :accept_language
|
30
30
|
|
31
|
-
# @return [Integer]
|
32
|
-
#
|
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]
|
36
|
-
#
|
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.
|
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 :
|
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 :
|
34
|
-
autoload :
|
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 :
|
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 :
|
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 :
|
48
|
-
autoload :
|
49
|
-
autoload :
|
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
|