tccli 3.0.1255.1__py2.py3-none-any.whl → 3.0.1256.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.
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1255.1'
1
+ __version__ = '3.0.1256.1'
@@ -2178,7 +2178,7 @@
2178
2178
  },
2179
2179
  {
2180
2180
  "disabled": false,
2181
- "document": "实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60个字符(包含模式串)。</li>",
2181
+ "document": "实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持128个字符(包含模式串)。</li>",
2182
2182
  "example": "MyInstance",
2183
2183
  "member": "string",
2184
2184
  "name": "InstanceName",
@@ -2458,7 +2458,7 @@
2458
2458
  },
2459
2459
  {
2460
2460
  "disabled": false,
2461
- "document": "实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60个字符(包含模式串)。</li>",
2461
+ "document": "实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持128个字符(包含模式串)。</li>",
2462
2462
  "example": "my_instance",
2463
2463
  "member": "string",
2464
2464
  "name": "InstanceName",
@@ -6619,7 +6619,7 @@
6619
6619
  },
6620
6620
  {
6621
6621
  "disabled": false,
6622
- "document": "实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60个字符(包含模式串)。</li>",
6622
+ "document": "实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持128个字符(包含模式串)。</li>",
6623
6623
  "example": "myInstance",
6624
6624
  "member": "string",
6625
6625
  "name": "InstanceName",
@@ -10653,7 +10653,7 @@
10653
10653
  },
10654
10654
  {
10655
10655
  "disabled": false,
10656
- "document": "实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持60个字符(包含模式串)。</li>",
10656
+ "document": "实例显示名称。<br><li>不指定实例显示名称则默认显示‘未命名’。</li><li>购买多台实例,如果指定模式串`{R:x}`,表示生成数字`[x, x+n-1]`,其中`n`表示购买实例的数量,例如`server_{R:3}`,购买1台时,实例显示名称为`server_3`;购买2台时,实例显示名称分别为`server_3`,`server_4`。支持指定多个模式串`{R:x}`。</li><li>购买多台实例,如果不指定模式串,则在实例显示名称添加后缀`1、2...n`,其中`n`表示购买实例的数量,例如`server_`,购买2台时,实例显示名称分别为`server_1`,`server_2`。</li><li>最多支持128个字符(包含模式串)。</li>",
10657
10657
  "example": "server_{R:3}",
10658
10658
  "member": "string",
10659
10659
  "name": "InstanceName",
@@ -386,9 +386,9 @@
386
386
  "status": "online"
387
387
  },
388
388
  "ModifyUserProfile": {
389
- "document": "此接口用于修改用户配置,如头像,昵称/用户名等。",
389
+ "document": "此接口用于修改用户信息,例如头像、昵称(用户名)等。注意,课中的用户信息不会立即同步修改,需待下次上课时,修改后的信息才会更新显示。",
390
390
  "input": "ModifyUserProfileRequest",
391
- "name": "修改用户配置",
391
+ "name": "修改用户信息",
392
392
  "output": "ModifyUserProfileResponse",
393
393
  "status": "online"
394
394
  },
@@ -6092,7 +6092,7 @@
6092
6092
  },
6093
6093
  {
6094
6094
  "disabled": false,
6095
- "document": "待修改的用户名",
6095
+ "document": "待修改的用户名。对应注册用户下“Name“字段,本次修改是对此内容进行修改。",
6096
6096
  "example": "zhanwsan",
6097
6097
  "member": "string",
6098
6098
  "name": "Nickname",
@@ -7111,13 +7111,13 @@
7111
7111
  },
7112
7112
  {
7113
7113
  "disabled": false,
7114
- "document": "时间\n注意:此字段可能返回 null,表示取不到有效值。",
7114
+ "document": "时间",
7115
7115
  "example": "20230111",
7116
7116
  "member": "string",
7117
7117
  "name": "CreateTime",
7118
7118
  "output_required": true,
7119
7119
  "type": "string",
7120
- "value_allowed_null": true
7120
+ "value_allowed_null": false
7121
7121
  },
