@@ -163,6 +163,8 @@ def create_umem_space(
163
163
- **ProxyPort** (int) - 代理端口, 默认为 6379
164
164
- **ProxySize** (int) - 分布式代理CPU核数,不填或者传0时默认不创建代理
165
165
- **Quantity** (int) - 购买时长 默认: 1
166
+ - **RollbackSpaceId** (str) - 如果是通过回档创建,该实例ID不为空
167
+ - **RollbackTime** (int) - 要回档的时间戳
166
168
- **SlaveZone** (str) - 跨机房UDRedis,slave所在可用区(必须和Zone在同一Region,且不可相同)
167
169
- **SpaceId** (str) - 集群ID,选择某个备份创建时,需要填写源集群ID
168
170
- **SubnetId** (str) - 子网ID
@@ -458,6 +460,7 @@ def describe_ud_redis_slowlog(
458
460
459
461
**UDRedisSlowlogSet**
460
462
- **BlockId** (str) - 分片id
463
+ - **Client** (str) - 慢日志的的客户信息
461
464
- **Command** (str) - 查询命令
462
465
- **SpendTime** (int) - 查询消耗的时间
463
466
- **StartTime** (int) - 查询发生的时间
@@ -577,16 +580,17 @@ def describe_umem_backup(
577
580
578
581
**Request**
579
582
580
- - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list.html >`_
581
- - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist.html >`_
583
+ - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list>`_
584
+ - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
582
585
- **SpaceId** (str) - (Required) 资源id
583
- - **Zone** (str) - (Required) 可用区。参见 `可用区列表 <https://docs.ucloud.cn/api/summary/regionlist.html >`_
586
+ - **Zone** (str) - (Required) 可用区。参见 `可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
584
587
- **Limit** (int) - 分页显示的条目数, 默认值为10
585
588
- **Offset** (int) - 分页显示的起始偏移, 默认值为0
586
589
587
590
**Response**
588
591
589
592
- **DataSet** (list) - 见 **UMemBackupSet** 模型定义
593
+ - **TotalCount** (int) - 备份总数
590
594
591
595
**Response Model**
592
596
@@ -595,6 +599,7 @@ def describe_umem_backup(
595
599
- **BackupName** (str) - 备份名称
596
600
- **BackupType** (str) - 备份类型: auto(自动) ,manual(手动)
597
601
- **BlockCount** (int) - 本次备份,分片的数量
602
+ - **BlockSize** (int) - 备份大小
598
603
- **CreateTime** (int) - 创建时间
599
604
- **State** (str) - Starting:备份中 Done:完成
600
605
@@ -735,17 +740,17 @@ def describe_umem_price(
735
740
def describe_umem_space (
736
741
self , req : typing .Optional [dict ] = None , ** kwargs
737
742
) -> dict :
738
- """DescribeUMemSpace - 获取UMem内存空间列表
743
+ """DescribeUMemSpace - 获取UMem内存空间列表(已废弃,建议是使用DescribeUMem接口)
739
744
740
745
**Request**
741
746
742
- - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list.html >`_
743
- - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist.html >`_
747
+ - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list>`_
748
+ - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
744
749
- **Limit** (int) - 返回数据长度, 默认为20
745
750
- **Offset** (int) - 数据偏移量, 默认为0
746
751
- **Protocol** (str) - 协议类型: memcache, redis
747
752
- **SpaceId** (str) - 内存空间ID (无ID,则获取所有)
748
- - **Zone** (str) - 可用区。参见 `可用区列表 <https://docs.ucloud.cn/api/summary/regionlist.html >`_
753
+ - **Zone** (str) - 可用区。参见 `可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
749
754
750
755
**Response**
751
756
@@ -756,6 +761,7 @@ def describe_umem_space(
756
761
757
762
**UMemSpaceSet**
758
763
- **Address** (list) - 见 **UMemSpaceAddressSet** 模型定义
764
+ - **AofRollbackEnable** (bool) - 实例是否开启了回档
759
765
- **ChargeType** (str) - Year, Month, Dynamic, Trial
760
766
- **CreateTime** (int) - 创建时间
761
767
- **ExpireTime** (int) - 到期时间
@@ -765,11 +771,12 @@ def describe_umem_space(
765
771
- **Size** (int) - 容量单位GB
766
772
- **SpaceId** (str) - 内存空间ID
767
773
- **State** (str) - Starting:创建中 Running:运行中 Fail:失败
768
- - **SubnetId** (str) -
769
- - **Tag** (str) -
774
+ - **SubnetId** (str) - 子网ID
775
+ - **SupportAofRollback** (bool) - 实例是否支持回档
776
+ - **Tag** (str) - 实例tag
770
777
- **Type** (str) - 空间类型:single(无热备),double(热备)
771
778
- **UsedSize** (int) - 使用量单位MB
772
- - **VPCId** (str) -
779
+ - **VPCId** (str) - VPC ID
773
780
- **Zone** (str) - 可用区,参见 `可用区列表 <https://docs.ucloud.cn/api/summary/regionlist.html>`_
774
781
775
782
@@ -966,11 +973,12 @@ def describe_uredis_backup(
966
973
967
974
**Request**
968
975
969
- - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list.html >`_
970
- - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist.html >`_
971
- - **GroupId** (str) - 组的ID
976
+ - **ProjectId** (str) - (Config) 项目ID。不填写为默认项目,子帐号必须填写。 请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list>`_
977
+ - **Region** (str) - (Config) 地域。 参见 `地域和可用区列表 <https://docs.ucloud.cn/api/summary/regionlist>`_
978
+ - **GroupId** (str) - (Required) 组的ID
972
979
- **Limit** (int) - 分页显示的条目数, 默认值为10
973
980
- **Offset** (int) - 分页显示的起始偏移, 默认值为0
981
+ - **SlaveZone** (str) - 跨机房URedis,slave所在可用区(必须和Zone在同一Region,且不可相同)
974
982
975
983
**Response**
976
984
@@ -1086,7 +1094,7 @@ def describe_uredis_config(
1086
1094
def describe_uredis_group (
1087
1095
self , req : typing .Optional [dict ] = None , ** kwargs
1088
1096
) -> dict :
1089
- """DescribeURedisGroup - 查询主备Redis
1097
+ """DescribeURedisGroup - 查询主备Redis(已废弃,建议使用DescribeUMem)
1090
1098
1091
1099
**Request**
1092
1100
@@ -1122,9 +1130,13 @@ def describe_uredis_group(
1122
1130
- **Protocol** (str) - 协议
1123
1131
- **RewriteTime** (int) - 返回运维时间 0 //0点 1 //1点 以此类推
1124
1132
- **Role** (str) - 实例类型
1133
+ - **SSLCertExpireTime** (int) - 证书过期时间
1134
+ - **SSLEnable** (bool) - 实例是否开启SSL
1135
+ - **SSLVersion** (str) - SSL版本
1136
+ - **SecPolicy** (int) - 安全策略。1:内网隔离,2:加密通信,3:内网隔离+加密通信
1125
1137
- **Size** (int) - 容量单位GB
1126
1138
- **SlaveZone** (str) - 跨机房URedis,slave redis所在可用区,参见 `可用区列表 <https://docs.ucloud.cn/api/summary/regionlist.html>`_
1127
- - **State** (str) - 状态标记 Creating // 初始化中 CreateFail // 创建失败 Deleting // 删除中 DeleteFail // 删除失败 Running // 运行 Resizing // 容量调整中 ResizeFail // 容量调整失败 Configing // 配置中 ConfigFail // 配置失败
1139
+ - **State** (str) - 状态标记 Creating // 初始化中 CreateFail // 创建失败 Deleting // 删除中 DeleteFail // 删除失败 Running // 运行 Resizing // 容量调整中 ResizeFail // 容量调整失败 Configing // 配置中 ConfigFail // 配置失败// 修改SSL中SSLSwitching //SSLSwitchFail修改SSL失败
1128
1140
- **SubnetId** (str) - subnetid
1129
1141
- **Tag** (str) - 业务组名称
1130
1142
- **Type** (str) - 空间类型:single(无热备),double(热备)
@@ -1595,7 +1607,7 @@ def resize_ud_redis_block_size(
1595
1607
def resize_umem_space (
1596
1608
self , req : typing .Optional [dict ] = None , ** kwargs
1597
1609
) -> dict :
1598
- """ResizeUMemSpace - 调整内存空间容量,只支持存量老分布式产品,不支持高性能分布式
1610
+ """ResizeUMemSpace - 调整内存空间容量,只支持存量老分布式产品,不支持高性能分布式。(已废弃,不建议使用)
1599
1611
1600
1612
**Request**
1601
1613
0 commit comments