tccli 3.0.833.1__py2.py3-none-any.whl → 3.0.834.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/autoscaling/v20180419/api.json +1 -27
  3. tccli/services/autoscaling/v20180419/examples.json +5 -5
  4. tccli/services/cls/v20201016/api.json +11 -24
  5. tccli/services/cls/v20201016/examples.json +1 -1
  6. tccli/services/cvm/cvm_client.py +53 -0
  7. tccli/services/cvm/v20170312/api.json +368 -0
  8. tccli/services/cvm/v20170312/examples.json +8 -0
  9. tccli/services/cwp/v20180228/api.json +9 -0
  10. tccli/services/cwp/v20180228/examples.json +1 -1
  11. tccli/services/essbasic/essbasic_client.py +53 -0
  12. tccli/services/essbasic/v20210526/api.json +73 -0
  13. tccli/services/essbasic/v20210526/examples.json +8 -0
  14. tccli/services/gaap/v20180529/api.json +0 -5
  15. tccli/services/gaap/v20180529/examples.json +4 -4
  16. tccli/services/mps/mps_client.py +53 -0
  17. tccli/services/mps/v20190612/api.json +307 -18
  18. tccli/services/mps/v20190612/examples.json +8 -0
  19. tccli/services/oceanus/v20190422/api.json +119 -49
  20. tccli/services/tdmq/v20200217/api.json +38 -38
  21. tccli/services/vod/v20180717/api.json +0 -14
  22. tccli/services/vod/v20180717/examples.json +4 -4
  23. tccli/services/vpc/v20170312/api.json +1 -1
  24. tccli/services/vpc/v20170312/examples.json +1 -1
  25. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/METADATA +2 -2
  26. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/RECORD +30 -30
  27. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/LICENSE +0 -0
  28. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/WHEEL +0 -0
  29. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/entry_points.txt +0 -0
  30. {tccli-3.0.833.1.dist-info → tccli-3.0.834.1.dist-info}/top_level.txt +0 -0
@@ -308,6 +308,13 @@
308
308
  "output": "DescribeReservedInstancesOfferingsResponse",
309
309
  "status": "online"
310
310
  },
311
+ "DescribeTaskInfo": {
312
+ "document": "本接口 (DescribeTaskInfo) 用于查询云服务器维修任务列表及详细信息。\n\n- 可以根据实例ID、实例名称或任务状态等信息来查询维修任务列表。过滤信息详情可参考入参说明。\n- 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的维修任务列表。\n\n默认接口请求频率限制:10次/秒。</br>",
313
+ "input": "DescribeTaskInfoRequest",
314
+ "name": "查询维修任务列表",
315
+ "output": "DescribeTaskInfoResponse",
316
+ "status": "online"
317
+ },
311
318
  "DescribeZoneInstanceConfigInfos": {
312
319
  "document": "本接口(DescribeZoneInstanceConfigInfos) 获取可用区的机型信息。",
313
320
  "input": "DescribeZoneInstanceConfigInfosRequest",
@@ -3906,6 +3913,136 @@
3906
3913
  ],
3907
3914
  "type": "object"
3908
3915
  },