7122
7122
  {
7123
7123
  "disabled": false,
@@ -424,7 +424,7 @@
424
424
  {
425
425
  "document": "获取首页Score",
426
426
  "input": "POST / HTTP/1.1\nHost: rum.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeScores\n<公共请求参数>\n\n{\n \"EndTime\": \"2022051914\",\n \"ID\": 1,\n \"StartTime\": \"2020011920\"\n}",
427
- "output": "{\n \"Response\": {\n \"ScoreSet\": [],\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
427
+ "output": "{\n \"Response\": {\n \"ScoreSet\": [\n {\n \"ApiAvaliableScore\": \"30\",\n \"ApiDuration\": \"0\",\n \"ApiFail\": \"0\",\n \"ApiNum\": \"0\",\n \"ApiPerformanceScore\": \"5\",\n \"CreateTime\": \"\",\n \"JsErrorScore\": \"30\",\n \"PageDuration\": \"0\",\n \"PageError\": \"0\",\n \"PagePerformanceScore\": \"10\",\n \"PagePv\": \"1\",\n \"PageUv\": \"0\",\n \"ProjectID\": 1,\n \"RecordNum\": 1,\n \"Score\": \"100\",\n \"StaticAvaliableScore\": \"20\",\n \"StaticDuration\": \"210\",\n \"StaticFail\": \"0\",\n \"StaticNum\": \"9\",\n \"StaticPerformanceScore\": \"5\"\n }\n ],\n \"RequestId\": \"65a8fec7-2b39-4b11-893f-3715279d235f\"\n }\n}",
428
428
  "title": "获取首页Score"
429
429
  }
430
430
  ],
@@ -2294,7 +2294,7 @@
2294
2294
  },
2295
2295
  {
2296
2296
  "disabled": false,
2297
- "document": "函数状态,状态值及流转[参考此处](https://cloud.tencent.com/document/product/583/47175)",
2297
+ "document": "函数状态,状态值及流转[参考此处](https://cloud.tencent.com/document/product/583/17244)",
2298
2298
  "example": "Active",
2299
2299
  "member": "string",
2300
2300
  "name": "Status",
@@ -3996,7 +3996,7 @@
3996
3996
  "example": "tcr-xxx",
3997
3997
  "member": "string",
3998
3998
  "name": "RegistryId",
3999
- "output_required": true,
3999
+ "output_required": false,
4000
4000
  "required": false,
4001
4001
  "type": "string",
4002
4002
  "value_allowed_null": true
@@ -4007,7 +4007,7 @@
4007
4007
  "example": "\"entrypoint.sh\"",
4008
4008
  "member": "string",
4009
4009
  "name": "EntryPoint",
4010
- "output_required": true,
4010
+ "output_required": false,
4011
4011
  "required": false,
4012
4012
  "type": "string",
4013
4013
  "value_allowed_null": true
@@ -4018,7 +4018,7 @@
4018
4018
  "example": "python",
4019
4019
  "member": "string",
4020
4020
  "name": "Command",
4021
- "output_required": true,
4021
+ "output_required": false,
4022
4022
  "required": false,
4023
4023
  "type": "string",
4024
4024
  "value_allowed_null": true
@@ -4029,7 +4029,7 @@
4029
4029
  "example": " -u app.py",
4030
4030
  "member": "string",
4031
4031
  "name": "Args",
4032
- "output_required": true,
4032
+ "output_required": false,
4033
4033
  "required": false,
4034
4034
  "type": "string",
4035
4035
  "value_allowed_null": true
@@ -4040,7 +4040,7 @@
4040
4040
  "example": "False",
4041
4041
  "member": "bool",
4042
4042
  "name": "ContainerImageAccelerate",
4043
- "output_required": true,
4043
+ "output_required": false,
4044
4044
  "required": false,
4045
4045
  "type": "bool",
4046
4046
  "value_allowed_null": true
@@ -4051,7 +4051,7 @@
4051
4051
  "example": "9000",
4052
4052
  "member": "int64",
4053
4053
  "name": "ImagePort",
4054
- "output_required": true,
4054
+ "output_required": false,
4055
4055
  "required": false,
4056
4056
  "type": "int",
4057
4057
  "value_allowed_null": true
@@ -4451,7 +4451,7 @@
4451
4451
  },
4452
4452
  {
4453
4453
  "disabled": false,
4454
- "document": "层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/47175#.E5.B1.82.EF.BC.88layer.EF.BC.89.E7.8A.B6.E6.80.81)",
4454
+ "document": "层的具体版本当前状态,状态值[参考此处](https://cloud.tencent.com/document/product/583/115197#.E5.B1.82.EF.BC.88Layer.EF.BC.89.E7.8A.B6.E6.80.81)",
4455
4455
  "example": "Active",
4456
4456
  "member": "string",
4457
4457
  "name": "Status",
@@ -1204,7 +1204,7 @@
1204
1204
  "example": "无",
1205
1205
  "member": "SessionIntervalStatistic",
1206
1206
  "name": "SessionStatistics",
1207
- "required": true,
1207
+ "output_required": true,
1208
1208
  "type": "list",
1209
1209
  "value_allowed_null": false
1210
1210
  },
