tccli 3.0.1085.1__py2.py3-none-any.whl → 3.0.1086.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -196,6 +196,13 @@
196
196
  "output": "DescribeInstanceDealDetailResponse",
197
197
  "status": "online"
198
198
  },
199
+ "DescribeInstanceEvents": {
200
+ "document": "本接口(DescribeInstanceEvents)用于查询 Redis 实例事件信息。",
201
+ "input": "DescribeInstanceEventsRequest",
202
+ "name": "查询实例事件信息",
203
+ "output": "DescribeInstanceEventsResponse",
204
+ "status": "online"
205
+ },
199
206
  "DescribeInstanceMonitorBigKey": {
200
207
  "document": "腾讯云数据库 Redis 已经于2022年10月31日下线查询实例大 Key 接口。具体公告,请参见[查询实例大 Key 接口下线公告](https://cloud.tencent.com/document/product/239/81005)。",
201
208
  "input": "DescribeInstanceMonitorBigKeyRequest",
@@ -525,6 +532,13 @@
525
532
  "output": "ModifyInstanceAvailabilityZonesResponse",
526
533
  "status": "online"
527
534
  },
535
+ "ModifyInstanceEvent": {
536
+ "document": "本接口(ModifyInstanceEvent)用于修改实例的运维事件的执行计划。",
537
+ "input": "ModifyInstanceEventRequest",
538
+ "name": "修改实例事件",
539
+ "output": "ModifyInstanceEventResponse",
540
+ "status": "online"
541
+ },
528
542
  "ModifyInstanceParams": {
529
543
  "document": "本接口(ModifyInstanceParams)用于修改Redis实例的参数配置。",
530
544
  "input": "ModifyInstanceParamsRequest",
@@ -3192,6 +3206,116 @@
3192
3206
  ],
3193
3207
  "type": "object"
3194
3208
  },
3209
+ "DescribeInstanceEventsRequest": {
3210
+ "document": "DescribeInstanceEvents请求参数结构体",
3211
+ "members": [
3212
+ {
3213
+ "disabled": false,
3214
+ "document": "配置查询事件执行计划的起始日期。",
3215
+ "example": "2018-09-10",
3216
+ "member": "string",
3217
+ "name": "ExecutionStartDate",
3218
+ "required": true,
3219
+ "type": "string"
3220
+ },
3221
+ {
3222
+ "disabled": false,
3223
+ "document": "配置查询事件执行计划的结束日期。",
3224
+ "example": "2018-09-10",
3225
+ "member": "string",
3226
+ "name": "ExecutionEndDate",
3227
+ "required": true,
3228
+ "type": "string"
3229
+ },
3230
+ {
3231
+ "disabled": false,
3232
+ "document": "指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。",
3233
+ "example": "crs-asdasdas",
3234
+ "member": "string",
3235
+ "name": "InstanceId",
3236
+ "required": false,
3237
+ "type": "string"
3238
+ },
3239
+ {
3240
+ "disabled": false,
3241
+ "document": "输出每页显示事件的数量,默认:10。",
3242
+ "example": "10",
3243
+ "member": "int64",
3244
+ "name": "PageSize",
3245
+ "required": false,
3246
+ "type": "int"
3247
+ },
3248
+ {
3249
+ "disabled": false,
3250
+ "document": "配置查询事件的输出页码,即支持根据PageNo(页码)与 PageSize (每页输出数量)查询某一页的事件。默认:1。",
3251
+ "example": "1",
3252
+ "member": "int64",
3253
+ "name": "PageNo",
3254
+ "required": false,
3255
+ "type": "int"
3256
+ },
3257
+ {
3258
+ "disabled": false,
3259
+ "document": "事件当前状态。\n- Waiting:未到达执行日期或不在维护时间窗内的事件。\n- Running:在维护时间窗内,正在执行维护的事件。\n- Finished:已全部完成维护的事件。\n- Canceled:已取消执行的事件。",
3260
+ "example": "Running",
3261
+ "member": "string",
3262
+ "name": "Status",
3263
+ "required": false,
3264
+ "type": "list"
3265
+ },
3266
+ {
3267
+ "disabled": false,
3268
+ "document": "事件类型,当前仅支持配置实例迁移、资源腾挪、机房裁撤相关的运维操作。该参数仅支持配置为 **InstanceMigration**。",
3269
+ "example": "InstanceMigration",
3270
+ "member": "string",
3271
+ "name": "EventTypes",
3272
+ "required": false,
3273
+ "type": "list"
3274
+ },
3275
+ {
3276
+ "disabled": false,
3277
+ "document": "配置查询事件等级。事件等级根据其影响严重程度和紧急程度进行分级,由重至轻依次为关键、重要、中等、一般。\n- Critical:关键\n- High:重要\n- Middle:中等\n- Low:一般",
3278
+ "example": "Low",
3279
+ "member": "string",
3280
+ "name": "Grades",
3281
+ "required": false,
3282
+ "type": "list"
3283
+ }
3284
+ ],
3285
+ "type": "object"
3286
+ },
3287
+ "DescribeInstanceEventsResponse": {
3288
+ "document": "DescribeInstanceEvents返回参数结构体",
3289
+ "members": [
3290
+ {
3291
+ "disabled": false,
3292
+ "document": "总条数",
3293
+ "example": "100",
3294
+ "member": "int64",
3295
+ "name": "TotalCount",
3296
+ "output_required": true,
3297
+ "type": "int",
3298
+ "value_allowed_null": false
3299
+ },
3300
+ {
3301
+ "disabled": false,
3302
+ "document": "实例事件信息",
3303
+ "example": "RedisInstanceEvent",
3304
+ "member": "RedisInstanceEvent",
3305
+ "name": "RedisInstanceEvents",
3306
+ "output_required": true,
3307
+ "type": "list",
3308
+ "value_allowed_null": false
3309
+ },
3310
+ {
3311
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
3312
+ "member": "string",
3313
+ "name": "RequestId",
3314
+ "type": "string"
3315
+ }
3316
+ ],
3317
+ "type": "object"
3318
+ },
3195
3319
  "DescribeInstanceMonitorBigKeyRequest": {
3196
3320
  "document": "DescribeInstanceMonitorBigKey请求参数结构体",
3197
3321
  "members": [
@@ -8150,6 +8274,88 @@
8150
8274
  ],
8151
8275
  "type": "object"
8152
8276
  },