3916
+ "DescribeTaskInfoRequest": {
3917
+ "document": "DescribeTaskInfo请求参数结构体",
3918
+ "members": [
3919
+ {
3920
+ "document": "返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。",
3921
+ "example": "20",
3922
+ "member": "int64",
3923
+ "name": "Limit",
3924
+ "required": true,
3925
+ "type": "int"
3926
+ },
3927
+ {
3928
+ "document": "偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。",
3929
+ "example": "0",
3930
+ "member": "int64",
3931
+ "name": "Offset",
3932
+ "required": true,
3933
+ "type": "int"
3934
+ },
3935
+ {
3936
+ "document": "按照指定的产品类型查询,支持取值:\n\n- `CVM`:云服务器\n- `CDH`:专用宿主机\n- `CPM2.0`:裸金属云服务器\n\n未传入或为空时,默认查询全部产品类型。",
3937
+ "example": "CVM",
3938
+ "member": "string",
3939
+ "name": "Product",
3940
+ "required": false,
3941
+ "type": "string"
3942
+ },
3943
+ {
3944
+ "document": "按照一个或多个任务状态ID进行过滤。\n`TaskStatus`(任务状态ID)与任务状态中文名的对应关系如下:\n\n- `1`:待授权\n- `2`:处理中\n- `3`:已结束\n- `4`:已预约\n- `5`:已取消\n- `6`:已避免\n\n各任务状态的具体含义,可参考 [任务状态](https://cloud.tencent.com/document/product/213/67789#.E4.BB.BB.E5.8A.A1.E7.8A.B6.E6.80.81)。",
3945
+ "example": "[1, 2, 3, 4, 5, 6]",
3946
+ "member": "int64",
3947
+ "name": "TaskStatus",
3948
+ "required": false,
3949
+ "type": "list"
3950
+ },
3951
+ {
3952
+ "document": "按照一个或多个任务类型ID进行过滤。\n\n`TaskTypeId`(任务类型ID)与任务类型中文名的对应关系如下:\n\n- `101`:实例运行隐患\n- `102`:实例运行异常\n- `103`:实例硬盘异常\n- `104`:实例网络连接异常\n- `105`:实例运行预警\n- `106`:实例硬盘预警\n- `107`:实例维护升级\n\n各任务类型的具体含义,可参考 [维修任务分类](https://cloud.tencent.com/document/product/213/67789#.E7.BB.B4.E4.BF.AE.E4.BB.BB.E5.8A.A1.E5.88.86.E7.B1.BB)。",
3953
+ "example": "[101, 102, 103, 104, 105, 106, 107]",
3954
+ "member": "int64",
3955
+ "name": "TaskTypeIds",
3956
+ "required": false,
3957
+ "type": "list"
3958
+ },
3959
+ {
3960
+ "document": "按照一个或者多个任务ID查询。任务ID形如:`rep-xxxxxxxx`。",
3961
+ "example": "[\"rep-xxxxxxxx\"]",
3962
+ "member": "string",
3963
+ "name": "TaskIds",
3964
+ "required": false,
3965
+ "type": "list"
3966
+ },
3967
+ {
3968
+ "document": "按照一个或者多个实例ID查询。实例ID形如:`ins-xxxxxxxx`。",
3969
+ "example": "[\"ins-xxxxxxxx\"]",
3970
+ "member": "string",
3971
+ "name": "InstanceIds",
3972
+ "required": false,
3973
+ "type": "list"
3974
+ },
3975
+ {
3976
+ "document": "按照一个或者多个实例名称查询。",
3977
+ "example": "[\"test-1\"]",
3978
+ "member": "string",
3979
+ "name": "Aliases",
3980
+ "required": false,
3981
+ "type": "list"
3982
+ },
3983
+ {
3984
+ "document": "时间查询区间的起始位置,会根据`OrderField`中指定的字段进行过滤。未传入时默认为当天`00:00:00`。",
3985
+ "example": "2023-01-01 00:00:00",
3986
+ "member": "datetime",
3987
+ "name": "StartDate",
3988
+ "required": false,
3989
+ "type": "string"
3990
+ },
3991
+ {
3992
+ "document": "时间查询区间的终止位置,会根据`OrderField`中指定的字段进行过滤。未传入时默认为当前时刻。",
3993
+ "example": "2023-02-01 00:00:00",
3994
+ "member": "datetime",
3995
+ "name": "EndDate",
3996
+ "required": false,
3997
+ "type": "string"
3998
+ },
3999
+ {
4000
+ "document": "指定返回维修任务列表的排序字段,目前支持:\n\n- `CreateTime`:任务创建时间\n- `AuthTime`:任务授权时间\n- `EndTime`:任务结束时间\n\n未传入时或为空时,默认按`CreateTime`字段进行排序。",
4001
+ "example": "CreateTime",
4002
+ "member": "string",
4003
+ "name": "OrderField",
4004
+ "required": false,
4005
+ "type": "string"
4006
+ },
4007
+ {
4008
+ "document": "排序方式,目前支持:\n\n- `0`:升序(默认)\n- `1`:降序\n\n未传入或为空时,默认按升序排序。\n",
4009
+ "example": "1",
4010
+ "member": "int64",
4011
+ "name": "Order",
4012
+ "required": false,
4013
+ "type": "int"
4014
+ }
4015
+ ],
4016
+ "type": "object"
4017
+ },
4018
+ "DescribeTaskInfoResponse": {
4019
+ "document": "DescribeTaskInfo返回参数结构体",
4020
+ "members": [
4021
+ {
4022
+ "document": "查询返回的维修任务总数量。",
4023
+ "example": "2",
4024
+ "member": "int64",
4025
+ "name": "TotalCount",
4026
+ "type": "int",
4027
+ "value_allowed_null": false
4028
+ },
4029
+ {
4030
+ "document": "查询返回的维修任务列表。\n注意:此字段可能返回 null,表示取不到有效值。",
4031
+ "example": "NA",
4032
+ "member": "RepairTaskInfo",
4033
+ "name": "RepairTaskInfoSet",
4034
+ "type": "list",
4035
+ "value_allowed_null": true
4036
+ },
4037
+ {
4038
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
4039
+ "member": "string",
4040
+ "name": "RequestId",
4041
+ "type": "string"
4042
+ }
4043
+ ],
4044
+ "type": "object"
4045
+ },
3909
4046
  "DescribeZoneInstanceConfigInfosRequest": {
3910
4047
  "document": "DescribeZoneInstanceConfigInfos请求参数结构体",
3911
4048
  "members": [
@@ -5052,6 +5189,15 @@
5052
5189
  "name": "LicenseType",
5053
5190
  "required": false,
5054
5191
  "type": "string"
5192
+ },
5193
+ {
5194
+ "default": "",
5195
+ "document": "启动模式",
5196
+ "example": "Legacy BIOS",
5197
+ "member": "string",
5198
+ "name": "BootMode",
5199
+ "required": false,
5200
+ "type": "string"
5055
5201
  }
5056
5202
  ],
