tencentcloud-sdk-python 3.0.1294__py2.py3-none-any.whl → 3.0.1296__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/aca/v20210323/models.py +2 -12
- tencentcloud/cbs/v20170312/models.py +15 -0
- tencentcloud/cdwdoris/v20211228/models.py +39 -4
- tencentcloud/cls/v20201016/models.py +34 -8
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/models.py +255 -0
- tencentcloud/dts/v20211206/models.py +15 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +45 -0
- tencentcloud/monitor/v20180724/models.py +106 -0
- tencentcloud/scf/v20180416/models.py +121 -92
- tencentcloud/scf/v20180416/scf_client.py +23 -0
- tencentcloud/tcr/v20190924/models.py +19 -2
- tencentcloud/teo/v20220901/models.py +20 -14
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +65 -14
- tencentcloud/trocket/v20230308/models.py +166 -0
- tencentcloud/trocket/v20230308/trocket_client.py +25 -0
- tencentcloud/vclm/v20240523/models.py +6 -4
- tencentcloud/vpc/v20170312/models.py +76 -102
- tencentcloud/vpc/v20170312/vpc_client.py +2 -2
- tencentcloud/waf/v20180125/models.py +1 -1
- {tencentcloud_sdk_python-3.0.1294.dist-info → tencentcloud_sdk_python-3.0.1296.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1294.dist-info → tencentcloud_sdk_python-3.0.1296.dist-info}/RECORD +31 -31
- {tencentcloud_sdk_python-3.0.1294.dist-info → tencentcloud_sdk_python-3.0.1296.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1294.dist-info → tencentcloud_sdk_python-3.0.1296.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1294.dist-info → tencentcloud_sdk_python-3.0.1296.dist-info}/top_level.txt +0 -0
@@ -240,6 +240,29 @@ class ScfClient(AbstractClient):
|
|
240
240
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
241
241
|
|
242
242
|
|
243
|
+
def DeleteFunctionVersion(self, request):
|
244
|
+
"""该接口根据传入参数删除函数的指定版本。
|
245
|
+
|
246
|
+
:param request: Request instance for DeleteFunctionVersion.
|
247
|
+
:type request: :class:`tencentcloud.scf.v20180416.models.DeleteFunctionVersionRequest`
|
248
|
+
:rtype: :class:`tencentcloud.scf.v20180416.models.DeleteFunctionVersionResponse`
|
249
|
+
|
250
|
+
"""
|
251
|
+
try:
|
252
|
+
params = request._serialize()
|
253
|
+
headers = request.headers
|
254
|
+
body = self.call("DeleteFunctionVersion", params, headers=headers)
|
255
|
+
response = json.loads(body)
|
256
|
+
model = models.DeleteFunctionVersionResponse()
|
257
|
+
model._deserialize(response["Response"])
|
258
|
+
return model
|
259
|
+
except Exception as e:
|
260
|
+
if isinstance(e, TencentCloudSDKException):
|
261
|
+
raise
|
262
|
+
else:
|
263
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
264
|
+
|
265
|
+
|
243
266
|
def DeleteLayerVersion(self, request):
|
244
267
|
"""删除指定层的指定版本,被删除的版本无法再关联到函数上,但不会影响正在引用这个层的函数。
|
245
268
|
|
@@ -9298,7 +9298,7 @@ class DescribeServiceAccountsRequest(AbstractModel):
|
|
9298
9298
|
:type All: bool
|
9299
9299
|
:param _EmbedPermission: 是否填充权限信息
|
9300
9300
|
:type EmbedPermission: bool
|
9301
|
-
:param _Filters:
|
9301
|
+
:param _Filters: 过滤条件,key 目前只支持ServiceAccountName
|
9302
9302
|
:type Filters: list of Filter
|
9303
9303
|
:param _Offset: 偏移量,默认0
|
9304
9304
|
:type Offset: int
|
@@ -9347,7 +9347,7 @@ class DescribeServiceAccountsRequest(AbstractModel):
|
|
9347
9347
|
|
9348
9348
|
@property
|
9349
9349
|
def Filters(self):
|
9350
|
-
"""
|
9350
|
+
"""过滤条件,key 目前只支持ServiceAccountName
|
9351
9351
|
:rtype: list of Filter
|
9352
9352
|
"""
|
9353
9353
|
return self._Filters
|
@@ -18440,6 +18440,9 @@ class WebhookTrigger(AbstractModel):
|
|
18440
18440
|
:type Description: str
|
18441
18441
|
:param _NamespaceId: 触发器所属命名空间 Id
|
18442
18442
|
:type NamespaceId: int
|
18443
|
+
:param _NamespaceName: 触发器所属命名空间名称
|
18444
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18445
|
+
:type NamespaceName: str
|
18443
18446
|
"""
|
18444
18447
|
self._Name = None
|
18445
18448
|
self._Targets = None
|
@@ -18449,6 +18452,7 @@ class WebhookTrigger(AbstractModel):
|
|
18449
18452
|
self._Id = None
|
18450
18453
|
self._Description = None
|
18451
18454
|
self._NamespaceId = None
|
18455
|
+
self._NamespaceName = None
|
18452
18456
|
|
18453
18457
|
@property
|
18454
18458
|
def Name(self):
|
@@ -18538,6 +18542,18 @@ class WebhookTrigger(AbstractModel):
|
|
18538
18542
|
def NamespaceId(self, NamespaceId):
|
18539
18543
|
self._NamespaceId = NamespaceId
|
18540
18544
|
|
18545
|
+
@property
|
18546
|
+
def NamespaceName(self):
|
18547
|
+
"""触发器所属命名空间名称
|
18548
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18549
|
+
:rtype: str
|
18550
|
+
"""
|
18551
|
+
return self._NamespaceName
|
18552
|
+
|
18553
|
+
@NamespaceName.setter
|
18554
|
+
def NamespaceName(self, NamespaceName):
|
18555
|
+
self._NamespaceName = NamespaceName
|
18556
|
+
|
18541
18557
|
|
18542
18558
|
def _deserialize(self, params):
|
18543
18559
|
self._Name = params.get("Name")
|
@@ -18553,6 +18569,7 @@ class WebhookTrigger(AbstractModel):
|
|
18553
18569
|
self._Id = params.get("Id")
|
18554
18570
|
self._Description = params.get("Description")
|
18555
18571
|
self._NamespaceId = params.get("NamespaceId")
|
18572
|
+
self._NamespaceName = params.get("NamespaceName")
|
18556
18573
|
memeber_set = set(params.keys())
|
18557
18574
|
for name, value in vars(self).items():
|
18558
18575
|
property_name = name[1:]
|
@@ -7915,6 +7915,7 @@ class CreatePurgeTaskRequest(AbstractModel):
|
|
7915
7915
|
def __init__(self):
|
7916
7916
|
r"""
|
7917
7917
|
:param _ZoneId: 站点 ID。
|
7918
|
+
若您希望快速提交不同站点下的 Targets Url,可以将其填写为 *,但前提是调用该 API 的账号必须具备主账号下全部站点资源的权限。
|
7918
7919
|
:type ZoneId: str
|
7919
7920
|
:param _Type: 节点缓存清除类型,取值有:
|
7920
7921
|
<li>purge_url:URL刷新;</li>
|
@@ -7943,6 +7944,7 @@ class CreatePurgeTaskRequest(AbstractModel):
|
|
7943
7944
|
@property
|
7944
7945
|
def ZoneId(self):
|
7945
7946
|
"""站点 ID。
|
7947
|
+
若您希望快速提交不同站点下的 Targets Url,可以将其填写为 *,但前提是调用该 API 的账号必须具备主账号下全部站点资源的权限。
|
7946
7948
|
:rtype: str
|
7947
7949
|
"""
|
7948
7950
|
return self._ZoneId
|
@@ -17723,13 +17725,15 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
|
|
17723
17725
|
:param _EndTime: 结束时间。
|
17724
17726
|
:type EndTime: str
|
17725
17727
|
:param _MetricNames: 指标列表,取值有:
|
17726
|
-
<li>l7Flow_outFlux: L7 EdgeOne
|
17727
|
-
<li>l7Flow_inFlux: L7
|
17728
|
-
<li>l7Flow_flux: L7 访问总流量(EdgeOne
|
17729
|
-
<li>l7Flow_outBandwidth: L7 EdgeOne
|
17730
|
-
<li>l7Flow_inBandwidth:L7
|
17731
|
-
<li>l7Flow_bandwidth:L7 访问总带宽(EdgeOne
|
17732
|
-
<li>l7Flow_request: L7
|
17728
|
+
<li>l7Flow_outFlux: L7 EdgeOne 响应流量,单位:Byte;</li>
|
17729
|
+
<li>l7Flow_inFlux: L7 客户端请求流量,单位:Byte;</li>
|
17730
|
+
<li>l7Flow_flux: L7 访问总流量(EdgeOne 响应+客户端请求),单位:Byte;</li>
|
17731
|
+
<li>l7Flow_outBandwidth: L7 EdgeOne 响应带宽,单位:bps;</li>
|
17732
|
+
<li>l7Flow_inBandwidth:L7 客户端请求带宽,单位:bps;</li>
|
17733
|
+
<li>l7Flow_bandwidth:L7 访问总带宽(EdgeOne 响应+客户端请求),单位:bps;</li>
|
17734
|
+
<li>l7Flow_request: L7 访问请求数,单位:次;</li>
|
17735
|
+
<li> l7Flow_avgResponseTime: L7 访问平均响应耗时,单位:ms;</li>
|
17736
|
+
<li> l7Flow_avgFirstByteResponseTime: L7 访问平均首字节响应耗时,单位:ms。</li>
|
17733
17737
|
:type MetricNames: list of str
|
17734
17738
|
:param _ZoneIds: 站点 ID 集合,此参数必填。
|
17735
17739
|
:type ZoneIds: list of str
|
@@ -17798,13 +17802,15 @@ class DescribeTimingL7AnalysisDataRequest(AbstractModel):
|
|
17798
17802
|
@property
|
17799
17803
|
def MetricNames(self):
|
17800
17804
|
"""指标列表,取值有:
|
17801
|
-
<li>l7Flow_outFlux: L7 EdgeOne
|
17802
|
-
<li>l7Flow_inFlux: L7
|
17803
|
-
<li>l7Flow_flux: L7 访问总流量(EdgeOne
|
17804
|
-
<li>l7Flow_outBandwidth: L7 EdgeOne
|
17805
|
-
<li>l7Flow_inBandwidth:L7
|
17806
|
-
<li>l7Flow_bandwidth:L7 访问总带宽(EdgeOne
|
17807
|
-
<li>l7Flow_request: L7
|
17805
|
+
<li>l7Flow_outFlux: L7 EdgeOne 响应流量,单位:Byte;</li>
|
17806
|
+
<li>l7Flow_inFlux: L7 客户端请求流量,单位:Byte;</li>
|
17807
|
+
<li>l7Flow_flux: L7 访问总流量(EdgeOne 响应+客户端请求),单位:Byte;</li>
|
17808
|
+
<li>l7Flow_outBandwidth: L7 EdgeOne 响应带宽,单位:bps;</li>
|
17809
|
+
<li>l7Flow_inBandwidth:L7 客户端请求带宽,单位:bps;</li>
|
17810
|
+
<li>l7Flow_bandwidth:L7 访问总带宽(EdgeOne 响应+客户端请求),单位:bps;</li>
|
17811
|
+
<li>l7Flow_request: L7 访问请求数,单位:次;</li>
|
17812
|
+
<li> l7Flow_avgResponseTime: L7 访问平均响应耗时,单位:ms;</li>
|
17813
|
+
<li> l7Flow_avgFirstByteResponseTime: L7 访问平均首字节响应耗时,单位:ms。</li>
|
17808
17814
|
:rtype: list of str
|
17809
17815
|
"""
|
17810
17816
|
return self._MetricNames
|
@@ -536,6 +536,9 @@ INVALIDPARAMETER_SUBNETNOTEXIST = 'InvalidParameter.SubnetNotExist'
|
|
536
536
|
# 客户创建参数中,k8s 版本、运行时版本或 tke-eni-agent 版本不支持客户选择的操作系统中的CgroupV2。
|
537
537
|
INVALIDPARAMETER_VERSIONNOTSUPPORTCGROUPV2 = 'InvalidParameter.VersionNotSupportCgroupV2'
|
538
538
|
|
539
|
+
# 参数值中数量错误。
|
540
|
+
INVALIDPARAMETERVALUE_SIZE = 'InvalidParameterValue.Size'
|
541
|
+
|
539
542
|
# 超过配额限制。
|
540
543
|
LIMITEXCEEDED = 'LimitExceeded'
|
541
544
|
|
@@ -3089,7 +3089,7 @@ class ClusterBasicSettings(AbstractModel):
|
|
3089
3089
|
:type ClusterName: str
|
3090
3090
|
:param _ClusterDescription: 集群描述
|
3091
3091
|
:type ClusterDescription: str
|
3092
|
-
:param _VpcId: 私有网络ID,形如vpc-
|
3092
|
+
:param _VpcId: 私有网络ID,形如vpc-e55paxnt。创建托管空集群时必传。
|
3093
3093
|
:type VpcId: str
|
3094
3094
|
:param _ProjectId: 集群内新增资源所属项目ID。
|
3095
3095
|
:type ProjectId: int
|
@@ -3165,7 +3165,7 @@ class ClusterBasicSettings(AbstractModel):
|
|
3165
3165
|
|
3166
3166
|
@property
|
3167
3167
|
def VpcId(self):
|
3168
|
-
"""私有网络ID,形如vpc-
|
3168
|
+
"""私有网络ID,形如vpc-e55paxnt。创建托管空集群时必传。
|
3169
3169
|
:rtype: str
|
3170
3170
|
"""
|
3171
3171
|
return self._VpcId
|
@@ -15445,7 +15445,7 @@ class DescribeClusterNodePoolsRequest(AbstractModel):
|
|
15445
15445
|
类型:String
|
15446
15446
|
必选:否
|
15447
15447
|
|
15448
|
-
· "Name":"Tags","Values": ["
|
15448
|
+
· "Name":"Tags","Values": ["product:tke"]
|
15449
15449
|
按照【标签键值对】进行过滤。
|
15450
15450
|
类型:String
|
15451
15451
|
必选:否
|
@@ -15477,7 +15477,7 @@ class DescribeClusterNodePoolsRequest(AbstractModel):
|
|
15477
15477
|
类型:String
|
15478
15478
|
必选:否
|
15479
15479
|
|
15480
|
-
· "Name":"Tags","Values": ["
|
15480
|
+
· "Name":"Tags","Values": ["product:tke"]
|
15481
15481
|
按照【标签键值对】进行过滤。
|
15482
15482
|
类型:String
|
15483
15483
|
必选:否
|
@@ -17000,7 +17000,7 @@ class DescribeClustersRequest(AbstractModel):
|
|
17000
17000
|
:type Offset: int
|
17001
17001
|
:param _Limit: 最大输出条数,默认20,最大为100
|
17002
17002
|
:type Limit: int
|
17003
|
-
:param _Filters: · "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-
|
17003
|
+
:param _Filters: · "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-2wds9k9p"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["product:tke"] 按照【标签键值对】进行过滤。 类型:String 必选:否
|
17004
17004
|
:type Filters: list of Filter
|
17005
17005
|
:param _ClusterType: 集群类型,例如:MANAGED_CLUSTER
|
17006
17006
|
:type ClusterType: str
|
@@ -17047,7 +17047,7 @@ class DescribeClustersRequest(AbstractModel):
|
|
17047
17047
|
|
17048
17048
|
@property
|
17049
17049
|
def Filters(self):
|
17050
|
-
"""· "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-
|
17050
|
+
"""· "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-2wds9k9p"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["product:tke"] 按照【标签键值对】进行过滤。 类型:String 必选:否
|
17051
17051
|
:rtype: list of Filter
|
17052
17052
|
"""
|
17053
17053
|
return self._Filters
|
@@ -27669,7 +27669,7 @@ class EksCluster(AbstractModel):
|
|
27669
27669
|
:type SubnetIds: list of str
|
27670
27670
|
:param _K8SVersion: k8s 版本号
|
27671
27671
|
:type K8SVersion: str
|
27672
|
-
:param _Status: 集群状态(running运行中,initializing 初始化中,
|
27672
|
+
:param _Status: 集群状态(running 运行中,initializing 初始化中,Failed 异常,Idling 空闲中,Activating 激活中,Terminating 删除中)
|
27673
27673
|
:type Status: str
|
27674
27674
|
:param _ClusterDesc: 集群描述信息
|
27675
27675
|
:type ClusterDesc: str
|
@@ -27758,7 +27758,7 @@ class EksCluster(AbstractModel):
|
|
27758
27758
|
|
27759
27759
|
@property
|
27760
27760
|
def Status(self):
|
27761
|
-
"""集群状态(running运行中,initializing 初始化中,
|
27761
|
+
"""集群状态(running 运行中,initializing 初始化中,Failed 异常,Idling 空闲中,Activating 激活中,Terminating 删除中)
|
27762
27762
|
:rtype: str
|
27763
27763
|
"""
|
27764
27764
|
return self._Status
|
@@ -28685,7 +28685,7 @@ class ExistedInstance(AbstractModel):
|
|
28685
28685
|
:param _AlreadyInCluster: 实例已经所在的集群ID。
|
28686
28686
|
注意:此字段可能返回 null,表示取不到有效值。
|
28687
28687
|
:type AlreadyInCluster: str
|
28688
|
-
:param _InstanceId: 实例ID形如:ins-
|
28688
|
+
:param _InstanceId: 实例ID形如:ins-e55paxnt。
|
28689
28689
|
:type InstanceId: str
|
28690
28690
|
:param _InstanceName: 实例名称。
|
28691
28691
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -28777,7 +28777,7 @@ class ExistedInstance(AbstractModel):
|
|
28777
28777
|
|
28778
28778
|
@property
|
28779
28779
|
def InstanceId(self):
|
28780
|
-
"""实例ID形如:ins-
|
28780
|
+
"""实例ID形如:ins-e55paxnt。
|
28781
28781
|
:rtype: str
|
28782
28782
|
"""
|
28783
28783
|
return self._InstanceId
|
@@ -34178,7 +34178,7 @@ class ModifyClusterImageRequest(AbstractModel):
|
|
34178
34178
|
r"""
|
34179
34179
|
:param _ClusterId: 集群ID
|
34180
34180
|
:type ClusterId: str
|
34181
|
-
:param _ImageId: 指定有效的镜像ID,格式形如img-
|
34181
|
+
:param _ImageId: 指定有效的镜像ID,格式形如img-e55paxnt。可通过登录控制台查询,也可调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。
|
34182
34182
|
:type ImageId: str
|
34183
34183
|
"""
|
34184
34184
|
self._ClusterId = None
|
@@ -34197,7 +34197,7 @@ class ModifyClusterImageRequest(AbstractModel):
|
|
34197
34197
|
|
34198
34198
|
@property
|
34199
34199
|
def ImageId(self):
|
34200
|
-
"""指定有效的镜像ID,格式形如img-
|
34200
|
+
"""指定有效的镜像ID,格式形如img-e55paxnt。可通过登录控制台查询,也可调用接口 [DescribeImages](https://cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。
|
34201
34201
|
:rtype: str
|
34202
34202
|
"""
|
34203
34203
|
return self._ImageId
|
@@ -39194,7 +39194,7 @@ class PrometheusClusterAgentBasic(AbstractModel):
|
|
39194
39194
|
|
39195
39195
|
def __init__(self):
|
39196
39196
|
r"""
|
39197
|
-
:param _Region:
|
39197
|
+
:param _Region: 地域
|
39198
39198
|
:type Region: str
|
39199
39199
|
:param _ClusterType: 集群类型
|
39200
39200
|
:type ClusterType: str
|
@@ -39222,7 +39222,7 @@ class PrometheusClusterAgentBasic(AbstractModel):
|
|
39222
39222
|
|
39223
39223
|
@property
|
39224
39224
|
def Region(self):
|
39225
|
-
"""
|
39225
|
+
"""地域
|
39226
39226
|
:rtype: str
|
39227
39227
|
"""
|
39228
39228
|
return self._Region
|
@@ -42439,6 +42439,15 @@ class ReleaseDetails(AbstractModel):
|
|
42439
42439
|
:param _ComputedValues: 应用参数
|
42440
42440
|
注意:此字段可能返回 null,表示取不到有效值。
|
42441
42441
|
:type ComputedValues: str
|
42442
|
+
:param _ChartFrom: chart 的来源, tke-market, others
|
42443
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
42444
|
+
:type ChartFrom: str
|
42445
|
+
:param _ChartURL: 第三方chart 的安装地址
|
42446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
42447
|
+
:type ChartURL: str
|
42448
|
+
:param _Resources: 通过chart 创建的资源
|
42449
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
42450
|
+
:type Resources: str
|
42442
42451
|
"""
|
42443
42452
|
self._Name = None
|
42444
42453
|
self._Namespace = None
|
@@ -42455,6 +42464,9 @@ class ReleaseDetails(AbstractModel):
|
|
42455
42464
|
self._FirstDeployedTime = None
|
42456
42465
|
self._LastDeployedTime = None
|
42457
42466
|
self._ComputedValues = None
|
42467
|
+
self._ChartFrom = None
|
42468
|
+
self._ChartURL = None
|
42469
|
+
self._Resources = None
|
42458
42470
|
|
42459
42471
|
@property
|
42460
42472
|
def Name(self):
|
@@ -42634,6 +42646,42 @@ class ReleaseDetails(AbstractModel):
|
|
42634
42646
|
def ComputedValues(self, ComputedValues):
|
42635
42647
|
self._ComputedValues = ComputedValues
|
42636
42648
|
|
42649
|
+
@property
|
42650
|
+
def ChartFrom(self):
|
42651
|
+
"""chart 的来源, tke-market, others
|
42652
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
42653
|
+
:rtype: str
|
42654
|
+
"""
|
42655
|
+
return self._ChartFrom
|
42656
|
+
|
42657
|
+
@ChartFrom.setter
|
42658
|
+
def ChartFrom(self, ChartFrom):
|
42659
|
+
self._ChartFrom = ChartFrom
|
42660
|
+
|
42661
|
+
@property
|
42662
|
+
def ChartURL(self):
|
42663
|
+
"""第三方chart 的安装地址
|
42664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
42665
|
+
:rtype: str
|
42666
|
+
"""
|
42667
|
+
return self._ChartURL
|
42668
|
+
|
42669
|
+
@ChartURL.setter
|
42670
|
+
def ChartURL(self, ChartURL):
|
42671
|
+
self._ChartURL = ChartURL
|
42672
|
+
|
42673
|
+
@property
|
42674
|
+
def Resources(self):
|
42675
|
+
"""通过chart 创建的资源
|
42676
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
42677
|
+
:rtype: str
|
42678
|
+
"""
|
42679
|
+
return self._Resources
|
42680
|
+
|
42681
|
+
@Resources.setter
|
42682
|
+
def Resources(self, Resources):
|
42683
|
+
self._Resources = Resources
|
42684
|
+
|
42637
42685
|
|
42638
42686
|
def _deserialize(self, params):
|
42639
42687
|
self._Name = params.get("Name")
|
@@ -42651,6 +42699,9 @@ class ReleaseDetails(AbstractModel):
|
|
42651
42699
|
self._FirstDeployedTime = params.get("FirstDeployedTime")
|
42652
42700
|
self._LastDeployedTime = params.get("LastDeployedTime")
|
42653
42701
|
self._ComputedValues = params.get("ComputedValues")
|
42702
|
+
self._ChartFrom = params.get("ChartFrom")
|
42703
|
+
self._ChartURL = params.get("ChartURL")
|
42704
|
+
self._Resources = params.get("Resources")
|
42654
42705
|
memeber_set = set(params.keys())
|
42655
42706
|
for name, value in vars(self).items():
|
42656
42707
|
property_name = name[1:]
|
@@ -6845,6 +6845,172 @@ class DescribeRoleListResponse(AbstractModel):
|
|
6845
6845
|
self._RequestId = params.get("RequestId")
|
6846
6846
|
|
6847
6847
|
|
6848
|
+
class DescribeTopicListByGroupRequest(AbstractModel):
|
6849
|
+
"""DescribeTopicListByGroup请求参数结构体
|
6850
|
+
|
6851
|
+
"""
|
6852
|
+
|
6853
|
+
def __init__(self):
|
6854
|
+
r"""
|
6855
|
+
:param _InstanceId: 集群ID
|
6856
|
+
:type InstanceId: str
|
6857
|
+
:param _Offset: 查询起始位置
|
6858
|
+
:type Offset: int
|
6859
|
+
:param _Limit: 查询结果限制数量
|
6860
|
+
:type Limit: int
|
6861
|
+
:param _ConsumerGroup: 消费组名称
|
6862
|
+
:type ConsumerGroup: str
|
6863
|
+
:param _Filters: 查询条件列表
|
6864
|
+
:type Filters: list of Filter
|
6865
|
+
"""
|
6866
|
+
self._InstanceId = None
|
6867
|
+
self._Offset = None
|
6868
|
+
self._Limit = None
|
6869
|
+
self._ConsumerGroup = None
|
6870
|
+
self._Filters = None
|
6871
|
+
|
6872
|
+
@property
|
6873
|
+
def InstanceId(self):
|
6874
|
+
"""集群ID
|
6875
|
+
:rtype: str
|
6876
|
+
"""
|
6877
|
+
return self._InstanceId
|
6878
|
+
|
6879
|
+
@InstanceId.setter
|
6880
|
+
def InstanceId(self, InstanceId):
|
6881
|
+
self._InstanceId = InstanceId
|
6882
|
+
|
6883
|
+
@property
|
6884
|
+
def Offset(self):
|
6885
|
+
"""查询起始位置
|
6886
|
+
:rtype: int
|
6887
|
+
"""
|
6888
|
+
return self._Offset
|
6889
|
+
|
6890
|
+
@Offset.setter
|
6891
|
+
def Offset(self, Offset):
|
6892
|
+
self._Offset = Offset
|
6893
|
+
|
6894
|
+
@property
|
6895
|
+
def Limit(self):
|
6896
|
+
"""查询结果限制数量
|
6897
|
+
:rtype: int
|
6898
|
+
"""
|
6899
|
+
return self._Limit
|
6900
|
+
|
6901
|
+
@Limit.setter
|
6902
|
+
def Limit(self, Limit):
|
6903
|
+
self._Limit = Limit
|
6904
|
+
|
6905
|
+
@property
|
6906
|
+
def ConsumerGroup(self):
|
6907
|
+
"""消费组名称
|
6908
|
+
:rtype: str
|
6909
|
+
"""
|
6910
|
+
return self._ConsumerGroup
|
6911
|
+
|
6912
|
+
@ConsumerGroup.setter
|
6913
|
+
def ConsumerGroup(self, ConsumerGroup):
|
6914
|
+
self._ConsumerGroup = ConsumerGroup
|
6915
|
+
|
6916
|
+
@property
|
6917
|
+
def Filters(self):
|
6918
|
+
"""查询条件列表
|
6919
|
+
:rtype: list of Filter
|
6920
|
+
"""
|
6921
|
+
return self._Filters
|
6922
|
+
|
6923
|
+
@Filters.setter
|
6924
|
+
def Filters(self, Filters):
|
6925
|
+
self._Filters = Filters
|
6926
|
+
|
6927
|
+
|
6928
|
+
def _deserialize(self, params):
|
6929
|
+
self._InstanceId = params.get("InstanceId")
|
6930
|
+
self._Offset = params.get("Offset")
|
6931
|
+
self._Limit = params.get("Limit")
|
6932
|
+
self._ConsumerGroup = params.get("ConsumerGroup")
|
6933
|
+
if params.get("Filters") is not None:
|
6934
|
+
self._Filters = []
|
6935
|
+
for item in params.get("Filters"):
|
6936
|
+
obj = Filter()
|
6937
|
+
obj._deserialize(item)
|
6938
|
+
self._Filters.append(obj)
|
6939
|
+
memeber_set = set(params.keys())
|
6940
|
+
for name, value in vars(self).items():
|
6941
|
+
property_name = name[1:]
|
6942
|
+
if property_name in memeber_set:
|
6943
|
+
memeber_set.remove(property_name)
|
6944
|
+
if len(memeber_set) > 0:
|
6945
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6946
|
+
|
6947
|
+
|
6948
|
+
|
6949
|
+
class DescribeTopicListByGroupResponse(AbstractModel):
|
6950
|
+
"""DescribeTopicListByGroup返回参数结构体
|
6951
|
+
|
6952
|
+
"""
|
6953
|
+
|
6954
|
+
def __init__(self):
|
6955
|
+
r"""
|
6956
|
+
:param _TotalCount: 查询总数
|
6957
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6958
|
+
:type TotalCount: int
|
6959
|
+
:param _Data: 主题列表
|
6960
|
+
:type Data: list of SubscriptionData
|
6961
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6962
|
+
:type RequestId: str
|
6963
|
+
"""
|
6964
|
+
self._TotalCount = None
|
6965
|
+
self._Data = None
|
6966
|
+
self._RequestId = None
|
6967
|
+
|
6968
|
+
@property
|
6969
|
+
def TotalCount(self):
|
6970
|
+
"""查询总数
|
6971
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
6972
|
+
:rtype: int
|
6973
|
+
"""
|
6974
|
+
return self._TotalCount
|
6975
|
+
|
6976
|
+
@TotalCount.setter
|
6977
|
+
def TotalCount(self, TotalCount):
|
6978
|
+
self._TotalCount = TotalCount
|
6979
|
+
|
6980
|
+
@property
|
6981
|
+
def Data(self):
|
6982
|
+
"""主题列表
|
6983
|
+
:rtype: list of SubscriptionData
|
6984
|
+
"""
|
6985
|
+
return self._Data
|
6986
|
+
|
6987
|
+
@Data.setter
|
6988
|
+
def Data(self, Data):
|
6989
|
+
self._Data = Data
|
6990
|
+
|
6991
|
+
@property
|
6992
|
+
def RequestId(self):
|
6993
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6994
|
+
:rtype: str
|
6995
|
+
"""
|
6996
|
+
return self._RequestId
|
6997
|
+
|
6998
|
+
@RequestId.setter
|
6999
|
+
def RequestId(self, RequestId):
|
7000
|
+
self._RequestId = RequestId
|
7001
|
+
|
7002
|
+
|
7003
|
+
def _deserialize(self, params):
|
7004
|
+
self._TotalCount = params.get("TotalCount")
|
7005
|
+
if params.get("Data") is not None:
|
7006
|
+
self._Data = []
|
7007
|
+
for item in params.get("Data"):
|
7008
|
+
obj = SubscriptionData()
|
7009
|
+
obj._deserialize(item)
|
7010
|
+
self._Data.append(obj)
|
7011
|
+
self._RequestId = params.get("RequestId")
|
7012
|
+
|
7013
|
+
|
6848
7014
|
class DescribeTopicListRequest(AbstractModel):
|
6849
7015
|
"""DescribeTopicList请求参数结构体
|
6850
7016
|
|
@@ -1024,6 +1024,31 @@ class TrocketClient(AbstractClient):
|
|
1024
1024
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1025
1025
|
|
1026
1026
|
|
1027
|
+
def DescribeTopicListByGroup(self, request):
|
1028
|
+
"""根据消费组获取主题列表,Filter参数使用说明如下:
|
1029
|
+
|
1030
|
+
TopicName,主题名称过滤
|
1031
|
+
|
1032
|
+
:param request: Request instance for DescribeTopicListByGroup.
|
1033
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeTopicListByGroupRequest`
|
1034
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeTopicListByGroupResponse`
|
1035
|
+
|
1036
|
+
"""
|
1037
|
+
try:
|
1038
|
+
params = request._serialize()
|
1039
|
+
headers = request.headers
|
1040
|
+
body = self.call("DescribeTopicListByGroup", params, headers=headers)
|
1041
|
+
response = json.loads(body)
|
1042
|
+
model = models.DescribeTopicListByGroupResponse()
|
1043
|
+
model._deserialize(response["Response"])
|
1044
|
+
return model
|
1045
|
+
except Exception as e:
|
1046
|
+
if isinstance(e, TencentCloudSDKException):
|
1047
|
+
raise
|
1048
|
+
else:
|
1049
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1050
|
+
|
1051
|
+
|
1027
1052
|
def ImportSourceClusterConsumerGroups(self, request):
|
1028
1053
|
"""导入消费者组列表
|
1029
1054
|
|
@@ -1884,7 +1884,7 @@ class SubmitVideoTranslateJobRequest(AbstractModel):
|
|
1884
1884
|
fps 要求:【15-60】fps
|
1885
1885
|
分辨率要求:单边像素要求在 【360~4096】 之间。
|
1886
1886
|
大小要求:不超过500MB
|
1887
|
-
|
1887
|
+
请保证文件的下载速度,否则会下载失败。
|
1888
1888
|
:type VideoUrl: str
|
1889
1889
|
:param _SrcLang: 输入视频中音频语种
|
1890
1890
|
目前支持语种范围:zh(中文), en(英文)
|
@@ -1893,8 +1893,9 @@ fps 要求:【15-60】fps
|
|
1893
1893
|
格式要求:支持 mp3、m4a、aac、wav 格式。
|
1894
1894
|
时长要求:【5~600】秒,音频时长要匹配视频时长。
|
1895
1895
|
大小要求:不超过 100MB。
|
1896
|
+
请保证文件的下载速度,否则会下载失败。
|
1896
1897
|
:type AudioUrl: str
|
1897
|
-
:param _DstLang:
|
1898
|
+
:param _DstLang: 输出视频中翻译语种。默认是en(英语)。
|
1898
1899
|
目前支持语种范围:zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)、fr(法语)、id(印尼语)、it(意大利语)、ja(日语)、ko(韩语)、ms(马来语)、pt(葡萄牙语)、ru(俄语)、th(泰语)、tr(土耳其语)、vi(越南语)
|
1899
1900
|
:type DstLang: str
|
1900
1901
|
:param _VoiceType: 翻译语种匹配音色种别,其他说明如下:
|
@@ -1932,7 +1933,7 @@ fps 要求:【15-60】fps
|
|
1932
1933
|
fps 要求:【15-60】fps
|
1933
1934
|
分辨率要求:单边像素要求在 【360~4096】 之间。
|
1934
1935
|
大小要求:不超过500MB
|
1935
|
-
|
1936
|
+
请保证文件的下载速度,否则会下载失败。
|
1936
1937
|
:rtype: str
|
1937
1938
|
"""
|
1938
1939
|
return self._VideoUrl
|
@@ -1959,6 +1960,7 @@ fps 要求:【15-60】fps
|
|
1959
1960
|
格式要求:支持 mp3、m4a、aac、wav 格式。
|
1960
1961
|
时长要求:【5~600】秒,音频时长要匹配视频时长。
|
1961
1962
|
大小要求:不超过 100MB。
|
1963
|
+
请保证文件的下载速度,否则会下载失败。
|
1962
1964
|
:rtype: str
|
1963
1965
|
"""
|
1964
1966
|
return self._AudioUrl
|
@@ -1969,7 +1971,7 @@ fps 要求:【15-60】fps
|
|
1969
1971
|
|
1970
1972
|
@property
|
1971
1973
|
def DstLang(self):
|
1972
|
-
"""
|
1974
|
+
"""输出视频中翻译语种。默认是en(英语)。
|
1973
1975
|
目前支持语种范围:zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)、fr(法语)、id(印尼语)、it(意大利语)、ja(日语)、ko(韩语)、ms(马来语)、pt(葡萄牙语)、ru(俄语)、th(泰语)、tr(土耳其语)、vi(越南语)
|
1974
1976
|
:rtype: str
|
1975
1977
|
"""
|