8277
+ "ModifyInstanceEventRequest": {
8278
+ "document": "ModifyInstanceEvent请求参数结构体",
8279
+ "members": [
8280
+ {
8281
+ "disabled": false,
8282
+ "document": "指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。",
8283
+ "example": "crs-deindi7de",
8284
+ "member": "string",
8285
+ "name": "InstanceId",
8286
+ "required": true,
8287
+ "type": "string"
8288
+ },
8289
+ {
8290
+ "disabled": false,
8291
+ "document": "事件 ID。请通过 DescribeInstanceEvents 获取需修改的事件 ID。",
8292
+ "example": "89",
8293
+ "member": "int64",
8294
+ "name": "EventId",
8295
+ "required": true,
8296
+ "type": "int"
8297
+ },
8298
+ {
8299
+ "disabled": false,
8300
+ "document": "修改事件执行的计划开始时间。",
8301
+ "example": "03:10",
8302
+ "member": "string",
8303
+ "name": "StartTime",
8304
+ "required": false,
8305
+ "type": "string"
8306
+ },
8307
+ {
8308
+ "disabled": false,
8309
+ "document": "修改事件计划执行的结束时间。开始时间配置之后,结束时间只能选择在开始时间之后的 30 分钟、1 小时、1.5 小时、2 小时和 3 小时之内。",
8310
+ "example": "04:10",
8311
+ "member": "string",
8312
+ "name": "EndTime",
8313
+ "required": false,
8314
+ "type": "string"
8315
+ },
8316
+ {
8317
+ "disabled": false,
8318
+ "document": "修改事件执行计划的开始日期。",
8319
+ "example": "2018-09-10",
8320
+ "member": "string",
8321
+ "name": "ExecutionDate",
8322
+ "required": false,
8323
+ "type": "string"
8324
+ },
8325
+ {
8326
+ "disabled": false,
8327
+ "document": "修改事件的运行状态。该参数当前仅支持设置为 **Canceled**, 即取消执行当前事件。可通过 DescribeInstanceEvents 接口查询当前事件的运行状态与事件级别。\n- 事件级别为Critical(关键)或 High(重要)类事件不支持取消。即严重的事件必须执行,不可取消。\n- 仅运行状态为 Waiting (待执行的事件)的事件,才能执行取消操作。",
8328
+ "example": "Canceled",
8329
+ "member": "string",
8330
+ "name": "Status",
8331
+ "required": false,
8332
+ "type": "string"
8333
+ }
8334
+ ],
8335
+ "type": "object"
8336
+ },
8337
+ "ModifyInstanceEventResponse": {
8338
+ "document": "ModifyInstanceEvent返回参数结构体",
8339
+ "members": [
8340
+ {
8341
+ "disabled": false,
8342
+ "document": "事件 ID。",
8343
+ "example": "89",
8344
+ "member": "int64",
8345
+ "name": "EventId",
8346
+ "output_required": false,
8347
+ "type": "int",
8348
+ "value_allowed_null": false
8349
+ },
8350
+ {
8351
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
8352
+ "member": "string",
8353
+ "name": "RequestId",
8354
+ "type": "string"
8355
+ }
8356
+ ],
8357
+ "type": "object"
8358
+ },
8153
8359
  "ModifyInstanceParamsRequest": {
8154
8360
  "document": "ModifyInstanceParams请求参数结构体",
8155
8361
  "members": [
@@ -9316,6 +9522,142 @@
9316
9522
  ],
9317
9523
  "usage": "out"
9318
9524
  },
