Skip to content

Commit d59d6ad

Browse files
Merge pull request #185 from jdcloud-apigateway/master
redis-v1-2.6.24
2 parents 38ae799 + d0c9431 commit d59d6ad

66 files changed

Lines changed: 377 additions & 254 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

services/redis/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ API版本:2.6.22
44

55
| 发布时间 | 版本号 | 更新 | 说明 |
66
| ---------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7+
| 2022-09-05 | 2.6.24 | 新增接口 | 新增接口describeHotKeySummary、describeHotKeyDetail |
8+
| 2022-08-19 | 2.6.23 | 更新接口 | 修改接口describeClientPerfData、filteredClientPerfData的返回字段 |
79
| 2022-08-16 | 2.6.22 | 新增接口 | 新增接口modifyAccounts |
810
| 2022-08-15 | 2.6.21 | 新增接口 | 新增接口checkInstances |
911
| 2022-08-05 | 2.6.20 | 新增接口 | 新增接口createBigKeyAnalysis2、describeBigKeyList2、describeBigKeyDetail2、modifyBigKeyAnalysisTime2、describeBigKeyAnalysisTime2、modifyAnalysisThreshold2、describeAnalysisThreshold2、describeHotKeyResult2、describeHotKeyDetail2 |

services/redis/apis/CreateAccount.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ type CreateAccountRequest struct {
4141

4242
/* 账号描述 (Optional) */
4343
AccountDescription *string `json:"accountDescription"`
44-
4544
}
4645

