tccli 3.0.1369.1__py2.py3-none-any.whl → 3.0.1371.1__py2.py3-none-any.whl

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.
Files changed (39) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/autoscaling/v20180419/api.json +4 -3
  3. tccli/services/cfs/cfs_client.py +61 -8
  4. tccli/services/cfs/v20190719/api.json +71 -0
  5. tccli/services/cfs/v20190719/examples.json +8 -0
  6. tccli/services/cls/v20201016/api.json +27 -27
  7. tccli/services/cls/v20201016/examples.json +4 -4
  8. tccli/services/ctem/v20231128/api.json +8 -8
  9. tccli/services/ctem/v20231128/examples.json +2 -2
  10. tccli/services/dcdb/v20180411/api.json +31 -2
  11. tccli/services/dcdb/v20180411/examples.json +1 -1
  12. tccli/services/dlc/v20210125/api.json +17 -7
  13. tccli/services/dsgc/v20190723/api.json +8 -8
  14. tccli/services/dsgc/v20190723/examples.json +1 -1
  15. tccli/services/es/v20180416/examples.json +3 -3
  16. tccli/services/ess/v20201111/api.json +30 -6
  17. tccli/services/ess/v20201111/examples.json +1 -1
  18. tccli/services/essbasic/v20210526/api.json +24 -0
  19. tccli/services/faceid/v20180301/api.json +42 -2
  20. tccli/services/faceid/v20180301/examples.json +2 -2
  21. tccli/services/lighthouse/v20200324/api.json +1 -1
  22. tccli/services/lke/v20231130/api.json +3 -3
  23. tccli/services/mariadb/v20170312/api.json +30 -1
  24. tccli/services/mariadb/v20170312/examples.json +1 -1
  25. tccli/services/mongodb/v20180408/api.json +1 -1
  26. tccli/services/mongodb/v20190725/api.json +1 -1
  27. tccli/services/organization/organization_client.py +53 -0
  28. tccli/services/organization/v20210331/api.json +175 -0
  29. tccli/services/organization/v20210331/examples.json +8 -0
  30. tccli/services/privatedns/v20201028/api.json +7 -7
  31. tccli/services/sqlserver/v20180328/api.json +11 -9
  32. tccli/services/tione/v20211111/api.json +1 -1
  33. tccli/services/trocket/v20230308/api.json +9 -0
  34. tccli/services/tsf/v20180326/api.json +6 -6
  35. {tccli-3.0.1369.1.dist-info → tccli-3.0.1371.1.dist-info}/METADATA +2 -2
  36. {tccli-3.0.1369.1.dist-info → tccli-3.0.1371.1.dist-info}/RECORD +39 -39
  37. {tccli-3.0.1369.1.dist-info → tccli-3.0.1371.1.dist-info}/WHEEL +0 -0
  38. {tccli-3.0.1369.1.dist-info → tccli-3.0.1371.1.dist-info}/entry_points.txt +0 -0
  39. {tccli-3.0.1369.1.dist-info → tccli-3.0.1371.1.dist-info}/license_files/LICENSE +0 -0
@@ -2627,6 +2627,16 @@
2627
2627
  "output_required": true,
2628
2628
  "type": "string",
2629
2629
  "value_allowed_null": false
2630
+ },
2631
+ {
2632
+ "disabled": false,
2633
+ "document": "实例删除保护标签,1: 已开启删除保护,0: 未开启删除保护",
2634
+ "example": "1",
2635
+ "member": "int64",
2636
+ "name": "ProtectedProperty",
2637
+ "output_required": true,
2638
+ "type": "int",
2639
+ "value_allowed_null": false
2630
2640
  }
2631
2641
  ],
2632
2642
  "usage": "out"
@@ -4412,6 +4422,16 @@
4412
4422
  "type": "string",
4413
4423
  "value_allowed_null": false
4414
4424
  },
