tencentcloud-sdk-python 3.0.1191__py2.py3-none-any.whl → 3.0.1193__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/billing/v20180709/billing_client.py +3 -0
- tencentcloud/ccc/v20200210/models.py +1 -1
- tencentcloud/ckafka/v20190819/errorcodes.py +6 -0
- tencentcloud/clb/v20180317/clb_client.py +1 -0
- tencentcloud/cloudapp/__init__.py +0 -0
- tencentcloud/cloudapp/v20220530/__init__.py +0 -0
- tencentcloud/cloudapp/v20220530/cloudapp_client.py +49 -0
- tencentcloud/cloudapp/v20220530/errorcodes.py +15 -0
- tencentcloud/cloudapp/v20220530/models.py +354 -0
- tencentcloud/dsgc/v20190723/models.py +84 -0
- tencentcloud/ess/v20201111/models.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client.py +4 -2
- tencentcloud/essbasic/v20210526/models.py +35 -5
- tencentcloud/faceid/v20180301/errorcodes.py +1 -1
- tencentcloud/faceid/v20180301/models.py +3 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +1 -1
- tencentcloud/hunyuan/v20230901/models.py +3 -1
- tencentcloud/lighthouse/v20200324/models.py +4 -4
- tencentcloud/live/v20180801/live_client.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +10 -105
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/oceanus/v20190422/models.py +26 -0
- tencentcloud/tcr/v20190924/models.py +1 -1
- tencentcloud/tke/v20180525/models.py +4 -4
- tencentcloud/trtc/v20190722/models.py +1 -1
- tencentcloud/trtc/v20190722/trtc_client.py +2 -3
- {tencentcloud_sdk_python-3.0.1191.dist-info → tencentcloud_sdk_python-3.0.1193.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1191.dist-info → tencentcloud_sdk_python-3.0.1193.dist-info}/RECORD +33 -28
- {tencentcloud_sdk_python-3.0.1191.dist-info → tencentcloud_sdk_python-3.0.1193.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1191.dist-info → tencentcloud_sdk_python-3.0.1193.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1191.dist-info → tencentcloud_sdk_python-3.0.1193.dist-info}/top_level.txt +0 -0
@@ -2065,12 +2065,12 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
2065
2065
|
:param _Name: 签署方经办人的姓名。
|
2066
2066
|
经办人的姓名将用于身份认证和电子签名,请确保填写的姓名为签署方的真实姓名,而非昵称等代名。
|
2067
2067
|
|
2068
|
-
|
2068
|
+
注:`请确保和合同中填入的一致`,`除动态签署人或子客员工经办人场景外,此参数必填`
|
2069
2069
|
:type Name: str
|
2070
2070
|
:param _Mobile: 手机号码, 支持国内手机号11位数字(无需加+86前缀或其他字符)。
|
2071
2071
|
请确认手机号所有方为此业务通知方。
|
2072
2072
|
|
2073
|
-
注:`请确保和合同中填入的一致,
|
2073
|
+
注:`请确保和合同中填入的一致, 若无法保持一致,请确保在发起和生成批量签署链接时传入相同的参与方证件信息`,`除动态签署人或子客员工经办人场景外,此参数必填`
|
2074
2074
|
:type Mobile: str
|
2075
2075
|
:param _Operator: 执行本接口操作的员工信息。
|
2076
2076
|
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
@@ -2098,14 +2098,14 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
2098
2098
|
:param _FlowIds: 批量签署的合同流程ID数组。
|
2099
2099
|
注: `在调用此接口时,请确保合同流程均为本企业发起,且合同数量不超过100个。`
|
2100
2100
|
:type FlowIds: list of str
|
2101
|
-
:param _OrganizationName:
|
2101
|
+
:param _OrganizationName: SaaS平台企业员工签署方的企业名称。目标签署人如果为saas应用企业员工身份,此参数必填。
|
2102
2102
|
|
2103
2103
|
注:
|
2104
2104
|
<ul>
|
2105
2105
|
<li>请确认该名称与企业营业执照中注册的名称一致。</li>
|
2106
2106
|
<li>如果名称中包含英文括号(),请使用中文括号()代替。</li>
|
2107
2107
|
<li>请确保此企业已完成腾讯电子签企业认证。</li>
|
2108
|
-
<li
|
2108
|
+
<li>**若为子客企业员工,请使用OpenId,OrganizationOpenId参数,此参数留空即可**</li>
|
2109
2109
|
</ul>
|
2110
2110
|
:type OrganizationName: str
|
2111
2111
|
:param _JumpToDetail: 是否直接跳转至合同内容页面进行签署
|
@@ -2116,6 +2116,16 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
2116
2116
|
:type JumpToDetail: bool
|
2117
2117
|
:param _FlowBatchUrlInfo: 批量签署合同相关信息,指定合同和签署方的信息,用于补充动态签署人。
|
2118
2118
|
:type FlowBatchUrlInfo: :class:`tencentcloud.essbasic.v20210526.models.FlowBatchUrlInfo`
|
2119
|
+
:param _OpenId: 第三方平台子客企业员工的标识OpenId,批签合同经办人为子客员工的情况下为必填。
|
2120
|
+
|
2121
|
+
注:
|
2122
|
+
<ul>
|
2123
|
+
<li>传入的OpenId对应员工在此子客企业下必须已经实名</li>
|
2124
|
+
<li>传递了此参数可以无需传递Name,Mobile,IdCardNumber,IdCardType参数。系统会根据员工OpenId自动拉取实名信息。</li>
|
2125
|
+
</ul>
|
2126
|
+
:type OpenId: str
|
2127
|
+
:param _OrganizationOpenId: 第三方平台子客企业的企业的标识, 即OrganizationOpenId,批签合同经办人为子客企业员工是为必填。
|
2128
|
+
:type OrganizationOpenId: str
|
2119
2129
|
"""
|
2120
2130
|
self._Agent = None
|
2121
2131
|
self._Name = None
|
@@ -2128,6 +2138,8 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
2128
2138
|
self._OrganizationName = None
|
2129
2139
|
self._JumpToDetail = None
|
2130
2140
|
self._FlowBatchUrlInfo = None
|
2141
|
+
self._OpenId = None
|
2142
|
+
self._OrganizationOpenId = None
|
2131
2143
|
|
2132
2144
|
@property
|
2133
2145
|
def Agent(self):
|
@@ -2217,6 +2229,22 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
2217
2229
|
def FlowBatchUrlInfo(self, FlowBatchUrlInfo):
|
2218
2230
|
self._FlowBatchUrlInfo = FlowBatchUrlInfo
|
2219
2231
|
|
2232
|
+
@property
|
2233
|
+
def OpenId(self):
|
2234
|
+
return self._OpenId
|
2235
|
+
|
2236
|
+
@OpenId.setter
|
2237
|
+
def OpenId(self, OpenId):
|
2238
|
+
self._OpenId = OpenId
|
2239
|
+
|
2240
|
+
@property
|
2241
|
+
def OrganizationOpenId(self):
|
2242
|
+
return self._OrganizationOpenId
|
2243
|
+
|
2244
|
+
@OrganizationOpenId.setter
|
2245
|
+
def OrganizationOpenId(self, OrganizationOpenId):
|
2246
|
+
self._OrganizationOpenId = OrganizationOpenId
|
2247
|
+
|
2220
2248
|
|
2221
2249
|
def _deserialize(self, params):
|
2222
2250
|
if params.get("Agent") is not None:
|
@@ -2236,6 +2264,8 @@ class ChannelCreateBatchSignUrlRequest(AbstractModel):
|
|
2236
2264
|
if params.get("FlowBatchUrlInfo") is not None:
|
2237
2265
|
self._FlowBatchUrlInfo = FlowBatchUrlInfo()
|
2238
2266
|
self._FlowBatchUrlInfo._deserialize(params.get("FlowBatchUrlInfo"))
|
2267
|
+
self._OpenId = params.get("OpenId")
|
2268
|
+
self._OrganizationOpenId = params.get("OrganizationOpenId")
|
2239
2269
|
memeber_set = set(params.keys())
|
2240
2270
|
for name, value in vars(self).items():
|
2241
2271
|
property_name = name[1:]
|
@@ -11349,7 +11379,7 @@ class CreateSealByImageRequest(AbstractModel):
|
|
11349
11379
|
<li><strong>SealGenerateSourceSystem</strong>: 系统生成印章, 无需上传SealImage图片</li>
|
11350
11380
|
</ul>
|
11351
11381
|
:type GenerateSource: str
|
11352
|
-
:param _SealType: 电子印章类型 , 可选类型如下: <ul><li>**OFFICIAL**: (默认)公章</li><li>**CONTRACT**: 合同专用章;</li><li>**FINANCE**: 财务专用章;</li><li>**PERSONNEL**: 人事专用章</li><li>**INVOICE**: 发票专用章</li></ul>注:
|
11382
|
+
:param _SealType: 电子印章类型 , 可选类型如下: <ul><li>**OFFICIAL**: (默认)公章</li><li>**CONTRACT**: 合同专用章;</li><li>**FINANCE**: 财务专用章;</li><li>**PERSONNEL**: 人事专用章</li><li>**INVOICE**: 发票专用章</li><li>**OTHER**: 其他</li></ul>注: 同企业下只能有<font color="red">一个</font>公章, 重复创建会报错
|
11353
11383
|
:type SealType: str
|
11354
11384
|
:param _SealHorizontalText: 企业印章横向文字,最多可填15个汉字 (若超过印章最大宽度,优先压缩字间距,其次缩小字号)
|
11355
11385
|
横向文字的位置如下图中的"印章横向文字在这里"
|
@@ -104,7 +104,7 @@ FAILEDOPERATION_IDPHOTOPOORQUALITY = 'FailedOperation.IdPhotoPoorQuality'
|
|
104
104
|
# 客户库自建库或认证中心返照失败,请稍后再试。
|
105
105
|
FAILEDOPERATION_IDPHOTOSYSTEMNOANSWER = 'FailedOperation.IdPhotoSystemNoanswer'
|
106
106
|
|
107
|
-
#
|
107
|
+
# 姓名/身份证号认证次数超过当日限制,请次日重试
|
108
108
|
FAILEDOPERATION_IDENTITYAUTHLIMITEXCEEDED = 'FailedOperation.IdentityAuthLimitExceeded'
|
109
109
|
|
110
110
|
# 图片模糊。
|
@@ -1237,6 +1237,7 @@ class CheckIdNameDateResponse(AbstractModel):
|
|
1237
1237
|
-5: 身份信息无效
|
1238
1238
|
-6: 证件库服务异常
|
1239
1239
|
-7: 证件库中无此身份证记录
|
1240
|
+
-8: 认证次数超过当日限制,请次日重试
|
1240
1241
|
:type Result: str
|
1241
1242
|
:param _Description: 业务结果描述。
|
1242
1243
|
:type Description: str
|
@@ -1354,6 +1355,7 @@ class CheckPhoneAndNameResponse(AbstractModel):
|
|
1354
1355
|
-3:引擎服务异常
|
1355
1356
|
-4:姓名校验不通过
|
1356
1357
|
-5:手机号码不合法
|
1358
|
+
-6: 认证次数超过当日限制,请次日重试
|
1357
1359
|
:type Result: str
|
1358
1360
|
:param _Description: 业务结果描述
|
1359
1361
|
:type Description: str
|
@@ -7708,6 +7710,7 @@ class PhoneVerificationResponse(AbstractModel):
|
|
7708
7710
|
-8: 姓名校验不通过
|
7709
7711
|
-9: 没有记录
|
7710
7712
|
-11: 验证中心服务繁忙
|
7713
|
+
-12: 认证次数超过当日限制,请次日重试
|
7711
7714
|
:type Result: str
|
7712
7715
|
:param _Description: 业务结果描述。
|
7713
7716
|
:type Description: str
|
@@ -50,7 +50,7 @@ class HunyuanClient(AbstractClient):
|
|
50
50
|
|
51
51
|
|
52
52
|
def GetEmbedding(self, request):
|
53
|
-
"""腾讯混元 Embedding
|
53
|
+
"""腾讯混元 Embedding 接口,可以将文本转化为高质量的向量数据。向量维度为1024维。
|
54
54
|
|
55
55
|
:param request: Request instance for GetEmbedding.
|
56
56
|
:type request: :class:`tencentcloud.hunyuan.v20230901.models.GetEmbeddingRequest`
|
@@ -1147,7 +1147,9 @@ class SubmitHunyuanImageJobRequest(AbstractModel):
|
|
1147
1147
|
|
1148
1148
|
def __init__(self):
|
1149
1149
|
r"""
|
1150
|
-
:param _Prompt: 文本描述。
|
1150
|
+
:param _Prompt: 文本描述。
|
1151
|
+
算法将根据输入的文本智能生成与之相关的图像。
|
1152
|
+
不能为空,推荐使用中文。最多可传1024个 utf-8 字符。
|
1151
1153
|
:type Prompt: str
|
1152
1154
|
:param _Style: 绘画风格。
|
1153
1155
|
请在 [混元生图风格列表](https://cloud.tencent.com/document/product/1729/105846) 中选择期望的风格,传入风格编号。
|
@@ -7260,13 +7260,13 @@ class DescribeZonesRequest(AbstractModel):
|
|
7260
7260
|
def __init__(self):
|
7261
7261
|
r"""
|
7262
7262
|
:param _OrderField: 可用区列表排序的依据字段。取值范围:
|
7263
|
-
<li>ZONE
|
7263
|
+
<li>ZONE:依据可用区排序。</li>
|
7264
7264
|
<li>INSTANCE_DISPLAY_LABEL:依据可用区展示标签排序,可用区展示标签包括:HIDDEN(隐藏)、NORMAL(普通)、SELECTED(默认选中),默认采用的升序排列为:['HIDDEN', 'NORMAL', 'SELECTED']。
|
7265
|
-
|
7265
|
+
默认按可用区排序。</li>
|
7266
7266
|
:type OrderField: str
|
7267
7267
|
:param _Order: 输出可用区列表的排列顺序。取值范围:
|
7268
|
-
<li>ASC:升序排列。
|
7269
|
-
<li>DESC
|
7268
|
+
<li>ASC:升序排列。 </li>
|
7269
|
+
<li>DESC:降序排列。</li>
|
7270
7270
|
默认按升序排列。
|
7271
7271
|
:type Order: str
|
7272
7272
|
"""
|
@@ -600,7 +600,7 @@ class LiveClient(AbstractClient):
|
|
600
600
|
def CreateRecordTask(self, request):
|
601
601
|
"""创建一个在指定时间启动、结束的录制任务,并使用指定录制模板ID对应的配置进行录制。
|
602
602
|
- 使用前提
|
603
|
-
1.
|
603
|
+
1. 录制文件存放于点播平台或对象存储内,所以用户如需使用录制功能,需首先自行开通点播服务或对象存储服务。
|
604
604
|
2. 录制文件存放后相关费用(含存储以及下行播放流量)按照点播平台计费方式收取,具体请参考[对应文档](https://cloud.tencent.com/document/product/266/2837)。
|
605
605
|
- 注意事项
|
606
606
|
1. 断流会结束当前录制并生成录制文件。在结束时间到达之前任务仍然有效,期间只要正常推流都会正常录制,与是否多次推、断流无关。
|
@@ -961,7 +961,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
961
961
|
:param _ReplicateSetNum: - 创建副本集实例,指副本集数量,该参数只能为1。
|
962
962
|
- 创建分片集群实例,指分片的数量。请通过接口[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567)查询分片数量的取值范围,其返回的数据结构SpecItems中的参数MinReplicateSetNum与MaxReplicateSetNum分别对应其最小值与最大值。
|
963
963
|
:type ReplicateSetNum: int
|
964
|
-
:param _NodeNum: -
|
964
|
+
:param _NodeNum: - 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
965
965
|
- 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
966
966
|
:type NodeNum: int
|
967
967
|
:param _MongoVersion: 指版本信息。具体支持的版本信息 ,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
@@ -1370,7 +1370,7 @@ class CreateDBInstanceRequest(AbstractModel):
|
|
1370
1370
|
|
1371
1371
|
def __init__(self):
|
1372
1372
|
r"""
|
1373
|
-
:param _NodeNum: -
|
1373
|
+
:param _NodeNum: - 创建副本集实例,指每个副本集内主从节点数量。每个副本集所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
1374
1374
|
- 创建分片集群实例,指每个分片的主从节点数量。每个分片所支持的最大节点数与最小节点数,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
1375
1375
|
:type NodeNum: int
|
1376
1376
|
:param _Memory: 实例内存大小,单位:GB。具体售卖的内存规格,请通过接口 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 获取。
|
@@ -5944,38 +5944,7 @@ class CreateServiceDiscoveryRequest(AbstractModel):
|
|
5944
5944
|
<li> 2 = PodMonitor</li>
|
5945
5945
|
<li> 3 = JobMonitor</li>
|
5946
5946
|
:type Type: int
|
5947
|
-
:param _Yaml: 服务发现配置信息,YAML
|
5948
|
-
|
5949
|
-
示例值:
|
5950
|
-
|
5951
|
-
```
|
5952
|
-
apiVersion: monitoring.coreos.com/v1
|
5953
|
-
kind: ServiceMonitor
|
5954
|
-
metadata:
|
5955
|
-
name: go-demo # 填写一个唯一名称
|
5956
|
-
namespace: cm-prometheus # namespace固定,不要修改
|
5957
|
-
spec:
|
5958
|
-
endpoints:
|
5959
|
-
- interval: 30s
|
5960
|
-
# 填写service yaml中Prometheus Exporter对应的Port的Name
|
5961
|
-
port: 2112
|
5962
|
-
# 填写Prometheus Exporter对应的Path的值,不填默认/metrics
|
5963
|
-
path: /metrics
|
5964
|
-
relabelings:
|
5965
|
-
# ** 必须要有一个 label 为 application,这里假设 k8s 有一个 label 为 app,
|
5966
|
-
# 我们通过 relabel 的 replace 动作把它替换成了 application
|
5967
|
-
- action: replace
|
5968
|
-
sourceLabels: [__meta_kubernetes_pod_label_app]
|
5969
|
-
targetLabel: application
|
5970
|
-
# 选择要监控service所在的namespace
|
5971
|
-
namespaceSelector:
|
5972
|
-
matchNames:
|
5973
|
-
- golang-demo
|
5974
|
-
# 填写要监控service的Label值,以定位目标service
|
5975
|
-
selector:
|
5976
|
-
matchLabels:
|
5977
|
-
app: golang-app-demo
|
5978
|
-
```
|
5947
|
+
:param _Yaml: 服务发现配置信息,YAML 格式,[具体YAML参数内容请参考](https://cloud.tencent.com/document/product/1416/55995#service-monitor)
|
5979
5948
|
:type Yaml: str
|
5980
5949
|
"""
|
5981
5950
|
self._InstanceId = None
|
@@ -7586,38 +7555,7 @@ class DeleteServiceDiscoveryRequest(AbstractModel):
|
|
7586
7555
|
<li> 2 = PodMonitor</li>
|
7587
7556
|
<li> 3 = PodMonitor</li>
|
7588
7557
|
:type Type: int
|
7589
|
-
:param _Yaml: 服务发现配置信息,YAML
|
7590
|
-
|
7591
|
-
示例值:
|
7592
|
-
|
7593
|
-
```
|
7594
|
-
apiVersion: monitoring.coreos.com/v1
|
7595
|
-
kind: ServiceMonitor
|
7596
|
-
metadata:
|
7597
|
-
name: go-demo # 填写一个唯一名称
|
7598
|
-
namespace: cm-prometheus # namespace固定,不要修改
|
7599
|
-
spec:
|
7600
|
-
endpoints:
|
7601
|
-
- interval: 30s
|
7602
|
-
# 填写service yaml中Prometheus Exporter对应的Port的Name
|
7603
|
-
port: 2112
|
7604
|
-
# 填写Prometheus Exporter对应的Path的值,不填默认/metrics
|
7605
|
-
path: /metrics
|
7606
|
-
relabelings:
|
7607
|
-
# ** 必须要有一个 label 为 application,这里假设 k8s 有一个 label 为 app,
|
7608
|
-
# 我们通过 relabel 的 replace 动作把它替换成了 application
|
7609
|
-
- action: replace
|
7610
|
-
sourceLabels: [__meta_kubernetes_pod_label_app]
|
7611
|
-
targetLabel: application
|
7612
|
-
# 选择要监控service所在的namespace
|
7613
|
-
namespaceSelector:
|
7614
|
-
matchNames:
|
7615
|
-
- golang-demo
|
7616
|
-
# 填写要监控service的Label值,以定位目标service
|
7617
|
-
selector:
|
7618
|
-
matchLabels:
|
7619
|
-
app: golang-app-demo
|
7620
|
-
```
|
7558
|
+
:param _Yaml: 服务发现配置信息,YAML 格式,[具体YAML参数内容请参考](https://cloud.tencent.com/document/product/1416/55995#service-monitor)
|
7621
7559
|
:type Yaml: str
|
7622
7560
|
"""
|
7623
7561
|
self._InstanceId = None
|
@@ -16526,9 +16464,9 @@ class DescribePrometheusClusterAgentsRequest(AbstractModel):
|
|
16526
16464
|
r"""
|
16527
16465
|
:param _InstanceId: 实例id
|
16528
16466
|
:type InstanceId: str
|
16529
|
-
:param _Offset:
|
16467
|
+
:param _Offset: 偏移量,默认为0。
|
16530
16468
|
:type Offset: int
|
16531
|
-
:param _Limit:
|
16469
|
+
:param _Limit: 返回数量,默认为20,最大值为100。
|
16532
16470
|
:type Limit: int
|
16533
16471
|
:param _ClusterIds: 用于通过集群id过滤被绑定集群
|
16534
16472
|
:type ClusterIds: list of str
|
@@ -17559,9 +17497,9 @@ class DescribePrometheusInstancesOverviewRequest(AbstractModel):
|
|
17559
17497
|
|
17560
17498
|
def __init__(self):
|
17561
17499
|
r"""
|
17562
|
-
:param _Offset:
|
17500
|
+
:param _Offset: 分页偏移量,默认为0
|
17563
17501
|
:type Offset: int
|
17564
|
-
:param _Limit:
|
17502
|
+
:param _Limit: 返回数量,默认为20,最大值为100
|
17565
17503
|
:type Limit: int
|
17566
17504
|
:param _Filters: 过滤实例,目前支持:
|
17567
17505
|
ID: 通过实例ID来过滤
|
@@ -18340,7 +18278,7 @@ class DescribePrometheusTargetsTMPRequest(AbstractModel):
|
|
18340
18278
|
:type ClusterType: str
|
18341
18279
|
:param _Filters: 过滤条件,支持Name=ServiceMonitor/PodMonitor/Probe/RawJob/Job, Value为采集配置名称;Name=Health, Value=up, down, unknown;Name=EndPoint, Value为EndPoint地址
|
18342
18280
|
:type Filters: list of Filter
|
18343
|
-
:param _Offset: targets
|
18281
|
+
:param _Offset: targets分页偏移量,默认为0
|
18344
18282
|
:type Offset: int
|
18345
18283
|
:param _Limit: targets返回数量,默认为20,最大值200
|
18346
18284
|
:type Limit: int
|
@@ -18478,7 +18416,7 @@ Name 按名称过滤
|
|
18478
18416
|
Describe 按描述过滤
|
18479
18417
|
ID 按templateId过滤
|
18480
18418
|
:type Filters: list of Filter
|
18481
|
-
:param _Offset:
|
18419
|
+
:param _Offset: 分页偏移量,默认为0
|
18482
18420
|
:type Offset: int
|
18483
18421
|
:param _Limit: 总数限制
|
18484
18422
|
:type Limit: int
|
@@ -31294,11 +31232,9 @@ class UpdatePrometheusAgentStatusRequest(AbstractModel):
|
|
31294
31232
|
|
31295
31233
|
def __init__(self):
|
31296
31234
|
r"""
|
31297
|
-
:param _InstanceId: Prometheus 实例 ID
|
31235
|
+
:param _InstanceId: Prometheus 实例 ID
|
31298
31236
|
:type InstanceId: str
|
31299
31237
|
:param _AgentIds: Agent ID 列表,例如:agent-abcd1234,可在控制台 Agent 管理中获取
|
31300
|
-
|
31301
|
-
示例值:["agent-abcd1234"]
|
31302
31238
|
:type AgentIds: list of str
|
31303
31239
|
:param _Status: 要更新的状态
|
31304
31240
|
<li> 1= 开启 </li>
|
@@ -31956,38 +31892,7 @@ class UpdateServiceDiscoveryRequest(AbstractModel):
|
|
31956
31892
|
<li> 2 = PodMonitor</li>
|
31957
31893
|
<li> 3 = JobMonitor</li>
|
31958
31894
|
:type Type: int
|
31959
|
-
:param _Yaml: 服务发现配置信息,YAML
|
31960
|
-
|
31961
|
-
示例值:
|
31962
|
-
|
31963
|
-
```
|
31964
|
-
apiVersion: monitoring.coreos.com/v1
|
31965
|
-
kind: ServiceMonitor
|
31966
|
-
metadata:
|
31967
|
-
name: go-demo # 填写一个唯一名称
|
31968
|
-
namespace: cm-prometheus # namespace固定,不要修改
|
31969
|
-
spec:
|
31970
|
-
endpoints:
|
31971
|
-
- interval: 30s
|
31972
|
-
# 填写service yaml中Prometheus Exporter对应的Port的Name
|
31973
|
-
port: 2112
|
31974
|
-
# 填写Prometheus Exporter对应的Path的值,不填默认/metrics
|
31975
|
-
path: /metrics
|
31976
|
-
relabelings:
|
31977
|
-
# ** 必须要有一个 label 为 application,这里假设 k8s 有一个 label 为 app,
|
31978
|
-
# 我们通过 relabel 的 replace 动作把它替换成了 application
|
31979
|
-
- action: replace
|
31980
|
-
sourceLabels: [__meta_kubernetes_pod_label_app]
|
31981
|
-
targetLabel: application
|
31982
|
-
# 选择要监控service所在的namespace
|
31983
|
-
namespaceSelector:
|
31984
|
-
matchNames:
|
31985
|
-
- golang-demo
|
31986
|
-
# 填写要监控service的Label值,以定位目标service
|
31987
|
-
selector:
|
31988
|
-
matchLabels:
|
31989
|
-
app: golang-app-demo
|
31990
|
-
```
|
31895
|
+
:param _Yaml: 服务发现配置信息,YAML 格式,[具体YAML参数内容请参考](https://cloud.tencent.com/document/product/1416/55995#service-monitor)
|
31991
31896
|
:type Yaml: str
|
31992
31897
|
"""
|
31993
31898
|
self._InstanceId = None
|
@@ -2909,7 +2909,7 @@ class MonitorClient(AbstractClient):
|
|
2909
2909
|
|
2910
2910
|
|
2911
2911
|
def ModifyPrometheusConfig(self, request):
|
2912
|
-
"""修改prometheus
|
2912
|
+
"""修改prometheus采集配置
|
2913
2913
|
|
2914
2914
|
:param request: Request instance for ModifyPrometheusConfig.
|
2915
2915
|
:type request: :class:`tencentcloud.monitor.v20180724.models.ModifyPrometheusConfigRequest`
|
@@ -380,6 +380,9 @@ class Cluster(AbstractModel):
|
|
380
380
|
:param _ResourceType: 资源类型
|
381
381
|
注意:此字段可能返回 null,表示取不到有效值。
|
382
382
|
:type ResourceType: int
|
383
|
+
:param _BillingResourceMode: 集群类型
|
384
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
385
|
+
:type BillingResourceMode: str
|
383
386
|
"""
|
384
387
|
self._ClusterId = None
|
385
388
|
self._Name = None
|
@@ -426,6 +429,7 @@ class Cluster(AbstractModel):
|
|
426
429
|
self._SubEks = None
|
427
430
|
self._AgentSerialId = None
|
428
431
|
self._ResourceType = None
|
432
|
+
self._BillingResourceMode = None
|
429
433
|
|
430
434
|
@property
|
431
435
|
def ClusterId(self):
|
@@ -787,6 +791,14 @@ class Cluster(AbstractModel):
|
|
787
791
|
def ResourceType(self, ResourceType):
|
788
792
|
self._ResourceType = ResourceType
|
789
793
|
|
794
|
+
@property
|
795
|
+
def BillingResourceMode(self):
|
796
|
+
return self._BillingResourceMode
|
797
|
+
|
798
|
+
@BillingResourceMode.setter
|
799
|
+
def BillingResourceMode(self, BillingResourceMode):
|
800
|
+
self._BillingResourceMode = BillingResourceMode
|
801
|
+
|
790
802
|
|
791
803
|
def _deserialize(self, params):
|
792
804
|
self._ClusterId = params.get("ClusterId")
|
@@ -868,6 +880,7 @@ class Cluster(AbstractModel):
|
|
868
880
|
self._SubEks._deserialize(params.get("SubEks"))
|
869
881
|
self._AgentSerialId = params.get("AgentSerialId")
|
870
882
|
self._ResourceType = params.get("ResourceType")
|
883
|
+
self._BillingResourceMode = params.get("BillingResourceMode")
|
871
884
|
memeber_set = set(params.keys())
|
872
885
|
for name, value in vars(self).items():
|
873
886
|
property_name = name[1:]
|
@@ -926,6 +939,9 @@ class ClusterGroupSetItem(AbstractModel):
|
|
926
939
|
:param _SubEks: 弹性
|
927
940
|
注意:此字段可能返回 null,表示取不到有效值。
|
928
941
|
:type SubEks: :class:`tencentcloud.oceanus.v20190422.models.SubEks`
|
942
|
+
:param _BillingResourceMode: 默认 "" 包销模式 "exclusiveSale"
|
943
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
944
|
+
:type BillingResourceMode: str
|
929
945
|
"""
|
930
946
|
self._ClusterId = None
|
931
947
|
self._Name = None
|
@@ -947,6 +963,7 @@ class ClusterGroupSetItem(AbstractModel):
|
|
947
963
|
self._RunningCu = None
|
948
964
|
self._PayMode = None
|
949
965
|
self._SubEks = None
|
966
|
+
self._BillingResourceMode = None
|
950
967
|
|
951
968
|
@property
|
952
969
|
def ClusterId(self):
|
@@ -1108,6 +1125,14 @@ class ClusterGroupSetItem(AbstractModel):
|
|
1108
1125
|
def SubEks(self, SubEks):
|
1109
1126
|
self._SubEks = SubEks
|
1110
1127
|
|
1128
|
+
@property
|
1129
|
+
def BillingResourceMode(self):
|
1130
|
+
return self._BillingResourceMode
|
1131
|
+
|
1132
|
+
@BillingResourceMode.setter
|
1133
|
+
def BillingResourceMode(self, BillingResourceMode):
|
1134
|
+
self._BillingResourceMode = BillingResourceMode
|
1135
|
+
|
1111
1136
|
|
1112
1137
|
def _deserialize(self, params):
|
1113
1138
|
self._ClusterId = params.get("ClusterId")
|
@@ -1132,6 +1157,7 @@ class ClusterGroupSetItem(AbstractModel):
|
|
1132
1157
|
if params.get("SubEks") is not None:
|
1133
1158
|
self._SubEks = SubEks()
|
1134
1159
|
self._SubEks._deserialize(params.get("SubEks"))
|
1160
|
+
self._BillingResourceMode = params.get("BillingResourceMode")
|
1135
1161
|
memeber_set = set(params.keys())
|
1136
1162
|
for name, value in vars(self).items():
|
1137
1163
|
property_name = name[1:]
|
@@ -435,7 +435,7 @@ class CheckInstanceNameResponse(AbstractModel):
|
|
435
435
|
r"""
|
436
436
|
:param _IsValidated: 检查结果,true为合法,false为非法
|
437
437
|
:type IsValidated: bool
|
438
|
-
:param _DetailCode: 1: Illegal
|
438
|
+
:param _DetailCode: 1: Illegal(名称非法), 2:Reserved(名字保留), 3:Existed(名字已存在)
|
439
439
|
注意:此字段可能返回 null,表示取不到有效值。
|
440
440
|
:type DetailCode: int
|
441
441
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -5085,7 +5085,7 @@ class CreateClusterReleaseRequest(AbstractModel):
|
|
5085
5085
|
:type Chart: str
|
5086
5086
|
:param _Values: 自定义参数
|
5087
5087
|
:type Values: :class:`tencentcloud.tke.v20180525.models.ReleaseValues`
|
5088
|
-
:param _ChartFrom: 制品来源,范围:tke-market 或 other
|
5088
|
+
:param _ChartFrom: 制品来源,范围:tke-market 或 other默认值:tke-market。
|
5089
5089
|
:type ChartFrom: str
|
5090
5090
|
:param _ChartVersion: 制品版本
|
5091
5091
|
:type ChartVersion: str
|
@@ -5095,7 +5095,7 @@ class CreateClusterReleaseRequest(AbstractModel):
|
|
5095
5095
|
:type Username: str
|
5096
5096
|
:param _Password: 制品访问密码
|
5097
5097
|
:type Password: str
|
5098
|
-
:param _ChartNamespace:
|
5098
|
+
:param _ChartNamespace: 制品命名空间,ChartFrom为tke-market时ChartNamespace不为空,值为DescribeProducts接口反馈的Namespace
|
5099
5099
|
:type ChartNamespace: str
|
5100
5100
|
:param _ClusterType: 集群类型,支持传 tke, eks, tkeedge, external(注册集群)
|
5101
5101
|
:type ClusterType: str
|
@@ -39204,7 +39204,7 @@ class UpgradeClusterReleaseRequest(AbstractModel):
|
|
39204
39204
|
:type Chart: str
|
39205
39205
|
:param _Values: 自定义参数,覆盖chart 中values.yaml 中的参数
|
39206
39206
|
:type Values: :class:`tencentcloud.tke.v20180525.models.ReleaseValues`
|
39207
|
-
:param _ChartFrom: 制品来源,范围:tke-market 或 other默认值:tke-market
|
39207
|
+
:param _ChartFrom: 制品来源,范围:tke-market 或 other 默认值:tke-market,示例值:tke-market
|
39208
39208
|
:type ChartFrom: str
|
39209
39209
|
:param _ChartVersion: 制品版本( 从第三方安装时,不传这个参数)
|
39210
39210
|
:type ChartVersion: str
|
@@ -39214,7 +39214,7 @@ class UpgradeClusterReleaseRequest(AbstractModel):
|
|
39214
39214
|
:type Username: str
|
39215
39215
|
:param _Password: 制品访问密码
|
39216
39216
|
:type Password: str
|
39217
|
-
:param _ChartNamespace:
|
39217
|
+
:param _ChartNamespace: 制品命名空间,ChartFrom为tke-market时ChartNamespace不为空,值为DescribeProducts接口反馈的Namespace
|
39218
39218
|
:type ChartNamespace: str
|
39219
39219
|
:param _ClusterType: 集群类型,支持传 tke, eks, tkeedge, external(注册集群)
|
39220
39220
|
:type ClusterType: str
|
@@ -9372,7 +9372,7 @@ class StartStreamIngestRequest(AbstractModel):
|
|
9372
9372
|
:type UserId: str
|
9373
9373
|
:param _UserSig: 输入在线媒体流机器人UserId对应的校验签名,即UserId和UserSig相当于机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
9374
9374
|
:type UserSig: str
|
9375
|
-
:param _StreamUrl: 源流URL
|
9375
|
+
:param _StreamUrl: 源流URL【必填】。如果是视频流,分辨率请保持不变。
|
9376
9376
|
:type StreamUrl: str
|
9377
9377
|
:param _PrivateMapKey: TRTC房间权限加密串,只有在TRTC控制台启用了高级权限控制的时候需要携带,在TRTC控制台如果开启高级权限控制后,TRTC 的后台服务系统会校验一个叫做 [PrivateMapKey] 的“权限票据”,权限票据中包含了一个加密后的 RoomId 和一个加密后的“权限位列表”。由于 PrivateMapKey 中包含 RoomId,所以只提供了 UserSig 没有提供 PrivateMapKey 时,并不能进入指定的房间。
|
9378
9378
|
:type PrivateMapKey: str
|
@@ -1283,9 +1283,8 @@ class TrtcClient(AbstractClient):
|
|
1283
1283
|
|
1284
1284
|
|
1285
1285
|
def StartStreamIngest(self, request):
|
1286
|
-
"""将一个在线媒体流推到TRTC
|
1287
|
-
|
1288
|
-
)
|
1286
|
+
"""将一个在线媒体流推到TRTC房间,更多功能说明见[输入媒体流进房](https://cloud.tencent.com/document/product/647/102957#50940aad-d90f-4473-9f46-d5dd46917653)。
|
1287
|
+
使用输入在线媒体流功能需先订阅 [尊享版或旗舰版套餐包](https://cloud.tencent.com/document/product/647/85386) 解锁能力位。
|
1289
1288
|
|
1290
1289
|
:param request: Request instance for StartStreamIngest.
|
1291
1290
|
:type request: :class:`tencentcloud.trtc.v20190722.models.StartStreamIngestRequest`
|