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
@@ -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::V2018_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters body to pass for resource 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,23 @@
|
|
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 DayOfWeek
|
10
|
+
#
|
11
|
+
module DayOfWeek
|
12
|
+
Monday = "Monday"
|
13
|
+
Tuesday = "Tuesday"
|
14
|
+
Wednesday = "Wednesday"
|
15
|
+
Thursday = "Thursday"
|
16
|
+
Friday = "Friday"
|
17
|
+
Saturday = "Saturday"
|
18
|
+
Sunday = "Sunday"
|
19
|
+
Everyday = "Everyday"
|
20
|
+
Weekend = "Weekend"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,68 @@
|
|
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 for Redis export operation.
|
10
|
+
#
|
11
|
+
class ExportRDBParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] File format.
|
16
|
+
attr_accessor :format
|
17
|
+
|
18
|
+
# @return [String] Prefix to use for exported files.
|
19
|
+
attr_accessor :prefix
|
20
|
+
|
21
|
+
# @return [String] Container name to export to.
|
22
|
+
attr_accessor :container
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ExportRDBParameters 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: 'ExportRDBParameters',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ExportRDBParameters',
|
37
|
+
model_properties: {
|
38
|
+
format: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'format',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
prefix: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'prefix',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
container: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: true,
|
57
|
+
serialized_name: 'container',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,65 @@
|
|
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 for Redis import operation.
|
10
|
+
#
|
11
|
+
class ImportRDBParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] File format.
|
16
|
+
attr_accessor :format
|
17
|
+
|
18
|
+
# @return [Array<String>] files to import.
|
19
|
+
attr_accessor :files
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ImportRDBParameters 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: 'ImportRDBParameters',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ImportRDBParameters',
|
34
|
+
model_properties: {
|
35
|
+
format: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'format',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
files: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: true,
|
46
|
+
serialized_name: 'files',
|
47
|
+
type: {
|
48
|
+
name: 'Sequence',
|
49
|
+
element: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'StringElementType',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
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::V2018_03_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,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::V2018_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# REST API operation
|
10
|
+
#
|
11
|
+
class Operation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Operation name: {provider}/{resource}/{operation}
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [OperationDisplay] The object that describes the operation.
|
19
|
+
attr_accessor :display
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for Operation 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: 'Operation',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'Operation',
|
34
|
+
model_properties: {
|
35
|
+
name: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'name',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
display: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'display',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'OperationDisplay'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
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::V2018_03_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The object that describes the operation.
|
10
|
+
#
|
11
|
+
class OperationDisplay
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Friendly name of the resource provider
|
16
|
+
attr_accessor :provider
|
17
|
+
|
18
|
+
# @return [String] Operation type: read, write, delete, listKeys/action,
|
19
|
+
# etc.
|
20
|
+
attr_accessor :operation
|
21
|
+
|
22
|
+
# @return [String] Resource type on which the operation is performed.
|
23
|
+
attr_accessor :resource
|
24
|
+
|
25
|
+
# @return [String] Friendly name of the operation
|
26
|
+
attr_accessor :description
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'Operation_display',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'OperationDisplay',
|
41
|
+
model_properties: {
|
42
|
+
provider: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'provider',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
operation: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'operation',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
resource: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'resource',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
description: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'description',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,102 @@
|
|
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
|
+
# Result of the request to list REST API operations. It contains a list of
|
10
|
+
# operations and a URL nextLink to get the next set of results.
|
11
|
+
#
|
12
|
+
class OperationListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<Operation>] List of operations supported by the resource
|
18
|
+
# provider.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] URL to get the next set of operation list results if
|
22
|
+
# there are any.
|
23
|
+
attr_accessor :next_link
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<Operation>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [OperationListResult] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for OperationListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'OperationListResult',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'OperationListResult',
|
69
|
+
model_properties: {
|
70
|
+
value: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'value',
|
74
|
+
type: {
|
75
|
+
name: 'Sequence',
|
76
|
+
element: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'OperationElementType',
|
80
|
+
type: {
|
81
|
+
name: 'Composite',
|
82
|
+
class_name: 'Operation'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
},
|
87
|
+
next_link: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
read_only: true,
|
91
|
+
serialized_name: 'nextLink',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|