4425
+ {
4426
+ "disabled": false,
4427
+ "document": "删除保护标记,1: 已开启删除保护,0: 未开启删除保护",
4428
+ "example": "1",
4429
+ "member": "int64",
4430
+ "name": "ProtectedProperty",
4431
+ "output_required": true,
4432
+ "type": "int",
4433
+ "value_allowed_null": false
4434
+ },
4415
4435
  {
4416
4436
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4417
4437
  "member": "string",
@@ -6632,6 +6652,15 @@
6632
6652
  "name": "SessionId",
6633
6653
  "required": true,
6634
6654
  "type": "list"
6655
+ },
6656
+ {
6657
+ "disabled": false,
6658
+ "document": "节点ID,可指定主节点或者备节点进行kill。可选参数,不传默认为主节点。",
6659
+ "example": "681390887981",
6660
+ "member": "string",
6661
+ "name": "NodeId",
6662
+ "required": false,
6663
+ "type": "string"
6635
6664
  }
6636
6665
  ],
6637
6666
  "type": "object"
@@ -7108,7 +7137,7 @@
7108
7137
  },
7109
7138
  {
7110
7139
  "disabled": false,
7111
- "document": "要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组",
7140
+ "document": "要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:该入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。",
7112
7141
  "example": "[\"sg-ajr1jzgj\\n\"]",
7113
7142
  "member": "string",
7114
7143
  "name": "SecurityGroupIds",
@@ -162,7 +162,7 @@
162
162
  {
163
163
  "document": "改接口用于获取实例的详细信息",
164
164
  "input": "POST / HTTP/1.1\nHost: mariadb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceDetail\n<公共请求参数>\n\n{\n \"InstanceId\": \"tdsql-3ensoqb3\"\n}",
165
- "output": "{\n \"Response\": {\n \"AutoRenewFlag\": 0,\n \"Cpu\": 1,\n \"CpuType\": \"Intel/AMD\",\n \"CreateTime\": \"2025-03-22 17:01:06\",\n \"DbEngine\": \"MySQL\",\n \"DbVersion\": \"8.0.30\",\n \"DbVersionId\": \"8.0\",\n \"DcnDstNum\": 0,\n \"DcnFlag\": 0,\n \"DcnStatus\": 0,\n \"EncryptStatus\": 0,\n \"ExclusterId\": \"dbdc-00wb5kz5\",\n \"ExclusterType\": 0,\n \"InstanceId\": \"tdsql-3ensoqb3\",\n \"InstanceName\": \"QT4sth9v8.0\",\n \"InstanceType\": 1,\n \"Ipv6Flag\": 0,\n \"IsAuditSupported\": true,\n \"IsDcnStrongSyncSupported\": 0,\n \"IsDcnSwitchSupported\": 1,\n \"IsEncryptSupported\": 1,\n \"IsMaxUserConnectionsSupported\": true,\n \"IsPhysicalReplicationSupported\": false,\n \"IsTmp\": 0,\n \"LogStorage\": 8,\n \"Machine\": \"\",\n \"MasterZone\": \"ap-guangzhou-2\",\n \"Memory\": 2,\n \"NodeCount\": 2,\n \"NodesInfo\": [\n {\n \"NodeId\": \"064eeaff8314\",\n \"Role\": \"master\",\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"NodeId\": \"2981e04659a2\",\n \"Role\": \"slave\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"PayMode\": \"prepaid\",\n \"PeriodEndTime\": \"2025-03-28 15:33:44\",\n \"Pid\": 10890,\n \"ProjectId\": 0,\n \"ProxyVersion\": \"proxy-22.3.5\",\n \"Qps\": 2100,\n \"Region\": \"ap-guangzhou\",\n \"ReplicaConfig\": null,\n \"ReplicaStatus\": null,\n \"RequestId\": \"e86f7f08-d005-4f04-b917-7c9709299ff7\",\n \"ReservedNetResources\": [],\n \"ResourceTags\": [],\n \"RsAccessStrategy\": 0,\n \"SlaveZones\": [\n \"ap-guangzhou-2\"\n ],\n \"Status\": 2,\n \"StatusDesc\": \"运行中\",\n \"Storage\": 10,\n \"StorageUsage\": \"0.010\",\n \"SubnetId\": \"subnet-6rq8ehaq\",\n \"TdsqlVersion\": \"基于MySQL 8.0.30设计(兼容Mysql 8.0)\",\n \"Vip\": \"10.0.0.56\",\n \"Vip6\": \"\",\n \"VpcId\": \"vpc-ilhphh7v\",\n \"Vport\": 3306,\n \"WanDomain\": \"\",\n \"WanPort\": 0,\n \"WanPortIpv6\": 0,\n \"WanStatus\": 0,\n \"WanStatusIpv6\": 0,\n \"WanVip\": \"\",\n \"WanVipv6\": \"\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n}",
165
+ "output": "{\n \"Response\": {\n \"AutoRenewFlag\": 0,\n \"Cpu\": 1,\n \"CpuType\": \"Intel/AMD\",\n \"CreateTime\": \"2025-03-22 17:01:06\",\n \"DbEngine\": \"MySQL\",\n \"DbVersion\": \"8.0.30\",\n \"DbVersionId\": \"8.0\",\n \"DcnDstNum\": 0,\n \"DcnFlag\": 0,\n \"DcnStatus\": 0,\n \"EncryptStatus\": 0,\n \"ExclusterId\": \"dbdc-00wb5kz5\",\n \"ExclusterType\": 0,\n \"InstanceId\": \"tdsql-3ensoqb3\",\n \"InstanceName\": \"QT4sth9v8.0\",\n \"InstanceType\": 1,\n \"Ipv6Flag\": 0,\n \"IsAuditSupported\": true,\n \"IsDcnStrongSyncSupported\": 0,\n \"IsDcnSwitchSupported\": 1,\n \"IsEncryptSupported\": 1,\n \"IsMaxUserConnectionsSupported\": true,\n \"IsPhysicalReplicationSupported\": false,\n \"IsTmp\": 0,\n \"LogStorage\": 8,\n \"Machine\": \"\",\n \"MasterZone\": \"ap-guangzhou-2\",\n \"Memory\": 2,\n \"NodeCount\": 2,\n \"NodesInfo\": [\n {\n \"NodeId\": \"064eeaff8314\",\n \"Role\": \"master\",\n \"Zone\": \"ap-guangzhou-2\"\n },\n {\n \"NodeId\": \"2981e04659a2\",\n \"Role\": \"slave\",\n \"Zone\": \"ap-guangzhou-2\"\n }\n ],\n \"PayMode\": \"prepaid\",\n \"PeriodEndTime\": \"2025-03-28 15:33:44\",\n \"Pid\": 10890,\n \"ProjectId\": 0,\n \"ProxyVersion\": \"proxy-22.3.5\",\n \"Qps\": 2100,\n \"Region\": \"ap-guangzhou\",\n \"ReplicaConfig\": null,\n \"ReplicaStatus\": null,\n \"RequestId\": \"e86f7f08-d005-4f04-b917-7c9709299ff7\",\n \"ReservedNetResources\": [],\n \"ResourceTags\": [],\n \"RsAccessStrategy\": 0,\n \"SlaveZones\": [\n \"ap-guangzhou-2\"\n ],\n \"Status\": 2,\n \"StatusDesc\": \"运行中\",\n \"Storage\": 10,\n \"StorageUsage\": \"0.010\",\n \"SubnetId\": \"subnet-6rq8ehaq\",\n \"TdsqlVersion\": \"基于MySQL 8.0.30设计(兼容Mysql 8.0)\",\n \"Vip\": \"10.0.0.56\",\n \"Vip6\": \"\",\n \"VpcId\": \"vpc-ilhphh7v\",\n \"Vport\": 3306,\n \"WanDomain\": \"\",\n \"WanPort\": 0,\n \"WanPortIpv6\": 0,\n \"WanStatus\": 0,\n \"WanStatusIpv6\": 0,\n \"WanVip\": \"\",\n \"WanVipv6\": \"\",\n \"Zone\": \"ap-guangzhou-2\",\n \"ProtectedProperty\": 1\n }\n}",
166
166
  "title": "获取实例详情"
167
167
  }
168
168
  ],
