tencentcloud-sdk-nodejs-redis 4.0.566 → 4.0.568

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2065,41 +2065,21 @@ export interface KillMasterGroupRequest {
2065
2065
  ShardIds?: Array<number>;
2066
2066
  }
2067
2067
  /**
2068
- * 实例字符型参数描述
2068
+ * CloneInstances返回参数结构体
2069
2069
  */
2070
- export interface InstanceTextParam {
2071
- /**
2072
- * 参数名
2073
- */
2074
- ParamName: string;
2075
- /**
2076
- * 参数类型:text
2077
- */
2078
- ValueType: string;
2070
+ export interface CloneInstancesResponse {
2079
2071
  /**
2080
- * 修改后是否需要重启:true,false
2072
+ * 请求任务 ID。
2081
2073
  */
2082
- NeedRestart: string;
2083
- /**
2084
- * 参数默认值
2085
- */
2086
- DefaultValue: string;
2087
- /**
2088
- * 当前运行参数值
2089
- */
2090
- CurrentValue: string;
2091
- /**
2092
- * 参数说明
2093
- */
2094
- Tips: string;
2074
+ DealId: string;
2095
2075
  /**
2096
- * 参数可取值
2076
+ * 克隆实例的 ID。
2097
2077
  */
2098
- TextValue: Array<string>;
2078
+ InstanceIds: Array<string>;
2099
2079
  /**
2100
- * 参数状态, 1: 修改中, 2:修改完成
2080
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2101
2081
  */
2102
- Status: number;
2082
+ RequestId?: string;
2103
2083
  }
2104
2084
  /**
2105
2085
  * 参数模板信息
@@ -2175,17 +2155,41 @@ export interface DescribeInstanceAccountRequest {
2175
2155
  Offset: number;
2176
2156
  }
2177
2157
  /**
2178
- * SwitchProxy请求参数结构体
2158
+ * 实例字符型参数描述
2179
2159
  */
2180
- export interface SwitchProxyRequest {
2160
+ export interface InstanceTextParam {
2181
2161
  /**
2182
- * 实例ID
2162
+ * 参数名
2183
2163
  */
2184
- InstanceId: string;
2164
+ ParamName: string;
2185
2165
  /**
2186
- * 实例ProxyID
2166
+ * 参数类型:text
2187
2167
  */
2188
- ProxyID?: string;
2168
+ ValueType: string;
2169
+ /**
2170
+ * 修改后是否需要重启:true,false
2171
+ */
2172
+ NeedRestart: string;
2173
+ /**
2174
+ * 参数默认值
2175
+ */
2176
+ DefaultValue: string;
2177
+ /**
2178
+ * 当前运行参数值
2179
+ */
2180
+ CurrentValue: string;
2181
+ /**
2182
+ * 参数说明
2183
+ */
2184
+ Tips: string;
2185
+ /**
2186
+ * 参数可取值
2187
+ */
2188
+ TextValue: Array<string>;
2189
+ /**
2190
+ * 参数状态, 1: 修改中, 2:修改完成
2191
+ */
2192
+ Status: number;
2189
2193
  }
2190
2194
  /**
2191
2195
  * DescribeInstanceParamRecords请求参数结构体
@@ -2296,6 +2300,87 @@ export interface DescribeTaskInfoRequest {
2296
2300
  */
2297
2301
  TaskId: number;
2298
2302
  }
2303
+ /**
2304
+ * CloneInstances请求参数结构体
2305
+ */
2306
+ export interface CloneInstancesRequest {
2307
+ /**
2308
+ * 当前实例ID。
2309
+ */
2310
+ InstanceId: string;
2311
+ /**
2312
+ * 单次克隆实例的数量。包年包月每次购买最大数量为100。按量计费每次购买最大数量为30,每个地域购买数量取值范围为[1,100]。
2313
+ */
2314
+ GoodsNum: number;
2315
+ /**
2316
+ * 克隆实例所属的可用区ID。当前所支持的可用区 ID,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
2317
+ */
2318
+ ZoneId: number;
2319
+ /**
2320
+ * 付费方式。<ul><li>0:按量计费。</li><li>1:包年包月。</li></ul>
2321
+ */
2322
+ BillingMode: number;
2323
+ /**
2324
+ * 购买实例时长。<ul><li>单位:月。</li><li>付费方式选择包年包月计费时,取值范围为[1,2,3,4,5,6,7,8,9,10,11,12,24,36,48,60]。</li><li>付费方式选择按量计费时,设置为1。</li></ul>
2325
+ */
2326
+ Period: number;
2327
+ /**
2328
+ * 安全组ID。请登录控制台,在<b>安全组</b>页面获取安全组 ID 信息。
2329
+ */
2330
+ SecurityGroupIdList: Array<string>;
2331
+ /**
2332
+ * 克隆实例使用的备份ID。请通过接口[DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011)获取备份ID。
2333
+ */
2334
+ BackupId: string;
2335
+ /**
2336
+ * 配置克隆实例是否支持免密访问。开启 SSL 与外网均不支持免密访问。<ul><li>true:免密实例,</li><li>false:非免密实例。默认为非免密实例。</li></ul>
2337
+ */
2338
+ NoAuth?: boolean;
2339
+ /**
2340
+ * 私有网络ID。如果未配置该参数,默认选择基础网络。
2341
+ */
2342
+ VpcId?: string;
2343
+ /**
2344
+ * 私有网络所属子网。基础网络时该参数无需配置。
2345
+ */
2346
+ SubnetId?: string;
2347
+ /**
2348
+ * 克隆实例的名称。<br>仅支持长度小于60的中文、英文或者数字,短划线"-"、下划线"_"。</br>
2349
+ */
2350
+ InstanceName?: string;
2351
+ /**
2352
+ * 克隆实例的访问密码。<ul><li>当输入参数<b>NoAuth</b>为<b>true</b>时,可不设置该参数。</li><li>当实例为Redis2.8、4.0和5.0时,其密码格式为:8-30个字符,至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头;</li><li>当实例为CKV 3.2时,其密码格式为:8-30个字符,必须包含字母和数字,且不包含其他字符。</li></ul>
2353
+ */
2354
+ Password?: string;
2355
+ /**
2356
+ * 自动续费标识。<ul><li>0:默认状态(手动续费)。</li><li>1:自动续费。</li><li>2:不自动续费,到期自动隔离。</li></ul>
2357
+ */
2358
+ AutoRenew?: number;
2359
+ /**
2360
+ * 用户自定义的端口,默认为6379,取值范围[1024,65535]。
2361
+ */
2362
+ VPort?: number;
2363
+ /**
2364
+ * 实例的节点信息。<ul><li>目前支持配置节点的类型(主节点或者副本节点),及其节点的可用区信息。具体信息,请参见[RedisNodeInfo](https://cloud.tencent.com/document/product/239/20022#RedisNodeInfo)。</li><li>单可用区部署可不配置该参数。</li></ul>
2365
+ */
2366
+ NodeSet?: Array<RedisNodeInfo>;
2367
+ /**
2368
+ * 项目 ID。登录控制台,可在右上角的<b>账号中心</b> > <b>项目管理</b>中查找项目ID。
2369
+ */
2370
+ ProjectId?: number;
2371
+ /**
2372
+ * 克隆实例需绑定的标签。
2373
+ */
2374
+ ResourceTags?: Array<ResourceTag>;
2375
+ /**
2376
+ * 克隆实例需要应用的参数模板ID,请登录 Redis 控制台,在<b>参数模板</b>页面获取。若不配置该参数,则应用默认的参数模板。
2377
+ */
2378
+ TemplateId?: string;
2379
+ /**
2380
+ * 指定克隆实例的告警策略 ID。请登录控制台,在<b>云监控</b> > <b>告警配置</b> > <b>告警策略</b>页面获取策略 ID 信息。
2381
+ */
2382
+ AlarmPolicyList?: Array<string>;
2383
+ }
2299
2384
  /**
2300
2385
  * ApplyParamsTemplate返回参数结构体
2301
2386
  */
@@ -4350,6 +4435,19 @@ export interface DescribeParamTemplateInfoResponse {
4350
4435
  */
4351
4436
  RequestId?: string;
4352
4437
  }
4438
+ /**
4439
+ * SwitchProxy请求参数结构体
4440
+ */
4441
+ export interface SwitchProxyRequest {
4442
+ /**
4443
+ * 实例ID
4444
+ */
4445
+ InstanceId: string;
4446
+ /**
4447
+ * 实例ProxyID
4448
+ */
4449
+ ProxyID?: string;
4450
+ }
4353
4451
  /**
4354
4452
  * DescribeProductInfo请求参数结构体
4355
4453
  */