File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ func TestDatabase_Create(t *testing.T) {
2626 "dataPersistence": "none",
2727 "dataEvictionPolicy": "allkeys-lru",
2828 "queryPerformanceFactor": "6x",
29+ "redisVersion": "6.0.5",
2930 "replication": true,
3031 "throughputMeasurement": {
3132 "by": "operations-per-second",
@@ -96,6 +97,7 @@ func TestDatabase_Create(t *testing.T) {
9697 DataPersistence : redis .String ("none" ),
9798 DataEvictionPolicy : redis .String ("allkeys-lru" ),
9899 QueryPerformanceFactor : redis .String ("6x" ),
100+ RedisVersion : redis .String ("6.0.5" ),
99101 Replication : redis .Bool (true ),
100102 ThroughputMeasurement : & databases.CreateThroughputMeasurement {
101103 By : redis .String ("operations-per-second" ),
@@ -139,6 +141,7 @@ func TestDatabase_List(t *testing.T) {
139141 "provider": "AWS",
140142 "region": "eu-west-1",
141143 "queryPerformanceFactor": "Standard"
144+
142145 },
143146 {
144147 "databaseId": 43,
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ type CreateDatabase struct {
3434 PortNumber * int `json:"port,omitempty"`
3535 RemoteBackup * DatabaseBackupConfig `json:"remoteBackup,omitempty"`
3636 QueryPerformanceFactor * string `json:"queryPerformanceFactor,omitempty"`
37+ RedisVersion * string `json:"redisVersion,omitempty"`
3738}
3839
3940func (o CreateDatabase ) String () string {
@@ -80,6 +81,7 @@ type Database struct {
8081 RedisVersionCompliance * string `json:"redisVersionCompliance,omitempty"`
8182 Backup * Backup `json:"backup,omitempty"`
8283 QueryPerformanceFactor * string `json:"queryPerformanceFactor,omitempty"`
84+ RedisVersion * string `json:"redisVersion,omitempty"`
8385}
8486
8587func (o Database ) String () string {
You can’t perform that action at this time.
0 commit comments