@@ -94,7 +94,7 @@
94
94
  },
95
95
  "metadata": {
96
96
  "apiVersion": "2018-04-08",
97
- "api_brief": "介绍如何使用API对云数据库RMongoDB进行操作,包括创建实例询价、创建云数据库实例、续费云数据库实例等。",
97
+ "api_brief": "介绍如何使用 API 对云数据库 MongoDB 进行操作,包括创建实例询价、创建云数据库实例、续费云数据库实例等。",
98
98
  "serviceNameCN": "云数据库 MongoDB",
99
99
  "serviceShortName": "mongodb"
100
100
  },
@@ -367,7 +367,7 @@
367
367
  },
368
368
  "metadata": {
369
369
  "apiVersion": "2019-07-25",
370
- "api_brief": "介绍如何使用API对云数据库RMongoDB进行操作,包括创建实例询价、创建云数据库实例、续费云数据库实例等。",
370
+ "api_brief": "介绍如何使用 API 对云数据库 MongoDB 进行操作,包括创建实例询价、创建云数据库实例、续费云数据库实例等。",
371
371
  "serviceNameCN": "云数据库 MongoDB",
372
372
  "serviceShortName": "mongodb"
373
373
  },
@@ -4023,6 +4023,58 @@ def doDeleteOrganizationMembers(args, parsed_globals):
4023
4023
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4024
4024
 
