tencentcloud-sdk-python 3.0.1363__py2.py3-none-any.whl → 3.0.1372__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 (112) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ams/v20201229/ams_client.py +17 -6
  3. tencentcloud/ams/v20201229/models.py +8 -6
  4. tencentcloud/autoscaling/v20180419/autoscaling_client.py +2 -1
  5. tencentcloud/autoscaling/v20180419/models.py +198 -102
  6. tencentcloud/bi/v20220105/models.py +15 -0
  7. tencentcloud/cam/v20190116/models.py +0 -2
  8. tencentcloud/cat/v20180409/cat_client.py +23 -0
  9. tencentcloud/cat/v20180409/models.py +509 -0
  10. tencentcloud/cbs/v20170312/cbs_client.py +1 -1
  11. tencentcloud/cbs/v20170312/models.py +67 -56
  12. tencentcloud/ccc/v20200210/models.py +105 -56
  13. tencentcloud/cdb/v20170320/cdb_client.py +2 -2
  14. tencentcloud/cdb/v20170320/models.py +10 -10
  15. tencentcloud/cdc/v20201214/cdc_client.py +46 -0
  16. tencentcloud/cdc/v20201214/errorcodes.py +18 -0
  17. tencentcloud/cdc/v20201214/models.py +173 -0
  18. tencentcloud/cdn/v20180606/cdn_client.py +70 -24
  19. tencentcloud/cdn/v20180606/models.py +19 -4
  20. tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
  21. tencentcloud/cdwpg/v20201230/models.py +0 -12
  22. tencentcloud/cfs/v20190719/models.py +15 -0
  23. tencentcloud/chc/v20230418/models.py +15 -0
  24. tencentcloud/ckafka/v20190819/models.py +0 -8
  25. tencentcloud/clb/v20180317/clb_client.py +1 -1
  26. tencentcloud/clb/v20180317/models.py +264 -370
  27. tencentcloud/cls/v20201016/models.py +35 -0
  28. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  29. tencentcloud/cvm/v20170312/errorcodes.py +19 -1
  30. tencentcloud/cvm/v20170312/models.py +335 -40
  31. tencentcloud/cynosdb/v20190107/models.py +0 -6
  32. tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
  33. tencentcloud/dbbrain/v20210527/models.py +109 -0
  34. tencentcloud/dc/v20180410/models.py +25 -12
  35. tencentcloud/dlc/v20210125/dlc_client.py +23 -0
  36. tencentcloud/dlc/v20210125/models.py +124 -0
  37. tencentcloud/domain/v20180808/domain_client.py +4 -2
  38. tencentcloud/domain/v20180808/errorcodes.py +3 -0
  39. tencentcloud/domain/v20180808/models.py +584 -158
  40. tencentcloud/dsgc/v20190723/models.py +15 -0
  41. tencentcloud/dts/v20211206/models.py +1 -16
  42. tencentcloud/ecdn/v20191012/ecdn_client.py +18 -6
  43. tencentcloud/emr/v20190103/models.py +15 -0
  44. tencentcloud/ess/v20201111/models.py +16 -12
  45. tencentcloud/gs/v20191118/errorcodes.py +3 -0
  46. tencentcloud/gs/v20191118/gs_client.py +46 -0
  47. tencentcloud/gs/v20191118/models.py +295 -6
  48. tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
  49. tencentcloud/gwlb/v20240906/gwlb_client.py +0 -1
  50. tencentcloud/gwlb/v20240906/models.py +4 -32
  51. tencentcloud/hai/v20230812/errorcodes.py +6 -0
  52. tencentcloud/hai/v20230812/hai_client.py +23 -0
  53. tencentcloud/hai/v20230812/models.py +109 -0
  54. tencentcloud/hunyuan/v20230901/models.py +2 -2
  55. tencentcloud/ims/v20201229/models.py +25 -4
  56. tencentcloud/ioa/v20220601/ioa_client.py +46 -0
  57. tencentcloud/ioa/v20220601/models.py +557 -4
  58. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
  59. tencentcloud/iotexplorer/v20190423/models.py +94 -4
  60. tencentcloud/iotvideoindustry/v20201201/models.py +15 -0
  61. tencentcloud/iss/v20230517/errorcodes.py +6 -0
  62. tencentcloud/iss/v20230517/iss_client.py +115 -0
  63. tencentcloud/iss/v20230517/models.py +1095 -12
  64. tencentcloud/lcic/v20220817/errorcodes.py +1 -1
  65. tencentcloud/lighthouse/v20200324/models.py +2 -0
  66. tencentcloud/live/v20180801/models.py +2 -2
  67. tencentcloud/lke/v20231130/errorcodes.py +3 -0
  68. tencentcloud/lke/v20231130/lke_client.py +4 -2
  69. tencentcloud/lke/v20231130/models.py +251 -16
  70. tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
  71. tencentcloud/lkeap/v20240522/models.py +193 -2
  72. tencentcloud/monitor/v20180724/models.py +8 -8
  73. tencentcloud/monitor/v20180724/monitor_client.py +1 -1
  74. tencentcloud/mps/v20190612/errorcodes.py +6 -0
  75. tencentcloud/mps/v20190612/models.py +135 -10
  76. tencentcloud/ocr/v20181119/models.py +38 -2
  77. tencentcloud/postgres/v20170312/models.py +36 -106
  78. tencentcloud/postgres/v20170312/postgres_client.py +15 -5
  79. tencentcloud/redis/v20180412/models.py +159 -6
  80. tencentcloud/ses/v20201002/models.py +15 -0
  81. tencentcloud/soe/v20180724/models.py +4 -2
  82. tencentcloud/ssm/v20190923/models.py +45 -0
  83. tencentcloud/tat/v20201028/errorcodes.py +6 -0
  84. tencentcloud/tat/v20201028/models.py +78 -32
  85. tencentcloud/tcss/v20201101/models.py +45 -0
  86. tencentcloud/tdmq/v20200217/models.py +115 -95
  87. tencentcloud/tdmq/v20200217/tdmq_client.py +3 -3
  88. tencentcloud/tds/v20220801/models.py +441 -0
  89. tencentcloud/tds/v20220801/tds_client.py +23 -0
  90. tencentcloud/tem/v20210701/models.py +0 -498
  91. tencentcloud/teo/v20220901/errorcodes.py +3 -0
  92. tencentcloud/teo/v20220901/models.py +47 -126
  93. tencentcloud/tione/v20211111/errorcodes.py +3 -0
  94. tencentcloud/tione/v20211111/models.py +744 -0
  95. tencentcloud/tione/v20211111/tione_client.py +23 -0
  96. tencentcloud/trtc/v20190722/models.py +4 -10
  97. tencentcloud/tse/v20201207/models.py +90 -0
  98. tencentcloud/tsf/v20180326/models.py +15 -0
  99. tencentcloud/tts/v20190823/tts_client.py +2 -2
  100. tencentcloud/vm/v20210922/models.py +2 -2
  101. tencentcloud/vm/v20210922/vm_client.py +16 -8
  102. tencentcloud/vod/v20180717/models.py +24 -12
  103. tencentcloud/vpc/v20170312/models.py +758 -84
  104. tencentcloud/vpc/v20170312/vpc_client.py +115 -0
  105. tencentcloud/waf/v20180125/models.py +378 -0
  106. tencentcloud/wedata/v20210820/models.py +391 -26
  107. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  108. {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
  109. {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +112 -112
  110. {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
  111. {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
  112. {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -215,13 +215,16 @@ CREATE_FAIL:创建失败、CREATE_SUCCESS:创建成功)
215
215
  :type State: str
216
216
  :param _CreateTime: 安卓应用版本创建时间
217
217
  :type CreateTime: str
218
- :param _Command: shell 命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
218
+ :param _Command: shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
219
219
  :type Command: str
220
+ :param _UninstallCommand: shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
221
+ :type UninstallCommand: str
220
222
  """
221
223
  self._AndroidAppVersion = None
222
224
  self._State = None
223
225
  self._CreateTime = None
224
226
  self._Command = None
227
+ self._UninstallCommand = None
225
228
 
226
229
  @property
227
230
  def AndroidAppVersion(self):
@@ -260,7 +263,7 @@ CREATE_FAIL:创建失败、CREATE_SUCCESS:创建成功)
260
263
 
261
264
  @property
262
265
  def Command(self):
263
- """shell 命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
266
+ """shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
264
267
  :rtype: str
265
268
  """
266
269
  return self._Command
@@ -269,12 +272,24 @@ CREATE_FAIL:创建失败、CREATE_SUCCESS:创建成功)
269
272
  def Command(self, Command):
270
273
  self._Command = Command
271
274
 
275
+ @property
276
+ def UninstallCommand(self):
277
+ """shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
278
+ :rtype: str
279
+ """
280
+ return self._UninstallCommand
281
+
282
+ @UninstallCommand.setter
283
+ def UninstallCommand(self, UninstallCommand):
284
+ self._UninstallCommand = UninstallCommand
285
+
272
286
 
273
287
  def _deserialize(self, params):
274
288
  self._AndroidAppVersion = params.get("AndroidAppVersion")
275
289
  self._State = params.get("State")
276
290
  self._CreateTime = params.get("CreateTime")
277
291
  self._Command = params.get("Command")
292
+ self._UninstallCommand = params.get("UninstallCommand")
278
293
  memeber_set = set(params.keys())
279
294
  for name, value in vars(self).items():
280
295
  property_name = name[1:]
@@ -713,6 +728,57 @@ class AndroidInstanceImage(AbstractModel):
713
728
 
714
729
 
715
730
 
731
+ class AndroidInstanceInformation(AbstractModel):
732
+ """安卓实例信息
733
+
734
+ """
735
+
736
+ def __init__(self):
737
+ r"""
738
+ :param _AndroidInstanceId: 安卓实例 ID
739
+ :type AndroidInstanceId: str
740
+ :param _Name: 实例名称
741
+ :type Name: str
742
+ """
743
+ self._AndroidInstanceId = None
744
+ self._Name = None
745
+
746
+ @property
747
+ def AndroidInstanceId(self):
748
+ """安卓实例 ID
749
+ :rtype: str
750
+ """
751
+ return self._AndroidInstanceId
752
+
753
+ @AndroidInstanceId.setter
754
+ def AndroidInstanceId(self, AndroidInstanceId):
755
+ self._AndroidInstanceId = AndroidInstanceId
756
+
757
+ @property
758
+ def Name(self):
759
+ """实例名称
760
+ :rtype: str
761
+ """
762
+ return self._Name
763
+
764
+ @Name.setter
765
+ def Name(self, Name):
766
+ self._Name = Name
767
+
768
+
769
+ def _deserialize(self, params):
770
+ self._AndroidInstanceId = params.get("AndroidInstanceId")
771
+ self._Name = params.get("Name")
772
+ memeber_set = set(params.keys())
773
+ for name, value in vars(self).items():
774
+ property_name = name[1:]
775
+ if property_name in memeber_set:
776
+ memeber_set.remove(property_name)
777
+ if len(memeber_set) > 0:
778
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
779
+
780
+
781
+
716
782
  class AndroidInstanceLabel(AbstractModel):
717
783
  """安卓实例标签
718
784
 
@@ -1518,12 +1584,15 @@ class CreateAndroidAppVersionRequest(AbstractModel):
1518
1584
  :type AndroidAppId: str
1519
1585
  :param _DownloadUrl: 应用包下载地址
1520
1586
  :type DownloadUrl: str
1521
- :param _Command: shell 命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
1587
+ :param _Command: 应用 shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
1522
1588
  :type Command: str
1589
+ :param _UninstallCommand: 应用 shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
1590
+ :type UninstallCommand: str
1523
1591
  """
1524
1592
  self._AndroidAppId = None
1525
1593
  self._DownloadUrl = None
1526
1594
  self._Command = None
1595
+ self._UninstallCommand = None
1527
1596
 
1528
1597
  @property
1529
1598
  def AndroidAppId(self):
@@ -1549,7 +1618,7 @@ class CreateAndroidAppVersionRequest(AbstractModel):
1549
1618
 
1550
1619
  @property
1551
1620
  def Command(self):
1552
- """shell 命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
1621
+ """应用 shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
1553
1622
  :rtype: str
1554
1623
  """
1555
1624
  return self._Command
@@ -1558,11 +1627,23 @@ class CreateAndroidAppVersionRequest(AbstractModel):
1558
1627
  def Command(self, Command):
1559
1628
  self._Command = Command
1560
1629
 
1630
+ @property
1631
+ def UninstallCommand(self):
1632
+ """应用 shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
1633
+ :rtype: str
1634
+ """
1635
+ return self._UninstallCommand
1636
+
1637
+ @UninstallCommand.setter
1638
+ def UninstallCommand(self, UninstallCommand):
1639
+ self._UninstallCommand = UninstallCommand
1640
+
1561
1641
 
1562
1642
  def _deserialize(self, params):
1563
1643
  self._AndroidAppId = params.get("AndroidAppId")
1564
1644
  self._DownloadUrl = params.get("DownloadUrl")
1565
1645
  self._Command = params.get("Command")
1646
+ self._UninstallCommand = params.get("UninstallCommand")
1566
1647
  memeber_set = set(params.keys())
1567
1648
  for name, value in vars(self).items():
1568
1649
  property_name = name[1:]
@@ -4331,6 +4412,130 @@ class ExecuteCommandOnAndroidInstancesResponse(AbstractModel):
4331
4412
  self._RequestId = params.get("RequestId")
4332
4413
 
4333
4414
 
4415
+ class FetchAndroidInstancesLogsRequest(AbstractModel):
4416
+ """FetchAndroidInstancesLogs请求参数结构体
4417
+
4418
+ """
4419
+
4420
+ def __init__(self):
4421
+ r"""
4422
+ :param _AndroidInstanceIds: 安卓实例 ID 列表
4423
+ :type AndroidInstanceIds: list of str
4424
+ :param _BucketName: cos 桶名称
4425
+ :type BucketName: str
4426
+ :param _BucketRegion: cos 桶区域
4427
+ :type BucketRegion: str
4428
+ :param _BucketDirectory: cos 桶目录,默认为 /log/
4429
+ :type BucketDirectory: str
4430
+ :param _RecentDays: 下载最近几天的日志,默认值为 1
4431
+ :type RecentDays: int
4432
+ """
4433
+ self._AndroidInstanceIds = None
4434
+ self._BucketName = None
4435
+ self._BucketRegion = None
4436
+ self._BucketDirectory = None
4437
+ self._RecentDays = None
4438
+
4439
+ @property
4440
+ def AndroidInstanceIds(self):
4441
+ """安卓实例 ID 列表
4442
+ :rtype: list of str
4443
+ """
4444
+ return self._AndroidInstanceIds
4445
+
4446
+ @AndroidInstanceIds.setter
4447
+ def AndroidInstanceIds(self, AndroidInstanceIds):
4448
+ self._AndroidInstanceIds = AndroidInstanceIds
4449
+
4450
+ @property
4451
+ def BucketName(self):
4452
+ """cos 桶名称
4453
+ :rtype: str
4454
+ """
4455
+ return self._BucketName
4456
+
4457
+ @BucketName.setter
4458
+ def BucketName(self, BucketName):
4459
+ self._BucketName = BucketName
4460
+
4461
+ @property
4462
+ def BucketRegion(self):
4463
+ """cos 桶区域
4464
+ :rtype: str
4465
+ """
4466
+ return self._BucketRegion
4467
+
4468
+ @BucketRegion.setter
4469
+ def BucketRegion(self, BucketRegion):
4470
+ self._BucketRegion = BucketRegion
4471
+
4472
+ @property
4473
+ def BucketDirectory(self):
4474
+ """cos 桶目录,默认为 /log/
4475
+ :rtype: str
4476
+ """
4477
+ return self._BucketDirectory
4478
+
4479
+ @BucketDirectory.setter
4480
+ def BucketDirectory(self, BucketDirectory):
4481
+ self._BucketDirectory = BucketDirectory
4482
+
4483
+ @property
4484
+ def RecentDays(self):
4485
+ """下载最近几天的日志,默认值为 1
4486
+ :rtype: int
4487
+ """
4488
+ return self._RecentDays
4489
+
4490
+ @RecentDays.setter
4491
+ def RecentDays(self, RecentDays):
4492
+ self._RecentDays = RecentDays
4493
+
4494
+
4495
+ def _deserialize(self, params):
4496
+ self._AndroidInstanceIds = params.get("AndroidInstanceIds")
4497
+ self._BucketName = params.get("BucketName")
4498
+ self._BucketRegion = params.get("BucketRegion")
4499
+ self._BucketDirectory = params.get("BucketDirectory")
4500
+ self._RecentDays = params.get("RecentDays")
4501
+ memeber_set = set(params.keys())
4502
+ for name, value in vars(self).items():
4503
+ property_name = name[1:]
4504
+ if property_name in memeber_set:
4505
+ memeber_set.remove(property_name)
4506
+ if len(memeber_set) > 0:
4507
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
4508
+
4509
+
4510
+
4511
+ class FetchAndroidInstancesLogsResponse(AbstractModel):
4512
+ """FetchAndroidInstancesLogs返回参数结构体
4513
+
4514
+ """
4515
+
4516
+ def __init__(self):
4517
+ r"""
4518
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4519
+ :type RequestId: str
4520
+ """
4521
+ self._RequestId = None
4522
+
4523
+ @property
4524
+ def RequestId(self):
4525
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4526
+ :rtype: str
4527
+ """
4528
+ return self._RequestId
4529
+
4530
+ @RequestId.setter
4531
+ def RequestId(self, RequestId):
4532
+ self._RequestId = RequestId
4533
+
4534
+
4535
+ def _deserialize(self, params):
4536
+ self._RequestId = params.get("RequestId")
4537
+
4538
+
4334
4539
  class Filter(AbstractModel):
4335
4540
  """过滤
4336
4541
 
@@ -4677,13 +4882,16 @@ class ModifyAndroidAppVersionRequest(AbstractModel):
4677
4882
  :type AndroidAppVersion: str
4678
4883
  :param _AndroidAppVersionName: 安卓应用版本名称
4679
4884
  :type AndroidAppVersionName: str
4680
- :param _Command: shell 命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
4885
+ :param _Command: 应用 shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
4681
4886
  :type Command: str
4887
+ :param _UninstallCommand: 应用 shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
4888
+ :type UninstallCommand: str
4682
4889
  """
4683
4890
  self._AndroidAppId = None
4684
4891
  self._AndroidAppVersion = None
4685
4892
  self._AndroidAppVersionName = None
4686
4893
  self._Command = None
4894
+ self._UninstallCommand = None
4687
4895
 
4688
4896
  @property
4689
4897
  def AndroidAppId(self):
@@ -4720,7 +4928,7 @@ class ModifyAndroidAppVersionRequest(AbstractModel):
4720
4928
 
4721
4929
  @property
4722
4930
  def Command(self):
4723
- """shell 命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
4931
+ """应用 shell 安装命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
4724
4932
  :rtype: str
4725
4933
  """
4726
4934
  return self._Command
@@ -4729,12 +4937,24 @@ class ModifyAndroidAppVersionRequest(AbstractModel):
4729
4937
  def Command(self, Command):
4730
4938
  self._Command = Command
4731
4939
 
4940
+ @property
4941
+ def UninstallCommand(self):
4942
+ """应用 shell 卸载命令(支持多条命令执行,通过 && 组合;只在应用 AppMode 为 ADVANCED 高级模式下 才会生效)
4943
+ :rtype: str
4944
+ """
4945
+ return self._UninstallCommand
4946
+
4947
+ @UninstallCommand.setter
4948
+ def UninstallCommand(self, UninstallCommand):
4949
+ self._UninstallCommand = UninstallCommand
4950
+
4732
4951
 
4733
4952
  def _deserialize(self, params):
4734
4953
  self._AndroidAppId = params.get("AndroidAppId")
4735
4954
  self._AndroidAppVersion = params.get("AndroidAppVersion")
4736
4955
  self._AndroidAppVersionName = params.get("AndroidAppVersionName")
4737
4956
  self._Command = params.get("Command")
4957
+ self._UninstallCommand = params.get("UninstallCommand")
4738
4958
  memeber_set = set(params.keys())
4739
4959
  for name, value in vars(self).items():
4740
4960
  property_name = name[1:]
@@ -5007,6 +5227,75 @@ class ModifyAndroidInstanceResolutionResponse(AbstractModel):
5007
5227
  self._RequestId = params.get("RequestId")
5008
5228
 
5009
5229
 
5230
+ class ModifyAndroidInstancesInformationRequest(AbstractModel):
5231
+ """ModifyAndroidInstancesInformation请求参数结构体
5232
+
5233
+ """
5234
+
5235
+ def __init__(self):
5236
+ r"""
5237
+ :param _AndroidInstanceInformations: 安卓实例信息数据
5238
+ :type AndroidInstanceInformations: list of AndroidInstanceInformation
5239
+ """
5240
+ self._AndroidInstanceInformations = None
5241
+
5242
+ @property
5243
+ def AndroidInstanceInformations(self):
5244
+ """安卓实例信息数据
5245
+ :rtype: list of AndroidInstanceInformation
5246
+ """
5247
+ return self._AndroidInstanceInformations
5248
+
5249
+ @AndroidInstanceInformations.setter
5250
+ def AndroidInstanceInformations(self, AndroidInstanceInformations):
5251
+ self._AndroidInstanceInformations = AndroidInstanceInformations
5252
+
5253
+
5254
+ def _deserialize(self, params):
5255
+ if params.get("AndroidInstanceInformations") is not None:
5256
+ self._AndroidInstanceInformations = []
5257
+ for item in params.get("AndroidInstanceInformations"):
5258
+ obj = AndroidInstanceInformation()
5259
+ obj._deserialize(item)
5260
+ self._AndroidInstanceInformations.append(obj)
5261
+ memeber_set = set(params.keys())
5262
+ for name, value in vars(self).items():
5263
+ property_name = name[1:]
5264
+ if property_name in memeber_set:
5265
+ memeber_set.remove(property_name)
5266
+ if len(memeber_set) > 0:
5267
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5268
+
5269
+
5270
+
5271
+ class ModifyAndroidInstancesInformationResponse(AbstractModel):
5272
+ """ModifyAndroidInstancesInformation返回参数结构体
5273
+
5274
+ """
5275
+
5276
+ def __init__(self):
5277
+ r"""
5278
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5279
+ :type RequestId: str
5280
+ """
5281
+ self._RequestId = None
5282
+
5283
+ @property
5284
+ def RequestId(self):
5285
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5286
+ :rtype: str
5287
+ """
5288
+ return self._RequestId
5289
+
5290
+ @RequestId.setter
5291
+ def RequestId(self, RequestId):
5292
+ self._RequestId = RequestId
5293
+
5294
+
5295
+ def _deserialize(self, params):
5296
+ self._RequestId = params.get("RequestId")
5297
+
5298
+
5010
5299
  class ModifyAndroidInstancesLabelsRequest(AbstractModel):
5011
5300
  """ModifyAndroidInstancesLabels请求参数结构体
5012
5301
 
@@ -44,6 +44,9 @@ INVALIDPARAMETERVALUE_INVALIDFILTER = 'InvalidParameterValue.InvalidFilter'
44
44
  # InvalidParameterValue.Length
45
45
  INVALIDPARAMETERVALUE_LENGTH = 'InvalidParameterValue.Length'
46
46
 
47
+ # 输入参数值不在合法的范围内。
48
+ INVALIDPARAMETERVALUE_RANGE = 'InvalidParameterValue.Range'
49
+
47
50
  # 超过配额限制。
48
51
  LIMITEXCEEDED = 'LimitExceeded'
49
52
 
@@ -401,7 +401,6 @@ class GwlbClient(AbstractClient):
401
401
 
402
402
  def ModifyTargetGroupInstancesWeight(self, request):
403
403
  """修改目标组的服务器权重。
404
- 本接口为异步接口,本接口返回成功后需以返回的 RequestID 为入参,调用 DescribeTaskStatus 接口查询本次任务是否成功。
405
404
 
406
405
  :param request: Request instance for ModifyTargetGroupInstancesWeight.
407
406
  :type request: :class:`tencentcloud.gwlb.v20240906.models.ModifyTargetGroupInstancesWeightRequest`
@@ -262,11 +262,9 @@ class CreateGatewayLoadBalancerResponse(AbstractModel):
262
262
  def __init__(self):
263
263
  r"""
264
264
  :param _LoadBalancerIds: 由网关负载均衡实例唯一 ID 组成的数组。
265
- 存在某些场景,如创建出现延迟时,此字段可能返回为空;此时可以根据接口返回的RequestId或DealName参数,通过DescribeTaskStatus接口查询创建的资源ID。
266
- 注意:此字段可能返回 null,表示取不到有效值。
265
+ 存在某些场景,如创建出现延迟时,此字段可能返回为空;此时可以根据接口返回的RequestId或DealName参数,通过[DescribeTaskStatus](https://cloud.tencent.com/document/api/1782/111700)接口查询创建的资源ID。
267
266
  :type LoadBalancerIds: list of str
268
267
  :param _DealName: 订单号。
269
- 注意:此字段可能返回 null,表示取不到有效值。
270
268
  :type DealName: str
271
269
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
272
270
  :type RequestId: str
@@ -278,8 +276,7 @@ class CreateGatewayLoadBalancerResponse(AbstractModel):
278
276
  @property
279
277
  def LoadBalancerIds(self):
280
278
  """由网关负载均衡实例唯一 ID 组成的数组。
281
- 存在某些场景,如创建出现延迟时,此字段可能返回为空;此时可以根据接口返回的RequestId或DealName参数,通过DescribeTaskStatus接口查询创建的资源ID。
282
- 注意:此字段可能返回 null,表示取不到有效值。
279
+ 存在某些场景,如创建出现延迟时,此字段可能返回为空;此时可以根据接口返回的RequestId或DealName参数,通过[DescribeTaskStatus](https://cloud.tencent.com/document/api/1782/111700)接口查询创建的资源ID。
283
280
  :rtype: list of str
284
281
  """
285
282
  return self._LoadBalancerIds
@@ -291,7 +288,6 @@ class CreateGatewayLoadBalancerResponse(AbstractModel):
291
288
  @property
292
289
  def DealName(self):
293
290
  """订单号。
294
- 注意:此字段可能返回 null,表示取不到有效值。
295
291
  :rtype: str
296
292
  """
297
293
  return self._DealName
@@ -2045,10 +2041,8 @@ class ItemPrice(AbstractModel):
2045
2041
  def __init__(self):
2046
2042
  r"""
2047
2043
  :param _UnitPrice: 后付费单价,单位:元。
2048
- 注意:此字段可能返回 null,表示取不到有效值。
2049
2044
  :type UnitPrice: float
2050
2045
  :param _ChargeUnit: 后付费计价单元,可取值范围: HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)。
2051
- 注意:此字段可能返回 null,表示取不到有效值。
2052
2046
  :type ChargeUnit: str
2053
2047
  :param _OriginalPrice: 预支费用的原价,单位:元。
2054
2048
  注意:此字段可能返回 null,表示取不到有效值。
@@ -2057,10 +2051,8 @@ class ItemPrice(AbstractModel):
2057
2051
  注意:此字段可能返回 null,表示取不到有效值。
2058
2052
  :type DiscountPrice: float
2059
2053
  :param _UnitPriceDiscount: 后付费的折扣单价,单位:元。
2060
- 注意:此字段可能返回 null,表示取不到有效值。
2061
2054
  :type UnitPriceDiscount: float
2062
2055
  :param _Discount: 折扣,如20.0代表2折。
2063
- 注意:此字段可能返回 null,表示取不到有效值。
2064
2056
  :type Discount: float
2065
2057
  """
2066
2058
  self._UnitPrice = None
@@ -2073,7 +2065,6 @@ class ItemPrice(AbstractModel):
2073
2065
  @property
2074
2066
  def UnitPrice(self):
2075
2067
  """后付费单价,单位:元。
2076
- 注意:此字段可能返回 null,表示取不到有效值。
2077
2068
  :rtype: float
2078
2069
  """
2079
2070
  return self._UnitPrice
@@ -2085,7 +2076,6 @@ class ItemPrice(AbstractModel):
2085
2076
  @property
2086
2077
  def ChargeUnit(self):
2087
2078
  """后付费计价单元,可取值范围: HOUR:表示计价单元是按每小时来计算。当前涉及该计价单元的场景有:实例按小时后付费(POSTPAID_BY_HOUR)。
2088
- 注意:此字段可能返回 null,表示取不到有效值。
2089
2079
  :rtype: str
2090
2080
  """
2091
2081
  return self._ChargeUnit
@@ -2121,7 +2111,6 @@ class ItemPrice(AbstractModel):
2121
2111
  @property
2122
2112
  def UnitPriceDiscount(self):
2123
2113
  """后付费的折扣单价,单位:元。
2124
- 注意:此字段可能返回 null,表示取不到有效值。
2125
2114
  :rtype: float
2126
2115
  """
2127
2116
  return self._UnitPriceDiscount
@@ -2133,7 +2122,6 @@ class ItemPrice(AbstractModel):
2133
2122
  @property
2134
2123
  def Discount(self):
2135
2124
  """折扣,如20.0代表2折。
2136
- 注意:此字段可能返回 null,表示取不到有效值。
2137
2125
  :rtype: float
2138
2126
  """
2139
2127
  return self._Discount
@@ -2372,7 +2360,7 @@ class ModifyTargetGroupInstancesWeightRequest(AbstractModel):
2372
2360
 
2373
2361
  def __init__(self):
2374
2362
  r"""
2375
- :param _TargetGroupId: 目标组ID。可通过DescribeTargetGroupList接口获取。
2363
+ :param _TargetGroupId: 目标组ID。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
2376
2364
  :type TargetGroupId: str
2377
2365
  :param _TargetGroupInstances: 实例绑定配置数组。
2378
2366
  :type TargetGroupInstances: list of TargetGroupInstance
@@ -2382,7 +2370,7 @@ class ModifyTargetGroupInstancesWeightRequest(AbstractModel):
2382
2370
 
2383
2371
  @property
2384
2372
  def TargetGroupId(self):
2385
- """目标组ID。可通过DescribeTargetGroupList接口获取。
2373
+ """目标组ID。可通过[DescribeTargetGroupList](https://cloud.tencent.com/document/api/1782/111692)接口获取。
2386
2374
  :rtype: str
2387
2375
  """
2388
2376
  return self._TargetGroupId
@@ -2457,10 +2445,8 @@ class Price(AbstractModel):
2457
2445
  def __init__(self):
2458
2446
  r"""
2459
2447
  :param _InstancePrice: 描述了实例价格。
2460
- 注意:此字段可能返回 null,表示取不到有效值。
2461
2448
  :type InstancePrice: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
2462
2449
  :param _LcuPrice: 描述了GLCU的价格。
2463
- 注意:此字段可能返回 null,表示取不到有效值。
2464
2450
  :type LcuPrice: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
2465
2451
  """
2466
2452
  self._InstancePrice = None
@@ -2469,7 +2455,6 @@ class Price(AbstractModel):
2469
2455
  @property
2470
2456
  def InstancePrice(self):
2471
2457
  """描述了实例价格。
2472
- 注意:此字段可能返回 null,表示取不到有效值。
2473
2458
  :rtype: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
2474
2459
  """
2475
2460
  return self._InstancePrice
@@ -2481,7 +2466,6 @@ class Price(AbstractModel):
2481
2466
  @property
2482
2467
  def LcuPrice(self):
2483
2468
  """描述了GLCU的价格。
2484
- 注意:此字段可能返回 null,表示取不到有效值。
2485
2469
  :rtype: :class:`tencentcloud.gwlb.v20240906.models.ItemPrice`
2486
2470
  """
2487
2471
  return self._LcuPrice
@@ -2712,22 +2696,16 @@ class TargetGroupBackend(AbstractModel):
2712
2696
  :param _Weight: 后端服务的转发权重,取值为0或16
2713
2697
  :type Weight: int
2714
2698
  :param _PublicIpAddresses: 后端服务的外网 IP
2715
- 注意:此字段可能返回 null,表示取不到有效值。
2716
2699
  :type PublicIpAddresses: list of str
2717
2700
  :param _PrivateIpAddresses: 后端服务的内网 IP
2718
- 注意:此字段可能返回 null,表示取不到有效值。
2719
2701
  :type PrivateIpAddresses: list of str
2720
2702
  :param _InstanceName: 后端服务的实例名称
2721
- 注意:此字段可能返回 null,表示取不到有效值。
2722
2703
  :type InstanceName: str
2723
2704
  :param _RegisteredTime: 后端服务被绑定的时间
2724
- 注意:此字段可能返回 null,表示取不到有效值。
2725
2705
  :type RegisteredTime: str
2726
2706
  :param _EniId: 弹性网卡唯一ID
2727
- 注意:此字段可能返回 null,表示取不到有效值。
2728
2707
  :type EniId: str
2729
2708
  :param _ZoneId: 后端服务的可用区ID
2730
- 注意:此字段可能返回 null,表示取不到有效值。
2731
2709
  :type ZoneId: int
2732
2710
  """
2733
2711
  self._TargetGroupId = None
@@ -2800,7 +2778,6 @@ class TargetGroupBackend(AbstractModel):
2800
2778
  @property
2801
2779
  def PublicIpAddresses(self):
2802
2780
  """后端服务的外网 IP
2803
- 注意:此字段可能返回 null,表示取不到有效值。
2804
2781
  :rtype: list of str
2805
2782
  """
2806
2783
  return self._PublicIpAddresses
@@ -2812,7 +2789,6 @@ class TargetGroupBackend(AbstractModel):
2812
2789
  @property
2813
2790
  def PrivateIpAddresses(self):
2814
2791
  """后端服务的内网 IP
2815
- 注意:此字段可能返回 null,表示取不到有效值。
2816
2792
  :rtype: list of str
2817
2793
  """
2818
2794
  return self._PrivateIpAddresses
@@ -2824,7 +2800,6 @@ class TargetGroupBackend(AbstractModel):
2824
2800
  @property
2825
2801
  def InstanceName(self):
2826
2802
  """后端服务的实例名称
2827
- 注意:此字段可能返回 null,表示取不到有效值。
2828
2803
  :rtype: str
2829
2804
  """
2830
2805
  return self._InstanceName
@@ -2836,7 +2811,6 @@ class TargetGroupBackend(AbstractModel):
2836
2811
  @property
2837
2812
  def RegisteredTime(self):
2838
2813
  """后端服务被绑定的时间
2839
- 注意:此字段可能返回 null,表示取不到有效值。
2840
2814
  :rtype: str
2841
2815
  """
2842
2816
  return self._RegisteredTime
@@ -2848,7 +2822,6 @@ class TargetGroupBackend(AbstractModel):
2848
2822
  @property
2849
2823
  def EniId(self):
2850
2824
  """弹性网卡唯一ID
2851
- 注意:此字段可能返回 null,表示取不到有效值。
2852
2825
  :rtype: str
2853
2826
  """
2854
2827
  return self._EniId
@@ -2860,7 +2833,6 @@ class TargetGroupBackend(AbstractModel):
2860
2833
  @property
2861
2834
  def ZoneId(self):
2862
2835
  """后端服务的可用区ID
2863
- 注意:此字段可能返回 null,表示取不到有效值。
2864
2836
  :rtype: int
2865
2837
  """
2866
2838
  return self._ZoneId
@@ -59,6 +59,9 @@ INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = 'InvalidParameterValue.InstanceNameT
59
59
  # 应用ID格式非法
60
60
  INVALIDPARAMETERVALUE_INVALIDAPPLICATIONIDMALFORMED = 'InvalidParameterValue.InvalidApplicationIdMalformed'
61
61
 
62
+ # 自定义应用名称重复
63
+ INVALIDPARAMETERVALUE_INVALIDAPPLICATIONNAMEDUPLICATE = 'InvalidParameterValue.InvalidApplicationNameDuplicate'
64
+
62
65
  # 应用类型application-type仅可以选择PUBLIC_APPLICATION,PRIVATE_APPLICATION或COMMUNITY_APPLICATION
63
66
  INVALIDPARAMETERVALUE_INVALIDAPPLICATIONTYPE = 'InvalidParameterValue.InvalidApplicationType'
64
67
 
@@ -122,6 +125,9 @@ UNAUTHORIZEDOPERATION_UNAUTHORIZEDUSER = 'UnauthorizedOperation.UnauthorizedUser
122
125
  # 不允许同时操作预付费过期实例和未过期实例
123
126
  UNSUPPORTEDOPERATION_CANNOTTERMINATEEXPIREDANDNOTEXPIREDINSTANCES = 'UnsupportedOperation.CannotTerminateExpiredAndNotExpiredInstances'
124
127
 
128
+ # 实例不支持创建自定义应用
129
+ UNSUPPORTEDOPERATION_INSTANCECREATEAPPLICATIONNOTSUPPORT = 'UnsupportedOperation.InstanceCreateApplicationNotSupport'
130
+
125
131
  # 不支持对处于`Arrears`状态的实例执行当前操作。
126
132
  UNSUPPORTEDOPERATION_INSTANCESTATEARREARS = 'UnsupportedOperation.InstanceStateArrears'
127
133
 
@@ -26,6 +26,29 @@ class HaiClient(AbstractClient):
26
26
  _service = 'hai'
27
27
 
28
28
 
29
+ def CreateApplication(self, request):
30
+ """本接口(CreateApplicaiton)用于对HAI实例制作自定义应用。
31
+
32
+ :param request: Request instance for CreateApplication.
33
+ :type request: :class:`tencentcloud.hai.v20230812.models.CreateApplicationRequest`
34
+ :rtype: :class:`tencentcloud.hai.v20230812.models.CreateApplicationResponse`
35
+
36
+ """
37
+ try:
38
+ params = request._serialize()
39
+ headers = request.headers
40
+ body = self.call("CreateApplication", params, headers=headers)
41
+ response = json.loads(body)
42
+ model = models.CreateApplicationResponse()
43
+ model._deserialize(response["Response"])
44
+ return model
45
+ except Exception as e:
46
+ if isinstance(e, TencentCloudSDKException):
47
+ raise
48
+ else:
49
+ raise TencentCloudSDKException(type(e).__name__, str(e))
50
+
51
+
29
52
  def CreateMuskPrompt(self, request):
30
53
  """创建musk prompt 任务
31
54