9525
+ "RedisInstanceEvent": {
9526
+ "document": "实例事件信息",
9527
+ "members": [
9528
+ {
9529
+ "disabled": false,
9530
+ "document": "事件 ID。\n注意:此字段可能返回 null,表示取不到有效值。",
9531
+ "example": "102",
9532
+ "member": "int64",
9533
+ "name": "ID",
9534
+ "output_required": false,
9535
+ "type": "int",
9536
+ "value_allowed_null": true
9537
+ },
9538
+ {
9539
+ "disabled": false,
9540
+ "document": "实例 ID。\n注意:此字段可能返回 null,表示取不到有效值。",
9541
+ "example": "crs-ewflkgfe",
9542
+ "member": "string",
9543
+ "name": "InstanceId",
9544
+ "output_required": false,
9545
+ "type": "string",
9546
+ "value_allowed_null": true
9547
+ },
9548
+ {
9549
+ "disabled": false,
9550
+ "document": "实例名称。\n注意:此字段可能返回 null,表示取不到有效值。",
9551
+ "example": "redis",
9552
+ "member": "string",
9553
+ "name": "InstanceName",
9554
+ "output_required": false,
9555
+ "type": "string",
9556
+ "value_allowed_null": true
9557
+ },
9558
+ {
9559
+ "disabled": false,
9560
+ "document": "事件类型,当前仅支持配置实例迁移、资源腾挪、机房裁撤相关的运维操作。该参数仅支持配置为 **InstanceMigration**。\n注意:此字段可能返回 null,表示取不到有效值。",
9561
+ "example": "InstanceMigration",
9562
+ "member": "string",
9563
+ "name": "Type",
9564
+ "output_required": false,
9565
+ "type": "string",
9566
+ "value_allowed_null": true
9567
+ },
9568
+ {
9569
+ "disabled": false,
9570
+ "document": "事件等级根据其影响严重程度和紧急程度进行分级,由重至轻依次为关键、重要、中等、一般。\n- Critical:关键\n- High:重要\n- Middle:中等\n- Low:一般\n注意:此字段可能返回 null,表示取不到有效值。",
9571
+ "example": "Critical",
9572
+ "member": "string",
9573
+ "name": "Grade",
9574
+ "output_required": false,
9575
+ "type": "string",
9576
+ "value_allowed_null": true
9577
+ },
9578
+ {
9579
+ "disabled": false,
9580
+ "document": "事件计划执行日期。\n注意:此字段可能返回 null,表示取不到有效值。",
9581
+ "example": "2018-09-10",
9582
+ "member": "string",
9583
+ "name": "ExecutionDate",
9584
+ "output_required": false,
9585
+ "type": "string",
9586
+ "value_allowed_null": true
9587
+ },
9588
+ {
9589
+ "disabled": false,
9590
+ "document": "事件计划执行开始时间。\n注意:此字段可能返回 null,表示取不到有效值。",
9591
+ "example": "03:00",
9592
+ "member": "string",
9593
+ "name": "StartTime",
9594
+ "output_required": false,
9595
+ "type": "string",
9596
+ "value_allowed_null": true
9597
+ },
9598
+ {
9599
+ "disabled": false,
9600
+ "document": "事件计划执行结束时间。\n注意:此字段可能返回 null,表示取不到有效值。",
9601
+ "example": "04:00",
9602
+ "member": "string",
9603
+ "name": "EndTime",
9604
+ "output_required": false,
9605
+ "type": "string",
9606
+ "value_allowed_null": true
9607
+ },
9608
+ {
9609
+ "disabled": false,
9610
+ "document": "运维事件最迟执行的日期,即该事件必须在该日期之前完成,否则可能会对业务产生影响。\n注意:此字段可能返回 null,表示取不到有效值。",
9611
+ "example": "2018-09-10",
9612
+ "member": "string",
9613
+ "name": "LatestExecutionDate",
9614
+ "output_required": false,
9615
+ "type": "string",
9616
+ "value_allowed_null": true
9617
+ },
9618
+ {
9619
+ "disabled": false,
9620
+ "document": "事件当前状态。\n- Waiting:未到达执行日期或不在维护时间窗内的事件。\n- Running:在维护时间窗内,正在执行维护的事件。\n- Finished:已全部完成维护的事件。\n- Canceled:已取消执行的事件。\n注意:此字段可能返回 null,表示取不到有效值。",
9621
+ "example": "Waiting",
9622
+ "member": "string",
9623
+ "name": "Status",
9624
+ "output_required": false,
9625
+ "type": "string",
9626
+ "value_allowed_null": true
9627
+ },
9628
+ {
9629
+ "disabled": false,
9630
+ "document": "事件执行任务完成时间。\n注意:此字段可能返回 null,表示取不到有效值。",
9631
+ "example": "2018-09-10 09:10:23",
9632
+ "member": "string",
9633
+ "name": "TaskEndTime",
9634
+ "output_required": false,
9635
+ "type": "string",
9636
+ "value_allowed_null": true
9637
+ },
9638
+ {
9639
+ "disabled": false,
9640
+ "document": "事件影响信息。\n注意:此字段可能返回 null,表示取不到有效值。",
9641
+ "example": "迁移完成时会有一次秒级别的闪断",
9642
+ "member": "string",
9643
+ "name": "EffectInfo",
9644
+ "output_required": false,
9645
+ "type": "string",
9646
+ "value_allowed_null": true
9647
+ },
9648
+ {
9649
+ "disabled": false,
9650
+ "document": "事件最初计划执行日期。\n注意:此字段可能返回 null,表示取不到有效值。",
9651
+ "example": "2018-09-10",
9652
+ "member": "string",
9653
+ "name": "InitialExecutionDate",
9654
+ "output_required": false,
9655
+ "type": "string",
9656
+ "value_allowed_null": true
9657
+ }
9658
+ ],
9659
+ "usage": "out"
9660
+ },
9319
9661
  "RedisNode": {
9320
9662
  "document": "Redis节点的运行信息",
9321
9663
  "members": [
@@ -230,6 +230,14 @@
230
230
  "title": "请求示例"
231
231
  }
232
232
  ],