4025
4025
 
4026
+ def doDescribeResourceToShareMember(args, parsed_globals):
4027
+ g_param = parse_global_arg(parsed_globals)
4028
+
4029
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4030
+ cred = credential.CVMRoleCredential()
4031
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4032
+ cred = credential.STSAssumeRoleCredential(
4033
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4034
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4035
+ )
4036
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
4037
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4038
+ else:
4039
+ cred = credential.Credential(
4040
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4041
+ )
4042
+ http_profile = HttpProfile(
4043
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4044
+ reqMethod="POST",
4045
+ endpoint=g_param[OptionsDefine.Endpoint],
4046
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4047
+ )
4048
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4049
+ if g_param[OptionsDefine.Language]:
4050
+ profile.language = g_param[OptionsDefine.Language]
4051
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4052
+ client = mod.OrganizationClient(cred, g_param[OptionsDefine.Region], profile)
4053
+ client._sdkVersion += ("_CLI_" + __version__)
4054
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4055
+ model = models.DescribeResourceToShareMemberRequest()
4056
+ model.from_json_string(json.dumps(args))
4057
+ start_time = time.time()
4058
+ while True:
4059
+ rsp = client.DescribeResourceToShareMember(model)
4060
+ result = rsp.to_json_string()
4061
+ try:
4062
+ json_obj = json.loads(result)
4063
+ except TypeError as e:
4064
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4065
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4066
+ break
4067
+ cur_time = time.time()
4068
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4069
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4070
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4071
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4072
+ else:
4073
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4074
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4075
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4076
+
4077
+
4026
4078
  def doListOrgServiceAssignMember(args, parsed_globals):
4027
4079
  g_param = parse_global_arg(parsed_globals)
4028
4080
 
@@ -7337,6 +7389,7 @@ ACTION_MAP = {
7337
7389
  "DismantleRoleConfiguration": doDismantleRoleConfiguration,
7338
7390
  "DeleteShareUnit": doDeleteShareUnit,
7339
7391
  "DeleteOrganizationMembers": doDeleteOrganizationMembers,
7392
+ "DescribeResourceToShareMember": doDescribeResourceToShareMember,
7340
7393
  "ListOrgServiceAssignMember": doListOrgServiceAssignMember,
7341
7394
  "RejectJoinShareUnitInvitation": doRejectJoinShareUnitInvitation,
7342
7395
  "ListNonCompliantResource": doListNonCompliantResource,
@@ -441,6 +441,13 @@
441
441
  "output": "DescribePolicyConfigResponse",
442
442
  "status": "online"
443
443
  },
444
+ "DescribeResourceToShareMember": {
445
+ "document": "获取与我共享的资源列表。",
446
+ "input": "DescribeResourceToShareMemberRequest",
447
+ "name": "获取与我共享的资源列表",
448
+ "output": "DescribeResourceToShareMemberResponse",
449
+ "status": "online"
450
+ },
444
451
  "DescribeShareAreas": {
445
452
  "document": "获取可共享地域列表",
446
453
  "input": "DescribeShareAreasRequest",
@@ -4708,6 +4715,98 @@
4708
4715
  ],
4709
4716
  "type": "object"
4710
4717
  },