5057
5203
  "type": "object"
@@ -8802,6 +8948,228 @@
8802
8948
  ],
8803
8949
  "type": "object"
8804
8950
  },
8951
+ "RepairTaskInfo": {
8952
+ "document": "描述维修任务的相关信息",
8953
+ "members": [
8954
+ {
8955
+ "document": "维修任务ID",
8956
+ "example": "rep-xxxxxxxx",
8957
+ "member": "string",
8958
+ "name": "TaskId",
8959
+ "required": true,
8960
+ "type": "string",
8961
+ "value_allowed_null": false
8962
+ },
8963
+ {
8964
+ "document": "实例ID",
8965
+ "example": "ins-xxxxxxxx",
8966
+ "member": "string",
8967
+ "name": "InstanceId",
8968
+ "required": true,
8969
+ "type": "string",
8970
+ "value_allowed_null": false
8971
+ },
8972
+ {
8973
+ "document": "实例名称\n注意:此字段可能返回 null,表示取不到有效值。",
8974
+ "example": "test",
8975
+ "member": "string",
8976
+ "name": "Alias",
8977
+ "required": true,
8978
+ "type": "string",
8979
+ "value_allowed_null": true
8980
+ },
8981
+ {
8982
+ "document": "任务类型ID,与任务类型中文名的对应关系如下:\n\n- `101`:实例运行隐患\n- `102`:实例运行异常\n- `103`:实例硬盘异常\n- `104`:实例网络连接异常\n- `105`:实例运行预警\n- `106`:实例硬盘预警\n- `107`:实例维护升级\n\n各任务类型的具体含义,可参考 [维修任务分类](https://cloud.tencent.com/document/product/213/67789#.E7.BB.B4.E4.BF.AE.E4.BB.BB.E5.8A.A1.E5.88.86.E7.B1.BB)。",
8983
+ "example": "101",
8984
+ "member": "uint64",
8985
+ "name": "TaskTypeId",
8986
+ "required": true,
8987
+ "type": "int",
8988
+ "value_allowed_null": false
8989
+ },
8990
+ {
8991
+ "document": "任务类型中文名",
8992
+ "example": "实例运行隐患",
8993
+ "member": "string",
8994
+ "name": "TaskTypeName",
8995
+ "required": false,
8996
+ "type": "string",
8997
+ "value_allowed_null": false
8998
+ },
8999
+ {
9000
+ "document": "任务状态ID,与任务状态中文名的对应关系如下:\n\n- `1`:待授权\n- `2`:处理中\n- `3`:已结束\n- `4`:已预约\n- `5`:已取消\n- `6`:已避免\n\n各任务状态的具体含义,可参考 [任务状态](https://cloud.tencent.com/document/product/213/67789#.E4.BB.BB.E5.8A.A1.E7.8A.B6.E6.80.81)。",
9001
+ "example": "1",
9002
+ "member": "uint64",
9003
+ "name": "TaskStatus",
9004
+ "required": true,
9005
+ "type": "int",
9006
+ "value_allowed_null": false
9007
+ },
9008
+ {
9009
+ "document": "设备状态ID,与设备状态中文名的对应关系如下:\n\n- `1`:故障中\n- `2`:处理中\n- `3`:正常\n- `4`:已预约\n- `5`:已取消\n- `6`:已避免",
9010
+ "example": "1",
9011
+ "member": "uint64",
9012
+ "name": "DeviceStatus",
9013
+ "required": false,
9014
+ "type": "int",
9015
+ "value_allowed_null": false
9016
+ },
9017
+ {
9018
+ "document": "操作状态ID,与操作状态中文名的对应关系如下:\n\n- `1`:未授权\n- `2`:已授权\n- `3`:已处理\n- `4`:已预约\n- `5`:已取消\n- `6`:已避免",
9019
+ "example": "1",
9020
+ "member": "uint64",
9021
+ "name": "OperateStatus",
9022
+ "required": false,
9023
+ "type": "int",
9024
+ "value_allowed_null": false
9025
+ },
9026
+ {
9027
+ "document": "任务创建时间",
9028
+ "example": "2017-01-01 12:00:00",
9029
+ "member": "datetime",
9030
+ "name": "CreateTime",
9031
+ "required": true,
9032
+ "type": "string",
9033
+ "value_allowed_null": false
9034
+ },
9035
+ {
9036
+ "document": "任务授权时间\n注意:此字段可能返回 null,表示取不到有效值。",
9037
+ "example": "2017-01-03 12:00:00",
9038
+ "member": "datetime",
9039
+ "name": "AuthTime",
9040
+ "required": true,
9041
+ "type": "string",
9042
+ "value_allowed_null": true
9043
+ },
9044
+ {
9045
+ "document": "任务结束时间\n注意:此字段可能返回 null,表示取不到有效值。",
9046
+ "example": "2017-01-03 14:00:00",
9047
+ "member": "datetime",
9048
+ "name": "EndTime",
9049
+ "required": true,
9050
+ "type": "string",
9051
+ "value_allowed_null": true
9052
+ },
9053
+ {
9054
+ "document": "任务详情\n注意:此字段可能返回 null,表示取不到有效值。",
9055
+ "example": "监控到您的云服务器存在隐患,可能导致云服务器高负载或宕机。为尽快修复隐患,需要您授权我们在线迁移。感谢您的支持与理解。",
9056
+ "member": "string",
9057
+ "name": "TaskDetail",
9058
+ "required": true,
9059
+ "type": "string",
9060
+ "value_allowed_null": true
9061
+ },
9062
+ {
9063
+ "document": "可用区\n注意:此字段可能返回 null,表示取不到有效值。",
9064
+ "example": "ap-guangzhou-7",
9065
+ "member": "string",
9066
+ "name": "Zone",
9067
+ "required": true,
9068
+ "type": "string",
9069
+ "value_allowed_null": true
9070
+ },
9071
+ {
9072
+ "document": "地域\n注意:此字段可能返回 null,表示取不到有效值。",
9073
+ "example": "ap-guangzhou",
9074
+ "member": "string",
9075
+ "name": "Region",
9076
+ "required": true,
9077
+ "type": "string",
9078
+ "value_allowed_null": true
9079
+ },
9080
+ {
9081
+ "document": "所在私有网络ID\n注意:此字段可能返回 null,表示取不到有效值。",
9082
+ "example": "vpc-xxxxxxxx",
9083
+ "member": "string",
9084
+ "name": "VpcId",
9085
+ "required": false,
9086
+ "type": "string",
9087
+ "value_allowed_null": true
9088
+ },
9089
+ {
9090
+ "document": "所在私有网络名称\n注意:此字段可能返回 null,表示取不到有效值。",
9091
+ "example": "Default-VPC",
9092
+ "member": "string",
9093
+ "name": "VpcName",
9094
+ "required": false,
9095
+ "type": "string",
9096
+ "value_allowed_null": true
9097
+ },
9098
+ {
9099
+ "document": "所在子网ID\n注意:此字段可能返回 null,表示取不到有效值。",
9100
+ "example": "subnet-xxxxxxxx",
9101
+ "member": "string",
9102
+ "name": "SubnetId",
9103
+ "required": false,
9104
+ "type": "string",
9105
+ "value_allowed_null": true
9106
+ },
9107
+ {
9108
+ "document": "所在子网名称\n注意:此字段可能返回 null,表示取不到有效值。",
9109
+ "example": "Default-Subnet",
9110
+ "member": "string",
9111
+ "name": "SubnetName",
9112
+ "required": false,
9113
+ "type": "string",
9114
+ "value_allowed_null": true
9115
+ },
9116
+ {
9117
+ "document": "实例公网IP\n注意:此字段可能返回 null,表示取不到有效值。",
9118
+ "example": "11.22.33.44",
9119
+ "member": "string",
9120
+ "name": "WanIp",
9121
+ "required": false,
9122
+ "type": "string",
9123
+ "value_allowed_null": true
9124
+ },
9125
+ {
9126
+ "document": "实例内网IP\n注意:此字段可能返回 null,表示取不到有效值。",
9127
+ "example": "10.10.1.9",
9128
+ "member": "string",
9129
+ "name": "LanIp",
9130
+ "required": false,
9131
+ "type": "string",
9132
+ "value_allowed_null": true
9133
+ },
9134
+ {
9135
+ "document": "产品类型,支持取值:\n\n- `CVM`:云服务器\n- `CDH`:专用宿主机\n- `CPM2.0`:裸金属云服务器\n注意:此字段可能返回 null,表示取不到有效值。",
9136
+ "example": "CVM",
9137
+ "member": "string",
9138
+ "name": "Product",
9139
+ "required": false,
9140
+ "type": "string",
9141
+ "value_allowed_null": true
9142
+ },
9143
+ {
9144
+ "document": "任务子类型\n注意:此字段可能返回 null,表示取不到有效值。",
9145
+ "example": "NA",
9146
+ "member": "string",
9147
+ "name": "TaskSubType",
9148
+ "required": false,
9149
+ "type": "string",
9150
+ "value_allowed_null": true
9151
+ },
9152
+ {
9153
+ "document": "任务授权类型",
9154
+ "example": "1",
9155
+ "member": "uint64",
9156
+ "name": "AuthType",
9157
+ "required": false,
9158
+ "type": "int",
9159
+ "value_allowed_null": false
9160
+ },
9161
+ {
9162
+ "document": "授权渠道,支持取值:\n\n- `Waiting_auth`:待授权\n- `Customer_auth`:客户操作授权\n- `System_mandatory_auth`:系统默认授权\n- `Pre_policy_auth`:预置策略授权",
9163
+ "example": "Customer_auth",
9164
+ "member": "string",
9165
+ "name": "AuthSource",
9166
+ "required": false,
9167
+ "type": "string",
9168
+ "value_allowed_null": false
9169
+ }
9170
+ ],
9171
+ "usage": "out"
9172
+ },
8805
9173
  "ReservedInstanceConfigInfoItem": {
8806
9174
  "document": "预留实例静态配置信息。预留实例当前只针对国际站白名单用户开放。",
8807
9175
  "members": [
@@ -376,6 +376,14 @@
376
376
  "title": "列出可购买预留实例计费"
377
377
  }
378
378
  ],
