Skip to content

Commit 2622677

Browse files
authored
sdk: rolling update for 0.22.40 (#446)
1 parent 155a500 commit 2622677

File tree

5 files changed

+45
-36
lines changed

5 files changed

+45
-36
lines changed

services/umem/apis.go

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,13 +1011,13 @@ func (c *UMemClient) DescribeUMem(req *DescribeUMemRequest) (*DescribeUMemRespon
10111011
type DescribeUMemBackupRequest struct {
10121012
request.CommonBase
10131013

1014-
// [公共参数] 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
1014+
// [公共参数] 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
10151015
// ProjectId *string `required:"false"`
10161016

1017-
// [公共参数] 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
1017+
// [公共参数] 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
10181018
// Region *string `required:"true"`
10191019

1020-
// [公共参数] 可用区。参见 [可用区列表](../summary/regionlist.html)
1020+
// [公共参数] 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
10211021
// Zone *string `required:"true"`
10221022

10231023
// 分页显示的条目数, 默认值为10
@@ -1036,6 +1036,9 @@ type DescribeUMemBackupResponse struct {
10361036

10371037
// 分布式redis 备份,数组的每个元素为每个分片的备份
10381038
DataSet []UMemBackupSet
1039+
1040+
// 备份总数
1041+
TotalCount int
10391042
}
10401043

10411044
// NewDescribeUMemBackupRequest will create request of DescribeUMemBackup action.
@@ -1635,20 +1638,23 @@ func (c *UMemClient) DescribeUMemcacheUpgradePrice(req *DescribeUMemcacheUpgrade
16351638
type DescribeURedisBackupRequest struct {
16361639
request.CommonBase
16371640

1638-
// [公共参数] 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
1641+
// [公共参数] 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
16391642
// ProjectId *string `required:"false"`
16401643

1641-
// [公共参数] 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
1644+
// [公共参数] 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
16421645
// Region *string `required:"true"`
16431646

16441647
// 组的ID
1645-
GroupId *string `required:"false"`
1648+
GroupId *string `required:"true"`
16461649

16471650
// 分页显示的条目数, 默认值为10
16481651
Limit *int `required:"false"`
16491652

16501653
// 分页显示的起始偏移, 默认值为0
16511654
Offset *int `required:"false"`
1655+
1656+
// 跨机房URedis,slave所在可用区(必须和Zone在同一Region,且不可相同)
1657+
SlaveZone *string `required:"false"`
16521658
}
16531659

16541660
// DescribeURedisBackupResponse is response schema for DescribeURedisBackup action

services/umem/models.go

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@ type UDRedisSlowlogSet struct {
4141
StartTime int
4242
}
4343

44+
/*
45+
UMemSpaceAddressSet - DescribeUMemSpace
46+
*/
47+
type UMemSpaceAddressSet struct {
48+
49+
// UMem实例访问IP
50+
IP string
51+
52+
// UMem实例访问Port
53+
Port int
54+
}
55+
4456
/*
4557
UMemSlaveDataSet - DescribeUMem
4658
*/
@@ -116,18 +128,6 @@ type UMemSlaveDataSet struct {
116128
Zone string
117129
}
118130

119-
/*
120-
UMemSpaceAddressSet - DescribeUMemSpace
121-
*/
122-
type UMemSpaceAddressSet struct {
123-
124-
// UMem实例访问IP
125-
IP string
126-
127-
// UMem实例访问Port
128-
Port int
129-
}
130-
131131
/*
132132
UMemDataSet - DescribeUMem
133133
*/
@@ -229,6 +229,9 @@ type UMemBackupSet struct {
229229
// 本次备份,分片的数量
230230
BlockCount int
231231

232+
// 备份大小
233+
BlockSize int
234+
232235
// 创建时间
233236
CreateTime int
234237

services/vpc/apis.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3023,7 +3023,7 @@ type DescribeSecGroupRequest struct {
30233023
request.CommonBase
30243024

30253025
// [公共参数] 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
3026-
// ProjectId *int `required:"false"`
3026+
// ProjectId *string `required:"false"`
30273027

30283028
// [公共参数] 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
30293029
// Region *string `required:"true"`
@@ -3083,7 +3083,7 @@ type DescribeSecGroupResourceRequest struct {
30833083
request.CommonBase
30843084

30853085
// [公共参数] 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
3086-
// ProjectId *int `required:"false"`
3086+
// ProjectId *string `required:"false"`
30873087

30883088
// [公共参数] 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
30893089
// Region *string `required:"true"`

services/vpc/models.go

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -215,21 +215,6 @@ type NatGWIPResInfo struct {
215215
OperatorName string
216216
}
217217

218-
/*
219-
NatGatewaySubnetSet - natgw里面的子网信息
220-
*/
221-
type NatGatewaySubnetSet struct {
222-
223-
// 子网网段
224-
Subnet string
225-
226-
// 子网名字
227-
SubnetName string
228-
229-
// 子网id
230-
SubnetworkId string
231-
}
232-
233218
/*
234219
NatGatewayIPSet - IPSet信息
235220
*/
@@ -251,6 +236,21 @@ type NatGatewayIPSet struct {
251236
Weight int
252237
}
253238

239+
/*
240+
NatGatewaySubnetSet - natgw里面的子网信息
241+
*/
242+
type NatGatewaySubnetSet struct {
243+
244+
// 子网网段
245+
Subnet string
246+
247+
// 子网名字
248+
SubnetName string
249+
250+
// 子网id
251+
SubnetworkId string
252+
}
253+
254254
/*
255255
NatGatewayDataSet - natgw的信息
256256
*/

ucloud/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
package version
22

3-
const Version = "0.22.39"
3+
const Version = "0.22.40"

0 commit comments

Comments
 (0)