233
+ "DescribeInstanceEvents": [
234
+ {
235
+ "document": "查询实例事件",
236
+ "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceEvents\n<公共请求参数>\n\n{\n \"InstanceId\": \"crs-b6wst31p\",\n \"PageSize\": 20,\n \"PageNo\": 1,\n \"ExecutionStartDate\": \"2023-10-04\",\n \"ExecutionEndDate\": \"2023-10-04\",\n \"Grades\": [\n \"Low\"\n ],\n \"Status\": [\n \"Waiting\"\n ],\n \"EventTypes\": [\n \"InstanceMigration\"\n ]\n}",
237
+ "output": "{\n \"Response\": {\n \"RedisInstanceEvents\": [\n {\n \"EffectInfo\": \"迁移完成时会有一次秒级别的闪断\",\n \"EndTime\": \"22:00\",\n \"ExecutionDate\": \"2023-09-18\",\n \"Grade\": \"Low\",\n \"ID\": 10,\n \"InitialExecutionDate\": \"2023-08-19\",\n \"InstanceId\": \"crs-b6wst31p\",\n \"InstanceName\": \"benyqhuang8\",\n \"LatestExecutionDate\": \"2023-09-18\",\n \"StartTime\": \"21:00\",\n \"Status\": \"Waiting\",\n \"TaskEndTime\": \"0000-00-00 00:00:00\",\n \"Type\": \"InstanceMigration\"\n }\n ],\n \"RequestId\": \"36a33a3d-f9ce-47c1-87d0-84869a37466d\",\n \"TotalCount\": 1\n }\n}",
238
+ "title": "查询实例事件"
239
+ }
240
+ ],
233
241
  "DescribeInstanceMonitorBigKey": [
234
242
  {
235
243
  "document": "请求示例",
@@ -606,6 +614,14 @@
606
614
  "title": "示例1"
607
615
  }
608
616
  ],
