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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +2 -1
- tencentcloud/autoscaling/v20180419/models.py +198 -102
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/cam/v20190116/models.py +0 -2
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +509 -0
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +67 -56
- tencentcloud/ccc/v20200210/models.py +105 -56
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +10 -10
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +173 -0
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -4
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwpg/v20201230/models.py +0 -12
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/chc/v20230418/models.py +15 -0
- tencentcloud/ckafka/v20190819/models.py +0 -8
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +264 -370
- tencentcloud/cls/v20201016/models.py +35 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +19 -1
- tencentcloud/cvm/v20170312/models.py +335 -40
- tencentcloud/cynosdb/v20190107/models.py +0 -6
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/models.py +109 -0
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +124 -0
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +584 -158
- tencentcloud/dsgc/v20190723/models.py +15 -0
- tencentcloud/dts/v20211206/models.py +1 -16
- tencentcloud/ecdn/v20191012/ecdn_client.py +18 -6
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/ess/v20201111/models.py +16 -12
- tencentcloud/gs/v20191118/errorcodes.py +3 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/models.py +295 -6
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +0 -1
- tencentcloud/gwlb/v20240906/models.py +4 -32
- tencentcloud/hai/v20230812/errorcodes.py +6 -0
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +557 -4
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
- tencentcloud/iotexplorer/v20190423/models.py +94 -4
- tencentcloud/iotvideoindustry/v20201201/models.py +15 -0
- tencentcloud/iss/v20230517/errorcodes.py +6 -0
- tencentcloud/iss/v20230517/iss_client.py +115 -0
- tencentcloud/iss/v20230517/models.py +1095 -12
- tencentcloud/lcic/v20220817/errorcodes.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +4 -2
- tencentcloud/lke/v20231130/models.py +251 -16
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/lkeap/v20240522/models.py +193 -2
- tencentcloud/monitor/v20180724/models.py +8 -8
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +135 -10
- tencentcloud/ocr/v20181119/models.py +38 -2
- tencentcloud/postgres/v20170312/models.py +36 -106
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/redis/v20180412/models.py +159 -6
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/tat/v20201028/errorcodes.py +6 -0
- tencentcloud/tat/v20201028/models.py +78 -32
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/tdmq/v20200217/models.py +115 -95
- tencentcloud/tdmq/v20200217/tdmq_client.py +3 -3
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +47 -126
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +744 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/tse/v20201207/models.py +90 -0
- tencentcloud/tsf/v20180326/models.py +15 -0
- tencentcloud/tts/v20190823/tts_client.py +2 -2
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/models.py +24 -12
- tencentcloud/vpc/v20170312/models.py +758 -84
- tencentcloud/vpc/v20170312/vpc_client.py +115 -0
- tencentcloud/waf/v20180125/models.py +378 -0
- tencentcloud/wedata/v20210820/models.py +391 -26
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +112 -112
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -976,9 +976,13 @@ class CreateInvokerRequest(AbstractModel):
|
|
976
976
|
|
977
977
|
def __init__(self):
|
978
978
|
r"""
|
979
|
-
:param _Name:
|
979
|
+
:param _Name: 执行器名称。长度不超过 120 字符。
|
980
980
|
:type Name: str
|
981
|
-
:param _Type:
|
981
|
+
:param _Type: 执行器类型。
|
982
|
+
|
983
|
+
可选取值(当前仅支持一种):
|
984
|
+
|
985
|
+
- `SCHEDULE`:周期类型执行器。
|
982
986
|
:type Type: str
|
983
987
|
:param _CommandId: 远程命令ID。
|
984
988
|
|
@@ -990,13 +994,15 @@ class CreateInvokerRequest(AbstractModel):
|
|
990
994
|
|
991
995
|
实例需要安装 TAT 客户端, 且客户端为 Online 状态。可通过 [DescribeAutomationAgentStatus(查询客户端状态)](https://cloud.tencent.com/document/api/1340/52682) 接口查询客户端状态。
|
992
996
|
:type InstanceIds: list of str
|
993
|
-
:param _Username:
|
997
|
+
:param _Username: 命令执行用户。长度不超过 256 字符。
|
994
998
|
:type Username: str
|
995
|
-
:param _Parameters:
|
999
|
+
:param _Parameters: 命令自定义参数。字段类型为 JSON encode string。
|
996
1000
|
|
997
1001
|
仅在 CommandId 所指命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
998
1002
|
:type Parameters: str
|
999
|
-
:param _ScheduleSettings:
|
1003
|
+
:param _ScheduleSettings: 周期执行器设置。
|
1004
|
+
|
1005
|
+
当执行器类型为 `SCHEDULE` 时,必须指定此参数。
|
1000
1006
|
:type ScheduleSettings: :class:`tencentcloud.tat.v20201028.models.ScheduleSettings`
|
1001
1007
|
"""
|
1002
1008
|
self._Name = None
|
@@ -1009,7 +1015,7 @@ class CreateInvokerRequest(AbstractModel):
|
|
1009
1015
|
|
1010
1016
|
@property
|
1011
1017
|
def Name(self):
|
1012
|
-
"""
|
1018
|
+
"""执行器名称。长度不超过 120 字符。
|
1013
1019
|
:rtype: str
|
1014
1020
|
"""
|
1015
1021
|
return self._Name
|
@@ -1020,7 +1026,11 @@ class CreateInvokerRequest(AbstractModel):
|
|
1020
1026
|
|
1021
1027
|
@property
|
1022
1028
|
def Type(self):
|
1023
|
-
"""
|
1029
|
+
"""执行器类型。
|
1030
|
+
|
1031
|
+
可选取值(当前仅支持一种):
|
1032
|
+
|
1033
|
+
- `SCHEDULE`:周期类型执行器。
|
1024
1034
|
:rtype: str
|
1025
1035
|
"""
|
1026
1036
|
return self._Type
|
@@ -1059,7 +1069,7 @@ class CreateInvokerRequest(AbstractModel):
|
|
1059
1069
|
|
1060
1070
|
@property
|
1061
1071
|
def Username(self):
|
1062
|
-
"""
|
1072
|
+
"""命令执行用户。长度不超过 256 字符。
|
1063
1073
|
:rtype: str
|
1064
1074
|
"""
|
1065
1075
|
return self._Username
|
@@ -1070,7 +1080,7 @@ class CreateInvokerRequest(AbstractModel):
|
|
1070
1080
|
|
1071
1081
|
@property
|
1072
1082
|
def Parameters(self):
|
1073
|
-
"""
|
1083
|
+
"""命令自定义参数。字段类型为 JSON encode string。
|
1074
1084
|
|
1075
1085
|
仅在 CommandId 所指命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
1076
1086
|
:rtype: str
|
@@ -1083,7 +1093,9 @@ class CreateInvokerRequest(AbstractModel):
|
|
1083
1093
|
|
1084
1094
|
@property
|
1085
1095
|
def ScheduleSettings(self):
|
1086
|
-
"""
|
1096
|
+
"""周期执行器设置。
|
1097
|
+
|
1098
|
+
当执行器类型为 `SCHEDULE` 时,必须指定此参数。
|
1087
1099
|
:rtype: :class:`tencentcloud.tat.v20201028.models.ScheduleSettings`
|
1088
1100
|
"""
|
1089
1101
|
return self._ScheduleSettings
|
@@ -1733,13 +1745,15 @@ class DescribeAutomationAgentStatusRequest(AbstractModel):
|
|
1733
1745
|
|
1734
1746
|
可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
|
1735
1747
|
|
1748
|
+
每次请求的上限为 100。
|
1749
|
+
|
1736
1750
|
参数不支持同时指定 `InstanceIds ` 和 `Filters ` 。
|
1737
1751
|
:type InstanceIds: list of str
|
1738
1752
|
:param _Filters: - agent-status - String - 是否必填:否 -(过滤条件)按照agent状态过滤,取值:Online 在线,Offline 离线。
|
1739
1753
|
- environment - String - 是否必填:否 -(过滤条件)按照agent运行环境查询,取值:Linux, Windows。
|
1740
1754
|
- instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。 可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
|
1741
1755
|
|
1742
|
-
|
1756
|
+
每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `InstanceIds ` 和 `Filters ` 。
|
1743
1757
|
:type Filters: list of Filter
|
1744
1758
|
:param _Limit: 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
1745
1759
|
:type Limit: int
|
@@ -1757,6 +1771,8 @@ class DescribeAutomationAgentStatusRequest(AbstractModel):
|
|
1757
1771
|
|
1758
1772
|
可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
|
1759
1773
|
|
1774
|
+
每次请求的上限为 100。
|
1775
|
+
|
1760
1776
|
参数不支持同时指定 `InstanceIds ` 和 `Filters ` 。
|
1761
1777
|
:rtype: list of str
|
1762
1778
|
"""
|
@@ -1772,7 +1788,7 @@ class DescribeAutomationAgentStatusRequest(AbstractModel):
|
|
1772
1788
|
- environment - String - 是否必填:否 -(过滤条件)按照agent运行环境查询,取值:Linux, Windows。
|
1773
1789
|
- instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。 可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
|
1774
1790
|
|
1775
|
-
|
1791
|
+
每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `InstanceIds ` 和 `Filters ` 。
|
1776
1792
|
:rtype: list of Filter
|
1777
1793
|
"""
|
1778
1794
|
return self._Filters
|
@@ -2547,7 +2563,9 @@ class DescribeInvokersRequest(AbstractModel):
|
|
2547
2563
|
|
2548
2564
|
def __init__(self):
|
2549
2565
|
r"""
|
2550
|
-
:param _InvokerIds: 执行器ID列表。
|
2566
|
+
:param _InvokerIds: 执行器 ID 列表。
|
2567
|
+
|
2568
|
+
每次请求的上限为 100。
|
2551
2569
|
|
2552
2570
|
参数不支持同时指定 `InvokerIds ` 和 `Filters ` 。
|
2553
2571
|
|
@@ -2556,9 +2574,9 @@ class DescribeInvokersRequest(AbstractModel):
|
|
2556
2574
|
|
2557
2575
|
- invoker-id - String - 是否必填:否 - (过滤条件)按执行器ID过滤。
|
2558
2576
|
- command-id - String - 是否必填:否 - (过滤条件)按命令ID过滤。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
2559
|
-
- type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。目前仅支持 SCHEDULE 一种。
|
2577
|
+
- invoker-type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。目前仅支持 SCHEDULE 一种。
|
2560
2578
|
|
2561
|
-
|
2579
|
+
每次请求的 `Filters` 的上限为 10,`Filter.Values` 的上限为 5。参数不支持同时指定 `InvokerIds` 和 `Filters` 。
|
2562
2580
|
:type Filters: list of Filter
|
2563
2581
|
:param _Limit: 返回数量,默认为20,最大值为100。
|
2564
2582
|
:type Limit: int
|
@@ -2572,7 +2590,9 @@ class DescribeInvokersRequest(AbstractModel):
|
|
2572
2590
|
|
2573
2591
|
@property
|
2574
2592
|
def InvokerIds(self):
|
2575
|
-
"""执行器ID列表。
|
2593
|
+
"""执行器 ID 列表。
|
2594
|
+
|
2595
|
+
每次请求的上限为 100。
|
2576
2596
|
|
2577
2597
|
参数不支持同时指定 `InvokerIds ` 和 `Filters ` 。
|
2578
2598
|
|
@@ -2590,9 +2610,9 @@ class DescribeInvokersRequest(AbstractModel):
|
|
2590
2610
|
|
2591
2611
|
- invoker-id - String - 是否必填:否 - (过滤条件)按执行器ID过滤。
|
2592
2612
|
- command-id - String - 是否必填:否 - (过滤条件)按命令ID过滤。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
2593
|
-
- type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。目前仅支持 SCHEDULE 一种。
|
2613
|
+
- invoker-type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。目前仅支持 SCHEDULE 一种。
|
2594
2614
|
|
2595
|
-
|
2615
|
+
每次请求的 `Filters` 的上限为 10,`Filter.Values` 的上限为 5。参数不支持同时指定 `InvokerIds` 和 `Filters` 。
|
2596
2616
|
:rtype: list of Filter
|
2597
2617
|
"""
|
2598
2618
|
return self._Filters
|
@@ -2878,6 +2898,10 @@ class DescribeRegisterCodesRequest(AbstractModel):
|
|
2878
2898
|
def __init__(self):
|
2879
2899
|
r"""
|
2880
2900
|
:param _RegisterCodeIds: 注册码ID。
|
2901
|
+
|
2902
|
+
每次请求的上限为 100。
|
2903
|
+
|
2904
|
+
参数不支持同时指定 `RegisterCodeIds ` 和 `Filters ` 。
|
2881
2905
|
:type RegisterCodeIds: list of str
|
2882
2906
|
:param _Offset: 偏移量,默认为 0。
|
2883
2907
|
:type Offset: int
|
@@ -2891,6 +2915,10 @@ class DescribeRegisterCodesRequest(AbstractModel):
|
|
2891
2915
|
@property
|
2892
2916
|
def RegisterCodeIds(self):
|
2893
2917
|
"""注册码ID。
|
2918
|
+
|
2919
|
+
每次请求的上限为 100。
|
2920
|
+
|
2921
|
+
参数不支持同时指定 `RegisterCodeIds ` 和 `Filters ` 。
|
2894
2922
|
:rtype: list of str
|
2895
2923
|
"""
|
2896
2924
|
return self._RegisterCodeIds
|
@@ -3008,10 +3036,12 @@ class DescribeRegisterInstancesRequest(AbstractModel):
|
|
3008
3036
|
r"""
|
3009
3037
|
:param _InstanceIds: 托管实例 id。
|
3010
3038
|
|
3039
|
+
每次请求的上限为 100。
|
3040
|
+
|
3011
3041
|
参数不支持同时指定 `InstanceIds` 和 `Filters` 。
|
3012
3042
|
|
3013
3043
|
:type InstanceIds: list of str
|
3014
|
-
:param _Filters:
|
3044
|
+
:param _Filters: 过滤器列表。每次请求的 `Filters` 的上限为 10,`Filter.Values` 的上限为 5。参数不支持同时指定 `InstanceIds` 和 `Filters` 。
|
3015
3045
|
|
3016
3046
|
|
3017
3047
|
- instance-name
|
@@ -3074,6 +3104,8 @@ class DescribeRegisterInstancesRequest(AbstractModel):
|
|
3074
3104
|
def InstanceIds(self):
|
3075
3105
|
"""托管实例 id。
|
3076
3106
|
|
3107
|
+
每次请求的上限为 100。
|
3108
|
+
|
3077
3109
|
参数不支持同时指定 `InstanceIds` 和 `Filters` 。
|
3078
3110
|
|
3079
3111
|
:rtype: list of str
|
@@ -3086,7 +3118,7 @@ class DescribeRegisterInstancesRequest(AbstractModel):
|
|
3086
3118
|
|
3087
3119
|
@property
|
3088
3120
|
def Filters(self):
|
3089
|
-
"""
|
3121
|
+
"""过滤器列表。每次请求的 `Filters` 的上限为 10,`Filter.Values` 的上限为 5。参数不支持同时指定 `InstanceIds` 和 `Filters` 。
|
3090
3122
|
|
3091
3123
|
|
3092
3124
|
- instance-name
|
@@ -3257,6 +3289,8 @@ class DescribeScenesRequest(AbstractModel):
|
|
3257
3289
|
r"""
|
3258
3290
|
:param _SceneIds: 场景 ID 数组。
|
3259
3291
|
|
3292
|
+
每次请求的上限为 100。
|
3293
|
+
|
3260
3294
|
参数不支持同时指定 `SceneIds ` 和 `Filters ` 。
|
3261
3295
|
|
3262
3296
|
:type SceneIds: list of str
|
@@ -3282,6 +3316,8 @@ class DescribeScenesRequest(AbstractModel):
|
|
3282
3316
|
def SceneIds(self):
|
3283
3317
|
"""场景 ID 数组。
|
3284
3318
|
|
3319
|
+
每次请求的上限为 100。
|
3320
|
+
|
3285
3321
|
参数不支持同时指定 `SceneIds ` 和 `Filters ` 。
|
3286
3322
|
|
3287
3323
|
:rtype: list of str
|
@@ -5249,17 +5285,21 @@ class ModifyInvokerRequest(AbstractModel):
|
|
5249
5285
|
|
5250
5286
|
可通过 [DescribeInvokers(查询执行器)](https://cloud.tencent.com/document/api/1340/61759) 接口获取。
|
5251
5287
|
:type InvokerId: str
|
5252
|
-
:param _Name:
|
5288
|
+
:param _Name: 待修改的执行器名称。长度不超过 120 字符。
|
5253
5289
|
:type Name: str
|
5254
|
-
:param _Type:
|
5290
|
+
:param _Type: 待修改的执行器类型。
|
5291
|
+
|
5292
|
+
可选取值(当前仅支持一种):
|
5293
|
+
|
5294
|
+
- `SCHEDULE`:周期类型执行器。
|
5255
5295
|
:type Type: str
|
5256
5296
|
:param _CommandId: 待修改的命令ID。
|
5257
5297
|
|
5258
5298
|
可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
5259
5299
|
:type CommandId: str
|
5260
|
-
:param _Username:
|
5300
|
+
:param _Username: 待修改的用户名。长度不超过 256 字符。
|
5261
5301
|
:type Username: str
|
5262
|
-
:param _Parameters:
|
5302
|
+
:param _Parameters: 待修改的自定义参数。字段类型为 JSON encode string。
|
5263
5303
|
|
5264
5304
|
仅在 CommandId 所指命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
5265
5305
|
:type Parameters: str
|
@@ -5270,6 +5310,8 @@ class ModifyInvokerRequest(AbstractModel):
|
|
5270
5310
|
实例需要安装 TAT 客户端, 且客户端为 Online 状态。可通过 [DescribeAutomationAgentStatus(查询客户端状态)](https://cloud.tencent.com/document/api/1340/52682) 接口查询客户端状态。
|
5271
5311
|
:type InstanceIds: list of str
|
5272
5312
|
:param _ScheduleSettings: 待修改的周期执行器设置。
|
5313
|
+
|
5314
|
+
要将执行器类型修改为 `SCHEDULE` 时,必须指定此参数。
|
5273
5315
|
:type ScheduleSettings: :class:`tencentcloud.tat.v20201028.models.ScheduleSettings`
|
5274
5316
|
"""
|
5275
5317
|
self._InvokerId = None
|
@@ -5296,7 +5338,7 @@ class ModifyInvokerRequest(AbstractModel):
|
|
5296
5338
|
|
5297
5339
|
@property
|
5298
5340
|
def Name(self):
|
5299
|
-
"""
|
5341
|
+
"""待修改的执行器名称。长度不超过 120 字符。
|
5300
5342
|
:rtype: str
|
5301
5343
|
"""
|
5302
5344
|
return self._Name
|
@@ -5307,7 +5349,11 @@ class ModifyInvokerRequest(AbstractModel):
|
|
5307
5349
|
|
5308
5350
|
@property
|
5309
5351
|
def Type(self):
|
5310
|
-
"""
|
5352
|
+
"""待修改的执行器类型。
|
5353
|
+
|
5354
|
+
可选取值(当前仅支持一种):
|
5355
|
+
|
5356
|
+
- `SCHEDULE`:周期类型执行器。
|
5311
5357
|
:rtype: str
|
5312
5358
|
"""
|
5313
5359
|
return self._Type
|
@@ -5331,7 +5377,7 @@ class ModifyInvokerRequest(AbstractModel):
|
|
5331
5377
|
|
5332
5378
|
@property
|
5333
5379
|
def Username(self):
|
5334
|
-
"""
|
5380
|
+
"""待修改的用户名。长度不超过 256 字符。
|
5335
5381
|
:rtype: str
|
5336
5382
|
"""
|
5337
5383
|
return self._Username
|
@@ -5342,7 +5388,7 @@ class ModifyInvokerRequest(AbstractModel):
|
|
5342
5388
|
|
5343
5389
|
@property
|
5344
5390
|
def Parameters(self):
|
5345
|
-
"""
|
5391
|
+
"""待修改的自定义参数。字段类型为 JSON encode string。
|
5346
5392
|
|
5347
5393
|
仅在 CommandId 所指命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
5348
5394
|
:rtype: str
|
@@ -5371,6 +5417,8 @@ class ModifyInvokerRequest(AbstractModel):
|
|
5371
5417
|
@property
|
5372
5418
|
def ScheduleSettings(self):
|
5373
5419
|
"""待修改的周期执行器设置。
|
5420
|
+
|
5421
|
+
要将执行器类型修改为 `SCHEDULE` 时,必须指定此参数。
|
5374
5422
|
:rtype: :class:`tencentcloud.tat.v20201028.models.ScheduleSettings`
|
5375
5423
|
"""
|
5376
5424
|
return self._ScheduleSettings
|
@@ -6597,10 +6645,9 @@ class ScheduleSettings(AbstractModel):
|
|
6597
6645
|
def __init__(self):
|
6598
6646
|
r"""
|
6599
6647
|
:param _Policy: 执行策略:
|
6648
|
+
|
6600
6649
|
- ONCE:单次执行
|
6601
6650
|
- RECURRENCE:周期执行
|
6602
|
-
|
6603
|
-
只有在 CreateInvoker 时才必填,ModifyInvoker 时为非必填
|
6604
6651
|
:type Policy: str
|
6605
6652
|
:param _Recurrence: 触发 Crontab 表达式。Policy 为 RECURRENCE 时,需要指定此字段。Crontab 按北京时间解析。
|
6606
6653
|
:type Recurrence: str
|
@@ -6616,10 +6663,9 @@ class ScheduleSettings(AbstractModel):
|
|
6616
6663
|
@property
|
6617
6664
|
def Policy(self):
|
6618
6665
|
"""执行策略:
|
6666
|
+
|
6619
6667
|
- ONCE:单次执行
|
6620
6668
|
- RECURRENCE:周期执行
|
6621
|
-
|
6622
|
-
只有在 CreateInvoker 时才必填,ModifyInvoker 时为非必填
|
6623
6669
|
:rtype: str
|
6624
6670
|
"""
|
6625
6671
|
return self._Policy
|
@@ -17100,6 +17100,12 @@ class CreateVulScanTaskRequest(AbstractModel):
|
|
17100
17100
|
:type LocalTaskID: int
|
17101
17101
|
:param _RegistryTaskID: 仓库镜像重新漏洞扫描时的任务ID
|
17102
17102
|
:type RegistryTaskID: int
|
17103
|
+
:param _LocalImageContainerRunning: 本地镜像容器运行中
|
17104
|
+
:type LocalImageContainerRunning: bool
|
17105
|
+
:param _RegistryImageContainerRunning: 仓库镜像容器运行中
|
17106
|
+
:type RegistryImageContainerRunning: bool
|
17107
|
+
:param _IsLatest: 仓库镜像是否是最新
|
17108
|
+
:type IsLatest: bool
|
17103
17109
|
"""
|
17104
17110
|
self._LocalImageScanType = None
|
17105
17111
|
self._LocalImageIDs = None
|
@@ -17107,6 +17113,9 @@ class CreateVulScanTaskRequest(AbstractModel):
|
|
17107
17113
|
self._RegistryImageIDs = None
|
17108
17114
|
self._LocalTaskID = None
|
17109
17115
|
self._RegistryTaskID = None
|
17116
|
+
self._LocalImageContainerRunning = None
|
17117
|
+
self._RegistryImageContainerRunning = None
|
17118
|
+
self._IsLatest = None
|
17110
17119
|
|
17111
17120
|
@property
|
17112
17121
|
def LocalImageScanType(self):
|
@@ -17174,6 +17183,39 @@ class CreateVulScanTaskRequest(AbstractModel):
|
|
17174
17183
|
def RegistryTaskID(self, RegistryTaskID):
|
17175
17184
|
self._RegistryTaskID = RegistryTaskID
|
17176
17185
|
|
17186
|
+
@property
|
17187
|
+
def LocalImageContainerRunning(self):
|
17188
|
+
"""本地镜像容器运行中
|
17189
|
+
:rtype: bool
|
17190
|
+
"""
|
17191
|
+
return self._LocalImageContainerRunning
|
17192
|
+
|
17193
|
+
@LocalImageContainerRunning.setter
|
17194
|
+
def LocalImageContainerRunning(self, LocalImageContainerRunning):
|
17195
|
+
self._LocalImageContainerRunning = LocalImageContainerRunning
|
17196
|
+
|
17197
|
+
@property
|
17198
|
+
def RegistryImageContainerRunning(self):
|
17199
|
+
"""仓库镜像容器运行中
|
17200
|
+
:rtype: bool
|
17201
|
+
"""
|
17202
|
+
return self._RegistryImageContainerRunning
|
17203
|
+
|
17204
|
+
@RegistryImageContainerRunning.setter
|
17205
|
+
def RegistryImageContainerRunning(self, RegistryImageContainerRunning):
|
17206
|
+
self._RegistryImageContainerRunning = RegistryImageContainerRunning
|
17207
|
+
|
17208
|
+
@property
|
17209
|
+
def IsLatest(self):
|
17210
|
+
"""仓库镜像是否是最新
|
17211
|
+
:rtype: bool
|
17212
|
+
"""
|
17213
|
+
return self._IsLatest
|
17214
|
+
|
17215
|
+
@IsLatest.setter
|
17216
|
+
def IsLatest(self, IsLatest):
|
17217
|
+
self._IsLatest = IsLatest
|
17218
|
+
|
17177
17219
|
|
17178
17220
|
def _deserialize(self, params):
|
17179
17221
|
self._LocalImageScanType = params.get("LocalImageScanType")
|
@@ -17182,6 +17224,9 @@ class CreateVulScanTaskRequest(AbstractModel):
|
|
17182
17224
|
self._RegistryImageIDs = params.get("RegistryImageIDs")
|
17183
17225
|
self._LocalTaskID = params.get("LocalTaskID")
|
17184
17226
|
self._RegistryTaskID = params.get("RegistryTaskID")
|
17227
|
+
self._LocalImageContainerRunning = params.get("LocalImageContainerRunning")
|
17228
|
+
self._RegistryImageContainerRunning = params.get("RegistryImageContainerRunning")
|
17229
|
+
self._IsLatest = params.get("IsLatest")
|
17185
17230
|
memeber_set = set(params.keys())
|
17186
17231
|
for name, value in vars(self).items():
|
17187
17232
|
property_name = name[1:]
|