tencentcloud-sdk-python 3.0.1061__py2.py3-none-any.whl → 3.0.1075__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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (114) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/models.py +5 -5
  3. tencentcloud/antiddos/v20200309/models.py +27 -1
  4. tencentcloud/asr/v20190614/errorcodes.py +3 -0
  5. tencentcloud/batch/v20170312/models.py +3 -3
  6. tencentcloud/billing/v20180709/billing_client.py +23 -0
  7. tencentcloud/billing/v20180709/errorcodes.py +6 -0
  8. tencentcloud/billing/v20180709/models.py +506 -0
  9. tencentcloud/car/v20220110/car_client.py +2 -2
  10. tencentcloud/cat/v20180409/models.py +2 -2
  11. tencentcloud/cbs/v20170312/models.py +4 -4
  12. tencentcloud/cdb/v20170320/cdb_client.py +2 -2
  13. tencentcloud/cdb/v20170320/models.py +2 -2
  14. tencentcloud/cdc/v20201214/cdc_client.py +2 -2
  15. tencentcloud/cdc/v20201214/errorcodes.py +1 -1
  16. tencentcloud/cdc/v20201214/models.py +134 -4
  17. tencentcloud/cdn/v20180606/models.py +1 -1
  18. tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
  19. tencentcloud/cdwch/v20200915/models.py +365 -0
  20. tencentcloud/cdwdoris/v20211228/models.py +5 -1
  21. tencentcloud/cfs/v20190719/models.py +12 -0
  22. tencentcloud/cfw/v20190904/cfw_client.py +0 -25
  23. tencentcloud/cfw/v20190904/models.py +123 -102
  24. tencentcloud/clb/v20180317/errorcodes.py +3 -0
  25. tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +6 -6
  26. tencentcloud/cloudaudit/v20190319/errorcodes.py +6 -3
  27. tencentcloud/cloudaudit/v20190319/models.py +30 -2
  28. tencentcloud/common/credential.py +14 -4
  29. tencentcloud/cvm/v20170312/errorcodes.py +3 -0
  30. tencentcloud/cvm/v20170312/models.py +6 -6
  31. tencentcloud/cwp/v20180228/cwp_client.py +1 -1
  32. tencentcloud/cwp/v20180228/models.py +70 -32
  33. tencentcloud/cynosdb/v20190107/models.py +188 -0
  34. tencentcloud/dasb/v20191018/models.py +26 -0
  35. tencentcloud/dbbrain/v20191016/models.py +1 -1
  36. tencentcloud/dnspod/v20210323/dnspod_client.py +3 -0
  37. tencentcloud/dnspod/v20210323/models.py +12 -0
  38. tencentcloud/dts/v20211206/dts_client.py +511 -0
  39. tencentcloud/dts/v20211206/errorcodes.py +3 -0
  40. tencentcloud/dts/v20211206/models.py +6919 -2997
  41. tencentcloud/es/v20180416/errorcodes.py +4 -1
  42. tencentcloud/ess/v20201111/ess_client.py +132 -21
  43. tencentcloud/ess/v20201111/models.py +495 -67
  44. tencentcloud/essbasic/v20210526/essbasic_client.py +126 -39
  45. tencentcloud/essbasic/v20210526/models.py +501 -237
  46. tencentcloud/facefusion/v20181201/errorcodes.py +3 -0
  47. tencentcloud/faceid/v20180301/errorcodes.py +1 -1
  48. tencentcloud/faceid/v20180301/models.py +26 -2
  49. tencentcloud/hai/v20230812/errorcodes.py +18 -0
  50. tencentcloud/hai/v20230812/models.py +81 -3
  51. tencentcloud/hunyuan/v20230901/hunyuan_client.py +23 -0
  52. tencentcloud/hunyuan/v20230901/models.py +195 -1
  53. tencentcloud/iss/v20230517/errorcodes.py +3 -0
  54. tencentcloud/iss/v20230517/models.py +20 -8
  55. tencentcloud/ivld/v20210903/models.py +1 -1
  56. tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
  57. tencentcloud/mongodb/v20190725/models.py +149 -0
  58. tencentcloud/monitor/v20180724/models.py +1118 -97
  59. tencentcloud/monitor/v20180724/monitor_client.py +118 -0
  60. tencentcloud/mps/v20190612/models.py +60 -1
  61. tencentcloud/mrs/v20200910/errorcodes.py +6 -0
  62. tencentcloud/mrs/v20200910/models.py +161 -1
  63. tencentcloud/mrs/v20200910/mrs_client.py +46 -0
  64. tencentcloud/oceanus/v20190422/errorcodes.py +3 -0
  65. tencentcloud/oceanus/v20190422/models.py +229 -0
  66. tencentcloud/oceanus/v20190422/oceanus_client.py +23 -0
  67. tencentcloud/ocr/v20181119/models.py +41 -1
  68. tencentcloud/omics/v20221128/models.py +92 -25
  69. tencentcloud/rum/v20210622/models.py +0 -504
  70. tencentcloud/rum/v20210622/rum_client.py +0 -138
  71. tencentcloud/scf/v20180416/errorcodes.py +3 -0
  72. tencentcloud/scf/v20180416/models.py +13 -1
  73. tencentcloud/ses/v20201002/errorcodes.py +3 -0
  74. tencentcloud/sqlserver/v20180328/models.py +5 -5
  75. tencentcloud/sqlserver/v20180328/sqlserver_client.py +6 -6
  76. tencentcloud/ssm/v20190923/models.py +2 -2
  77. tencentcloud/tat/v20201028/models.py +2 -0
  78. tencentcloud/tcb/v20180608/models.py +12 -3
  79. tencentcloud/tcm/v20210413/errorcodes.py +3 -0
  80. tencentcloud/tcss/v20201101/models.py +1735 -2
  81. tencentcloud/tcss/v20201101/tcss_client.py +92 -0
  82. tencentcloud/tdid/v20210519/errorcodes.py +143 -2
  83. tencentcloud/tdid/v20210519/models.py +1424 -788
  84. tencentcloud/tdid/v20210519/tdid_client.py +201 -112
  85. tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
  86. tencentcloud/tdmq/v20200217/models.py +261 -0
  87. tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
  88. tencentcloud/teo/v20220901/errorcodes.py +13 -1
  89. tencentcloud/teo/v20220901/models.py +24 -22
  90. tencentcloud/tione/v20211111/errorcodes.py +12 -0
  91. tencentcloud/tione/v20211111/models.py +190 -32
  92. tencentcloud/tiw/v20190919/models.py +117 -10
  93. tencentcloud/tms/v20201229/models.py +562 -4
  94. tencentcloud/tms/v20201229/tms_client.py +23 -0
  95. tencentcloud/trp/v20210515/models.py +39 -1
  96. tencentcloud/trp/v20210515/trp_client.py +1 -1
  97. tencentcloud/trtc/v20190722/errorcodes.py +6 -0
  98. tencentcloud/trtc/v20190722/models.py +34 -5
  99. tencentcloud/trtc/v20190722/trtc_client.py +2 -0
  100. tencentcloud/tse/v20201207/models.py +512 -1
  101. tencentcloud/tse/v20201207/tse_client.py +115 -0
  102. tencentcloud/tsf/v20180326/models.py +216 -5
  103. tencentcloud/tsf/v20180326/tsf_client.py +1 -1
  104. tencentcloud/vod/v20180717/models.py +1018 -128
  105. tencentcloud/vod/v20180717/vod_client.py +165 -3
  106. tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  107. tencentcloud/vpc/v20170312/models.py +24 -0
  108. tencentcloud/wedata/v20210820/models.py +1353 -0
  109. tencentcloud/wedata/v20210820/wedata_client.py +69 -0
  110. {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/METADATA +1 -1
  111. {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/RECORD +114 -114
  112. {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/LICENSE +0 -0
  113. {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/WHEEL +0 -0
  114. {tencentcloud_sdk_python-3.0.1061.dist-info → tencentcloud_sdk_python-3.0.1075.dist-info}/top_level.txt +0 -0
@@ -3019,12 +3019,14 @@ POSTPAID_BY_HOUR:按小时后付费
3019
3019
  :param _SubnetId: 子网Id
3020
3020
  :type SubnetId: str
3021
3021
  :param _VolumeSourceType: 存储的类型。取值包含:
3022
- FREE: 预付费的免费存储
3023
- CLOUD_PREMIUM: 高性能云硬盘
3024
- CLOUD_SSD: SSD云硬盘
3025
- CFS: CFS存储,包含NFS和turbo
3022
+ FREE:预付费的免费存储
3023
+ CLOUD_PREMIUM:高性能云硬盘
3024
+ CLOUD_SSD:SSD云硬盘
3025
+ CFSCFS存储
3026
+ CFS_TURBO:CFS Turbo存储
3027
+ GooseFSx:GooseFSx存储
3026
3028
  :type VolumeSourceType: str
3027
- :param _VolumeSizeInGB: 存储卷大小,单位GB
3029
+ :param _VolumeSizeInGB: 云硬盘存储卷大小,单位GB
3028
3030
  :type VolumeSizeInGB: int
3029
3031
  :param _VolumeSourceCFS: CFS存储的配置
3030
3032
  :type VolumeSourceCFS: :class:`tencentcloud.tione.v20211111.models.CFSConfig`
@@ -3040,14 +3042,16 @@ POSTPAID_BY_HOUR:按小时后付费
3040
3042
  :type AutomaticStopTime: int
3041
3043
  :param _Tags: 标签配置
3042
3044
  :type Tags: list of Tag
3043
- :param _DataConfigs: 数据配置
3045
+ :param _DataConfigs: 数据配置,只支持WEDATA_HDFS存储类型
3044
3046
  :type DataConfigs: list of DataConfig
3045
3047
  :param _ImageInfo: 镜像信息
3046
3048
  :type ImageInfo: :class:`tencentcloud.tione.v20211111.models.ImageInfo`
3047
- :param _ImageType: 镜像类型
3049
+ :param _ImageType: 镜像类型,包括SYSTEM、TCR、CCR
3048
3050
  :type ImageType: str
3049
3051
  :param _SSHConfig: SSH配置信息
3050
3052
  :type SSHConfig: :class:`tencentcloud.tione.v20211111.models.SSHConfig`
3053
+ :param _VolumeSourceGooseFS: GooseFS存储配置
3054
+ :type VolumeSourceGooseFS: :class:`tencentcloud.tione.v20211111.models.GooseFS`
3051
3055
  """
3052
3056
  self._Name = None
3053
3057
  self._ChargeType = None
@@ -3072,6 +3076,7 @@ POSTPAID_BY_HOUR:按小时后付费
3072
3076
  self._ImageInfo = None
3073
3077
  self._ImageType = None
3074
3078
  self._SSHConfig = None
3079
+ self._VolumeSourceGooseFS = None
3075
3080
 
3076
3081
  @property
3077
3082
  def Name(self):
@@ -3257,6 +3262,14 @@ POSTPAID_BY_HOUR:按小时后付费
3257
3262
  def SSHConfig(self, SSHConfig):
3258
3263
  self._SSHConfig = SSHConfig
3259
3264
 
3265
+ @property
3266
+ def VolumeSourceGooseFS(self):
3267
+ return self._VolumeSourceGooseFS
3268
+
3269
+ @VolumeSourceGooseFS.setter
3270
+ def VolumeSourceGooseFS(self, VolumeSourceGooseFS):
3271
+ self._VolumeSourceGooseFS = VolumeSourceGooseFS
3272
+
3260
3273
 
3261
3274
  def _deserialize(self, params):
3262
3275
  self._Name = params.get("Name")
@@ -3302,6 +3315,9 @@ POSTPAID_BY_HOUR:按小时后付费
3302
3315
  if params.get("SSHConfig") is not None:
3303
3316
  self._SSHConfig = SSHConfig()
3304
3317
  self._SSHConfig._deserialize(params.get("SSHConfig"))
3318
+ if params.get("VolumeSourceGooseFS") is not None:
3319
+ self._VolumeSourceGooseFS = GooseFS()
3320
+ self._VolumeSourceGooseFS._deserialize(params.get("VolumeSourceGooseFS"))
3305
3321
  memeber_set = set(params.keys())
3306
3322
  for name, value in vars(self).items():
3307
3323
  property_name = name[1:]
@@ -3880,7 +3896,7 @@ POSTPAID_BY_HOUR 按量计费
3880
3896
  :type StartCmdInfo: :class:`tencentcloud.tione.v20211111.models.StartCmdInfo`
3881
3897
  :param _TrainingMode: 训练模式,通过DescribeTrainingFrameworks接口查询,eg:PS_WORKER、DDP、MPI、HOROVOD
3882
3898
  :type TrainingMode: str
3883
- :param _DataConfigs: 数据配置,依赖DataSource字段
3899
+ :param _DataConfigs: 数据配置,依赖DataSource字段,数量不超过10个
3884
3900
  :type DataConfigs: list of DataConfig
3885
3901
  :param _VpcId: VPC Id
3886
3902
  :type VpcId: str
@@ -3890,13 +3906,13 @@ POSTPAID_BY_HOUR 按量计费
3890
3906
  :type Output: :class:`tencentcloud.tione.v20211111.models.CosPathInfo`
3891
3907
  :param _LogConfig: CLS日志配置
3892
3908
  :type LogConfig: :class:`tencentcloud.tione.v20211111.models.LogConfig`
3893
- :param _TuningParameters: 调优参数
3909
+ :param _TuningParameters: 调优参数,不超过2048个字符
3894
3910
  :type TuningParameters: str
3895
3911
  :param _LogEnable: 是否上报日志
3896
3912
  :type LogEnable: bool
3897
- :param _Remark: 备注,最多500个字
3913
+ :param _Remark: 备注,不超过1024个字符
3898
3914
  :type Remark: str
3899
- :param _DataSource: 数据来源,eg:DATASET、COS、CFS、HDFS
3915
+ :param _DataSource: 数据来源,eg:DATASET、COS、CFS、CFSTurbo、HDFS、GooseFSx
3900
3916
  :type DataSource: str
3901
3917
  :param _CallbackUrl: 回调地址,用于创建/启动/停止训练任务的异步回调。回调格式&内容详见:[[TI-ONE接口回调说明]](https://cloud.tencent.com/document/product/851/84292)
3902
3918
  :type CallbackUrl: str
@@ -4571,7 +4587,7 @@ class DataConfig(AbstractModel):
4571
4587
  r"""
4572
4588
  :param _MappingPath: 映射路径
4573
4589
  :type MappingPath: str
4574
- :param _DataSourceType: DATASET、COS、CFS、HDFS、WEDATA_HDFS
4590
+ :param _DataSourceType: DATASET、COS、CFS、CFSTurbo、GooseFSx、HDFS、WEDATA_HDFS
4575
4591
  注意:此字段可能返回 null,表示取不到有效值。
4576
4592
  :type DataSourceType: str
4577
4593
  :param _DataSetSource: 来自数据集的数据
@@ -9965,6 +9981,7 @@ class DescribeNotebooksRequest(AbstractModel):
9965
9981
  Name(名称):notebook1
9966
9982
  Id(notebook ID):nb-123456789
9967
9983
  Status(状态):Starting / Running / Stopped / Stopping / Failed / SubmitFailed
9984
+ Creator(创建者 uin):100014761913
9968
9985
  ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费)
9969
9986
  ChargeStatus(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ BILLING_STORAGE(存储计费中)/ARREARS_STOP(欠费停止)
9970
9987
  DefaultCodeRepoId(默认代码仓库ID):cr-123456789
@@ -10784,7 +10801,9 @@ class DescribeTrainingTasksRequest(AbstractModel):
10784
10801
  取值范围:
10785
10802
  Name(名称):task1
10786
10803
  Id(task ID):train-23091792777383936
10787
- Status(状态):STARTING / RUNNING / STOPPING / STOPPED / FAILED / SUCCEED / SUBMIT_FAILED
10804
+ Status(状态):SUBMITTING/PENDING/STARTING / RUNNING / STOPPING / STOPPED / FAILED / SUCCEED / SUBMIT_FAILED
10805
+ ResourceGroupId(资源组 Id):trsg-kvvfrwl7
10806
+ Creator(创建者 uin):100014761913
10788
10807
  ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费)
10789
10808
  CHARGE_STATUS(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ ARREARS_STOP(欠费停止)
10790
10809
  :type Filters: list of Filter
@@ -10796,7 +10815,7 @@ CHARGE_STATUS(计费状态):NOT_BILLING(未开始计费)/ BILLING(
10796
10815
  :type Limit: int
10797
10816
  :param _Order: 输出列表的排列顺序。取值范围:ASC(升序排列)/ DESC(降序排列),默认为DESC
10798
10817
  :type Order: str
10799
- :param _OrderField: 排序的依据字段, 取值范围 "CreateTime" "UpdateTime"
10818
+ :param _OrderField: 排序的依据字段, 取值范围 "CreateTime" "UpdateTime"、"StartTime",默认为UpdateTime
10800
10819
  :type OrderField: str
10801
10820
  """
10802
10821
  self._Filters = None
@@ -11688,8 +11707,16 @@ class GooseFS(AbstractModel):
11688
11707
  :param _Id: goosefs实例id
11689
11708
  注意:此字段可能返回 null,表示取不到有效值。
11690
11709
  :type Id: str
11710
+ :param _Type: GooseFS类型,包括GooseFS和GooseFSx
11711
+ 注意:此字段可能返回 null,表示取不到有效值。
11712
+ :type Type: str
11713
+ :param _Path: GooseFSx实例需要挂载的路径
11714
+ 注意:此字段可能返回 null,表示取不到有效值。
11715
+ :type Path: str
11691
11716
  """
11692
11717
  self._Id = None
11718
+ self._Type = None
11719
+ self._Path = None
11693
11720
 
11694
11721
  @property
11695
11722
  def Id(self):
@@ -11699,9 +11726,27 @@ class GooseFS(AbstractModel):
11699
11726
  def Id(self, Id):
11700
11727
  self._Id = Id
11701
11728
 
11729
+ @property
11730
+ def Type(self):
11731
+ return self._Type
11732
+
11733
+ @Type.setter
11734
+ def Type(self, Type):
11735
+ self._Type = Type
11736
+
11737
+ @property
11738
+ def Path(self):
11739
+ return self._Path
11740
+
11741
+ @Path.setter
11742
+ def Path(self, Path):
11743
+ self._Path = Path
11744
+
11702
11745
 
11703
11746
  def _deserialize(self, params):
11704
11747
  self._Id = params.get("Id")
11748
+ self._Type = params.get("Type")
11749
+ self._Path = params.get("Path")
11705
11750
  memeber_set = set(params.keys())
11706
11751
  for name, value in vars(self).items():
11707
11752
  property_name = name[1:]
@@ -11893,7 +11938,9 @@ class HorizontalPodAutoscaler(AbstractModel):
11893
11938
  :param _MaxReplicas: 最大实例数
11894
11939
  注意:此字段可能返回 null,表示取不到有效值。
11895
11940
  :type MaxReplicas: int
11896
- :param _HpaMetrics: 扩缩容指标
11941
+ :param _HpaMetrics: 支持:
11942
+ "gpu-util": GPU利用率。范围{10, 100} "cpu-util": CPU利用率。范围{10, 100} "memory-util": 内存利用率。范围{10, 100} "service-qps": 单个实例QPS值。范围{1, 5000}
11943
+ "concurrency-util":单个实例请求数量值。范围{1,100000}
11897
11944
  注意:此字段可能返回 null,表示取不到有效值。
11898
11945
  :type HpaMetrics: list of Option
11899
11946
  """
@@ -14574,9 +14621,9 @@ class ModifyNotebookRequest(AbstractModel):
14574
14621
  r"""
14575
14622
  :param _Id: notebook id
14576
14623
  :type Id: str
14577
- :param _Name: 名称
14624
+ :param _Name: 名称。不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头
14578
14625
  :type Name: str
14579
- :param _ChargeType: 计算资源付费模式 ,可选值为:
14626
+ :param _ChargeType: (不允许修改)计算资源付费模式 ,可选值为:
14580
14627
  PREPAID:预付费,即包年包月
14581
14628
  POSTPAID_BY_HOUR:按小时后付费
14582
14629
  :type ChargeType: str
@@ -14592,19 +14639,19 @@ POSTPAID_BY_HOUR:按小时后付费
14592
14639
  :type RootAccess: bool
14593
14640
  :param _ResourceGroupId: 资源组ID(for预付费)
14594
14641
  :type ResourceGroupId: str
14595
- :param _VpcId: Vpc-Id
14642
+ :param _VpcId: (不允许修改)Vpc-Id
14596
14643
  :type VpcId: str
14597
- :param _SubnetId: 子网Id
14644
+ :param _SubnetId: (不允许修改)子网Id
14598
14645
  :type SubnetId: str
14599
14646
  :param _VolumeSizeInGB: 存储卷大小,单位GB
14600
14647
  :type VolumeSizeInGB: int
14601
- :param _VolumeSourceType: 存储的类型。取值包含:
14648
+ :param _VolumeSourceType: (不允许修改)存储的类型。取值包含:
14602
14649
  FREE: 预付费的免费存储
14603
14650
  CLOUD_PREMIUM: 高性能云硬盘
14604
14651
  CLOUD_SSD: SSD云硬盘
14605
14652
  CFS: CFS存储,包含NFS和turbo
14606
14653
  :type VolumeSourceType: str
14607
- :param _VolumeSourceCFS: CFS存储的配置
14654
+ :param _VolumeSourceCFS: (不允许修改)CFS存储的配置
14608
14655
  :type VolumeSourceCFS: :class:`tencentcloud.tione.v20211111.models.CFSConfig`
14609
14656
  :param _LogConfig: 日志配置
14610
14657
  :type LogConfig: :class:`tencentcloud.tione.v20211111.models.LogConfig`
@@ -14618,11 +14665,11 @@ POSTPAID_BY_HOUR:按小时后付费
14618
14665
  :type AutomaticStopTime: int
14619
14666
  :param _Tags: 标签配置
14620
14667
  :type Tags: list of Tag
14621
- :param _DataConfigs: 数据配置
14668
+ :param _DataConfigs: 数据配置,只支持WEDATA_HDFS
14622
14669
  :type DataConfigs: list of DataConfig
14623
14670
  :param _ImageInfo: 镜像信息
14624
14671
  :type ImageInfo: :class:`tencentcloud.tione.v20211111.models.ImageInfo`
14625
- :param _ImageType: 镜像类型
14672
+ :param _ImageType: 镜像类型,包括SYSTEM、TCR、CCR
14626
14673
  :type ImageType: str
14627
14674
  :param _SSHConfig: SSH配置
14628
14675
  :type SSHConfig: :class:`tencentcloud.tione.v20211111.models.SSHConfig`
@@ -15200,6 +15247,12 @@ class NotebookDetail(AbstractModel):
15200
15247
  :param _ImageType: 镜像类型
15201
15248
  注意:此字段可能返回 null,表示取不到有效值。
15202
15249
  :type ImageType: str
15250
+ :param _SSHConfig: SSH配置
15251
+ 注意:此字段可能返回 null,表示取不到有效值。
15252
+ :type SSHConfig: :class:`tencentcloud.tione.v20211111.models.SSHConfig`
15253
+ :param _VolumeSourceGooseFS: GooseFS存储配置
15254
+ 注意:此字段可能返回 null,表示取不到有效值。
15255
+ :type VolumeSourceGooseFS: :class:`tencentcloud.tione.v20211111.models.GooseFS`
15203
15256
  """
15204
15257
  self._Id = None
15205
15258
  self._Name = None
@@ -15238,6 +15291,8 @@ class NotebookDetail(AbstractModel):
15238
15291
  self._DataSource = None
15239
15292
  self._ImageInfo = None
15240
15293
  self._ImageType = None
15294
+ self._SSHConfig = None
15295
+ self._VolumeSourceGooseFS = None
15241
15296
 
15242
15297
  @property
15243
15298
  def Id(self):
@@ -15535,6 +15590,22 @@ class NotebookDetail(AbstractModel):
15535
15590
  def ImageType(self, ImageType):
15536
15591
  self._ImageType = ImageType
15537
15592
 
15593
+ @property
15594
+ def SSHConfig(self):
15595
+ return self._SSHConfig
15596
+
15597
+ @SSHConfig.setter
15598
+ def SSHConfig(self, SSHConfig):
15599
+ self._SSHConfig = SSHConfig
15600
+
15601
+ @property
15602
+ def VolumeSourceGooseFS(self):
15603
+ return self._VolumeSourceGooseFS
15604
+
15605
+ @VolumeSourceGooseFS.setter
15606
+ def VolumeSourceGooseFS(self, VolumeSourceGooseFS):
15607
+ self._VolumeSourceGooseFS = VolumeSourceGooseFS
15608
+
15538
15609
 
15539
15610
  def _deserialize(self, params):
15540
15611
  self._Id = params.get("Id")
@@ -15592,6 +15663,12 @@ class NotebookDetail(AbstractModel):
15592
15663
  self._ImageInfo = ImageInfo()
15593
15664
  self._ImageInfo._deserialize(params.get("ImageInfo"))
15594
15665
  self._ImageType = params.get("ImageType")
15666
+ if params.get("SSHConfig") is not None:
15667
+ self._SSHConfig = SSHConfig()
15668
+ self._SSHConfig._deserialize(params.get("SSHConfig"))
15669
+ if params.get("VolumeSourceGooseFS") is not None:
15670
+ self._VolumeSourceGooseFS = GooseFS()
15671
+ self._VolumeSourceGooseFS._deserialize(params.get("VolumeSourceGooseFS"))
15595
15672
  memeber_set = set(params.keys())
15596
15673
  for name, value in vars(self).items():
15597
15674
  property_name = name[1:]
@@ -15615,7 +15692,7 @@ class NotebookImageRecord(AbstractModel):
15615
15692
  :param _ImageUrl: 镜像地址
15616
15693
  注意:此字段可能返回 null,表示取不到有效值。
15617
15694
  :type ImageUrl: str
15618
- :param _Status: 状态
15695
+ :param _Status: 状态。eg:creating导出中/success已完成/stopped已停止/fail异常
15619
15696
  注意:此字段可能返回 null,表示取不到有效值。
15620
15697
  :type Status: str
15621
15698
  :param _CreateTime: 创建时间
@@ -15795,6 +15872,9 @@ class NotebookSetItem(AbstractModel):
15795
15872
  :param _SSHConfig: SSH配置
15796
15873
  注意:此字段可能返回 null,表示取不到有效值。
15797
15874
  :type SSHConfig: :class:`tencentcloud.tione.v20211111.models.SSHConfig`
15875
+ :param _VolumeSourceGooseFS: GooseFS存储配置
15876
+ 注意:此字段可能返回 null,表示取不到有效值。
15877
+ :type VolumeSourceGooseFS: :class:`tencentcloud.tione.v20211111.models.GooseFS`
15798
15878
  """
15799
15879
  self._Id = None
15800
15880
  self._Name = None
@@ -15822,6 +15902,7 @@ class NotebookSetItem(AbstractModel):
15822
15902
  self._Message = None
15823
15903
  self._UserTypes = None
15824
15904
  self._SSHConfig = None
15905
+ self._VolumeSourceGooseFS = None
15825
15906
 
15826
15907
  @property
15827
15908
  def Id(self):
@@ -16031,6 +16112,14 @@ class NotebookSetItem(AbstractModel):
16031
16112
  def SSHConfig(self, SSHConfig):
16032
16113
  self._SSHConfig = SSHConfig
16033
16114
 
16115
+ @property
16116
+ def VolumeSourceGooseFS(self):
16117
+ return self._VolumeSourceGooseFS
16118
+
16119
+ @VolumeSourceGooseFS.setter
16120
+ def VolumeSourceGooseFS(self, VolumeSourceGooseFS):
16121
+ self._VolumeSourceGooseFS = VolumeSourceGooseFS
16122
+
16034
16123
 
16035
16124
  def _deserialize(self, params):
16036
16125
  self._Id = params.get("Id")
@@ -16070,6 +16159,9 @@ class NotebookSetItem(AbstractModel):
16070
16159
  if params.get("SSHConfig") is not None:
16071
16160
  self._SSHConfig = SSHConfig()
16072
16161
  self._SSHConfig._deserialize(params.get("SSHConfig"))
16162
+ if params.get("VolumeSourceGooseFS") is not None:
16163
+ self._VolumeSourceGooseFS = GooseFS()
16164
+ self._VolumeSourceGooseFS._deserialize(params.get("VolumeSourceGooseFS"))
16073
16165
  memeber_set = set(params.keys())
16074
16166
  for name, value in vars(self).items():
16075
16167
  property_name = name[1:]
@@ -16407,7 +16499,7 @@ class PodInfo(AbstractModel):
16407
16499
  :param _IP: pod的IP
16408
16500
  注意:此字段可能返回 null,表示取不到有效值。
16409
16501
  :type IP: str
16410
- :param _Status: pod状态
16502
+ :param _Status: pod状态。eg:SUBMITTING提交中、PENDING排队中、RUNNING运行中、SUCCEEDED已完成、FAILED异常、TERMINATING停止中、TERMINATED已停止
16411
16503
  注意:此字段可能返回 null,表示取不到有效值。
16412
16504
  :type Status: str
16413
16505
  :param _StartTime: pod启动时间
@@ -16699,10 +16791,10 @@ class ResourceConf(AbstractModel):
16699
16791
  :param _Memory: memory 内存资源, 单位为1M (for预付费)
16700
16792
  注意:此字段可能返回 null,表示取不到有效值。
16701
16793
  :type Memory: int
16702
- :param _Gpu: gpu Gpu卡资源,单位为1单位的GpuType,例如GpuType=T4时,1 Gpu = 1/100 T4卡,GpuType=vcuda时,1 Gpu = 1/100 vcuda-core (for预付费)
16794
+ :param _Gpu: gpu Gpu卡资源,单位为1/100卡,例如GpuType=T4时,1 Gpu = 1/100 T4 (for预付费)
16703
16795
  注意:此字段可能返回 null,表示取不到有效值。
16704
16796
  :type Gpu: int
16705
- :param _GpuType: GpuType 卡类型 vcuda, T4,P4,V100等 (for预付费)
16797
+ :param _GpuType: GpuType 卡类型,参考资源组上对应的卡类型。eg: H800,A800,A100,T4,P4,V100等 (for预付费)
16706
16798
  注意:此字段可能返回 null,表示取不到有效值。
16707
16799
  :type GpuType: str
16708
16800
  :param _InstanceType: 计算规格 (for后付费),可选值如下:
@@ -16797,13 +16889,13 @@ class ResourceConfigInfo(AbstractModel):
16797
16889
  r"""
16798
16890
  :param _Role: 角色,eg:PS、WORKER、DRIVER、EXECUTOR
16799
16891
  :type Role: str
16800
- :param _Cpu: cpu核数,1000=1核
16892
+ :param _Cpu: cpu核数,使用资源组时需配置。单位:1/1000,即1000=1核
16801
16893
  :type Cpu: int
16802
- :param _Memory: 内存,单位为MB
16894
+ :param _Memory: 内存,使用资源组时需配置。单位为MB
16803
16895
  :type Memory: int
16804
- :param _GpuType: gpu卡类型
16896
+ :param _GpuType: gpu卡类型,使用资源组时需配置
16805
16897
  :type GpuType: str
16806
- :param _Gpu: gpu
16898
+ :param _Gpu: gpu卡数,使用资源组时需配置。单位:1/100,即100=1卡
16807
16899
  :type Gpu: int
16808
16900
  :param _InstanceType: 算力规格ID
16809
16901
  计算规格 (for后付费),可选值如下:
@@ -19487,9 +19579,15 @@ class ServiceLimit(AbstractModel):
19487
19579
  :type EnableInstanceRpsLimit: bool
19488
19580
  :param _InstanceRpsLimit: 每个服务实例的 request per second 限速, 0 为不限流
19489
19581
  :type InstanceRpsLimit: int
19582
+ :param _EnableInstanceReqLimit: 是否开启单实例最大并发数限制,true or false。true 则 InstanceReqLimit 必填, false 则 InstanceReqLimit 不生效
19583
+ :type EnableInstanceReqLimit: bool
19584
+ :param _InstanceReqLimit: 每个服务实例的最大并发
19585
+ :type InstanceReqLimit: int
19490
19586
  """
19491
19587
  self._EnableInstanceRpsLimit = None
19492
19588
  self._InstanceRpsLimit = None
19589
+ self._EnableInstanceReqLimit = None
19590
+ self._InstanceReqLimit = None
19493
19591
 
19494
19592
  @property
19495
19593
  def EnableInstanceRpsLimit(self):
@@ -19507,10 +19605,28 @@ class ServiceLimit(AbstractModel):
19507
19605
  def InstanceRpsLimit(self, InstanceRpsLimit):
19508
19606
  self._InstanceRpsLimit = InstanceRpsLimit
19509
19607
 
19608
+ @property
19609
+ def EnableInstanceReqLimit(self):
19610
+ return self._EnableInstanceReqLimit
19611
+
19612
+ @EnableInstanceReqLimit.setter
19613
+ def EnableInstanceReqLimit(self, EnableInstanceReqLimit):
19614
+ self._EnableInstanceReqLimit = EnableInstanceReqLimit
19615
+
19616
+ @property
19617
+ def InstanceReqLimit(self):
19618
+ return self._InstanceReqLimit
19619
+
19620
+ @InstanceReqLimit.setter
19621
+ def InstanceReqLimit(self, InstanceReqLimit):
19622
+ self._InstanceReqLimit = InstanceReqLimit
19623
+
19510
19624
 
19511
19625
  def _deserialize(self, params):
19512
19626
  self._EnableInstanceRpsLimit = params.get("EnableInstanceRpsLimit")
19513
19627
  self._InstanceRpsLimit = params.get("InstanceRpsLimit")
19628
+ self._EnableInstanceReqLimit = params.get("EnableInstanceReqLimit")
19629
+ self._InstanceReqLimit = params.get("InstanceReqLimit")
19514
19630
  memeber_set = set(params.keys())
19515
19631
  for name, value in vars(self).items():
19516
19632
  property_name = name[1:]
@@ -20937,6 +21053,47 @@ class TrainingDataPoint(AbstractModel):
20937
21053
 
20938
21054
  """
20939
21055
 
21056
+ def __init__(self):
21057
+ r"""
21058
+ :param _Timestamp: 时间戳
21059
+ 注意:此字段可能返回 null,表示取不到有效值。
21060
+ :type Timestamp: int
21061
+ :param _Value: 训练上报的值。可以为训练指标(双精度浮点数,也可以为Epoch/Step(两者皆保证是整数)
21062
+ 注意:此字段可能返回 null,表示取不到有效值。
21063
+ :type Value: float
21064
+ """
21065
+ self._Timestamp = None
21066
+ self._Value = None
21067
+
21068
+ @property
21069
+ def Timestamp(self):
21070
+ return self._Timestamp
21071
+
21072
+ @Timestamp.setter
21073
+ def Timestamp(self, Timestamp):
21074
+ self._Timestamp = Timestamp
21075
+
21076
+ @property
21077
+ def Value(self):
21078
+ return self._Value
21079
+
21080
+ @Value.setter
21081
+ def Value(self, Value):
21082
+ self._Value = Value
21083
+
21084
+
21085
+ def _deserialize(self, params):
21086
+ self._Timestamp = params.get("Timestamp")
21087
+ self._Value = params.get("Value")
21088
+ memeber_set = set(params.keys())
21089
+ for name, value in vars(self).items():
21090
+ property_name = name[1:]
21091
+ if property_name in memeber_set:
21092
+ memeber_set.remove(property_name)
21093
+ if len(memeber_set) > 0:
21094
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21095
+
21096
+
20940
21097
 
20941
21098
  class TrainingMetric(AbstractModel):
20942
21099
  """训练指标
@@ -22122,7 +22279,8 @@ class TrainingTaskSetItem(AbstractModel):
22122
22279
  :param _TrainingMode: 训练模式eg:PS_WORKER、DDP、MPI、HOROVOD
22123
22280
  注意:此字段可能返回 null,表示取不到有效值。
22124
22281
  :type TrainingMode: str
22125
- :param _Status: 任务状态,eg:STARTING启动中、RUNNING运行中、STOPPING停止中、STOPPED已停止、FAILED异常、SUCCEED已完成
22282
+ :param _Status: 任务状态,eg:SUBMITTING提交中、PENDING排队中、
22283
+ STARTING启动中、RUNNING运行中、STOPPING停止中、STOPPED已停止、FAILED异常、SUCCEED已完成
22126
22284
  :type Status: str
22127
22285
  :param _RuntimeInSeconds: 运行时长
22128
22286
  注意:此字段可能返回 null,表示取不到有效值。
@@ -431,17 +431,61 @@ class CreatePPTCheckTaskRequest(AbstractModel):
431
431
  :type SdkAppId: int
432
432
  :param _Url: 经过URL编码后的PPT文件地址。URL 编码会将字符转换为可通过因特网传输的格式,例如文档地址为http://example.com/测试.pptx,经过URL编码之后为http://example.com/%E6%B5%8B%E8%AF%95.pptx。为了提高URL解析的成功率,请对URL进行编码。
433
433
  :type Url: str
434
- :param _AutoHandleUnsupportedElement: 是否对不支持元素开启自动处理的功能。默认不开启。
434
+ :param _AutoHandleUnsupportedElement: 是否对不支持元素开启自动处理的功能,默认不开启。
435
+ true -- 开启
436
+ false -- 不开启
435
437
 
436
- 在开启自动处理的情况下,会自动进行如下处理:
437
- 1. 墨迹:移除不支持的墨迹(比如使用WPS画的)
438
- 2. 自动翻页:移除PPT上所有的自动翻页设置,并设置为单击鼠标翻页
439
- 3. 已损坏音视频:移除PPT上对损坏音视频的引用
438
+ 当设置为`true`时,可配合`AutoHandleUnsupportedElementTypes`参数使用,具体有哪些不兼容元素类型,可参考`AutoHandleUnsupportedElementTypes`参数的说明。
440
439
  :type AutoHandleUnsupportedElement: bool
440
+ :param _AutoHandleUnsupportedElementTypes: 此参数仅在`AutoHandleUnsupportedElement`参数为`true`的情况下有效。
441
+
442
+ 指定需要自动处理的不兼容元素类型,默认对所有不兼容的元素进行自动处理。
443
+
444
+ 目前支持检测的不兼容元素类型及对应的自动处理方式如下:
445
+ 0: 不支持的墨迹类型
446
+ -- 自动处理方式:移除墨迹
447
+
448
+ 1: 自动翻页
449
+ -- 自动处理方式:移除自动翻页设置,并修改为单击切换
450
+
451
+ 2: 已损坏音视频
452
+ -- 自动处理方式:移除对损坏音视频的引用
453
+
454
+ 3: 不可访问资源
455
+ -- 自动处理方式:移除对不可访问的资源的引用
456
+
457
+ 4: 只读文件
458
+ -- 自动处理方式:移除只读设置
459
+
460
+ 5: 不支持的元素编辑锁定状态
461
+ -- 自动处理方式:移除锁定状态
462
+
463
+ 6: 可能有兼容问题的字体
464
+ -- 自动处理方式: 不支持处理
465
+
466
+ 7: 设置了柔化边缘的GIF图片
467
+ -- 自动处理方式:移除柔化边缘设置
468
+
469
+ 8: 存在不兼容的空格下划线
470
+ -- 自动处理方式:通过调整空格下划线前后文本的字体语言体系,保证空格下划线表现正常
471
+
472
+ 9: 存在设置了分段动画的数学公式和文本混合内容
473
+ -- 自动处理方式: 不支持处理
474
+
475
+ 10: 存在设置了分段动画的渐变色文本
476
+ -- 自动处理方式: 不支持处理
477
+
478
+ 11: 存在不兼容的分散对齐方式
479
+ -- 自动处理方式: 不支持处理
480
+
481
+ 12: 存在不兼容的多倍行距设置
482
+ -- 自动处理方式: 不支持处理
483
+ :type AutoHandleUnsupportedElementTypes: list of int
441
484
  """
442
485
  self._SdkAppId = None
443
486
  self._Url = None
444
487
  self._AutoHandleUnsupportedElement = None
488
+ self._AutoHandleUnsupportedElementTypes = None
445
489
 
446
490
  @property
447
491
  def SdkAppId(self):
@@ -467,11 +511,20 @@ class CreatePPTCheckTaskRequest(AbstractModel):
467
511
  def AutoHandleUnsupportedElement(self, AutoHandleUnsupportedElement):
468
512
  self._AutoHandleUnsupportedElement = AutoHandleUnsupportedElement
469
513
 
514
+ @property
515
+ def AutoHandleUnsupportedElementTypes(self):
516
+ return self._AutoHandleUnsupportedElementTypes
517
+
518
+ @AutoHandleUnsupportedElementTypes.setter
519
+ def AutoHandleUnsupportedElementTypes(self, AutoHandleUnsupportedElementTypes):
520
+ self._AutoHandleUnsupportedElementTypes = AutoHandleUnsupportedElementTypes
521
+
470
522
 
471
523
  def _deserialize(self, params):
472
524
  self._SdkAppId = params.get("SdkAppId")
473
525
  self._Url = params.get("Url")
474
526
  self._AutoHandleUnsupportedElement = params.get("AutoHandleUnsupportedElement")
527
+ self._AutoHandleUnsupportedElementTypes = params.get("AutoHandleUnsupportedElementTypes")
475
528
  memeber_set = set(params.keys())
476
529
  for name, value in vars(self).items():
477
530
  property_name = name[1:]
@@ -700,13 +753,57 @@ tar.gz: 生成`.tar.gz`压缩包
700
753
  示例:1280x720,注意分辨率宽高中间为英文字母"xyz"的"x"
701
754
  :type MinScaleResolution: str
702
755
  :param _AutoHandleUnsupportedElement: 此参数仅对动态转码生效。
703
- 是否对不支持元素开启自动处理的功能。默认不开启。
704
756
 
705
- 在开启自动处理的情况下,会自动进行如下处理:
706
- 1. 墨迹:移除不支持的墨迹(比如使用WPS画的)
707
- 2. 自动翻页:移除PPT上所有的自动翻页设置,并设置为单击鼠标翻页
708
- 3. 已损坏音视频:移除PPT上对损坏音视频的引用
757
+ 是否对不支持元素开启自动处理的功能,默认不开启。
758
+ true -- 开启
759
+ false -- 不开启
760
+
761
+ 当设置为`true`时,可配合`AutoHandleUnsupportedElementTypes`参数使用,具体有哪些不兼容元素类型,可参考`AutoHandleUnsupportedElementTypes`参数的说明。
709
762
  :type AutoHandleUnsupportedElement: bool
763
+ :param _AutoHandleUnsupportedElementTypes: 此参数仅在`AutoHandleUnsupportedElement`参数为`true`的情况下有效。
764
+
765
+ 指定需要自动处理的不兼容元素类型,默认对所有不兼容的元素进行自动处理。
766
+
767
+ 目前支持检测的不兼容元素类型及对应的自动处理方式如下:
768
+ 0: 不支持的墨迹类型
769
+ -- 自动处理方式:移除墨迹
770
+
771
+ 1: 自动翻页
772
+ -- 自动处理方式:移除自动翻页设置,并修改为单击切换
773
+
774
+ 2: 已损坏音视频
775
+ -- 自动处理方式:移除对损坏音视频的引用
776
+
777
+ 3: 不可访问资源
778
+ -- 自动处理方式:移除对不可访问的资源的引用
779
+
780
+ 4: 只读文件
781
+ -- 自动处理方式:移除只读设置
782
+
783
+ 5: 不支持的元素编辑锁定状态
784
+ -- 自动处理方式:移除锁定状态
785
+
786
+ 6: 可能有兼容问题的字体
787
+ -- 自动处理方式: 不支持处理
788
+
789
+ 7: 设置了柔化边缘的GIF图片
790
+ -- 自动处理方式:移除柔化边缘设置
791
+
792
+ 8: 存在不兼容的空格下划线
793
+ -- 自动处理方式:通过调整空格下划线前后文本的字体语言体系,保证空格下划线表现正常
794
+
795
+ 9: 存在设置了分段动画的数学公式和文本混合内容
796
+ -- 自动处理方式: 不支持处理
797
+
798
+ 10: 存在设置了分段动画的渐变色文本
799
+ -- 自动处理方式: 不支持处理
800
+
801
+ 11: 存在不兼容的分散对齐方式
802
+ -- 自动处理方式: 不支持处理
803
+
804
+ 12: 存在不兼容的多倍行距设置
805
+ -- 自动处理方式: 不支持处理
806
+ :type AutoHandleUnsupportedElementTypes: list of int
710
807
  :param _ExcelParam: Excel表格转码参数,可设置转码时表格纸张大小及纸张方向等参数(仅对转码文件为Excel表格文件的静态转码任务生效)
711
808
  :type ExcelParam: :class:`tencentcloud.tiw.v20190919.models.ExcelParam`
712
809
  """
@@ -720,6 +817,7 @@ tar.gz: 生成`.tar.gz`压缩包
720
817
  self._Priority = None
721
818
  self._MinScaleResolution = None
722
819
  self._AutoHandleUnsupportedElement = None
820
+ self._AutoHandleUnsupportedElementTypes = None
723
821
  self._ExcelParam = None
724
822
 
725
823
  @property
@@ -802,6 +900,14 @@ tar.gz: 生成`.tar.gz`压缩包
802
900
  def AutoHandleUnsupportedElement(self, AutoHandleUnsupportedElement):
803
901
  self._AutoHandleUnsupportedElement = AutoHandleUnsupportedElement
804
902
 
903
+ @property
904
+ def AutoHandleUnsupportedElementTypes(self):
905
+ return self._AutoHandleUnsupportedElementTypes
906
+
907
+ @AutoHandleUnsupportedElementTypes.setter
908
+ def AutoHandleUnsupportedElementTypes(self, AutoHandleUnsupportedElementTypes):
909
+ self._AutoHandleUnsupportedElementTypes = AutoHandleUnsupportedElementTypes
910
+
805
911
  @property
806
912
  def ExcelParam(self):
807
913
  return self._ExcelParam
@@ -822,6 +928,7 @@ tar.gz: 生成`.tar.gz`压缩包
822
928
  self._Priority = params.get("Priority")
823
929
  self._MinScaleResolution = params.get("MinScaleResolution")
824
930
  self._AutoHandleUnsupportedElement = params.get("AutoHandleUnsupportedElement")
931
+ self._AutoHandleUnsupportedElementTypes = params.get("AutoHandleUnsupportedElementTypes")
825
932
  if params.get("ExcelParam") is not None:
826
933
  self._ExcelParam = ExcelParam()
827
934
  self._ExcelParam._deserialize(params.get("ExcelParam"))