@@ -1268,7 +1268,7 @@
1268
1268
  "example": "10",
1269
1269
  "member": "uint64",
1270
1270
  "name": "SessionNum",
1271
- "required": true,
1271
+ "output_required": true,
1272
1272
  "type": "int",
1273
1273
  "value_allowed_null": false
1274
1274
  },
@@ -1278,7 +1278,7 @@
1278
1278
  "example": "100",
1279
1279
  "member": "uint64",
1280
1280
  "name": "TotalDuration",
1281
- "required": true,
1281
+ "output_required": true,
1282
1282
  "type": "int",
1283
1283
  "value_allowed_null": false
1284
1284
  },
@@ -1288,7 +1288,7 @@
1288
1288
  "example": "30",
1289
1289
  "member": "uint64",
1290
1290
  "name": "ActiveFieldDeviceNum",
1291
- "required": true,
1291
+ "output_required": true,
1292
1292
  "type": "int",
1293
1293
  "value_allowed_null": false
1294
1294
  },
@@ -1298,7 +1298,7 @@
1298
1298
  "example": "60",
1299
1299
  "member": "uint64",
1300
1300
  "name": "ActiveRemoteDeviceNum",
1301
- "required": true,
1301
+ "output_required": true,
1302
1302
  "type": "int",
1303
1303
  "value_allowed_null": false
1304
1304
  },
@@ -1308,7 +1308,7 @@
1308
1308
  "example": "90",
1309
1309
  "member": "uint64",
1310
1310
  "name": "NotBadSessionRatio",
1311
- "required": true,
1311
+ "output_required": true,
1312
1312
  "type": "int",
1313
1313
  "value_allowed_null": false
1314
1314
  },
@@ -124,7 +124,7 @@
124
124
  {
125
125
  "document": "",
126
126
  "input": "POST / HTTP/1.1\nHost: trro.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSessionStatisticsByInterval\n<公共请求参数>\n\n{\n \"ProjectId\": \"abcdefg\",\n \"EndTime\": \"1670000000\",\n \"StatisticInterval\": \"hour\",\n \"DeviceId\": \"dev2\",\n \"StartTime\": \"0\"\n}",
127
- "output": "{\n \"Response\": {\n \"RequestId\": \"abcdefg-774e-4756-9f5b-8faa55ae1e5b\",\n \"SessionStatistics\": [\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 1,\n \"TotalDuration\": 0\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 2,\n \"TotalDuration\": 0\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 1,\n \"SessionNum\": 4,\n \"TotalDuration\": 604\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 1,\n \"TotalDuration\": 0\n }\n ]\n }\n}",
127
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abcdefg-774e-4756-9f5b-8faa55ae1e5b\",\n \"SessionStatistics\": [\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 1,\n \"StartTime\": 1661151600,\n \"EndTime\": 1661152600,\n \"TotalDuration\": 20,\n \"NotBadSessionRatio\": 50\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 2,\n \"StartTime\": 1661162400,\n \"EndTime\": 1661152600,\n \"TotalDuration\": 20,\n \"NotBadSessionRatio\": 10\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 1,\n \"SessionNum\": 4,\n \"StartTime\": 1661166000,\n \"EndTime\": 1661176000,\n \"TotalDuration\": 604,\n \"NotBadSessionRatio\": 20\n },\n {\n \"ActiveFieldDeviceNum\": 1,\n \"ActiveRemoteDeviceNum\": 0,\n \"SessionNum\": 1,\n \"StartTime\": 1661166000,\n \"EndTime\": 1661176000,\n \"TotalDuration\": 10,\n \"NotBadSessionRatio\": 30\n }\n ]\n }\n}",
128
128
  "title": "示例"
129
129
  }
130
130
  ],