4718
+ "DescribeResourceToShareMemberRequest": {
4719
+ "document": "DescribeResourceToShareMember请求参数结构体",
4720
+ "members": [
4721
+ {
4722
+ "disabled": false,
4723
+ "document": "地域",
4724
+ "example": "ap-guangzhou",
4725
+ "member": "string",
4726
+ "name": "Area",
4727
+ "required": true,
4728
+ "type": "string"
4729
+ },
4730
+ {
4731
+ "disabled": false,
4732
+ "document": "偏移量",
4733
+ "example": "0",
4734
+ "member": "uint64",
4735
+ "name": "Offset",
4736
+ "required": true,
4737
+ "type": "int"
4738
+ },
4739
+ {
4740
+ "disabled": false,
4741
+ "document": "每页条数",
4742
+ "example": "10",
4743
+ "member": "uint64",
4744
+ "name": "Limit",
4745
+ "required": true,
4746
+ "type": "int"
4747
+ },
4748
+ {
4749
+ "disabled": false,
4750
+ "document": "搜索关键字,支持业务资源ID搜索",
4751
+ "example": "sec***002",
4752
+ "member": "string",
4753
+ "name": "SearchKey",
4754
+ "required": false,
4755
+ "type": "string"
4756
+ },
4757
+ {
4758
+ "disabled": false,
4759
+ "document": "资源类型",
4760
+ "example": "secret",
4761
+ "member": "string",
4762
+ "name": "Type",
4763
+ "required": false,
4764
+ "type": "string"
4765
+ },
4766
+ {
4767
+ "disabled": false,
4768
+ "document": "业务资源ID。最大50个",
4769
+ "example": "[\"sec***002\"]",
4770
+ "member": "string",
4771
+ "name": "ProductResourceIds",
4772
+ "required": false,
4773
+ "type": "list"
4774
+ }
4775
+ ],
4776
+ "type": "object"
4777
+ },
4778
+ "DescribeResourceToShareMemberResponse": {
4779
+ "document": "DescribeResourceToShareMember返回参数结构体",
4780
+ "members": [
4781
+ {
4782
+ "disabled": false,
4783
+ "document": "总数\n注意:此字段可能返回 null,表示取不到有效值。",
4784
+ "example": "10",
4785
+ "member": "int64",
4786
+ "name": "Total",
4787
+ "output_required": true,
4788
+ "type": "int",
4789
+ "value_allowed_null": true
4790
+ },
4791
+ {
4792
+ "disabled": false,
4793
+ "document": "详情\n注意:此字段可能返回 null,表示取不到有效值。",
4794
+ "example": "无",
4795
+ "member": "ShareResourceToMember",
4796
+ "name": "Items",
4797
+ "output_required": true,
4798
+ "type": "list",
4799
+ "value_allowed_null": true
4800
+ },
4801
+ {
4802
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4803
+ "member": "string",
4804
+ "name": "RequestId",
4805
+ "type": "string"
4806
+ }
4807
+ ],
4808
+ "type": "object"
4809
+ },
4711
4810
  "DescribeShareAreasRequest": {
4712
4811
  "document": "DescribeShareAreas请求参数结构体",
4713
4812
  "members": [
@@ -10978,6 +11077,82 @@
10978
11077
  ],
10979
11078
  "usage": "both"
10980
11079
  },
11080
+ "ShareResourceToMember": {
11081
+ "document": "与我共享的资源",
11082
+ "members": [
11083
+ {
11084
+ "disabled": false,
11085
+ "document": "资源ID",
11086
+ "example": "shareResource-23kds",
11087
+ "member": "string",
11088
+ "name": "ResourceId",
11089
+ "required": true,
11090
+ "type": "string",
11091
+ "value_allowed_null": false
11092
+ },
11093
+ {
11094
+ "disabled": false,
11095
+ "document": "资源类型",
11096
+ "example": "vpc",
11097
+ "member": "string",
11098
+ "name": "Type",
11099
+ "required": true,
11100
+ "type": "string",
11101
+ "value_allowed_null": false
11102
+ },
11103
+ {
11104
+ "disabled": false,
11105
+ "document": "共享单元ID",
11106
+ "example": "shareUnit-1234erte",
11107
+ "member": "string",
11108
+ "name": "UnitId",
11109
+ "required": true,
11110
+ "type": "string",
11111
+ "value_allowed_null": false
11112
+ },
11113
+ {
11114
+ "disabled": false,
11115
+ "document": "共享单元名",
11116
+ "example": "test",
11117
+ "member": "string",
11118
+ "name": "UnitName",
11119
+ "required": true,
11120
+ "type": "string",
11121
+ "value_allowed_null": false
11122
+ },
11123
+ {
11124
+ "disabled": false,
11125
+ "document": "创建时间",
11126
+ "example": "2021-03-06 11:12:03",
11127
+ "member": "string",
11128
+ "name": "CreateTime",
11129
+ "required": true,
11130
+ "type": "string",
11131
+ "value_allowed_null": false
11132
+ },
11133
+ {
11134
+ "disabled": false,
11135
+ "document": "业务资源ID",
11136
+ "example": "vpc-23kds",
11137
+ "member": "string",
11138
+ "name": "ProductResourceId",
11139
+ "required": true,
11140
+ "type": "string",
11141
+ "value_allowed_null": false
11142
+ },
11143
+ {
11144
+ "disabled": false,
11145
+ "document": "共享管理员uin\n注意:此字段可能返回 null,表示取不到有效值。",
11146
+ "example": "1000001",
11147
+ "member": "int64",
11148
+ "name": "ShareManagerUin",
11149
+ "required": true,
11150
+ "type": "int",
11151
+ "value_allowed_null": true
11152
+ }
11153
+ ],
11154
+ "usage": "out"
11155
+ },
10981
11156
  "ShareUnitMember": {
10982
11157
  "document": "共享单元成员",
10983
11158
  "members": [
@@ -504,6 +504,14 @@
504
504
  "title": "查看企业组织策略配置"
505
505
  }
506
506
  ],
