tencentcloud-sdk-python 3.0.1143__py2.py3-none-any.whl → 3.0.1144__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/aiart/v20221229/aiart_client.py +2 -2
- tencentcloud/aiart/v20221229/models.py +1 -1
- tencentcloud/apm/v20210622/models.py +1 -1
- tencentcloud/batch/v20170312/models.py +5 -1
- tencentcloud/billing/v20180709/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +1 -1
- tencentcloud/cls/v20201016/models.py +1 -1
- tencentcloud/csip/v20221121/models.py +124 -2
- tencentcloud/cvm/v20170312/models.py +5 -1
- tencentcloud/cwp/v20180228/models.py +16 -3
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +115 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +168 -0
- tencentcloud/ess/v20201111/ess_client.py +53 -2
- tencentcloud/ess/v20201111/models.py +303 -3
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +6 -3
- tencentcloud/faceid/v20180301/models.py +5 -11
- tencentcloud/hai/v20230812/models.py +1 -1
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +52 -0
- tencentcloud/hunyuan/v20230901/models.py +277 -1
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +14 -1
- tencentcloud/live/v20180801/live_client.py +46 -0
- tencentcloud/live/v20180801/models.py +190 -0
- tencentcloud/lke/v20231130/lke_client.py +4 -4
- tencentcloud/lke/v20231130/models.py +157 -0
- tencentcloud/mrs/v20200910/models.py +1 -1
- tencentcloud/ssl/v20191205/errorcodes.py +9 -0
- tencentcloud/ssl/v20191205/models.py +94 -0
- tencentcloud/ssl/v20191205/ssl_client.py +23 -0
- tencentcloud/teo/v20220901/models.py +62 -0
- tencentcloud/tke/v20220501/errorcodes.py +10 -1
- tencentcloud/tke/v20220501/models.py +2666 -635
- tencentcloud/tke/v20220501/tke_client.py +69 -0
- tencentcloud/trtc/v20190722/models.py +2 -2
- {tencentcloud_sdk_python-3.0.1143.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1143.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/RECORD +43 -43
- {tencentcloud_sdk_python-3.0.1143.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1143.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1143.dist-info → tencentcloud_sdk_python-3.0.1144.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -27,8 +27,8 @@ class AiartClient(AbstractClient):
|
|
27
27
|
|
28
28
|
|
29
29
|
def ImageToImage(self, request):
|
30
|
-
"""
|
31
|
-
|
30
|
+
"""图像风格化(图生图)接口提供生成式的图生图风格转化能力,将根据输入的图像及文本描述,智能生成风格转化后的图像。建议避免输入人像过小、姿势复杂、人数较多的人像图片。
|
31
|
+
图像风格化(图生图)默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
32
32
|
|
33
33
|
:param request: Request instance for ImageToImage.
|
34
34
|
:type request: :class:`tencentcloud.aiart.v20221229.models.ImageToImageRequest`
|
@@ -114,7 +114,7 @@ Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。
|
|
114
114
|
推荐使用中文。最多可传256个 utf-8 字符。
|
115
115
|
:type NegativePrompt: str
|
116
116
|
:param _Styles: 绘画风格。
|
117
|
-
请在 [
|
117
|
+
请在 [图像风格化风格列表](https://cloud.tencent.com/document/product/1668/86250) 中选择期望的风格,传入风格编号。
|
118
118
|
推荐使用且只使用一种风格。不传默认使用201(日系动漫风格)。
|
119
119
|
:type Styles: list of str
|
120
120
|
:param _ResultConfig: 生成图结果的配置,包括输出图片分辨率和尺寸等。
|
@@ -1474,7 +1474,7 @@ class DescribeGeneralApmApplicationConfigRequest(AbstractModel):
|
|
1474
1474
|
r"""
|
1475
1475
|
:param _ServiceName: 应用名
|
1476
1476
|
:type ServiceName: str
|
1477
|
-
:param _InstanceId:
|
1477
|
+
:param _InstanceId: 业务系统ID
|
1478
1478
|
:type InstanceId: str
|
1479
1479
|
"""
|
1480
1480
|
self._ServiceName = None
|
@@ -5533,7 +5533,11 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
5533
5533
|
:type GpuCount: float
|
5534
5534
|
:param _Frequency: 实例的CPU主频信息
|
5535
5535
|
:type Frequency: str
|
5536
|
-
:param _StatusCategory: 描述库存情况。取值范围:
|
5536
|
+
:param _StatusCategory: 描述库存情况。取值范围:
|
5537
|
+
<li> EnoughStock:表示对应库存非常充足</li>
|
5538
|
+
<li>NormalStock:表示对应库存供应有保障</li>
|
5539
|
+
<li> UnderStock:表示对应库存即将售罄</li>
|
5540
|
+
<li>WithoutStock:表示对应库存已经售罄</li>
|
5537
5541
|
注意:此字段可能返回 null,表示取不到有效值。
|
5538
5542
|
:type StatusCategory: str
|
5539
5543
|
"""
|
@@ -487,7 +487,7 @@ class AllocationDetail(AbstractModel):
|
|
487
487
|
:param _AllocationType: 费用归集类型:费用来源类型,分摊、归集、未分配
|
488
488
|
0 - 分摊
|
489
489
|
1 - 归集
|
490
|
-
|
490
|
+
2 - 未分配
|
491
491
|
注意:此字段可能返回 null,表示取不到有效值。
|
492
492
|
:type AllocationType: int
|
493
493
|
"""
|
@@ -14085,7 +14085,7 @@ class DescribeBillDownloadUrlResponse(AbstractModel):
|
|
14085
14085
|
r"""
|
14086
14086
|
:param _Ready: 账单文件是否准备就绪,0文件生成中,1文件已生成
|
14087
14087
|
:type Ready: int
|
14088
|
-
:param _DownloadUrl:
|
14088
|
+
:param _DownloadUrl: 账单文件下载链接,有效时长为一天
|
14089
14089
|
注意:此字段可能返回 null,表示取不到有效值。
|
14090
14090
|
:type DownloadUrl: str
|
14091
14091
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -2380,11 +2380,11 @@ class AutoStrategy(AbstractModel):
|
|
2380
2380
|
r"""
|
2381
2381
|
:param _ExpandThreshold: 自动扩容阈值,可选值70、80、90,代表CPU利用率达到70%、80%、90%时后台进行自动扩容
|
2382
2382
|
:type ExpandThreshold: int
|
2383
|
-
:param _ExpandPeriod:
|
2383
|
+
:param _ExpandPeriod: 自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
|
2384
2384
|
:type ExpandPeriod: int
|
2385
2385
|
:param _ShrinkThreshold: 自动缩容阈值,可选值10、20、30,代表CPU利用率达到10%、20%、30%时后台进行自动缩容
|
2386
2386
|
:type ShrinkThreshold: int
|
2387
|
-
:param _ShrinkPeriod:
|
2387
|
+
:param _ShrinkPeriod: 自动缩容观测周期,单位是分钟,可选值5、10、15、30。后台会按照配置的周期进行缩容判断。
|
2388
2388
|
:type ShrinkPeriod: int
|
2389
2389
|
"""
|
2390
2390
|
self._ExpandThreshold = None
|
@@ -8817,7 +8817,7 @@ class HealthCheck(AbstractModel):
|
|
8817
8817
|
:param _HttpVersion: HTTP版本。健康检查协议CheckType的值取HTTP时,必传此字段,代表后端服务的HTTP版本:HTTP/1.0、HTTP/1.1;(仅适用于TCP监听器)
|
8818
8818
|
注意:此字段可能返回 null,表示取不到有效值。
|
8819
8819
|
:type HttpVersion: str
|
8820
|
-
:param _SourceIpType: 健康检查源IP类型:0(使用LB的VIP作为源IP),1(使用100.64网段IP作为源IP
|
8820
|
+
:param _SourceIpType: 健康检查源IP类型:0(使用LB的VIP作为源IP),1(使用100.64网段IP作为源IP)。
|
8821
8821
|
注意:此字段可能返回 null,表示取不到有效值。
|
8822
8822
|
:type SourceIpType: int
|
8823
8823
|
:param _ExtendedCode: GRPC健康检查状态码(仅适用于后端转发协议为GRPC的规则)。默认值为 12,可输入值为数值、多个数值、或者范围,例如 20 或 20,25 或 0-99
|
@@ -17757,7 +17757,7 @@ class NoticeReceiver(AbstractModel):
|
|
17757
17757
|
暂不支持其余接收者类型。
|
17758
17758
|
:type ReceiverType: str
|
17759
17759
|
:param _ReceiverIds: 接收者。
|
17760
|
-
当ReceiverType为Uin时,ReceiverIds的值为用户
|
17760
|
+
当ReceiverType为Uin时,ReceiverIds的值为用户uid。[子用户信息查询](https://cloud.tencent.com/document/api/598/53486)
|
17761
17761
|
当ReceiverType为Group时,ReceiverIds的值为用户组id。[CAM用户组](https://cloud.tencent.com/document/product/598/14985)
|
17762
17762
|
:type ReceiverIds: list of int
|
17763
17763
|
:param _ReceiverChannels: 通知接收渠道。
|
@@ -1022,10 +1022,10 @@ CSIP:云安全中心
|
|
1022
1022
|
:param _Victim: 受害者
|
1023
1023
|
注意:此字段可能返回 null,表示取不到有效值。
|
1024
1024
|
:type Victim: :class:`tencentcloud.csip.v20221121.models.RoleInfo`
|
1025
|
-
:param _EvidenceData: 证据数据(
|
1025
|
+
:param _EvidenceData: 证据数据(例如攻击内容等)
|
1026
1026
|
注意:此字段可能返回 null,表示取不到有效值。
|
1027
1027
|
:type EvidenceData: str
|
1028
|
-
:param _EvidenceLocation: 证据位置(
|
1028
|
+
:param _EvidenceLocation: 证据位置(例如协议端口)
|
1029
1029
|
注意:此字段可能返回 null,表示取不到有效值。
|
1030
1030
|
:type EvidenceLocation: str
|
1031
1031
|
:param _EvidencePath: 证据路径
|
@@ -7026,6 +7026,9 @@ class DescribeCVMAssetsResponse(AbstractModel):
|
|
7026
7026
|
:param _AssetMapInstanceTypeList: 资产类型和实例类型的对应关系
|
7027
7027
|
注意:此字段可能返回 null,表示取不到有效值。
|
7028
7028
|
:type AssetMapInstanceTypeList: list of AssetInstanceTypeMap
|
7029
|
+
:param _PublicPrivateAttr: 公网内网枚举
|
7030
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7031
|
+
:type PublicPrivateAttr: list of FilterDataObject
|
7029
7032
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7030
7033
|
:type RequestId: str
|
7031
7034
|
"""
|
@@ -7041,6 +7044,7 @@ class DescribeCVMAssetsResponse(AbstractModel):
|
|
7041
7044
|
self._ZoneList = None
|
7042
7045
|
self._OsList = None
|
7043
7046
|
self._AssetMapInstanceTypeList = None
|
7047
|
+
self._PublicPrivateAttr = None
|
7044
7048
|
self._RequestId = None
|
7045
7049
|
|
7046
7050
|
@property
|
@@ -7139,6 +7143,14 @@ class DescribeCVMAssetsResponse(AbstractModel):
|
|
7139
7143
|
def AssetMapInstanceTypeList(self, AssetMapInstanceTypeList):
|
7140
7144
|
self._AssetMapInstanceTypeList = AssetMapInstanceTypeList
|
7141
7145
|
|
7146
|
+
@property
|
7147
|
+
def PublicPrivateAttr(self):
|
7148
|
+
return self._PublicPrivateAttr
|
7149
|
+
|
7150
|
+
@PublicPrivateAttr.setter
|
7151
|
+
def PublicPrivateAttr(self, PublicPrivateAttr):
|
7152
|
+
self._PublicPrivateAttr = PublicPrivateAttr
|
7153
|
+
|
7142
7154
|
@property
|
7143
7155
|
def RequestId(self):
|
7144
7156
|
return self._RequestId
|
@@ -7216,6 +7228,12 @@ class DescribeCVMAssetsResponse(AbstractModel):
|
|
7216
7228
|
obj = AssetInstanceTypeMap()
|
7217
7229
|
obj._deserialize(item)
|
7218
7230
|
self._AssetMapInstanceTypeList.append(obj)
|
7231
|
+
if params.get("PublicPrivateAttr") is not None:
|
7232
|
+
self._PublicPrivateAttr = []
|
7233
|
+
for item in params.get("PublicPrivateAttr"):
|
7234
|
+
obj = FilterDataObject()
|
7235
|
+
obj._deserialize(item)
|
7236
|
+
self._PublicPrivateAttr.append(obj)
|
7219
7237
|
self._RequestId = params.get("RequestId")
|
7220
7238
|
|
7221
7239
|
|
@@ -7456,14 +7474,25 @@ class DescribeDbAssetsRequest(AbstractModel):
|
|
7456
7474
|
|
7457
7475
|
def __init__(self):
|
7458
7476
|
r"""
|
7477
|
+
:param _MemberId: 集团账号的成员id
|
7478
|
+
:type MemberId: list of str
|
7459
7479
|
:param _Filter: -
|
7460
7480
|
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
7461
7481
|
:param _AssetTypes: 资产类型:MYSQL/MARIADB/REDIS/MONGODB/POSTGRES/CTS/ES/KAFKA/COS/CBS/CFS
|
7462
7482
|
:type AssetTypes: list of str
|
7463
7483
|
"""
|
7484
|
+
self._MemberId = None
|
7464
7485
|
self._Filter = None
|
7465
7486
|
self._AssetTypes = None
|
7466
7487
|
|
7488
|
+
@property
|
7489
|
+
def MemberId(self):
|
7490
|
+
return self._MemberId
|
7491
|
+
|
7492
|
+
@MemberId.setter
|
7493
|
+
def MemberId(self, MemberId):
|
7494
|
+
self._MemberId = MemberId
|
7495
|
+
|
7467
7496
|
@property
|
7468
7497
|
def Filter(self):
|
7469
7498
|
return self._Filter
|
@@ -7482,6 +7511,7 @@ class DescribeDbAssetsRequest(AbstractModel):
|
|
7482
7511
|
|
7483
7512
|
|
7484
7513
|
def _deserialize(self, params):
|
7514
|
+
self._MemberId = params.get("MemberId")
|
7485
7515
|
if params.get("Filter") is not None:
|
7486
7516
|
self._Filter = Filter()
|
7487
7517
|
self._Filter._deserialize(params.get("Filter"))
|
@@ -7521,6 +7551,9 @@ class DescribeDbAssetsResponse(AbstractModel):
|
|
7521
7551
|
:param _AppIdList: Appid枚举
|
7522
7552
|
注意:此字段可能返回 null,表示取不到有效值。
|
7523
7553
|
:type AppIdList: list of FilterDataObject
|
7554
|
+
:param _PublicPrivateAttr: 公网内网枚举
|
7555
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
7556
|
+
:type PublicPrivateAttr: list of FilterDataObject
|
7524
7557
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7525
7558
|
:type RequestId: str
|
7526
7559
|
"""
|
@@ -7530,6 +7563,7 @@ class DescribeDbAssetsResponse(AbstractModel):
|
|
7530
7563
|
self._AssetTypeList = None
|
7531
7564
|
self._VpcList = None
|
7532
7565
|
self._AppIdList = None
|
7566
|
+
self._PublicPrivateAttr = None
|
7533
7567
|
self._RequestId = None
|
7534
7568
|
|
7535
7569
|
@property
|
@@ -7580,6 +7614,14 @@ class DescribeDbAssetsResponse(AbstractModel):
|
|
7580
7614
|
def AppIdList(self, AppIdList):
|
7581
7615
|
self._AppIdList = AppIdList
|
7582
7616
|
|
7617
|
+
@property
|
7618
|
+
def PublicPrivateAttr(self):
|
7619
|
+
return self._PublicPrivateAttr
|
7620
|
+
|
7621
|
+
@PublicPrivateAttr.setter
|
7622
|
+
def PublicPrivateAttr(self, PublicPrivateAttr):
|
7623
|
+
self._PublicPrivateAttr = PublicPrivateAttr
|
7624
|
+
|
7583
7625
|
@property
|
7584
7626
|
def RequestId(self):
|
7585
7627
|
return self._RequestId
|
@@ -7621,6 +7663,12 @@ class DescribeDbAssetsResponse(AbstractModel):
|
|
7621
7663
|
obj = FilterDataObject()
|
7622
7664
|
obj._deserialize(item)
|
7623
7665
|
self._AppIdList.append(obj)
|
7666
|
+
if params.get("PublicPrivateAttr") is not None:
|
7667
|
+
self._PublicPrivateAttr = []
|
7668
|
+
for item in params.get("PublicPrivateAttr"):
|
7669
|
+
obj = FilterDataObject()
|
7670
|
+
obj._deserialize(item)
|
7671
|
+
self._PublicPrivateAttr.append(obj)
|
7624
7672
|
self._RequestId = params.get("RequestId")
|
7625
7673
|
|
7626
7674
|
|
@@ -8264,14 +8312,25 @@ class DescribeOrganizationUserInfoRequest(AbstractModel):
|
|
8264
8312
|
|
8265
8313
|
def __init__(self):
|
8266
8314
|
r"""
|
8315
|
+
:param _MemberId: 集团账号的成员id
|
8316
|
+
:type MemberId: list of str
|
8267
8317
|
:param _Filter: 过滤内容
|
8268
8318
|
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
8269
8319
|
:param _NotSupportCloud: 不支持多云
|
8270
8320
|
:type NotSupportCloud: bool
|
8271
8321
|
"""
|
8322
|
+
self._MemberId = None
|
8272
8323
|
self._Filter = None
|
8273
8324
|
self._NotSupportCloud = None
|
8274
8325
|
|
8326
|
+
@property
|
8327
|
+
def MemberId(self):
|
8328
|
+
return self._MemberId
|
8329
|
+
|
8330
|
+
@MemberId.setter
|
8331
|
+
def MemberId(self, MemberId):
|
8332
|
+
self._MemberId = MemberId
|
8333
|
+
|
8275
8334
|
@property
|
8276
8335
|
def Filter(self):
|
8277
8336
|
return self._Filter
|
@@ -8290,6 +8349,7 @@ class DescribeOrganizationUserInfoRequest(AbstractModel):
|
|
8290
8349
|
|
8291
8350
|
|
8292
8351
|
def _deserialize(self, params):
|
8352
|
+
self._MemberId = params.get("MemberId")
|
8293
8353
|
if params.get("Filter") is not None:
|
8294
8354
|
self._Filter = Filter()
|
8295
8355
|
self._Filter._deserialize(params.get("Filter"))
|
@@ -8317,11 +8377,19 @@ class DescribeOrganizationUserInfoResponse(AbstractModel):
|
|
8317
8377
|
:param _Data: 集团用户列表
|
8318
8378
|
注意:此字段可能返回 null,表示取不到有效值。
|
8319
8379
|
:type Data: list of OrganizationUserInfo
|
8380
|
+
:param _JoinTypeLst: 加入方式枚举
|
8381
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8382
|
+
:type JoinTypeLst: list of FilterDataObject
|
8383
|
+
:param _CloudTypeLst: 云厂商枚举
|
8384
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8385
|
+
:type CloudTypeLst: list of FilterDataObject
|
8320
8386
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8321
8387
|
:type RequestId: str
|
8322
8388
|
"""
|
8323
8389
|
self._TotalCount = None
|
8324
8390
|
self._Data = None
|
8391
|
+
self._JoinTypeLst = None
|
8392
|
+
self._CloudTypeLst = None
|
8325
8393
|
self._RequestId = None
|
8326
8394
|
|
8327
8395
|
@property
|
@@ -8340,6 +8408,22 @@ class DescribeOrganizationUserInfoResponse(AbstractModel):
|
|
8340
8408
|
def Data(self, Data):
|
8341
8409
|
self._Data = Data
|
8342
8410
|
|
8411
|
+
@property
|
8412
|
+
def JoinTypeLst(self):
|
8413
|
+
return self._JoinTypeLst
|
8414
|
+
|
8415
|
+
@JoinTypeLst.setter
|
8416
|
+
def JoinTypeLst(self, JoinTypeLst):
|
8417
|
+
self._JoinTypeLst = JoinTypeLst
|
8418
|
+
|
8419
|
+
@property
|
8420
|
+
def CloudTypeLst(self):
|
8421
|
+
return self._CloudTypeLst
|
8422
|
+
|
8423
|
+
@CloudTypeLst.setter
|
8424
|
+
def CloudTypeLst(self, CloudTypeLst):
|
8425
|
+
self._CloudTypeLst = CloudTypeLst
|
8426
|
+
|
8343
8427
|
@property
|
8344
8428
|
def RequestId(self):
|
8345
8429
|
return self._RequestId
|
@@ -8357,6 +8441,18 @@ class DescribeOrganizationUserInfoResponse(AbstractModel):
|
|
8357
8441
|
obj = OrganizationUserInfo()
|
8358
8442
|
obj._deserialize(item)
|
8359
8443
|
self._Data.append(obj)
|
8444
|
+
if params.get("JoinTypeLst") is not None:
|
8445
|
+
self._JoinTypeLst = []
|
8446
|
+
for item in params.get("JoinTypeLst"):
|
8447
|
+
obj = FilterDataObject()
|
8448
|
+
obj._deserialize(item)
|
8449
|
+
self._JoinTypeLst.append(obj)
|
8450
|
+
if params.get("CloudTypeLst") is not None:
|
8451
|
+
self._CloudTypeLst = []
|
8452
|
+
for item in params.get("CloudTypeLst"):
|
8453
|
+
obj = FilterDataObject()
|
8454
|
+
obj._deserialize(item)
|
8455
|
+
self._CloudTypeLst.append(obj)
|
8360
8456
|
self._RequestId = params.get("RequestId")
|
8361
8457
|
|
8362
8458
|
|
@@ -13696,6 +13792,12 @@ class OrganizationUserInfo(AbstractModel):
|
|
13696
13792
|
2 非腾讯云
|
13697
13793
|
注意:此字段可能返回 null,表示取不到有效值。
|
13698
13794
|
:type TcMemberType: int
|
13795
|
+
:param _SubUserCount: 子账号数量
|
13796
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13797
|
+
:type SubUserCount: int
|
13798
|
+
:param _JoinTypeInfo: 加入方式详细信息
|
13799
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13800
|
+
:type JoinTypeInfo: str
|
13699
13801
|
"""
|
13700
13802
|
self._Uin = None
|
13701
13803
|
self._NickName = None
|
@@ -13719,6 +13821,8 @@ class OrganizationUserInfo(AbstractModel):
|
|
13719
13821
|
self._PermissionList = None
|
13720
13822
|
self._AuthType = None
|
13721
13823
|
self._TcMemberType = None
|
13824
|
+
self._SubUserCount = None
|
13825
|
+
self._JoinTypeInfo = None
|
13722
13826
|
|
13723
13827
|
@property
|
13724
13828
|
def Uin(self):
|
@@ -13896,6 +14000,22 @@ class OrganizationUserInfo(AbstractModel):
|
|
13896
14000
|
def TcMemberType(self, TcMemberType):
|
13897
14001
|
self._TcMemberType = TcMemberType
|
13898
14002
|
|
14003
|
+
@property
|
14004
|
+
def SubUserCount(self):
|
14005
|
+
return self._SubUserCount
|
14006
|
+
|
14007
|
+
@SubUserCount.setter
|
14008
|
+
def SubUserCount(self, SubUserCount):
|
14009
|
+
self._SubUserCount = SubUserCount
|
14010
|
+
|
14011
|
+
@property
|
14012
|
+
def JoinTypeInfo(self):
|
14013
|
+
return self._JoinTypeInfo
|
14014
|
+
|
14015
|
+
@JoinTypeInfo.setter
|
14016
|
+
def JoinTypeInfo(self, JoinTypeInfo):
|
14017
|
+
self._JoinTypeInfo = JoinTypeInfo
|
14018
|
+
|
13899
14019
|
|
13900
14020
|
def _deserialize(self, params):
|
13901
14021
|
self._Uin = params.get("Uin")
|
@@ -13920,6 +14040,8 @@ class OrganizationUserInfo(AbstractModel):
|
|
13920
14040
|
self._PermissionList = params.get("PermissionList")
|
13921
14041
|
self._AuthType = params.get("AuthType")
|
13922
14042
|
self._TcMemberType = params.get("TcMemberType")
|
14043
|
+
self._SubUserCount = params.get("SubUserCount")
|
14044
|
+
self._JoinTypeInfo = params.get("JoinTypeInfo")
|
13923
14045
|
memeber_set = set(params.keys())
|
13924
14046
|
for name, value in vars(self).items():
|
13925
14047
|
property_name = name[1:]
|
@@ -10808,7 +10808,11 @@ class InstanceTypeQuotaItem(AbstractModel):
|
|
10808
10808
|
:type GpuCount: float
|
10809
10809
|
:param _Frequency: 实例的CPU主频信息
|
10810
10810
|
:type Frequency: str
|
10811
|
-
:param _StatusCategory: 描述库存情况。取值范围:
|
10811
|
+
:param _StatusCategory: 描述库存情况。取值范围:
|
10812
|
+
<li> EnoughStock:表示对应库存非常充足</li>
|
10813
|
+
<li>NormalStock:表示对应库存供应有保障</li>
|
10814
|
+
<li> UnderStock:表示对应库存即将售罄</li>
|
10815
|
+
<li>WithoutStock:表示对应库存已经售罄</li>
|
10812
10816
|
注意:此字段可能返回 null,表示取不到有效值。
|
10813
10817
|
:type StatusCategory: str
|
10814
10818
|
"""
|
@@ -42359,7 +42359,7 @@ class DescribePublicProxyInstallCommandRequest(AbstractModel):
|
|
42359
42359
|
|
42360
42360
|
def __init__(self):
|
42361
42361
|
r"""
|
42362
|
-
:param _Ip: nginx主机
|
42362
|
+
:param _Ip: nginx主机IP列表,逗号分隔
|
42363
42363
|
:type Ip: str
|
42364
42364
|
"""
|
42365
42365
|
self._Ip = None
|
@@ -57302,7 +57302,7 @@ class ExportBaselineItemListRequest(AbstractModel):
|
|
57302
57302
|
<li>ItemName - String - 是否必填:否 - 项名称</li>
|
57303
57303
|
<li>DetectStatus - int - 是否必填:否 - 检测状态[0:未通过|3:通过|5:检测中]</li>
|
57304
57304
|
<li>Level - int - 是否必填:否 - 风险等级</li>
|
57305
|
-
<li>StartTime - string - 是否必填:否 -
|
57305
|
+
<li>StartTime - string - 是否必填:否 - 开始时间</li>
|
57306
57306
|
<li>EndTime - string - 是否必填:否 - 结束时间</li>
|
57307
57307
|
:type Filters: list of Filter
|
57308
57308
|
:param _ExportAll: 0:过滤的结果导出;1:全部导出
|
@@ -58092,7 +58092,7 @@ class ExportFileTamperRulesRequest(AbstractModel):
|
|
58092
58092
|
r"""
|
58093
58093
|
:param _Filters: 过滤条件。
|
58094
58094
|
<li>RuleCategory- string- 规则类别 0=系统规则,1=用户规则</li>
|
58095
|
-
<li>Name- String -
|
58095
|
+
<li>Name- String - 规则名称</li>
|
58096
58096
|
:type Filters: list of Filters
|
58097
58097
|
"""
|
58098
58098
|
self._Filters = None
|
@@ -64057,10 +64057,14 @@ class Item(AbstractModel):
|
|
64057
64057
|
:param _CustomItemValues: 自定义阈值
|
64058
64058
|
注意:此字段可能返回 null,表示取不到有效值。
|
64059
64059
|
:type CustomItemValues: list of int non-negative
|
64060
|
+
:param _CategoryId: 检测项所属分类
|
64061
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
64062
|
+
:type CategoryId: int
|
64060
64063
|
"""
|
64061
64064
|
self._ItemId = None
|
64062
64065
|
self._ItemName = None
|
64063
64066
|
self._CustomItemValues = None
|
64067
|
+
self._CategoryId = None
|
64064
64068
|
|
64065
64069
|
@property
|
64066
64070
|
def ItemId(self):
|
@@ -64086,11 +64090,20 @@ class Item(AbstractModel):
|
|
64086
64090
|
def CustomItemValues(self, CustomItemValues):
|
64087
64091
|
self._CustomItemValues = CustomItemValues
|
64088
64092
|
|
64093
|
+
@property
|
64094
|
+
def CategoryId(self):
|
64095
|
+
return self._CategoryId
|
64096
|
+
|
64097
|
+
@CategoryId.setter
|
64098
|
+
def CategoryId(self, CategoryId):
|
64099
|
+
self._CategoryId = CategoryId
|
64100
|
+
|
64089
64101
|
|
64090
64102
|
def _deserialize(self, params):
|
64091
64103
|
self._ItemId = params.get("ItemId")
|
64092
64104
|
self._ItemName = params.get("ItemName")
|
64093
64105
|
self._CustomItemValues = params.get("CustomItemValues")
|
64106
|
+
self._CategoryId = params.get("CategoryId")
|
64094
64107
|
memeber_set = set(params.keys())
|
64095
64108
|
for name, value in vars(self).items():
|
64096
64109
|
property_name = name[1:]
|
@@ -348,6 +348,29 @@ class CynosdbClient(AbstractClient):
|
|
348
348
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
349
349
|
|
350
350
|
|
351
|
+
def CreateCLSDelivery(self, request):
|
352
|
+
"""创建日志投递
|
353
|
+
|
354
|
+
:param request: Request instance for CreateCLSDelivery.
|
355
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.CreateCLSDeliveryRequest`
|
356
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.CreateCLSDeliveryResponse`
|
357
|
+
|
358
|
+
"""
|
359
|
+
try:
|
360
|
+
params = request._serialize()
|
361
|
+
headers = request.headers
|
362
|
+
body = self.call("CreateCLSDelivery", params, headers=headers)
|
363
|
+
response = json.loads(body)
|
364
|
+
model = models.CreateCLSDeliveryResponse()
|
365
|
+
model._deserialize(response["Response"])
|
366
|
+
return model
|
367
|
+
except Exception as e:
|
368
|
+
if isinstance(e, TencentCloudSDKException):
|
369
|
+
raise
|
370
|
+
else:
|
371
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
372
|
+
|
373
|
+
|
351
374
|
def CreateClusterDatabase(self, request):
|
352
375
|
"""创建数据库
|
353
376
|
|
@@ -578,6 +601,29 @@ class CynosdbClient(AbstractClient):
|
|
578
601
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
579
602
|
|
580
603
|
|
604
|
+
def DeleteCLSDelivery(self, request):
|
605
|
+
"""删除日志投递
|
606
|
+
|
607
|
+
:param request: Request instance for DeleteCLSDelivery.
|
608
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DeleteCLSDeliveryRequest`
|
609
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DeleteCLSDeliveryResponse`
|
610
|
+
|
611
|
+
"""
|
612
|
+
try:
|
613
|
+
params = request._serialize()
|
614
|
+
headers = request.headers
|
615
|
+
body = self.call("DeleteCLSDelivery", params, headers=headers)
|
616
|
+
response = json.loads(body)
|
617
|
+
model = models.DeleteCLSDeliveryResponse()
|
618
|
+
model._deserialize(response["Response"])
|
619
|
+
return model
|
620
|
+
except Exception as e:
|
621
|
+
if isinstance(e, TencentCloudSDKException):
|
622
|
+
raise
|
623
|
+
else:
|
624
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
625
|
+
|
626
|
+
|
581
627
|
def DeleteClusterDatabase(self, request):
|
582
628
|
"""删除数据库
|
583
629
|
|
@@ -1222,6 +1268,29 @@ class CynosdbClient(AbstractClient):
|
|
1222
1268
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1223
1269
|
|
1224
1270
|
|
1271
|
+
def DescribeInstanceCLSLogDelivery(self, request):
|
1272
|
+
"""查询实例日志投递信息
|
1273
|
+
|
1274
|
+
:param request: Request instance for DescribeInstanceCLSLogDelivery.
|
1275
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.DescribeInstanceCLSLogDeliveryRequest`
|
1276
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.DescribeInstanceCLSLogDeliveryResponse`
|
1277
|
+
|
1278
|
+
"""
|
1279
|
+
try:
|
1280
|
+
params = request._serialize()
|
1281
|
+
headers = request.headers
|
1282
|
+
body = self.call("DescribeInstanceCLSLogDelivery", params, headers=headers)
|
1283
|
+
response = json.loads(body)
|
1284
|
+
model = models.DescribeInstanceCLSLogDeliveryResponse()
|
1285
|
+
model._deserialize(response["Response"])
|
1286
|
+
return model
|
1287
|
+
except Exception as e:
|
1288
|
+
if isinstance(e, TencentCloudSDKException):
|
1289
|
+
raise
|
1290
|
+
else:
|
1291
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1292
|
+
|
1293
|
+
|
1225
1294
|
def DescribeInstanceDetail(self, request):
|
1226
1295
|
"""本接口(DescribeInstanceDetail)用于查询实例详情。
|
1227
1296
|
|
@@ -2970,6 +3039,52 @@ class CynosdbClient(AbstractClient):
|
|
2970
3039
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2971
3040
|
|
2972
3041
|
|
3042
|
+
def StartCLSDelivery(self, request):
|
3043
|
+
"""开启日志投递
|
3044
|
+
|
3045
|
+
:param request: Request instance for StartCLSDelivery.
|
3046
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.StartCLSDeliveryRequest`
|
3047
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.StartCLSDeliveryResponse`
|
3048
|
+
|
3049
|
+
"""
|
3050
|
+
try:
|
3051
|
+
params = request._serialize()
|
3052
|
+
headers = request.headers
|
3053
|
+
body = self.call("StartCLSDelivery", params, headers=headers)
|
3054
|
+
response = json.loads(body)
|
3055
|
+
model = models.StartCLSDeliveryResponse()
|
3056
|
+
model._deserialize(response["Response"])
|
3057
|
+
return model
|
3058
|
+
except Exception as e:
|
3059
|
+
if isinstance(e, TencentCloudSDKException):
|
3060
|
+
raise
|
3061
|
+
else:
|
3062
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3063
|
+
|
3064
|
+
|
3065
|
+
def StopCLSDelivery(self, request):
|
3066
|
+
"""停止日志投递
|
3067
|
+
|
3068
|
+
:param request: Request instance for StopCLSDelivery.
|
3069
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.StopCLSDeliveryRequest`
|
3070
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.StopCLSDeliveryResponse`
|
3071
|
+
|
3072
|
+
"""
|
3073
|
+
try:
|
3074
|
+
params = request._serialize()
|
3075
|
+
headers = request.headers
|
3076
|
+
body = self.call("StopCLSDelivery", params, headers=headers)
|
3077
|
+
response = json.loads(body)
|
3078
|
+
model = models.StopCLSDeliveryResponse()
|
3079
|
+
model._deserialize(response["Response"])
|
3080
|
+
return model
|
3081
|
+
except Exception as e:
|
3082
|
+
if isinstance(e, TencentCloudSDKException):
|
3083
|
+
raise
|
3084
|
+
else:
|
3085
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3086
|
+
|
3087
|
+
|
2973
3088
|
def SwitchClusterVpc(self, request):
|
2974
3089
|
"""更换集群vpc
|
2975
3090
|
|
@@ -92,6 +92,9 @@ INTERNALERROR = 'InternalError'
|
|
92
92
|
# 查询数据库失败。
|
93
93
|
INTERNALERROR_DBOPERATIONFAILED = 'InternalError.DbOperationFailed'
|
94
94
|
|
95
|
+
# 客户未授权
|
96
|
+
INTERNALERROR_GETROLEERROR = 'InternalError.GetRoleError'
|
97
|
+
|
95
98
|
# 获取安全组信息失败。
|
96
99
|
INTERNALERROR_GETSECURITYGROUPDETAILFAILED = 'InternalError.GetSecurityGroupDetailFailed'
|
97
100
|
|