@@ -148,7 +148,7 @@
148
148
  {
149
149
  "document": "统计各个类型的license数量",
150
150
  "input": "POST / HTTP/1.1\nHost: trro.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetLicenseStat\n<公共请求参数>\n\n{}",
151
- "output": "{\n \"Response\": {\n \"Valid\": 10,\n \"Bound\": 8,\n \"UnBound\": 2,\n \"Expire\": 1,\n \"MonthlyExpire\": 0,\n \"RequestId\": \"abc\"\n }\n}",
151
+ "output": "{\n \"Response\": {\n \"Valid\": 10,\n \"Bound\": 8,\n \"UnBound\": 2,\n \"Expire\": 1,\n \"MonthlyExpire\": 0,\n \"RequestId\": \"72e27b83-97e4-4325-f4e3-cac52c5ed9e3\"\n }\n}",
152
152
  "title": "license统计"
153
153
  }
154
154
  ],
@@ -590,6 +590,17 @@
590
590
  "required": false,
591
591
  "type": "bool",
592
592
  "value_allowed_null": false
593
+ },
594
+ {
595
+ "disabled": false,
596
+ "document": "欢迎消息优先级,0默认,1高优,高优不能被打断。",
597
+ "example": "0",
598
+ "member": "uint64",
599
+ "name": "WelcomeMessagePriority",
600
+ "output_required": false,
601
+ "required": false,
602
+ "type": "int",
603
+ "value_allowed_null": false
593
604
  }
594
605
  ],
595
606
  "usage": "both"
@@ -3189,6 +3189,58 @@ def doDescribeNativeGatewayServiceSources(args, parsed_globals):
3189
3189
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3190
3190
 
3191
3191
 
3192
+ def doDescribeCloudNativeAPIGatewayInfoByIp(args, parsed_globals):
3193
+ g_param = parse_global_arg(parsed_globals)
3194
+
3195
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3196
+ cred = credential.CVMRoleCredential()
3197
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3198
+ cred = credential.STSAssumeRoleCredential(
3199
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3200
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3201
+ )
3202
+ 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):
3203
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3204
+ else:
3205
+ cred = credential.Credential(
3206
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3207
+ )
3208
+ http_profile = HttpProfile(
3209
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3210
+ reqMethod="POST",
3211
+ endpoint=g_param[OptionsDefine.Endpoint],
3212
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3213
+ )
3214
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3215
+ if g_param[OptionsDefine.Language]:
3216
+ profile.language = g_param[OptionsDefine.Language]
3217
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3218
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
3219
+ client._sdkVersion += ("_CLI_" + __version__)
3220
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3221
+ model = models.DescribeCloudNativeAPIGatewayInfoByIpRequest()
3222
+ model.from_json_string(json.dumps(args))
3223
+ start_time = time.time()
3224
+ while True:
3225
+ rsp = client.DescribeCloudNativeAPIGatewayInfoByIp(model)
3226
+ result = rsp.to_json_string()
3227
+ try:
3228
+ json_obj = json.loads(result)
3229
+ except TypeError as e:
3230
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3231
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3232
+ break
3233
+ cur_time = time.time()
3234
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3235
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3236
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3237
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3238
+ else:
3239
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3240
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3241
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3242
+
3243
+
3192
3244
  def doModifyNativeGatewayServerGroup(args, parsed_globals):
3193
3245
  g_param = parse_global_arg(parsed_globals)
3194
3246
 
@@ -6225,6 +6277,7 @@ ACTION_MAP = {
6225
6277
  "DescribeNacosReplicas": doDescribeNacosReplicas,
6226
6278
  "DescribeUpstreamHealthCheckConfig": doDescribeUpstreamHealthCheckConfig,
6227
6279
  "DescribeNativeGatewayServiceSources": doDescribeNativeGatewayServiceSources,
6280
+ "DescribeCloudNativeAPIGatewayInfoByIp": doDescribeCloudNativeAPIGatewayInfoByIp,
6228
6281
  "ModifyNativeGatewayServerGroup": doModifyNativeGatewayServerGroup,
6229
6282
  "DescribeCloudNativeAPIGatewayCertificates": doDescribeCloudNativeAPIGatewayCertificates,
6230
6283
  "ModifyCloudNativeAPIGatewayServiceRateLimit": doModifyCloudNativeAPIGatewayServiceRateLimit,
@@ -357,6 +357,13 @@
357
357
  "output": "DescribeCloudNativeAPIGatewayConfigResponse",
358
358
  "status": "online"
359
359
  },