507
+ "DescribeResourceToShareMember": [
508
+ {
509
+ "document": "",
510
+ "input": "https://organization.tencentcloudapi.com/?Action=DescribeResourceToShareMember\n&Area=guangzhou\n&Offset=0\n&Limit=10\n&<公共请求参数>",
511
+ "output": "{\n \"Response\": {\n \"Items\": [\n {\n \"CreateTime\": \"2021-03-06 17:11:30\",\n \"ResourceId\": \"shareResource-ew89er12d\",\n \"ProductResourceId\": \"vpc-ewd23dd\",\n \"Type\": \"vpc\",\n \"UnitId\": \"shareUnit-xhreofra2p\",\n \"UnitName\": \"test\"\n }\n ],\n \"RequestId\": \"34b1919e-ab09-4cc0-8f4b-b35f371c7c58\",\n \"Total\": 1\n }\n}",
512
+ "title": "获取与我共享的资源列表"
513
+ }
514
+ ],
507
515
  "DescribeShareAreas": [
508
516
  {
509
517
  "document": "",
@@ -701,8 +701,8 @@
701
701
  "members": [
702
702
  {
703
703
  "disabled": false,
704
- "document": "私有域ID, zone-12345678",
705
- "example": "zone-12345678",
704
+ "document": "私有域ID, zone-12sa5ce78",
705
+ "example": "zone-12sa5ce78",
706
706
  "member": "string",
707
707
  "name": "ZoneId",
708
708
  "output_required": true,
@@ -1295,8 +1295,8 @@
1295
1295
  "members": [
1296
1296
  {
1297
1297
  "disabled": false,
1298
- "document": "私有域ID: zone-xxxxxx",
1299
- "example": "zone-12345678",
1298
+ "document": "私有域ID: zone-12c5a6e8",
1299
+ "example": "zone-12c5a6e8",
1300
1300
  "member": "string",
1301
1301
  "name": "ZoneId",
1302
1302
  "required": true,
@@ -1850,7 +1850,7 @@
1850
1850
  {
1851
1851
  "disabled": false,
1852
1852
  "document": "私有域ID",
1853
- "example": "zone-12345ds6",
1853
+ "example": "zone-12e45ds6",
1854
1854
  "member": "string",
1855
1855
  "name": "ZoneId",
1856
1856
  "required": true,
@@ -1882,8 +1882,8 @@
1882
1882
  "members": [
1883
1883
  {
1884
1884
  "disabled": false,
1885
- "document": "私有域ID, zone-12345ds6",
1886
- "example": "zone-12345ds6",
1885
+ "document": "私有域ID, zone-12e45ds6",
1886
+ "example": "zone-12e45ds6",
1887
1887
  "member": "string",
1888
1888
  "name": "ZoneId",
1889
1889
  "output_required": true,
@@ -3602,7 +3602,7 @@
3602
3602
  {
3603
3603
  "disabled": false,
3604
3604
  "document": "数据库创建信息",
3605
- "example": "[{ \"DBName\": \"db1\",\"Charset\": \"Chinese_PRC_CI_AS\",\"Accounts\": [{\"UserName\": \"andy\",\"Privilege\": \"ReadOnly\",\"AccountType\": \"L1\"}],\"Remark\": \"andy\"}]",
3605
+ "example": "",
3606
3606
  "member": "DBCreateInfo",
3607
3607
  "name": "DBs",
3608
3608
  "required": true,
@@ -6047,7 +6047,7 @@
6047
6047
  {
6048
6048
  "disabled": false,
6049
6049
  "document": "账户信息列表",
6050
- "example": "[{\"Status\": 2,\"Remark\": \"--\",\"AccountType\": \"L0\",\"Host\": \"127.0.0.1\",\"Name\": \"xiaowei\",\"IsAdmin\": true,\"UpdateTime\": \"2020-09-22 00:00:00\",\"InternalStatus\": \"enable\",\"Authentication\": \"win-windows\",\"PassTime\": \"2020-09-22 00:00:00\",\"Dbs\": [{\"Privilege\": \"ReadOnly\",\"DBName\": \"db1\"}],\"CreateTime\": \"2020-09-22 00:00:00\"}]",
6050
+ "example": "",
6051
6051
  "member": "AccountDetail",
6052
6052
  "name": "Accounts",
6053
6053
  "output_required": true,
@@ -8121,15 +8121,17 @@
8121
8121
  "example": "1",
8122
8122
  "member": "int64",
8123
8123
  "name": "TotalCount",
8124
+ "output_required": true,
8124
8125
  "type": "int",
8125
8126
  "value_allowed_null": false
8126
8127
  },
8127
8128
  {
8128
8129
  "disabled": false,
8129
8130
  "document": "数据库权限列表",
8130
- "example": "[]",
8131
+ "example": "",
8131
8132
  "member": "DBPrivilege",
8132
8133
  "name": "DBList",
8134
+ "output_required": true,
8133
8135
  "type": "list",
8134
8136
  "value_allowed_null": false
8135
8137
  },
@@ -10936,7 +10938,7 @@
10936
10938
  {
10937
10939
  "disabled": false,
10938
10940
  "document": "回档任务记录列表",
10939
- "example": "[{\"TargetInstanceId\": \"mssql-892932uiu\",\"TargetInstanceName\": \"andy\", \"TargetInstanceStatus\": 2,\"TargetRegion\": \"ap-guangzhou\",\"TargetType\": 0,\"EndTime\": \"0000-00-00 00:00:00\",\"RestoreId\": 1012,\"RestoreTime\": \"2023-01-12 16:22:48\",\"RestoreType\": 0,\"StartTime\": \"2023-01-12 16:22:55\",\"Status\": 0,\"FlowId\": 100}]",
10941
+ "example": "",
10940
10942
  "member": "RestoreTask",
10941
10943
  "name": "Tasks",
10942
10944
  "output_required": true,
@@ -11298,7 +11300,7 @@
11298
11300
  {
11299
11301
  "disabled": false,
11300
11302
  "document": "多节点架构实例的备节点可用区,默认为空。如果需要在变配的同时修改指定备节点的可用区时必传,当MultiZones = MultiZones时主节点和备节点可用区不能全部相同。备机可用区集合最小为2个,最大不超过5个。",
11301
- "example": "[\"ap-guangzhou-6\"]",
11303
+ "example": "",
11302
11304
  "member": "DrZoneInfo",
11303
11305
  "name": "DrZones",
11304
11306
  "required": false,
@@ -13306,7 +13308,7 @@
13306
13308
  {
13307
13309
  "disabled": false,
13308
13310
  "document": "修改备注的账户信息",
13309
- "example": "[{\"Remark\":\"备注\",\"UserName\":\"userName\"}]",
13311
+ "example": "",
13310
13312
  "member": "AccountRemark",
13311
13313
  "name": "Accounts",
13312
13314
  "required": true,
@@ -16851,7 +16853,7 @@
16851
16853
  {
16852
16854
  "disabled": false,
16853
16855
  "document": "按照ReNameRestoreDatabase中的库进行重命名,仅在Type = 1重命名回档方式有效;不填则按照默认方式命名库,DBs参数确定要恢复的库",
16854
- "example": "[{\"OldName\": \"db1\",\"NewName\": \"db2\"}]",
16856
+ "example": "",
16855
16857
  "member": "RenameRestoreDatabase",
16856
16858
  "name": "RenameRestore",
16857
16859
  "required": false,
@@ -18242,7 +18244,7 @@
18242
18244
  {
18243
18245
  "disabled": false,
18244
18246
  "document": "代金券ID,目前单个订单只能使用一张代金券",
18245
- "example": "0",
18247
+ "example": "[\"134\"]",
18246
18248
  "member": "string",
18247
18249
  "name": "VoucherIds",
18248
18250
  "required": false,
@@ -18296,7 +18298,7 @@
18296
18298
  {
18297
18299
  "disabled": false,
18298
18300
  "document": "多节点架构实例的备节点可用区,默认为空。如果需要在变配的同时修改指定备节点的可用区时必传,当MultiZones = MultiZones时主节点和备节点可用区不能全部相同。备机可用区集合最小为2个,最大不超过5个。\n",
18299
- "example": "[\"ap-guangzhou-3\"]",
18301
+ "example": "",
18300
18302
  "member": "DrZoneInfo",
18301
18303
  "name": "DrZones",
18302
18304
  "required": false,
@@ -360,7 +360,7 @@
360
360
  },
361
361
  "metadata": {
362
362
  "apiVersion": "2021-11-11",
363
- "api_brief": "介绍如何使用API对腾讯云 TI 平台 TI-ONE 进行操作,包括存储库、Notebook、任务训练等。",
363
+ "api_brief": "介绍如何使用API对腾讯云 TI-ONE训练平台 进行操作,包括存储库、Notebook、任务训练等。",
364
364
  "serviceNameCN": "TI-ONE 训练平台",
365
365
  "serviceShortName": "tione"
366
366
  },
@@ -4961,6 +4961,15 @@
4961
4961
  "name": "Limit",
4962
4962
  "required": false,
4963
4963
  "type": "int"
4964
+ },
4965
+ {
4966
+ "disabled": false,
4967
+ "document": "按照消费组查询订阅的主题",
4968
+ "example": "test_group",
4969
+ "member": "string",
4970
+ "name": "FromGroup",
4971
+ "required": false,
4972
+ "type": "string"
4964
4973
  }
4965
4974
  ],
4966
4975
  "type": "object"
@@ -24756,11 +24756,11 @@
24756
24756
  "members": [
24757
24757
  {
24758
24758
  "disabled": false,
24759
- "document": "部署组ID 必填项",
24760
- "example": "group-xxxxxxx",
24759
+ "document": "部署组ID,可通过调用[DescribeContainerGroups](https://cloud.tencent.com/document/api/649/36068)查询已创建的项目列表或登录控制台进行查看;也可以调用[CreateContainGroup](https://cloud.tencent.com/document/api/649/36075)创建新的项目。",
24760
+ "example": "group-s892vem",
24761
24761
  "member": "string",
24762
24762
  "name": "GroupId",
24763
- "required": false,
24763
+ "required": true,
24764
24764
  "type": "string"
24765
24765
  },
24766
24766
  {
@@ -24801,8 +24801,8 @@
24801
24801
  },
24802
24802
  {
24803
24803
  "disabled": false,
24804
- "document": "子网ID",
24805
- "example": "1",
24804
+ "document": "子网ID,可通过调用[DescribeSubnets](https://cloud.tencent.com/document/product/215/15784)查询已创建的项目列表或登录控制台进行查看;也可以调用[CreateSubnet](https://cloud.tencent.com/document/product/1108/43594)创建新的项目。",
24805
+ "example": "ssubnet-kgpu7vem",
24806
24806
  "member": "string",
24807
24807
  "name": "SubnetId",
24808
24808
  "required": false,
@@ -24826,7 +24826,7 @@
24826
24826
  {
24827
24827
  "disabled": false,
24828
24828
  "document": "更新部署组是否成功。\ntrue:成功。\nfalse:失败。",
24829
- "example": "1",
24829
+ "example": "true",
24830
24830
  "member": "bool",
24831
24831
  "name": "Result",
24832
24832
  "output_required": true,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1369.1
3
+ Version: 3.0.1371.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1369
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1371
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介