4746
/*
@@ -123,27 +122,22 @@ func NewCreateAccountRequestWithoutParam() *CreateAccountRequest {
123122
func (r *CreateAccountRequest) SetRegionId(regionId string) {
124123
r.RegionId = regionId
125124
}
126-
127125
/* param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required) */
128126
func (r *CreateAccountRequest) SetCacheInstanceId(cacheInstanceId string) {
129127
r.CacheInstanceId = cacheInstanceId
130128
}
131-
132129
/* param accountName: 账号名称(Required) */
133130
func (r *CreateAccountRequest) SetAccountName(accountName string) {
134131
r.AccountName = accountName
135132
}
136-
137133
/* param accountPassword: 账号密码(Required) */
138134
func (r *CreateAccountRequest) SetAccountPassword(accountPassword string) {
139135
r.AccountPassword = accountPassword
140136
}
141-
142137
/* param accountPrivilege: 账号权限,默认为读写权限。支持RoleReadOnly(只读权限)、RoleReadWrite(读写权限)(Optional) */
143138
func (r *CreateAccountRequest) SetAccountPrivilege(accountPrivilege string) {
144139
r.AccountPrivilege = &accountPrivilege
145140
}
146-
147141
/* param accountDescription: 账号描述(Optional) */
148142
func (r *CreateAccountRequest) SetAccountDescription(accountDescription string) {
149143
r.AccountDescription = &accountDescription

services/redis/apis/CreateBackup.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ type CreateBackupRequest struct {
3535

3636
/* 备份类型:手动备份为1,只能为手动备份 */
3737
BackupType int `json:"backupType"`
38-
3938
}
4039

4140
/*
@@ -111,17 +110,14 @@ func NewCreateBackupRequestWithoutParam() *CreateBackupRequest {
111110
func (r *CreateBackupRequest) SetRegionId(regionId string) {
112111
r.RegionId = regionId
113112
}
114-
115113
/* param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required) */
116114
func (r *CreateBackupRequest) SetCacheInstanceId(cacheInstanceId string) {
117115
r.CacheInstanceId = cacheInstanceId
118116
}
119-
120117
/* param fileName: 备份文件名称,只支持英文数字和下划线的组合,长度不超过32个字符(Required) */
121118
func (r *CreateBackupRequest) SetFileName(fileName string) {
122119
r.FileName = fileName
123120
}
124-
125121
/* param backupType: 备份类型:手动备份为1,只能为手动备份(Required) */
126122
func (r *CreateBackupRequest) SetBackupType(backupType int) {
127123
r.BackupType = backupType

services/redis/apis/CreateBigKeyAnalysis.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ type CreateBigKeyAnalysisRequest struct {
4747

4848
/* top值,范围10~1000 (Optional) */
4949
Top *int `json:"top"`
50-
5150
}
5251

5352
/*
@@ -129,37 +128,30 @@ func NewCreateBigKeyAnalysisRequestWithoutParam() *CreateBigKeyAnalysisRequest {
129128
func (r *CreateBigKeyAnalysisRequest) SetRegionId(regionId string) {
130129
r.RegionId = regionId
131130
}
132-
133131
/* param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required) */
134132
func (r *CreateBigKeyAnalysisRequest) SetCacheInstanceId(cacheInstanceId string) {
135133
r.CacheInstanceId = cacheInstanceId
136134
}
137-
138135
/* param stringSize: String类型阈值(Optional) */
139136
func (r *CreateBigKeyAnalysisRequest) SetStringSize(stringSize int) {
140137
r.StringSize = &stringSize
141138
}
142-
143139
/* param listSize: List类型阈值(Optional) */
144140
func (r *CreateBigKeyAnalysisRequest) SetListSize(listSize int) {
145141
r.ListSize = &listSize
146142
}
147-
148143
/* param hashSize: Hash类型阈值(Optional) */
149144
func (r *CreateBigKeyAnalysisRequest) SetHashSize(hashSize int) {
150145
r.HashSize = &hashSize
151146
}
152-
153147
/* param setSize: Set类型阈值(Optional) */
154148
func (r *CreateBigKeyAnalysisRequest) SetSetSize(setSize int) {
155149
r.SetSize = &setSize
156150
}
157-
158151
/* param zsetSize: Zset类型阈值(Optional) */
159152
func (r *CreateBigKeyAnalysisRequest) SetZsetSize(zsetSize int) {
160153
r.ZsetSize = &zsetSize
161154
}
162-
163155
/* param top: top值,范围10~1000(Optional) */
164156
func (r *CreateBigKeyAnalysisRequest) SetTop(top int) {
165157
r.Top = &top

services/redis/apis/CreateBigKeyAnalysis2.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ type CreateBigKeyAnalysis2Request struct {
4444

4545
/* Zset类型阈值,最小1000 (Optional) */
4646
ZsetSize *int `json:"zsetSize"`
47-
4847
}
4948

5049
/*
@@ -123,32 +122,26 @@ func NewCreateBigKeyAnalysis2RequestWithoutParam() *CreateBigKeyAnalysis2Request
123122
func (r *CreateBigKeyAnalysis2Request) SetRegionId(regionId string) {
124123
r.RegionId = regionId
125124
}
126-
127125
/* param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required) */
128126
func (r *CreateBigKeyAnalysis2Request) SetCacheInstanceId(cacheInstanceId string) {
129127
r.CacheInstanceId = cacheInstanceId
130128
}
131-
132129
/* param stringSize: String类型阈值,最小10240(Optional) */
133130
func (r *CreateBigKeyAnalysis2Request) SetStringSize(stringSize int) {
134131
r.StringSize = &stringSize
135132
}
136-
137133
/* param listSize: List类型阈值,最小1000(Optional) */
138134
func (r *CreateBigKeyAnalysis2Request) SetListSize(listSize int) {
139135
r.ListSize = &listSize
140136
}
141-
142137
/* param hashSize: Hash类型阈值,最小1000(Optional) */
143138
func (r *CreateBigKeyAnalysis2Request) SetHashSize(hashSize int) {
144139
r.HashSize = &hashSize
145140
}
146-
147141
/* param setSize: Set类型阈值,最小1000(Optional) */
148142
func (r *CreateBigKeyAnalysis2Request) SetSetSize(setSize int) {
149143
r.SetSize = &setSize
150144
}
151-
152145
/* param zsetSize: Zset类型阈值,最小1000(Optional) */
153146
func (r *CreateBigKeyAnalysis2Request) SetZsetSize(zsetSize int) {
154147
r.ZsetSize = &zsetSize

services/redis/apis/CreateCacheAnalysis.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ type CreateCacheAnalysisRequest struct {
2929

3030
/* 缓存Redis实例ID,是访问实例的唯一标识 */
3131
CacheInstanceId string `json:"cacheInstanceId"`
32-
3332
}
3433

3534
/*
@@ -93,7 +92,6 @@ func NewCreateCacheAnalysisRequestWithoutParam() *CreateCacheAnalysisRequest {
9392
func (r *CreateCacheAnalysisRequest) SetRegionId(regionId string) {
9493
r.RegionId = regionId
9594
}
96-
9795
/* param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required) */
9896
func (r *CreateCacheAnalysisRequest) SetCacheInstanceId(cacheInstanceId string) {
9997
r.CacheInstanceId = cacheInstanceId

services/redis/apis/CreateCacheInstance.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ type CreateCacheInstanceRequest struct {
3434

3535
/* 实例的计费类型 (Optional) */
3636
Charge *charge.ChargeSpec `json:"charge"`
37-
3837
}
3938

4039
/*
@@ -101,12 +100,10 @@ func NewCreateCacheInstanceRequestWithoutParam() *CreateCacheInstanceRequest {
101100
func (r *CreateCacheInstanceRequest) SetRegionId(regionId string) {
102101
r.RegionId = regionId
103102
}
104-
105103
/* param cacheInstance: 实例的创建参数(Required) */
106104
func (r *CreateCacheInstanceRequest) SetCacheInstance(cacheInstance *redis.CacheInstanceSpec) {
107105
r.CacheInstance = cacheInstance
108106
}
109-
110107
/* param charge: 实例的计费类型(Optional) */
111108
func (r *CreateCacheInstanceRequest) SetCharge(charge *charge.ChargeSpec) {
112109
r.Charge = charge

services/redis/apis/DeleteAccount.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ type DeleteAccountRequest struct {
3232

3333
/* 账号名称 */
3434
AccountName string `json:"accountName"`
35-
3635
}
3736

3837
/*
@@ -102,12 +101,10 @@ func NewDeleteAccountRequestWithoutParam() *DeleteAccountRequest {
102101
func (r *DeleteAccountRequest) SetRegionId(regionId string) {
103102
r.RegionId = regionId
104103
}
105-
106104
/* param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required) */
107105
func (r *DeleteAccountRequest) SetCacheInstanceId(cacheInstanceId string) {
108106
r.CacheInstanceId = cacheInstanceId
109107
}
110-
111108
/* param accountName: 账号名称(Required) */
112109
func (r *DeleteAccountRequest) SetAccountName(accountName string) {
113110
r.AccountName = accountName

services/redis/apis/DeleteCacheInstance.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ type DeleteCacheInstanceRequest struct {
2929

3030
/* 缓存Redis实例ID,是访问实例的唯一标识 */
3131
CacheInstanceId string `json:"cacheInstanceId"`
32-
3332
}
3433

3534
/*
@@ -93,7 +92,6 @@ func NewDeleteCacheInstanceRequestWithoutParam() *DeleteCacheInstanceRequest {
9392
func (r *DeleteCacheInstanceRequest) SetRegionId(regionId string) {
9493
r.RegionId = regionId
9594
}
96-
9795
/* param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required) */
9896
func (r *DeleteCacheInstanceRequest) SetCacheInstanceId(cacheInstanceId string) {
9997
r.CacheInstanceId = cacheInstanceId

services/redis/apis/DescribeAccounts.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ type DescribeAccountsRequest struct {
3030

3131
/* 缓存Redis实例ID,是访问实例的唯一标识 */
3232
CacheInstanceId string `json:"cacheInstanceId"`
33-
3433
}
3534

3635
/*
@@ -94,7 +93,6 @@ func NewDescribeAccountsRequestWithoutParam() *DescribeAccountsRequest {
9493
func (r *DescribeAccountsRequest) SetRegionId(regionId string) {
9594
r.RegionId = regionId
9695
}
97-
9896
/* param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识(Required) */
9997
func (r *DescribeAccountsRequest) SetCacheInstanceId(cacheInstanceId string) {
10098
r.CacheInstanceId = cacheInstanceId

0 commit comments

Comments
 (0)