379
+ "DescribeTaskInfo": [
380
+ {
381
+ "document": "根据以下条件,查询并获取维修任务返回列表:\n\n- 任务的创建时间在 `2023-03-01 00:00:00` ~ `2023-04-01 00:00:00` 范围内。\n- 任务当前的状态为`待授权`。\n- 返回的任务列表按照`CreateTime`创建时间降序返回,偏移量为`0`,最多返回`20`条数据。",
382
+ "input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskInfo\n<公共请求参数>\n\n{\n \"StartDate\": \"2023-03-01 00:00:00\",\n \"EndDate\": \"2023-04-01 00:00:00\",\n \"TaskStatus\": [\n 1\n ],\n \"Limit\": 20,\n \"Offset\": 0,\n \"OrderField\": \"CreateTime\",\n \"Order\": 1\n}",
383
+ "output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"RepairTaskInfoSet\": [\n {\n \"TaskId\": \"rep-xxxxxxxx\",\n \"InstanceId\": \"ins-xxxxxxxx\",\n \"Alias\": \"test-1\",\n \"TaskTypeId\": 107,\n \"TaskStatus\": 1,\n \"CreateTime\": \"2023-03-08 12:00:00\",\n \"AuthTime\": \"2023-03-10 12:00:00\",\n \"EndTime\": null,\n \"TaskDetail\": \"监控到您的云服务器因底层宿主机架构、软件升级需要发起在线维护,处理过程中云服务器可能出现短时间高负载或者网络抖动。为尽快完成维护以提升实例性能及安全性,需要您授权我们在线维护。感谢您的支持与理解。\",\n \"DeviceStatus\": 1,\n \"OperateStatus\": 1,\n \"Zone\": \"ap-guangzhou-7\",\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"SubnetName\": \"Default-Subnet\",\n \"VpcName\": \"Default-VPC\",\n \"AuthSource\": \"System_mandatory_auth\",\n \"WanIp\": \"xxx.xxx.xxx.xxx\",\n \"LanIp\": \"xxx.xxx.xxx.xxx\",\n \"TaskTypeName\": \"实例维护升级\",\n \"TaskSubType\": null,\n \"AuthType\": 6,\n \"Product\": \"CVM\"\n },\n {\n \"TaskId\": \"rep-xxxxxxxx\",\n \"InstanceId\": \"ins-xxxxxxxx\",\n \"Alias\": \"test-2\",\n \"TaskTypeId\": 101,\n \"TaskStatus\": 1,\n \"CreateTime\": \"2023-03-07 12:00:00\",\n \"AuthTime\": \"2023-03-09 12:00:00\",\n \"EndTime\": null,\n \"TaskDetail\": \"监控到您的云服务器存在隐患,可能导致云服务器高负载或宕机。为尽快修复隐患,需要您授权我们停机处理。感谢您的支持与理解。\",\n \"DeviceStatus\": 1,\n \"OperateStatus\": 1,\n \"Zone\": \"ap-guangzhou-7\",\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"SubnetName\": \"Default-Subnet\",\n \"VpcName\": \"Default-VPC\",\n \"AuthSource\": \"System_mandatory_auth\",\n \"WanIp\": \"xxx.xxx.xxx.xxx\",\n \"LanIp\": \"xxx.xxx.xxx.xxx\",\n \"TaskTypeName\": \"实例运行隐患\",\n \"TaskSubType\": null,\n \"AuthType\": 2,\n \"Product\": \"CVM\"\n }\n ],\n \"RequestId\": \"4dc8d1d7-bd0f-4216-b7c5-e8a13d6a850c\"\n }\n}",
384
+ "title": "查询待授权的维修任务列表"
385
+ }
386
+ ],
379
387
  "DescribeZoneInstanceConfigInfos": [
380
388
  {
381
389
  "document": "通过可用区和付费类型作为过滤条件, 查询配置信息列表。",
@@ -9467,6 +9467,15 @@
9467
9467
  "name": "Uuids",
9468
9468
  "required": false,
9469
9469
  "type": "list"
9470
+ },
9471
+ {
9472
+ "default": "",
9473
+ "document": "扫描超时时长 ,单位秒",
9474
+ "example": "3600",
9475
+ "member": "uint64",
9476
+ "name": "TimeoutPeriod",
9477
+ "required": false,
9478
+ "type": "int"
9470
9479
  }
9471
9480
  ],