617
+ "ModifyInstanceEvent": [
618
+ {
619
+ "document": "修改实例事件信息",
620
+ "input": "POST / HTTP/1.1\nHost: redis.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceEvent\n<公共请求参数>\n\n{\n \"InstanceId\": \"crs-b6wst31p\",\n \"EventId\": 10,\n \"StartTime\": \"22:00\",\n \"EndTime\": \"23:01\",\n \"ExecutionDate\": \"2023-09-18\"\n}",
621
+ "output": "{\n \"Response\": {\n \"EventId\": 10,\n \"RequestId\": \"abc\"\n }\n}",
622
+ "title": "修改实例事件信息"
623
+ }
624
+ ],
609
625
  "ModifyInstanceParams": [
610
626
  {
611
627
  "document": "",
@@ -3976,6 +3976,51 @@
3976
3976
  "name": "TimeSpan",
3977
3977
  "required": true,
3978
3978
  "type": "int"
3979
+ },
3980
+ {
3981
+ "disabled": false,
3982
+ "document": "是否用于迁移上云,默认为false",
3983
+ "example": "false",
3984
+ "member": "bool",
3985
+ "name": "SupportsMigrateToCloud",
3986
+ "required": false,
3987
+ "type": "bool"
3988
+ },
3989
+ {
3990
+ "disabled": false,
3991
+ "document": "是否开启公网",
3992
+ "example": "false",
3993
+ "member": "bool",
3994
+ "name": "EnablePublic",
3995
+ "required": false,
3996
+ "type": "bool"
3997
+ },
3998
+ {
3999
+ "disabled": false,
4000
+ "document": "公网带宽,在开启公网情况下为必传字段",
4001
+ "example": "1",
4002
+ "member": "int64",
4003
+ "name": "Bandwidth",
4004
+ "required": false,
4005
+ "type": "int"
4006
+ },
4007
+ {
4008
+ "disabled": false,
4009
+ "document": "公网白名单",
4010
+ "example": "无",
4011
+ "member": "PublicAccessRule",
4012
+ "name": "IpRules",
4013
+ "required": false,
4014
+ "type": "list"
4015
+ },
4016
+ {
4017
+ "disabled": false,
4018
+ "document": "标签",
4019
+ "example": "无",
4020
+ "member": "Tag",
4021
+ "name": "Tags",
4022
+ "required": false,
4023
+ "type": "list"
3979
4024
  }
3980
4025
  ],
3981
4026
  "type": "object"
@@ -108,7 +108,7 @@
108
108
  {
109
109
  "disabled": false,
110
110
  "document": "原始文档类型。该参数为高级参数,请留空,如需使用,请与工作人员确认后再使用。",
111
- "example": "doc",
111
+ "example": "docx",
112
112
  "member": "string",
113
113
  "name": "BasicDocumentType",
114
114
  "required": false,