azure_mgmt_redis 0.14.0 → 0.15.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.rb +43 -0
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_redis/models/reboot_type.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/redis_access_keys.rb +56 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/redis_create_or_update_parameters.rb +194 -0
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_redis/models/redis_key_type.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/redis_list_keys_result.rb +56 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/redis_list_result.rb +94 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/redis_properties.rb +149 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb +58 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb +46 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/redis_resource.rb +234 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/redis_resource_with_access_key.rb +245 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/resource.rb +95 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/models/sku.rb +68 -0
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_redis/models/sku_family.rb +1 -1
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_redis/models/sku_name.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_redis/module_definition.rb +9 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/redis.rb +1002 -0
- data/lib/2015-08-01/generated/azure_mgmt_redis/redis_management_client.rb +131 -0
- data/lib/{generated → 2015-08-01/generated}/azure_mgmt_redis/version.rb +2 -2
- data/lib/2016-04-01/generated/azure_mgmt_redis.rb +56 -0
- data/lib/2016-04-01/generated/azure_mgmt_redis/firewall_rules.rb +225 -0
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/day_of_week.rb +1 -1
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/export_rdbparameters.rb +1 -1
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/import_rdbparameters.rb +1 -1
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/operation.rb +1 -1
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/operation_display.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/operation_list_result.rb +97 -0
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/reboot_type.rb +17 -0
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/redis_access_keys.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/redis_create_parameters.rb +177 -0
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/redis_firewall_rule.rb +89 -0
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/redis_firewall_rule_list_result.rb +95 -0
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/redis_force_reboot_response.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/redis_key_type.rb +16 -0
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/redis_list_result.rb +94 -0
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/redis_patch_schedule.rb +1 -1
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/redis_reboot_parameters.rb +1 -1
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/redis_resource.rb +245 -0
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/redis_update_parameters.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/resource.rb +94 -0
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/schedule_entry.rb +1 -1
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/models/sku.rb +1 -1
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/sku_family.rb +16 -0
- data/lib/2016-04-01/generated/azure_mgmt_redis/models/sku_name.rb +17 -0
- data/lib/2016-04-01/generated/azure_mgmt_redis/module_definition.rb +9 -0
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/operations.rb +3 -3
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/patch_schedules.rb +5 -5
- data/lib/{generated → 2016-04-01/generated}/azure_mgmt_redis/redis.rb +19 -19
- data/lib/2016-04-01/generated/azure_mgmt_redis/redis_firewall_rule_operations.rb +325 -0
- data/lib/2016-04-01/generated/azure_mgmt_redis/redis_management_client.rb +147 -0
- data/lib/{generated/azure_mgmt_redis/module_definition.rb → 2016-04-01/generated/azure_mgmt_redis/version.rb} +3 -3
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis.rb +40 -40
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/firewall_rules.rb +7 -7
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/day_of_week.rb +23 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/export_rdbparameters.rb +64 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/import_rdbparameters.rb +61 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/operation.rb +55 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/operation_display.rb +75 -0
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/operation_list_result.rb +1 -1
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/proxy_resource.rb +1 -1
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/reboot_type.rb +17 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/redis_access_keys.rb +58 -0
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/redis_create_parameters.rb +1 -1
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/redis_firewall_rule.rb +1 -1
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/redis_firewall_rule_list_result.rb +1 -1
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/redis_force_reboot_response.rb +45 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/redis_key_type.rb +16 -0
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/redis_linked_server.rb +1 -1
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/redis_linked_server_create_parameters.rb +1 -1
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/redis_linked_server_list.rb +1 -1
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/redis_linked_server_with_properties.rb +1 -1
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/redis_linked_server_with_properties_list.rb +1 -1
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/redis_list_result.rb +1 -1
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/redis_patch_schedule.rb +97 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/redis_reboot_parameters.rb +57 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/redis_regenerate_key_parameters.rb +46 -0
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/redis_resource.rb +1 -1
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/redis_update_parameters.rb +149 -0
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/replication_role.rb +1 -1
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/resource.rb +1 -1
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/schedule_entry.rb +68 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/sku.rb +69 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/sku_family.rb +16 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/models/sku_name.rb +17 -0
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/models/tracked_resource.rb +1 -1
- data/lib/2017-02-01/generated/azure_mgmt_redis/module_definition.rb +9 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/operations.rb +220 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/patch_schedules.rb +316 -0
- data/lib/2017-02-01/generated/azure_mgmt_redis/redis.rb +1481 -0
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/redis_linked_server_operations.rb +7 -7
- data/lib/{generated → 2017-02-01/generated}/azure_mgmt_redis/redis_management_client.rb +3 -3
- data/lib/2017-02-01/generated/azure_mgmt_redis/version.rb +8 -0
- data/lib/azure_mgmt_redis.rb +4 -1
- data/lib/module_definition.rb +9 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/modules/redis_profile_module.rb +178 -0
- data/lib/profiles/latest/redis_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/redis_module_definition.rb +9 -0
- data/lib/version.rb +7 -0
- metadata +103 -43
@@ -0,0 +1,149 @@
|
|
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::V2015_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters supplied to CreateOrUpdate Redis operation.
|
10
|
+
#
|
11
|
+
class RedisProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] RedisVersion parameter has been deprecated. As such,
|
16
|
+
# it is no longer necessary to provide this parameter and any value
|
17
|
+
# specified is ignored.
|
18
|
+
attr_accessor :redis_version
|
19
|
+
|
20
|
+
# @return [Sku] What SKU of Redis cache to deploy.
|
21
|
+
attr_accessor :sku
|
22
|
+
|
23
|
+
# @return [Hash{String => String}] All Redis Settings. Few possible keys:
|
24
|
+
# 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
|
25
|
+
# etc.
|
26
|
+
attr_accessor :redis_configuration
|
27
|
+
|
28
|
+
# @return [Boolean] If the value is true, then the non-SLL Redis server
|
29
|
+
# port (6379) will be enabled.
|
30
|
+
attr_accessor :enable_non_ssl_port
|
31
|
+
|
32
|
+
# @return [Hash{String => String}] tenantSettings
|
33
|
+
attr_accessor :tenant_settings
|
34
|
+
|
35
|
+
# @return [Integer] The number of shards to be created on a Premium
|
36
|
+
# Cluster Cache.
|
37
|
+
attr_accessor :shard_count
|
38
|
+
|
39
|
+
# @return [String] The exact ARM resource ID of the virtual network to
|
40
|
+
# deploy the Redis cache in. Example format:
|
41
|
+
# /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.ClassicNetwork/VirtualNetworks/vnet1
|
42
|
+
attr_accessor :virtual_network
|
43
|
+
|
44
|
+
# @return [String] Required when deploying a Redis cache inside an
|
45
|
+
# existing Azure Virtual Network.
|
46
|
+
attr_accessor :subnet
|
47
|
+
|
48
|
+
# @return [String] Required when deploying a Redis cache inside an
|
49
|
+
# existing Azure Virtual Network.
|
50
|
+
attr_accessor :static_ip
|
51
|
+
|
52
|
+
|
53
|
+
#
|
54
|
+
# Mapper for RedisProperties class as Ruby Hash.
|
55
|
+
# This will be used for serialization/deserialization.
|
56
|
+
#
|
57
|
+
def self.mapper()
|
58
|
+
{
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'RedisProperties',
|
61
|
+
type: {
|
62
|
+
name: 'Composite',
|
63
|
+
class_name: 'RedisProperties',
|
64
|
+
model_properties: {
|
65
|
+
redis_version: {
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'redisVersion',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
sku: {
|
73
|
+
required: true,
|
74
|
+
serialized_name: 'sku',
|
75
|
+
type: {
|
76
|
+
name: 'Composite',
|
77
|
+
class_name: 'Sku'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
redis_configuration: {
|
81
|
+
required: false,
|
82
|
+
serialized_name: 'redisConfiguration',
|
83
|
+
type: {
|
84
|
+
name: 'Dictionary',
|
85
|
+
value: {
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'StringElementType',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
},
|
94
|
+
enable_non_ssl_port: {
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'enableNonSslPort',
|
97
|
+
type: {
|
98
|
+
name: 'Boolean'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
tenant_settings: {
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'tenantSettings',
|
104
|
+
type: {
|
105
|
+
name: 'Dictionary',
|
106
|
+
value: {
|
107
|
+
required: false,
|
108
|
+
serialized_name: 'StringElementType',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
},
|
115
|
+
shard_count: {
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'shardCount',
|
118
|
+
type: {
|
119
|
+
name: 'Number'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
virtual_network: {
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'virtualNetwork',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
subnet: {
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'subnet',
|
132
|
+
type: {
|
133
|
+
name: 'String'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
static_ip: {
|
137
|
+
required: false,
|
138
|
+
serialized_name: 'staticIP',
|
139
|
+
type: {
|
140
|
+
name: 'String'
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
149
|
+
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::V2015_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Specifies which Redis node(s) to reboot.
|
10
|
+
#
|
11
|
+
class RedisRebootParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [RebootType] Which Redis node(s) to reboot. Depending on this
|
16
|
+
# value data loss is possible. Possible values include: 'PrimaryNode',
|
17
|
+
# 'SecondaryNode', 'AllNodes'
|
18
|
+
attr_accessor :reboot_type
|
19
|
+
|
20
|
+
# @return [Integer] If clustering is enabled, the ID of the shared be
|
21
|
+
# rebooted.
|
22
|
+
attr_accessor :shard_id
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for RedisRebootParameters class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'RedisRebootParameters',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'RedisRebootParameters',
|
36
|
+
model_properties: {
|
37
|
+
reboot_type: {
|
38
|
+
required: true,
|
39
|
+
serialized_name: 'rebootType',
|
40
|
+
type: {
|
41
|
+
name: 'Enum',
|
42
|
+
module: 'RebootType'
|
43
|
+
}
|
44
|
+
},
|
45
|
+
shard_id: {
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'shardId',
|
48
|
+
type: {
|
49
|
+
name: 'Number'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,46 @@
|
|
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::V2015_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Specifies which Redis access keys to reset.
|
10
|
+
#
|
11
|
+
class RedisRegenerateKeyParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [RedisKeyType] Which Redis access key to reset. Possible values
|
16
|
+
# include: 'Primary', 'Secondary'
|
17
|
+
attr_accessor :key_type
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for RedisRegenerateKeyParameters class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'RedisRegenerateKeyParameters',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'RedisRegenerateKeyParameters',
|
31
|
+
model_properties: {
|
32
|
+
key_type: {
|
33
|
+
required: true,
|
34
|
+
serialized_name: 'keyType',
|
35
|
+
type: {
|
36
|
+
name: 'Enum',
|
37
|
+
module: 'RedisKeyType'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,234 @@
|
|
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::V2015_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A single Redis item in List or Get Operation.
|
10
|
+
#
|
11
|
+
class RedisResource < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] RedisVersion parameter has been deprecated. As such,
|
16
|
+
# it is no longer necessary to provide this parameter and any value
|
17
|
+
# specified is ignored.
|
18
|
+
attr_accessor :redis_version
|
19
|
+
|
20
|
+
# @return [Sku] What SKU of Redis cache to deploy.
|
21
|
+
attr_accessor :sku
|
22
|
+
|
23
|
+
# @return [Hash{String => String}] All Redis Settings. Few possible keys:
|
24
|
+
# 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
|
25
|
+
# etc.
|
26
|
+
attr_accessor :redis_configuration
|
27
|
+
|
28
|
+
# @return [Boolean] If the value is true, then the non-SLL Redis server
|
29
|
+
# port (6379) will be enabled.
|
30
|
+
attr_accessor :enable_non_ssl_port
|
31
|
+
|
32
|
+
# @return [Hash{String => String}] tenantSettings
|
33
|
+
attr_accessor :tenant_settings
|
34
|
+
|
35
|
+
# @return [Integer] The number of shards to be created on a Premium
|
36
|
+
# Cluster Cache.
|
37
|
+
attr_accessor :shard_count
|
38
|
+
|
39
|
+
# @return [String] The exact ARM resource ID of the virtual network to
|
40
|
+
# deploy the Redis cache in. Example format:
|
41
|
+
# /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.ClassicNetwork/VirtualNetworks/vnet1
|
42
|
+
attr_accessor :virtual_network
|
43
|
+
|
44
|
+
# @return [String] Required when deploying a Redis cache inside an
|
45
|
+
# existing Azure Virtual Network.
|
46
|
+
attr_accessor :subnet
|
47
|
+
|
48
|
+
# @return [String] Required when deploying a Redis cache inside an
|
49
|
+
# existing Azure Virtual Network.
|
50
|
+
attr_accessor :static_ip
|
51
|
+
|
52
|
+
# @return [String] Redis instance provisioning status.
|
53
|
+
attr_accessor :provisioning_state
|
54
|
+
|
55
|
+
# @return [String] Redis host name.
|
56
|
+
attr_accessor :host_name
|
57
|
+
|
58
|
+
# @return [Integer] Redis non-SSL port.
|
59
|
+
attr_accessor :port
|
60
|
+
|
61
|
+
# @return [Integer] Redis SSL port.
|
62
|
+
attr_accessor :ssl_port
|
63
|
+
|
64
|
+
|
65
|
+
#
|
66
|
+
# Mapper for RedisResource class as Ruby Hash.
|
67
|
+
# This will be used for serialization/deserialization.
|
68
|
+
#
|
69
|
+
def self.mapper()
|
70
|
+
{
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'RedisResource',
|
73
|
+
type: {
|
74
|
+
name: 'Composite',
|
75
|
+
class_name: 'RedisResource',
|
76
|
+
model_properties: {
|
77
|
+
id: {
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'id',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
name: {
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'name',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
type: {
|
94
|
+
required: false,
|
95
|
+
read_only: true,
|
96
|
+
serialized_name: 'type',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
location: {
|
102
|
+
required: true,
|
103
|
+
serialized_name: 'location',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
tags: {
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'tags',
|
111
|
+
type: {
|
112
|
+
name: 'Dictionary',
|
113
|
+
value: {
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'StringElementType',
|
116
|
+
type: {
|
117
|
+
name: 'String'
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
},
|
122
|
+
redis_version: {
|
123
|
+
required: false,
|
124
|
+
serialized_name: 'properties.redisVersion',
|
125
|
+
type: {
|
126
|
+
name: 'String'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
sku: {
|
130
|
+
required: true,
|
131
|
+
serialized_name: 'properties.sku',
|
132
|
+
type: {
|
133
|
+
name: 'Composite',
|
134
|
+
class_name: 'Sku'
|
135
|
+
}
|
136
|
+
},
|
137
|
+
redis_configuration: {
|
138
|
+
required: false,
|
139
|
+
serialized_name: 'properties.redisConfiguration',
|
140
|
+
type: {
|
141
|
+
name: 'Dictionary',
|
142
|
+
value: {
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'StringElementType',
|
145
|
+
type: {
|
146
|
+
name: 'String'
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
},
|
151
|
+
enable_non_ssl_port: {
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'properties.enableNonSslPort',
|
154
|
+
type: {
|
155
|
+
name: 'Boolean'
|
156
|
+
}
|
157
|
+
},
|
158
|
+
tenant_settings: {
|
159
|
+
required: false,
|
160
|
+
serialized_name: 'properties.tenantSettings',
|
161
|
+
type: {
|
162
|
+
name: 'Dictionary',
|
163
|
+
value: {
|
164
|
+
required: false,
|
165
|
+
serialized_name: 'StringElementType',
|
166
|
+
type: {
|
167
|
+
name: 'String'
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
},
|
172
|
+
shard_count: {
|
173
|
+
required: false,
|
174
|
+
serialized_name: 'properties.shardCount',
|
175
|
+
type: {
|
176
|
+
name: 'Number'
|
177
|
+
}
|
178
|
+
},
|
179
|
+
virtual_network: {
|
180
|
+
required: false,
|
181
|
+
serialized_name: 'properties.virtualNetwork',
|
182
|
+
type: {
|
183
|
+
name: 'String'
|
184
|
+
}
|
185
|
+
},
|
186
|
+
subnet: {
|
187
|
+
required: false,
|
188
|
+
serialized_name: 'properties.subnet',
|
189
|
+
type: {
|
190
|
+
name: 'String'
|
191
|
+
}
|
192
|
+
},
|
193
|
+
static_ip: {
|
194
|
+
required: false,
|
195
|
+
serialized_name: 'properties.staticIP',
|
196
|
+
type: {
|
197
|
+
name: 'String'
|
198
|
+
}
|
199
|
+
},
|
200
|
+
provisioning_state: {
|
201
|
+
required: false,
|
202
|
+
serialized_name: 'properties.provisioningState',
|
203
|
+
type: {
|
204
|
+
name: 'String'
|
205
|
+
}
|
206
|
+
},
|
207
|
+
host_name: {
|
208
|
+
required: false,
|
209
|
+
serialized_name: 'properties.hostName',
|
210
|
+
type: {
|
211
|
+
name: 'String'
|
212
|
+
}
|
213
|
+
},
|
214
|
+
port: {
|
215
|
+
required: false,
|
216
|
+
serialized_name: 'properties.port',
|
217
|
+
type: {
|
218
|
+
name: 'Number'
|
219
|
+
}
|
220
|
+
},
|
221
|
+
ssl_port: {
|
222
|
+
required: false,
|
223
|
+
serialized_name: 'properties.sslPort',
|
224
|
+
type: {
|
225
|
+
name: 'Number'
|
226
|
+
}
|
227
|
+
}
|
228
|
+
}
|
229
|
+
}
|
230
|
+
}
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|