9472
9481
  "type": "object"
@@ -35,7 +35,7 @@
35
35
  "CreateEmergencyVulScan": [
36
36
  {
37
37
  "document": "漏洞管理 - 应急漏洞检测",
38
- "input": "https://cwp.tencentcloudapi.com/?Action=CreateEmergencyVulScan\n&VulId=1\n&<公共请求参数>",
38
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmergencyVulScan\n<公共请求参数>\n\n{\n \"VulId\": \"1\"\n}",
39
39
  "output": "{\n \"Response\": {\n \"RequestId\": \"42342314\"\n }\n}",
40
40
  "title": "漏洞管理 -应急漏洞检测"
41
41
  }
@@ -4647,6 +4647,58 @@ def doSyncProxyOrganizationOperators(args, parsed_globals):
4647
4647
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4648
4648
 
4649
4649
 
4650
+ def doChannelCreateEmbedWebUrl(args, parsed_globals):
4651
+ g_param = parse_global_arg(parsed_globals)
4652
+
4653
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4654
+ cred = credential.CVMRoleCredential()
4655
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4656
+ cred = credential.STSAssumeRoleCredential(
4657
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4658
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
4659
+ )
4660
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
4661
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4662
+ else:
4663
+ cred = credential.Credential(
4664
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4665
+ )
4666
+ http_profile = HttpProfile(
4667
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4668
+ reqMethod="POST",
4669
+ endpoint=g_param[OptionsDefine.Endpoint],
4670
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4671
+ )
4672
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4673
+ if g_param[OptionsDefine.Language]:
4674
+ profile.language = g_param[OptionsDefine.Language]
4675
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4676
+ client = mod.EssbasicClient(cred, g_param[OptionsDefine.Region], profile)
4677
+ client._sdkVersion += ("_CLI_" + __version__)
4678
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4679
+ model = models.ChannelCreateEmbedWebUrlRequest()
4680
+ model.from_json_string(json.dumps(args))
4681
+ start_time = time.time()
4682
+ while True:
4683
+ rsp = client.ChannelCreateEmbedWebUrl(model)
4684
+ result = rsp.to_json_string()
4685
+ try:
4686
+ json_obj = json.loads(result)
4687
+ except TypeError as e:
4688
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4689
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4690
+ break
4691
+ cur_time = time.time()
4692
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4693
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4694
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4695
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4696
+ else:
4697
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4698
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4699
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4700
+
4701
+
4650
4702
  def doDescribeSeals(args, parsed_globals):
4651
4703
  g_param = parse_global_arg(parsed_globals)
4652
4704
 
@@ -4853,6 +4905,7 @@ ACTION_MAP = {
4853
4905
  "OperateChannelTemplate": doOperateChannelTemplate,
4854
4906
  "CheckBankCard3EVerification": doCheckBankCard3EVerification,
4855
4907
  "SyncProxyOrganizationOperators": doSyncProxyOrganizationOperators,
4908
+ "ChannelCreateEmbedWebUrl": doChannelCreateEmbedWebUrl,
4856
4909
  "DescribeSeals": doDescribeSeals,
4857
4910
  "CreateServerFlowSign": doCreateServerFlowSign,
4858
4911
 
@@ -42,6 +42,13 @@
42
42
  "output": "ChannelCreateConvertTaskApiResponse",
43
43
  "status": "online"
44
44
  },
45
+ "ChannelCreateEmbedWebUrl": {
46
+ "document": "本接口(ChannelCreateEmbedWebUrl)用于创建嵌入web的链接",
47
+ "input": "ChannelCreateEmbedWebUrlRequest",
48
+ "name": "创建嵌入web的链接",
49
+ "output": "ChannelCreateEmbedWebUrlResponse",
50
+ "status": "online"
51
+ },
45
52
  "ChannelCreateFlowByFiles": {
46
53
  "document": "接口(ChannelCreateFlowByFiles)用于通过文件创建签署流程。此接口静默签能力不可直接使用,需要运营申请",
47
54
  "input": "ChannelCreateFlowByFilesRequest",
@@ -878,6 +885,72 @@
878
885
  ],
879
886
  "type": "object"
880
887
  },
888
+ "ChannelCreateEmbedWebUrlRequest": {
889
+ "document": "ChannelCreateEmbedWebUrl请求参数结构体",
890
+ "members": [
891
+ {
892
+ "document": "WEB嵌入资源类型,取值范围:CREATE_SEAL创建印章,CREATE_TEMPLATE创建模板,MODIFY_TEMPLATE修改模板,PREVIEW_TEMPLATE预览模板,PREVIEW_FLOW预览流程",
893
+ "example": "无",
894
+ "member": "string",
895
+ "name": "EmbedType",
896
+ "required": true,
897
+ "type": "string"
898
+ },
899
+ {
900
+ "document": "渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 必填。",
901
+ "example": "无",
902
+ "member": "Agent",
903
+ "name": "Agent",
904
+ "required": true,
905
+ "type": "object"
906
+ },
907
+ {
908
+ "document": "渠道操作者信息",
909
+ "example": "无",
910
+ "member": "UserInfo",
911
+ "name": "Operator",
912
+ "required": false,
913
+ "type": "object"
914
+ },
915
+ {
916
+ "document": "WEB嵌入的业务资源ID,EmbedType取值MODIFY_TEMPLATE或PREVIEW_TEMPLATE或 PREVIEW_FLOW时BusinessId必填",
917
+ "example": "无",
918
+ "member": "string",
919
+ "name": "BusinessId",
920
+ "required": false,
921
+ "type": "string"
922
+ },
923
+ {
924
+ "document": "是否隐藏控件,只有预览模板时生效",
925
+ "example": "false",
926
+ "member": "bool",
927
+ "name": "HiddenComponents",
928
+ "required": false,
929
+ "type": "bool"
930
+ }
931
+ ],
932
+ "type": "object"
933
+ },
934
+ "ChannelCreateEmbedWebUrlResponse": {
935
+ "document": "ChannelCreateEmbedWebUrl返回参数结构体",
936
+ "members": [
937
+ {
938
+ "document": "嵌入的web链接",
939
+ "example": "无",
940
+ "member": "string",
941
+ "name": "WebUrl",
942
+ "type": "string",
943
+ "value_allowed_null": false
944
+ },
945
+ {
946
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
947
+ "member": "string",
948
+ "name": "RequestId",
949
+ "type": "string"
950
+ }
951
+ ],
952
+ "type": "object"
953
+ },
881
954
  "ChannelCreateFlowByFilesRequest": {
882
955
  "document": "ChannelCreateFlowByFiles请求参数结构体",
883
956
  "members": [
@@ -48,6 +48,14 @@
48
48
  "title": "创建转换任务"
49
49
  }
50
50
  ],
51
+ "ChannelCreateEmbedWebUrl": [
52
+ {
53
+ "document": "获取创建印章的嵌入WEB链接",
54
+ "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreateEmbedWebUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"OpenId\": \"\",\n \"Channel\": \"CHANNEL\",\n \"CustomUserId\": \"1\",\n \"ClientIp\": \"1.1.1.1\",\n \"ProxyIp\": \"0.0.0.0\"\n },\n \"BusinessId\": \"\",\n \"EmbedType\": \"CREATE_SEAL\",\n \"Agent\": {\n \"AppId\": \"1\",\n \"ProxyOrganizationOpenId\": \"1\",\n \"ProxyOperator\": {\n \"OpenId\": \"1\",\n \"Channel\": \"1\",\n \"CustomUserId\": \"1\",\n \"ClientIp\": \"1\",\n \"ProxyIp\": \"1\"\n },\n \"ProxyAppId\": \"1\",\n \"ProxyOrganizationId\": \"1\"\n }\n}",
55
+ "output": "{\n \"Response\": {\n \"WebUrl\": \"https://test.ess.com/seal-create?embed=1&code=testcode&channel=PROXYCHANNEL\",\n \"RequestId\": \"2\"\n }\n}",
56
+ "title": "获取创建印章的嵌入WEB链接"
57
+ }
58
+ ],
51
59
  "ChannelCreateFlowByFiles": [
52
60
  {
53
61
  "document": "使用文件创建签署流程",
@@ -2151,7 +2151,6 @@
2151
2151
  "document": "CreateGlobalDomain请求参数结构体",
2152
2152
  "members": [
2153
2153
  {
2154
- "default": "",
2155
2154
  "document": "域名所属项目ID",
2156
2155
  "example": "0",
2157
2156
  "member": "int64",
@@ -2160,7 +2159,6 @@
2160
2159
  "type": "int"
2161
2160
  },
2162
2161
  {
2163
- "default": "",
2164
2162
  "document": "域名默认入口",
2165
2163
  "example": "1.1.1.1",
2166
2164
  "member": "string",
@@ -2169,7 +2167,6 @@
2169
2167
  "type": "string"
2170
2168
  },
2171
2169
  {
2172
- "default": "",
2173
2170
  "document": "别名",
2174
2171
  "example": "test",
2175
2172
  "member": "string",
@@ -2178,7 +2175,6 @@
2178
2175
  "type": "string"
2179
2176
  },
2180
2177
  {
2181
- "default": "",
2182
2178
  "document": "标签列表",
2183
2179
  "example": "无",
2184
2180
  "member": "TagPair",
@@ -2197,7 +2193,6 @@
2197
2193
  "example": "dm-pcp5xac5",
2198
2194
  "member": "string",
2199
2195
  "name": "DomainId",
2200
- "required": true,
2201
2196
  "type": "string",
2202
2197
  "value_allowed_null": false
2203
2198
  },