360
+ "DescribeCloudNativeAPIGatewayInfoByIp": {
361
+ "document": "根据公网IP查询云原生网关实例信息",
362
+ "input": "DescribeCloudNativeAPIGatewayInfoByIpRequest",
363
+ "name": "根据公网IP查询云原生网关实例信息",
364
+ "output": "DescribeCloudNativeAPIGatewayInfoByIpResponse",
365
+ "status": "online"
366
+ },
360
367
  "DescribeCloudNativeAPIGatewayNodes": {
361
368
  "document": "获取云原生网关节点列表",
362
369
  "input": "DescribeCloudNativeAPIGatewayNodesRequest",
@@ -6739,6 +6746,43 @@
6739
6746
  ],
6740
6747
  "usage": "out"
6741
6748
  },
6749
+ "DescribeCloudNativeAPIGatewayInfoByIpRequest": {
6750
+ "document": "DescribeCloudNativeAPIGatewayInfoByIp请求参数结构体",
6751
+ "members": [
6752
+ {
6753
+ "disabled": false,
6754
+ "document": "云原生网关的公网ip",
6755
+ "example": "1.1.1.1",
6756
+ "member": "string",
6757
+ "name": "PublicNetworkIP",
6758
+ "required": true,
6759
+ "type": "string"
6760
+ }
6761
+ ],
6762
+ "type": "object"
6763
+ },
6764
+ "DescribeCloudNativeAPIGatewayInfoByIpResponse": {
6765
+ "document": "DescribeCloudNativeAPIGatewayInfoByIp返回参数结构体",
6766
+ "members": [
6767
+ {
6768
+ "disabled": false,
6769
+ "document": "出参\n注意:此字段可能返回 null,表示取不到有效值。",
6770
+ "example": "{\"GatewayId\":\"gateway-2f2e3c42\",\"GroupId\":\"group-c01e82b6\"}",
6771
+ "member": "DescribeInstanceInfoByIpResult",
6772
+ "name": "Result",
6773
+ "output_required": false,
6774
+ "type": "object",
6775
+ "value_allowed_null": true
6776
+ },
6777
+ {
6778
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6779
+ "member": "string",
6780
+ "name": "RequestId",
6781
+ "type": "string"
6782
+ }
6783
+ ],
6784
+ "type": "object"
6785
+ },
6742
6786
  "DescribeCloudNativeAPIGatewayNodesRequest": {
6743
6787
  "document": "DescribeCloudNativeAPIGatewayNodes请求参数结构体",
6744
6788
  "members": [
@@ -8953,6 +8997,32 @@
8953
8997
  ],
8954
8998
  "type": "object"
8955
8999
  },
9000
+ "DescribeInstanceInfoByIpResult": {
9001
+ "document": "根据公网IP查询云原生网关实例信息出参",
9002
+ "members": [
9003
+ {
9004
+ "disabled": false,
9005
+ "document": "实例id\n注意:此字段可能返回 null,表示取不到有效值。",
9006
+ "example": "gateway-xxx",
9007
+ "member": "string",
9008
+ "name": "GatewayId",
9009
+ "output_required": false,
9010
+ "type": "string",
9011
+ "value_allowed_null": true
9012
+ },
9013
+ {
9014
+ "disabled": false,
9015
+ "document": "分组id\n注意:此字段可能返回 null,表示取不到有效值。",
9016
+ "example": "group-xxx",
9017
+ "member": "string",
9018
+ "name": "GroupId",
9019
+ "output_required": false,
9020
+ "type": "string",
9021
+ "value_allowed_null": true
9022
+ }
9023
+ ],
9024
+ "usage": "out"
9025
+ },
8956
9026
  "DescribeInstanceRegionInfo": {
8957
9027
  "document": "实例地域信息描述",
8958
9028
  "members": [
@@ -408,6 +408,14 @@
408
408
  "title": "测试获取云原生API网关配置信息"
409
409
  }
410
410
  ],
411
+ "DescribeCloudNativeAPIGatewayInfoByIp": [
412
+ {
413
+ "document": "",
414
+ "input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudNativeAPIGatewayInfoByIp\n<公共请求参数>\n\n{\n \"PublicNetworkIP\": \"1.1.1.1\"\n}",
415
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"GatewayId\": \"gateway-a1337ce3\",\n \"GroupId\": \"group-a1337ce\"\n },\n \"RequestId\": \"86e4eecf-51a5-4dda-9cec-68650a9b8c3b\"\n }\n}",
416
+ "title": "根据公网ip查询云原生网关实例信息"
417
+ }
418
+ ],
411
419
  "DescribeCloudNativeAPIGatewayNodes": [
412
420
  {
413
421
  "document": "",