tencentcloud-sdk-python 3.0.1408__py2.py3-none-any.whl → 3.0.1410__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/bh/v20230418/bh_client.py +138 -0
- tencentcloud/bh/v20230418/errorcodes.py +3 -0
- tencentcloud/bh/v20230418/models.py +1006 -67
- tencentcloud/ccc/v20200210/models.py +2 -2
- tencentcloud/cdb/v20170320/cdb_client.py +25 -19
- tencentcloud/cdb/v20170320/errorcodes.py +0 -3
- tencentcloud/cdb/v20170320/models.py +274 -202
- tencentcloud/common/credential.py +2 -3
- tencentcloud/csip/v20221121/models.py +45 -4
- tencentcloud/cvm/v20170312/models.py +15 -0
- tencentcloud/cwp/v20180228/models.py +165 -0
- tencentcloud/cynosdb/v20190107/models.py +45 -0
- tencentcloud/dsgc/v20190723/dsgc_client.py +1 -3
- tencentcloud/dsgc/v20190723/models.py +342 -15
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/models.py +500 -0
- tencentcloud/es/v20180416/errorcodes.py +42 -0
- tencentcloud/ess/v20201111/errorcodes.py +24 -0
- tencentcloud/ess/v20201111/ess_client.py +1 -0
- tencentcloud/ess/v20201111/models.py +33 -4
- tencentcloud/essbasic/v20210526/errorcodes.py +24 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -0
- tencentcloud/gs/v20191118/models.py +15 -0
- tencentcloud/kms/v20190118/errorcodes.py +36 -0
- tencentcloud/kms/v20190118/kms_client.py +345 -0
- tencentcloud/kms/v20190118/models.py +3437 -1534
- tencentcloud/lighthouse/v20200324/errorcodes.py +21 -0
- tencentcloud/live/v20180801/models.py +15 -0
- tencentcloud/lke/v20231130/lke_client.py +92 -0
- tencentcloud/lke/v20231130/models.py +2702 -572
- tencentcloud/mqtt/v20240516/models.py +120 -0
- tencentcloud/organization/v20210331/models.py +15 -0
- tencentcloud/partners/v20180321/models.py +4 -4
- tencentcloud/postgres/v20170312/models.py +4 -0
- tencentcloud/ses/v20201002/models.py +0 -8
- tencentcloud/tcss/v20201101/models.py +15 -0
- tencentcloud/thpc/v20230321/models.py +47 -2
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/trocket/v20230308/models.py +476 -238
- tencentcloud/trocket/v20230308/trocket_client.py +58 -17
- tencentcloud/vpc/v20170312/models.py +15 -0
- tencentcloud/waf/v20180125/models.py +110 -18
- tencentcloud/wedata/v20210820/models.py +764 -4
- tencentcloud/wedata/v20210820/wedata_client.py +48 -2
- {tencentcloud_sdk_python-3.0.1408.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1408.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/RECORD +50 -50
- {tencentcloud_sdk_python-3.0.1408.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1408.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1408.dist-info → tencentcloud_sdk_python-3.0.1410.dist-info}/top_level.txt +0 -0
@@ -283,9 +283,8 @@ class ProfileCredential(object):
|
|
283
283
|
"""
|
284
284
|
|
285
285
|
def get_credential(self):
|
286
|
-
|
287
|
-
|
288
|
-
file_path = home_path + "/.tencentcloud/credentials"
|
286
|
+
if os.path.exists(os.path.expanduser("~/.tencentcloud/credentials")):
|
287
|
+
file_path = os.path.expanduser("~/.tencentcloud/credentials")
|
289
288
|
elif os.path.exists("/etc/tencentcloud/credentials"):
|
290
289
|
file_path = "/etc/tencentcloud/credentials"
|
291
290
|
else:
|
@@ -12497,7 +12497,6 @@ class DescribeExposePathResponse(AbstractModel):
|
|
12497
12497
|
def __init__(self):
|
12498
12498
|
r"""
|
12499
12499
|
:param _Content: 暴露路径节点内容
|
12500
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12501
12500
|
:type Content: str
|
12502
12501
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12503
12502
|
:type RequestId: str
|
@@ -12508,7 +12507,6 @@ class DescribeExposePathResponse(AbstractModel):
|
|
12508
12507
|
@property
|
12509
12508
|
def Content(self):
|
12510
12509
|
"""暴露路径节点内容
|
12511
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
12512
12510
|
:rtype: str
|
12513
12511
|
"""
|
12514
12512
|
return self._Content
|
@@ -13498,14 +13496,28 @@ class DescribeOtherCloudAssetsRequest(AbstractModel):
|
|
13498
13496
|
|
13499
13497
|
def __init__(self):
|
13500
13498
|
r"""
|
13499
|
+
:param _MemberId: 集团账号的成员id
|
13500
|
+
:type MemberId: list of str
|
13501
13501
|
:param _Filter: -
|
13502
13502
|
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
13503
13503
|
:param _AssetTypes: 资产类型:MYSQL/MARIADB/REDIS/MONGODB/POSTGRES/CTS/ES/KAFKA/COS/CBS/CFS
|
13504
13504
|
:type AssetTypes: list of str
|
13505
13505
|
"""
|
13506
|
+
self._MemberId = None
|
13506
13507
|
self._Filter = None
|
13507
13508
|
self._AssetTypes = None
|
13508
13509
|
|
13510
|
+
@property
|
13511
|
+
def MemberId(self):
|
13512
|
+
"""集团账号的成员id
|
13513
|
+
:rtype: list of str
|
13514
|
+
"""
|
13515
|
+
return self._MemberId
|
13516
|
+
|
13517
|
+
@MemberId.setter
|
13518
|
+
def MemberId(self, MemberId):
|
13519
|
+
self._MemberId = MemberId
|
13520
|
+
|
13509
13521
|
@property
|
13510
13522
|
def Filter(self):
|
13511
13523
|
"""-
|
@@ -13530,6 +13542,7 @@ class DescribeOtherCloudAssetsRequest(AbstractModel):
|
|
13530
13542
|
|
13531
13543
|
|
13532
13544
|
def _deserialize(self, params):
|
13545
|
+
self._MemberId = params.get("MemberId")
|
13533
13546
|
if params.get("Filter") is not None:
|
13534
13547
|
self._Filter = Filter()
|
13535
13548
|
self._Filter._deserialize(params.get("Filter"))
|
@@ -13962,11 +13975,25 @@ class DescribeRepositoryImageAssetsRequest(AbstractModel):
|
|
13962
13975
|
|
13963
13976
|
def __init__(self):
|
13964
13977
|
r"""
|
13978
|
+
:param _MemberId: 集团账号的成员id
|
13979
|
+
:type MemberId: list of str
|
13965
13980
|
:param _Filter: filter过滤条件
|
13966
13981
|
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
13967
13982
|
"""
|
13983
|
+
self._MemberId = None
|
13968
13984
|
self._Filter = None
|
13969
13985
|
|
13986
|
+
@property
|
13987
|
+
def MemberId(self):
|
13988
|
+
"""集团账号的成员id
|
13989
|
+
:rtype: list of str
|
13990
|
+
"""
|
13991
|
+
return self._MemberId
|
13992
|
+
|
13993
|
+
@MemberId.setter
|
13994
|
+
def MemberId(self, MemberId):
|
13995
|
+
self._MemberId = MemberId
|
13996
|
+
|
13970
13997
|
@property
|
13971
13998
|
def Filter(self):
|
13972
13999
|
"""filter过滤条件
|
@@ -13980,6 +14007,7 @@ class DescribeRepositoryImageAssetsRequest(AbstractModel):
|
|
13980
14007
|
|
13981
14008
|
|
13982
14009
|
def _deserialize(self, params):
|
14010
|
+
self._MemberId = params.get("MemberId")
|
13983
14011
|
if params.get("Filter") is not None:
|
13984
14012
|
self._Filter = Filter()
|
13985
14013
|
self._Filter._deserialize(params.get("Filter"))
|
@@ -15049,11 +15077,25 @@ class DescribeRiskCenterCFGViewCFGRiskListRequest(AbstractModel):
|
|
15049
15077
|
|
15050
15078
|
def __init__(self):
|
15051
15079
|
r"""
|
15080
|
+
:param _MemberId: 集团账号的成员id
|
15081
|
+
:type MemberId: list of str
|
15052
15082
|
:param _Filter: 过滤内容
|
15053
15083
|
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
15054
15084
|
"""
|
15085
|
+
self._MemberId = None
|
15055
15086
|
self._Filter = None
|
15056
15087
|
|
15088
|
+
@property
|
15089
|
+
def MemberId(self):
|
15090
|
+
"""集团账号的成员id
|
15091
|
+
:rtype: list of str
|
15092
|
+
"""
|
15093
|
+
return self._MemberId
|
15094
|
+
|
15095
|
+
@MemberId.setter
|
15096
|
+
def MemberId(self, MemberId):
|
15097
|
+
self._MemberId = MemberId
|
15098
|
+
|
15057
15099
|
@property
|
15058
15100
|
def Filter(self):
|
15059
15101
|
"""过滤内容
|
@@ -15067,6 +15109,7 @@ class DescribeRiskCenterCFGViewCFGRiskListRequest(AbstractModel):
|
|
15067
15109
|
|
15068
15110
|
|
15069
15111
|
def _deserialize(self, params):
|
15112
|
+
self._MemberId = params.get("MemberId")
|
15070
15113
|
if params.get("Filter") is not None:
|
15071
15114
|
self._Filter = Filter()
|
15072
15115
|
self._Filter._deserialize(params.get("Filter"))
|
@@ -16280,7 +16323,6 @@ class DescribeRiskRuleDetailResponse(AbstractModel):
|
|
16280
16323
|
def __init__(self):
|
16281
16324
|
r"""
|
16282
16325
|
:param _RiskRuleId: 风险规则ID
|
16283
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16284
16326
|
:type RiskRuleId: str
|
16285
16327
|
:param _Provider: 云厂商
|
16286
16328
|
:type Provider: str
|
@@ -16303,7 +16345,6 @@ class DescribeRiskRuleDetailResponse(AbstractModel):
|
|
16303
16345
|
@property
|
16304
16346
|
def RiskRuleId(self):
|
16305
16347
|
"""风险规则ID
|
16306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16307
16348
|
:rtype: str
|
16308
16349
|
"""
|
16309
16350
|
return self._RiskRuleId
|
@@ -12000,12 +12000,15 @@ class InquiryPriceResetInstanceRequest(AbstractModel):
|
|
12000
12000
|
:type LoginSettings: :class:`tencentcloud.cvm.v20170312.models.LoginSettings`
|
12001
12001
|
:param _EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
|
12002
12002
|
:type EnhancedService: :class:`tencentcloud.cvm.v20170312.models.EnhancedService`
|
12003
|
+
:param _UserData: 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。关于获取此参数的详细介绍,请参阅[Windows](https://cloud.tencent.com/document/product/213/17526)和[Linux](https://cloud.tencent.com/document/product/213/17525)启动时运行命令。
|
12004
|
+
:type UserData: str
|
12003
12005
|
"""
|
12004
12006
|
self._InstanceId = None
|
12005
12007
|
self._ImageId = None
|
12006
12008
|
self._SystemDisk = None
|
12007
12009
|
self._LoginSettings = None
|
12008
12010
|
self._EnhancedService = None
|
12011
|
+
self._UserData = None
|
12009
12012
|
|
12010
12013
|
@property
|
12011
12014
|
def InstanceId(self):
|
@@ -12062,6 +12065,17 @@ class InquiryPriceResetInstanceRequest(AbstractModel):
|
|
12062
12065
|
def EnhancedService(self, EnhancedService):
|
12063
12066
|
self._EnhancedService = EnhancedService
|
12064
12067
|
|
12068
|
+
@property
|
12069
|
+
def UserData(self):
|
12070
|
+
"""提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。关于获取此参数的详细介绍,请参阅[Windows](https://cloud.tencent.com/document/product/213/17526)和[Linux](https://cloud.tencent.com/document/product/213/17525)启动时运行命令。
|
12071
|
+
:rtype: str
|
12072
|
+
"""
|
12073
|
+
return self._UserData
|
12074
|
+
|
12075
|
+
@UserData.setter
|
12076
|
+
def UserData(self, UserData):
|
12077
|
+
self._UserData = UserData
|
12078
|
+
|
12065
12079
|
|
12066
12080
|
def _deserialize(self, params):
|
12067
12081
|
self._InstanceId = params.get("InstanceId")
|
@@ -12075,6 +12089,7 @@ class InquiryPriceResetInstanceRequest(AbstractModel):
|
|
12075
12089
|
if params.get("EnhancedService") is not None:
|
12076
12090
|
self._EnhancedService = EnhancedService()
|
12077
12091
|
self._EnhancedService._deserialize(params.get("EnhancedService"))
|
12092
|
+
self._UserData = params.get("UserData")
|
12078
12093
|
memeber_set = set(params.keys())
|
12079
12094
|
for name, value in vars(self).items():
|
12080
12095
|
property_name = name[1:]
|
@@ -40236,10 +40236,16 @@ MachineName主机名模糊查询, Type,Status精确匹配,CreateBeginTime,
|
|
40236
40236
|
:type Offset: int
|
40237
40237
|
:param _Limit: 需要返回的数量,默认为10,最大值为100
|
40238
40238
|
:type Limit: int
|
40239
|
+
:param _Order: 排序,大小写无关:asc 升序,desc降序
|
40240
|
+
:type Order: str
|
40241
|
+
:param _By: 排序列,严格相等:最近检测时间RecentFoundTime
|
40242
|
+
:type By: str
|
40239
40243
|
"""
|
40240
40244
|
self._Filters = None
|
40241
40245
|
self._Offset = None
|
40242
40246
|
self._Limit = None
|
40247
|
+
self._Order = None
|
40248
|
+
self._By = None
|
40243
40249
|
|
40244
40250
|
@property
|
40245
40251
|
def Filters(self):
|
@@ -40276,6 +40282,28 @@ MachineName主机名模糊查询, Type,Status精确匹配,CreateBeginTime,
|
|
40276
40282
|
def Limit(self, Limit):
|
40277
40283
|
self._Limit = Limit
|
40278
40284
|
|
40285
|
+
@property
|
40286
|
+
def Order(self):
|
40287
|
+
"""排序,大小写无关:asc 升序,desc降序
|
40288
|
+
:rtype: str
|
40289
|
+
"""
|
40290
|
+
return self._Order
|
40291
|
+
|
40292
|
+
@Order.setter
|
40293
|
+
def Order(self, Order):
|
40294
|
+
self._Order = Order
|
40295
|
+
|
40296
|
+
@property
|
40297
|
+
def By(self):
|
40298
|
+
"""排序列,严格相等:最近检测时间RecentFoundTime
|
40299
|
+
:rtype: str
|
40300
|
+
"""
|
40301
|
+
return self._By
|
40302
|
+
|
40303
|
+
@By.setter
|
40304
|
+
def By(self, By):
|
40305
|
+
self._By = By
|
40306
|
+
|
40279
40307
|
|
40280
40308
|
def _deserialize(self, params):
|
40281
40309
|
if params.get("Filters") is not None:
|
@@ -40286,6 +40314,8 @@ MachineName主机名模糊查询, Type,Status精确匹配,CreateBeginTime,
|
|
40286
40314
|
self._Filters.append(obj)
|
40287
40315
|
self._Offset = params.get("Offset")
|
40288
40316
|
self._Limit = params.get("Limit")
|
40317
|
+
self._Order = params.get("Order")
|
40318
|
+
self._By = params.get("By")
|
40289
40319
|
memeber_set = set(params.keys())
|
40290
40320
|
for name, value in vars(self).items():
|
40291
40321
|
property_name = name[1:]
|
@@ -41046,6 +41076,10 @@ class DescribeLicenseGeneralResponse(AbstractModel):
|
|
41046
41076
|
:type DestroyOrderNum: int
|
41047
41077
|
:param _RepurchaseRenewSwitch: 自动加购是否自动续费开关,true 开启,false 关闭
|
41048
41078
|
:type RepurchaseRenewSwitch: bool
|
41079
|
+
:param _AutoBindRaspSwitch: 是否自动新增机器绑定rasp防护,false 关闭 true 开启
|
41080
|
+
:type AutoBindRaspSwitch: bool
|
41081
|
+
:param _AutoOpenRaspSwitch: 是否自动新增机器开启rasp防护,false 关闭 true 开启
|
41082
|
+
:type AutoOpenRaspSwitch: bool
|
41049
41083
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
41050
41084
|
:type RequestId: str
|
41051
41085
|
"""
|
@@ -41068,6 +41102,8 @@ class DescribeLicenseGeneralResponse(AbstractModel):
|
|
41068
41102
|
self._AutoRepurchaseRenewSwitch = None
|
41069
41103
|
self._DestroyOrderNum = None
|
41070
41104
|
self._RepurchaseRenewSwitch = None
|
41105
|
+
self._AutoBindRaspSwitch = None
|
41106
|
+
self._AutoOpenRaspSwitch = None
|
41071
41107
|
self._RequestId = None
|
41072
41108
|
|
41073
41109
|
@property
|
@@ -41279,6 +41315,28 @@ class DescribeLicenseGeneralResponse(AbstractModel):
|
|
41279
41315
|
def RepurchaseRenewSwitch(self, RepurchaseRenewSwitch):
|
41280
41316
|
self._RepurchaseRenewSwitch = RepurchaseRenewSwitch
|
41281
41317
|
|
41318
|
+
@property
|
41319
|
+
def AutoBindRaspSwitch(self):
|
41320
|
+
"""是否自动新增机器绑定rasp防护,false 关闭 true 开启
|
41321
|
+
:rtype: bool
|
41322
|
+
"""
|
41323
|
+
return self._AutoBindRaspSwitch
|
41324
|
+
|
41325
|
+
@AutoBindRaspSwitch.setter
|
41326
|
+
def AutoBindRaspSwitch(self, AutoBindRaspSwitch):
|
41327
|
+
self._AutoBindRaspSwitch = AutoBindRaspSwitch
|
41328
|
+
|
41329
|
+
@property
|
41330
|
+
def AutoOpenRaspSwitch(self):
|
41331
|
+
"""是否自动新增机器开启rasp防护,false 关闭 true 开启
|
41332
|
+
:rtype: bool
|
41333
|
+
"""
|
41334
|
+
return self._AutoOpenRaspSwitch
|
41335
|
+
|
41336
|
+
@AutoOpenRaspSwitch.setter
|
41337
|
+
def AutoOpenRaspSwitch(self, AutoOpenRaspSwitch):
|
41338
|
+
self._AutoOpenRaspSwitch = AutoOpenRaspSwitch
|
41339
|
+
|
41282
41340
|
@property
|
41283
41341
|
def RequestId(self):
|
41284
41342
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -41311,6 +41369,8 @@ class DescribeLicenseGeneralResponse(AbstractModel):
|
|
41311
41369
|
self._AutoRepurchaseRenewSwitch = params.get("AutoRepurchaseRenewSwitch")
|
41312
41370
|
self._DestroyOrderNum = params.get("DestroyOrderNum")
|
41313
41371
|
self._RepurchaseRenewSwitch = params.get("RepurchaseRenewSwitch")
|
41372
|
+
self._AutoBindRaspSwitch = params.get("AutoBindRaspSwitch")
|
41373
|
+
self._AutoOpenRaspSwitch = params.get("AutoOpenRaspSwitch")
|
41314
41374
|
self._RequestId = params.get("RequestId")
|
41315
41375
|
|
41316
41376
|
|
@@ -58972,6 +59032,8 @@ class DescribeVulInfoCvssResponse(AbstractModel):
|
|
58972
59032
|
:type SuccessFixCount: int
|
58973
59033
|
:param _FixSwitch: 修复是否支持:0-windows/linux均不支持修复 ;1-windows/linux 均支持修复 ;2-仅linux支持修复;3-仅windows支持修复
|
58974
59034
|
:type FixSwitch: int
|
59035
|
+
:param _SupportDefence: 是否支持防御: 0-不支持 1-支持
|
59036
|
+
:type SupportDefence: int
|
58975
59037
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
58976
59038
|
:type RequestId: str
|
58977
59039
|
"""
|
@@ -58992,6 +59054,7 @@ class DescribeVulInfoCvssResponse(AbstractModel):
|
|
58992
59054
|
self._DefenseAttackCount = None
|
58993
59055
|
self._SuccessFixCount = None
|
58994
59056
|
self._FixSwitch = None
|
59057
|
+
self._SupportDefence = None
|
58995
59058
|
self._RequestId = None
|
58996
59059
|
|
58997
59060
|
@property
|
@@ -59181,6 +59244,17 @@ class DescribeVulInfoCvssResponse(AbstractModel):
|
|
59181
59244
|
def FixSwitch(self, FixSwitch):
|
59182
59245
|
self._FixSwitch = FixSwitch
|
59183
59246
|
|
59247
|
+
@property
|
59248
|
+
def SupportDefence(self):
|
59249
|
+
"""是否支持防御: 0-不支持 1-支持
|
59250
|
+
:rtype: int
|
59251
|
+
"""
|
59252
|
+
return self._SupportDefence
|
59253
|
+
|
59254
|
+
@SupportDefence.setter
|
59255
|
+
def SupportDefence(self, SupportDefence):
|
59256
|
+
self._SupportDefence = SupportDefence
|
59257
|
+
|
59184
59258
|
@property
|
59185
59259
|
def RequestId(self):
|
59186
59260
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -59211,6 +59285,7 @@ class DescribeVulInfoCvssResponse(AbstractModel):
|
|
59211
59285
|
self._DefenseAttackCount = params.get("DefenseAttackCount")
|
59212
59286
|
self._SuccessFixCount = params.get("SuccessFixCount")
|
59213
59287
|
self._FixSwitch = params.get("FixSwitch")
|
59288
|
+
self._SupportDefence = params.get("SupportDefence")
|
59214
59289
|
self._RequestId = params.get("RequestId")
|
59215
59290
|
|
59216
59291
|
|
@@ -67954,9 +68029,15 @@ MachineName主机名模糊查询, Type,Status精确匹配,CreateBeginTime,
|
|
67954
68029
|
:type Filters: list of Filter
|
67955
68030
|
:param _Where: 导出字段
|
67956
68031
|
:type Where: list of str
|
68032
|
+
:param _Order: 排序,大小写无关:asc 升序,desc降序
|
68033
|
+
:type Order: str
|
68034
|
+
:param _By: 排序列,严格相等:最近检测时间RecentFoundTime
|
68035
|
+
:type By: str
|
67957
68036
|
"""
|
67958
68037
|
self._Filters = None
|
67959
68038
|
self._Where = None
|
68039
|
+
self._Order = None
|
68040
|
+
self._By = None
|
67960
68041
|
|
67961
68042
|
@property
|
67962
68043
|
def Filters(self):
|
@@ -67982,6 +68063,28 @@ MachineName主机名模糊查询, Type,Status精确匹配,CreateBeginTime,
|
|
67982
68063
|
def Where(self, Where):
|
67983
68064
|
self._Where = Where
|
67984
68065
|
|
68066
|
+
@property
|
68067
|
+
def Order(self):
|
68068
|
+
"""排序,大小写无关:asc 升序,desc降序
|
68069
|
+
:rtype: str
|
68070
|
+
"""
|
68071
|
+
return self._Order
|
68072
|
+
|
68073
|
+
@Order.setter
|
68074
|
+
def Order(self, Order):
|
68075
|
+
self._Order = Order
|
68076
|
+
|
68077
|
+
@property
|
68078
|
+
def By(self):
|
68079
|
+
"""排序列,严格相等:最近检测时间RecentFoundTime
|
68080
|
+
:rtype: str
|
68081
|
+
"""
|
68082
|
+
return self._By
|
68083
|
+
|
68084
|
+
@By.setter
|
68085
|
+
def By(self, By):
|
68086
|
+
self._By = By
|
68087
|
+
|
67985
68088
|
|
67986
68089
|
def _deserialize(self, params):
|
67987
68090
|
if params.get("Filters") is not None:
|
@@ -67991,6 +68094,8 @@ MachineName主机名模糊查询, Type,Status精确匹配,CreateBeginTime,
|
|
67991
68094
|
obj._deserialize(item)
|
67992
68095
|
self._Filters.append(obj)
|
67993
68096
|
self._Where = params.get("Where")
|
68097
|
+
self._Order = params.get("Order")
|
68098
|
+
self._By = params.get("By")
|
67994
68099
|
memeber_set = set(params.keys())
|
67995
68100
|
for name, value in vars(self).items():
|
67996
68101
|
property_name = name[1:]
|
@@ -79883,11 +79988,17 @@ class ModifyAutoOpenProVersionConfigRequest(AbstractModel):
|
|
79883
79988
|
:type AutoRepurchaseRenewSwitch: int
|
79884
79989
|
:param _RepurchaseRenewSwitch: 手动购买的订单是否自动续费,默认0, 0关闭 ,1 开启
|
79885
79990
|
:type RepurchaseRenewSwitch: int
|
79991
|
+
:param _AutoBindRaspSwitch: 新增机器自动绑定rasp,0 关闭 1开启
|
79992
|
+
:type AutoBindRaspSwitch: int
|
79993
|
+
:param _AutoOpenRaspSwitch: 新增机器自动开启rasp防护,默认关闭,0 关闭 1开启
|
79994
|
+
:type AutoOpenRaspSwitch: int
|
79886
79995
|
"""
|
79887
79996
|
self._Status = None
|
79888
79997
|
self._AutoRepurchaseSwitch = None
|
79889
79998
|
self._AutoRepurchaseRenewSwitch = None
|
79890
79999
|
self._RepurchaseRenewSwitch = None
|
80000
|
+
self._AutoBindRaspSwitch = None
|
80001
|
+
self._AutoOpenRaspSwitch = None
|
79891
80002
|
|
79892
80003
|
@property
|
79893
80004
|
def Status(self):
|
@@ -79935,12 +80046,36 @@ class ModifyAutoOpenProVersionConfigRequest(AbstractModel):
|
|
79935
80046
|
def RepurchaseRenewSwitch(self, RepurchaseRenewSwitch):
|
79936
80047
|
self._RepurchaseRenewSwitch = RepurchaseRenewSwitch
|
79937
80048
|
|
80049
|
+
@property
|
80050
|
+
def AutoBindRaspSwitch(self):
|
80051
|
+
"""新增机器自动绑定rasp,0 关闭 1开启
|
80052
|
+
:rtype: int
|
80053
|
+
"""
|
80054
|
+
return self._AutoBindRaspSwitch
|
80055
|
+
|
80056
|
+
@AutoBindRaspSwitch.setter
|
80057
|
+
def AutoBindRaspSwitch(self, AutoBindRaspSwitch):
|
80058
|
+
self._AutoBindRaspSwitch = AutoBindRaspSwitch
|
80059
|
+
|
80060
|
+
@property
|
80061
|
+
def AutoOpenRaspSwitch(self):
|
80062
|
+
"""新增机器自动开启rasp防护,默认关闭,0 关闭 1开启
|
80063
|
+
:rtype: int
|
80064
|
+
"""
|
80065
|
+
return self._AutoOpenRaspSwitch
|
80066
|
+
|
80067
|
+
@AutoOpenRaspSwitch.setter
|
80068
|
+
def AutoOpenRaspSwitch(self, AutoOpenRaspSwitch):
|
80069
|
+
self._AutoOpenRaspSwitch = AutoOpenRaspSwitch
|
80070
|
+
|
79938
80071
|
|
79939
80072
|
def _deserialize(self, params):
|
79940
80073
|
self._Status = params.get("Status")
|
79941
80074
|
self._AutoRepurchaseSwitch = params.get("AutoRepurchaseSwitch")
|
79942
80075
|
self._AutoRepurchaseRenewSwitch = params.get("AutoRepurchaseRenewSwitch")
|
79943
80076
|
self._RepurchaseRenewSwitch = params.get("RepurchaseRenewSwitch")
|
80077
|
+
self._AutoBindRaspSwitch = params.get("AutoBindRaspSwitch")
|
80078
|
+
self._AutoOpenRaspSwitch = params.get("AutoOpenRaspSwitch")
|
79944
80079
|
memeber_set = set(params.keys())
|
79945
80080
|
for name, value in vars(self).items():
|
79946
80081
|
property_name = name[1:]
|
@@ -104006,11 +104141,17 @@ class VulEmergentMsgInfo(AbstractModel):
|
|
104006
104141
|
:type Name: str
|
104007
104142
|
:param _NameEn: 漏洞名,英文描述
|
104008
104143
|
:type NameEn: str
|
104144
|
+
:param _SupportFix: 是否支持自动修复 0:不支持 >0: 支持
|
104145
|
+
:type SupportFix: int
|
104146
|
+
:param _SupportDefense: 是否支持自动防御 0:不支持 1:支持
|
104147
|
+
:type SupportDefense: int
|
104009
104148
|
"""
|
104010
104149
|
self._VulId = None
|
104011
104150
|
self._PublishTime = None
|
104012
104151
|
self._Name = None
|
104013
104152
|
self._NameEn = None
|
104153
|
+
self._SupportFix = None
|
104154
|
+
self._SupportDefense = None
|
104014
104155
|
|
104015
104156
|
@property
|
104016
104157
|
def VulId(self):
|
@@ -104056,12 +104197,36 @@ class VulEmergentMsgInfo(AbstractModel):
|
|
104056
104197
|
def NameEn(self, NameEn):
|
104057
104198
|
self._NameEn = NameEn
|
104058
104199
|
|
104200
|
+
@property
|
104201
|
+
def SupportFix(self):
|
104202
|
+
"""是否支持自动修复 0:不支持 >0: 支持
|
104203
|
+
:rtype: int
|
104204
|
+
"""
|
104205
|
+
return self._SupportFix
|
104206
|
+
|
104207
|
+
@SupportFix.setter
|
104208
|
+
def SupportFix(self, SupportFix):
|
104209
|
+
self._SupportFix = SupportFix
|
104210
|
+
|
104211
|
+
@property
|
104212
|
+
def SupportDefense(self):
|
104213
|
+
"""是否支持自动防御 0:不支持 1:支持
|
104214
|
+
:rtype: int
|
104215
|
+
"""
|
104216
|
+
return self._SupportDefense
|
104217
|
+
|
104218
|
+
@SupportDefense.setter
|
104219
|
+
def SupportDefense(self, SupportDefense):
|
104220
|
+
self._SupportDefense = SupportDefense
|
104221
|
+
|
104059
104222
|
|
104060
104223
|
def _deserialize(self, params):
|
104061
104224
|
self._VulId = params.get("VulId")
|
104062
104225
|
self._PublishTime = params.get("PublishTime")
|
104063
104226
|
self._Name = params.get("Name")
|
104064
104227
|
self._NameEn = params.get("NameEn")
|
104228
|
+
self._SupportFix = params.get("SupportFix")
|
104229
|
+
self._SupportDefense = params.get("SupportDefense")
|
104065
104230
|
memeber_set = set(params.keys())
|
104066
104231
|
for name, value in vars(self).items():
|
104067
104232
|
property_name = name[1:]
|
@@ -6200,6 +6200,10 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
6200
6200
|
:type GdnId: str
|
6201
6201
|
:param _ProxyConfig: 数据库代理配置
|
6202
6202
|
:type ProxyConfig: :class:`tencentcloud.cynosdb.v20190107.models.ProxyConfig`
|
6203
|
+
:param _AutoArchive: 是否自动归档
|
6204
|
+
:type AutoArchive: str
|
6205
|
+
:param _AutoArchiveDelayHours: 暂停后的归档处理时间
|
6206
|
+
:type AutoArchiveDelayHours: int
|
6203
6207
|
"""
|
6204
6208
|
self._Zone = None
|
6205
6209
|
self._VpcId = None
|
@@ -6244,6 +6248,8 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
6244
6248
|
self._InstanceInitInfos = None
|
6245
6249
|
self._GdnId = None
|
6246
6250
|
self._ProxyConfig = None
|
6251
|
+
self._AutoArchive = None
|
6252
|
+
self._AutoArchiveDelayHours = None
|
6247
6253
|
|
6248
6254
|
@property
|
6249
6255
|
def Zone(self):
|
@@ -6740,6 +6746,28 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
6740
6746
|
def ProxyConfig(self, ProxyConfig):
|
6741
6747
|
self._ProxyConfig = ProxyConfig
|
6742
6748
|
|
6749
|
+
@property
|
6750
|
+
def AutoArchive(self):
|
6751
|
+
"""是否自动归档
|
6752
|
+
:rtype: str
|
6753
|
+
"""
|
6754
|
+
return self._AutoArchive
|
6755
|
+
|
6756
|
+
@AutoArchive.setter
|
6757
|
+
def AutoArchive(self, AutoArchive):
|
6758
|
+
self._AutoArchive = AutoArchive
|
6759
|
+
|
6760
|
+
@property
|
6761
|
+
def AutoArchiveDelayHours(self):
|
6762
|
+
"""暂停后的归档处理时间
|
6763
|
+
:rtype: int
|
6764
|
+
"""
|
6765
|
+
return self._AutoArchiveDelayHours
|
6766
|
+
|
6767
|
+
@AutoArchiveDelayHours.setter
|
6768
|
+
def AutoArchiveDelayHours(self, AutoArchiveDelayHours):
|
6769
|
+
self._AutoArchiveDelayHours = AutoArchiveDelayHours
|
6770
|
+
|
6743
6771
|
|
6744
6772
|
def _deserialize(self, params):
|
6745
6773
|
self._Zone = params.get("Zone")
|
@@ -6802,6 +6830,8 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
6802
6830
|
if params.get("ProxyConfig") is not None:
|
6803
6831
|
self._ProxyConfig = ProxyConfig()
|
6804
6832
|
self._ProxyConfig._deserialize(params.get("ProxyConfig"))
|
6833
|
+
self._AutoArchive = params.get("AutoArchive")
|
6834
|
+
self._AutoArchiveDelayHours = params.get("AutoArchiveDelayHours")
|
6805
6835
|
memeber_set = set(params.keys())
|
6806
6836
|
for name, value in vars(self).items():
|
6807
6837
|
property_name = name[1:]
|
@@ -18411,6 +18441,8 @@ offlined 已下线
|
|
18411
18441
|
:type Status: str
|
18412
18442
|
:param _InstanceIds: 实例id列表
|
18413
18443
|
:type InstanceIds: list of str
|
18444
|
+
:param _ClusterType: 集群类型,取值范围<li> CYNOSDB:事务集群 </li><li> LIBRADB:分析集群 </li><li> ALL:全部 </li>,缺省为 ALL
|
18445
|
+
:type ClusterType: str
|
18414
18446
|
"""
|
18415
18447
|
self._Limit = None
|
18416
18448
|
self._Offset = None
|
@@ -18420,6 +18452,7 @@ offlined 已下线
|
|
18420
18452
|
self._DbType = None
|
18421
18453
|
self._Status = None
|
18422
18454
|
self._InstanceIds = None
|
18455
|
+
self._ClusterType = None
|
18423
18456
|
|
18424
18457
|
@property
|
18425
18458
|
def Limit(self):
|
@@ -18520,6 +18553,17 @@ offlined 已下线
|
|
18520
18553
|
def InstanceIds(self, InstanceIds):
|
18521
18554
|
self._InstanceIds = InstanceIds
|
18522
18555
|
|
18556
|
+
@property
|
18557
|
+
def ClusterType(self):
|
18558
|
+
"""集群类型,取值范围<li> CYNOSDB:事务集群 </li><li> LIBRADB:分析集群 </li><li> ALL:全部 </li>,缺省为 ALL
|
18559
|
+
:rtype: str
|
18560
|
+
"""
|
18561
|
+
return self._ClusterType
|
18562
|
+
|
18563
|
+
@ClusterType.setter
|
18564
|
+
def ClusterType(self, ClusterType):
|
18565
|
+
self._ClusterType = ClusterType
|
18566
|
+
|
18523
18567
|
|
18524
18568
|
def _deserialize(self, params):
|
18525
18569
|
self._Limit = params.get("Limit")
|
@@ -18535,6 +18579,7 @@ offlined 已下线
|
|
18535
18579
|
self._DbType = params.get("DbType")
|
18536
18580
|
self._Status = params.get("Status")
|
18537
18581
|
self._InstanceIds = params.get("InstanceIds")
|
18582
|
+
self._ClusterType = params.get("ClusterType")
|
18538
18583
|
memeber_set = set(params.keys())
|
18539
18584
|
for name, value in vars(self).items():
|
18540
18585
|
property_name = name[1:]
|
@@ -1855,9 +1855,7 @@ class DsgcClient(AbstractClient):
|
|
1855
1855
|
|
1856
1856
|
|
1857
1857
|
def DescribeDSPADiscoveryTaskResult(self, request):
|
1858
|
-
"""获取分类分级任务结果,该接口只有在任务状态为以下状态时才支持结果正常查询:
|
1859
|
-
3 扫描成功,
|
1860
|
-
4 扫描失败
|
1858
|
+
"""获取分类分级任务结果,该接口只有在任务状态为以下状态时才支持结果正常查询:3 扫描成功,4 扫描失败
|
1861
1859
|
|
1862
1860
|
:param request: Request instance for DescribeDSPADiscoveryTaskResult.
|
1863
1861
|
:type request: :class:`tencentcloud.dsgc.v20190723.models.DescribeDSPADiscoveryTaskResultRequest`
|