tencentcloud-sdk-python 3.0.1477__py2.py3-none-any.whl → 3.0.1479__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +129 -0
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/csip/v20221121/models.py +84 -0
- tencentcloud/dbbrain/v20210527/models.py +12 -12
- tencentcloud/dts/v20211206/dts_client.py +8 -8
- tencentcloud/dts/v20211206/errorcodes.py +9 -0
- tencentcloud/dts/v20211206/models.py +259 -104
- tencentcloud/es/v20180416/models.py +150 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/essbasic/v20210526/models.py +4 -12
- tencentcloud/gaap/v20180529/models.py +17 -2
- tencentcloud/ioa/v20220601/errorcodes.py +3 -0
- tencentcloud/ioa/v20220601/ioa_client.py +23 -0
- tencentcloud/ioa/v20220601/models.py +224 -0
- tencentcloud/lighthouse/v20200324/models.py +71 -0
- tencentcloud/monitor/v20180724/models.py +182 -2
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +56 -10
- tencentcloud/oceanus/v20190422/models.py +2 -2
- tencentcloud/ocr/v20181119/ocr_client.py +15 -5
- tencentcloud/rum/v20210622/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +22 -14
- tencentcloud/tke/v20180525/models.py +116 -4
- tencentcloud/tmt/v20180321/models.py +139 -0
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +1824 -252
- tencentcloud/vpc/v20170312/vpc_client.py +276 -0
- tencentcloud/wedata/v20250806/models.py +71 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/RECORD +36 -36
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1477.dist-info → tencentcloud_sdk_python-3.0.1479.dist-info}/top_level.txt +0 -0
|
@@ -601,7 +601,7 @@ class AccelerationDomainCertificate(AbstractModel):
|
|
|
601
601
|
|
|
602
602
|
def __init__(self):
|
|
603
603
|
r"""
|
|
604
|
-
:param _Mode:
|
|
604
|
+
:param _Mode: 配置服务端证书的模式,取值有: <ul><li>disable:不配置服务端证书;</li> <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437) - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。 - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li> <ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li> </ul> <li>sslcert:配置 SSL 托管服务端证书。</li></ul>
|
|
605
605
|
:type Mode: str
|
|
606
606
|
:param _List: 服务端证书列表,相关证书部署在 EO 的入口侧。
|
|
607
607
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -618,7 +618,7 @@ class AccelerationDomainCertificate(AbstractModel):
|
|
|
618
618
|
|
|
619
619
|
@property
|
|
620
620
|
def Mode(self):
|
|
621
|
-
r"""
|
|
621
|
+
r"""配置服务端证书的模式,取值有: <ul><li>disable:不配置服务端证书;</li> <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437) - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。 - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li> <ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li> </ul> <li>sslcert:配置 SSL 托管服务端证书。</li></ul>
|
|
622
622
|
:rtype: str
|
|
623
623
|
"""
|
|
624
624
|
return self._Mode
|
|
@@ -27869,7 +27869,7 @@ class DnsRecord(AbstractModel):
|
|
|
27869
27869
|
|
|
27870
27870
|
|
|
27871
27871
|
class DnsVerification(AbstractModel):
|
|
27872
|
-
r"""CNAME
|
|
27872
|
+
r"""站点 CNAME 模式接入验证归属权或域名申请免费证书时,使用 DNS 解析验证时所需的信息。
|
|
27873
27873
|
|
|
27874
27874
|
"""
|
|
27875
27875
|
|
|
@@ -29858,13 +29858,13 @@ class FileAscriptionInfo(AbstractModel):
|
|
|
29858
29858
|
|
|
29859
29859
|
|
|
29860
29860
|
class FileVerification(AbstractModel):
|
|
29861
|
-
r"""CNAME
|
|
29861
|
+
r"""站点 CNAME 模式接入验证归属权或域名申请免费证书时,使用 HTTP 访问验证文件时所需的信息。
|
|
29862
29862
|
|
|
29863
29863
|
"""
|
|
29864
29864
|
|
|
29865
29865
|
def __init__(self):
|
|
29866
29866
|
r"""
|
|
29867
|
-
:param _Path: EdgeOne 后台服务器将通过
|
|
29867
|
+
:param _Path: EdgeOne 后台服务器将通过 http://{Host}{URL Path} 的格式(例如 http://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。其中,本字段为您需要创建的 URL Path 部分,Host 为当前加速域名。
|
|
29868
29868
|
:type Path: str
|
|
29869
29869
|
:param _Content: 验证文件的内容。该字段的内容需要您填写至 Path 字段返回的 txt 文件中。
|
|
29870
29870
|
:type Content: str
|
|
@@ -29874,7 +29874,7 @@ class FileVerification(AbstractModel):
|
|
|
29874
29874
|
|
|
29875
29875
|
@property
|
|
29876
29876
|
def Path(self):
|
|
29877
|
-
r"""EdgeOne 后台服务器将通过
|
|
29877
|
+
r"""EdgeOne 后台服务器将通过 http://{Host}{URL Path} 的格式(例如 http://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。其中,本字段为您需要创建的 URL Path 部分,Host 为当前加速域名。
|
|
29878
29878
|
:rtype: str
|
|
29879
29879
|
"""
|
|
29880
29880
|
return self._Path
|
|
@@ -37680,10 +37680,14 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
37680
37680
|
:param _Hosts: 需要修改证书配置的加速域名。
|
|
37681
37681
|
:type Hosts: list of str
|
|
37682
37682
|
:param _Mode: 配置服务端证书的模式,取值有:
|
|
37683
|
-
<li>disable:不配置服务端证书;</li>
|
|
37684
|
-
<li>eofreecert
|
|
37685
|
-
|
|
37686
|
-
|
|
37683
|
+
<ul><li>disable:不配置服务端证书;</li>
|
|
37684
|
+
<li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437)
|
|
37685
|
+
|
|
37686
|
+
- 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。
|
|
37687
|
+
- 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li>
|
|
37688
|
+
</ul><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li>
|
|
37689
|
+
<ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li>
|
|
37690
|
+
</ul><li>sslcert:配置 SSL 托管服务端证书。</li>
|
|
37687
37691
|
:type Mode: str
|
|
37688
37692
|
:param _ServerCertInfo: SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
|
37689
37693
|
:type ServerCertInfo: list of ServerCertInfo
|
|
@@ -37730,10 +37734,14 @@ class ModifyHostsCertificateRequest(AbstractModel):
|
|
|
37730
37734
|
@property
|
|
37731
37735
|
def Mode(self):
|
|
37732
37736
|
r"""配置服务端证书的模式,取值有:
|
|
37733
|
-
<li>disable:不配置服务端证书;</li>
|
|
37734
|
-
<li>eofreecert
|
|
37735
|
-
|
|
37736
|
-
|
|
37737
|
+
<ul><li>disable:不配置服务端证书;</li>
|
|
37738
|
+
<li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437)
|
|
37739
|
+
|
|
37740
|
+
- 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。
|
|
37741
|
+
- 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li>
|
|
37742
|
+
</ul><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li>
|
|
37743
|
+
<ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li>
|
|
37744
|
+
</ul><li>sslcert:配置 SSL 托管服务端证书。</li>
|
|
37737
37745
|
:rtype: str
|
|
37738
37746
|
"""
|
|
37739
37747
|
return self._Mode
|
|
@@ -35095,7 +35095,7 @@ class ModifyOpenPolicyListRequest(AbstractModel):
|
|
|
35095
35095
|
|
|
35096
35096
|
def __init__(self):
|
|
35097
35097
|
r"""
|
|
35098
|
-
:param _ClusterId: 集群ID
|
|
35098
|
+
:param _ClusterId: 集群ID,请从容器服务集群控制台获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
35099
35099
|
:type ClusterId: str
|
|
35100
35100
|
:param _OpenPolicyInfoList: 修改的策略列表,目前仅支持修改EnforcementAction字段
|
|
35101
35101
|
:type OpenPolicyInfoList: list of OpenPolicySwitch
|
|
@@ -35108,7 +35108,7 @@ class ModifyOpenPolicyListRequest(AbstractModel):
|
|
|
35108
35108
|
|
|
35109
35109
|
@property
|
|
35110
35110
|
def ClusterId(self):
|
|
35111
|
-
r"""集群ID
|
|
35111
|
+
r"""集群ID,请从容器服务集群控制台获取(https://console.cloud.tencent.com/tke2/cluster)。
|
|
35112
35112
|
:rtype: str
|
|
35113
35113
|
"""
|
|
35114
35114
|
return self._ClusterId
|
|
@@ -37245,7 +37245,63 @@ class OpenPolicySwitch(AbstractModel):
|
|
|
37245
37245
|
:type EnforcementAction: str
|
|
37246
37246
|
:param _Name: 策略英文名称
|
|
37247
37247
|
:type Name: str
|
|
37248
|
-
:param _Kind:
|
|
37248
|
+
:param _Kind: 策略模板类型,可选值:
|
|
37249
|
+
优选策略:
|
|
37250
|
+
blocknamespacedeletion:存在pod的命名空间不允许删除
|
|
37251
|
+
blockcrddeletion:存在cr的crd不允许删除
|
|
37252
|
+
blockmountablevolumetype:禁止挂载指定的volume类型
|
|
37253
|
+
disallowalwayspullimage:禁止镜像拉取策略使用Always
|
|
37254
|
+
tkeallowedrepos:容器镜像来源限制
|
|
37255
|
+
blockunknowndaemonset:禁止未知的DaemonSet部署
|
|
37256
|
+
blockpvdeletion:PV处于绑定状态则不允许删除
|
|
37257
|
+
corednsprotect:CoreDNS组件删除保护
|
|
37258
|
+
blockschedulablenodedelete:非封锁状态的Node不允许删除
|
|
37259
|
+
resourcesdeletionprotection:资源删除保护
|
|
37260
|
+
tkeenirequest:弹性网卡资源配置限制
|
|
37261
|
+
blockworkloadcrossversionupgrade:工作负载镜像版本升级策略管控
|
|
37262
|
+
blockserviceaccountgranthighprivilegepermission:ServiceAccount权限管控
|
|
37263
|
+
blockclusteripserviceexist:不允许Service为ClusterIP类型
|
|
37264
|
+
blockinternetaccess:禁止公网访问
|
|
37265
|
+
assign:禁止访问Metadata Server
|
|
37266
|
+
blockhostnetworkpod:禁止创建HostNetwork类型Pod
|
|
37267
|
+
|
|
37268
|
+
可选策略:
|
|
37269
|
+
blockvolumemountpath:禁止容器挂载指定的目录
|
|
37270
|
+
k8sallowedrepos:容器镜像必须以指定字符串列表中的字符串开头
|
|
37271
|
+
k8sblockendpointeditdefaultrole:禁止默认ClusterRole修改Endpoints
|
|
37272
|
+
k8sblockloadbalancer:不允许Service为LoadBalancer类型
|
|
37273
|
+
k8sblocknodeport:不允许Service为NodePort类型
|
|
37274
|
+
k8sblockwildcardingress:禁止ingress配置空白或通配符类型的hostname
|
|
37275
|
+
k8scontainerlimits:限制容器必须设置CPU和内存Limit
|
|
37276
|
+
k8scontainerratios:限制CPU和内存的Request与Limit的最大比率
|
|
37277
|
+
k8scontainerrequests:限制CPU和内存的Request必须设置且小于配置的最大值
|
|
37278
|
+
k8srequiredresources:必须配置内存的Limit,CPU和内存的Request
|
|
37279
|
+
k8sdisallowanonymous:不允许将白名单以外的ClusterRole和Role关联到system:anonymous User和system:unauthenticated Group
|
|
37280
|
+
k8sdisallowedtags:约束容器镜像tag
|
|
37281
|
+
k8sexternalips:限制服务externalIP仅为允许的IP地址列表
|
|
37282
|
+
k8simagedigests:容器镜像必须包含digest
|
|
37283
|
+
noupdateserviceaccount:拒绝白名单外的资源更新ServiceAccount
|
|
37284
|
+
k8sreplicalimits:要求具有spec.replicas字段的对象(Deployments、ReplicaSets等)在定义的范围内
|
|
37285
|
+
k8srequiredannotations:要求资源包含指定的annotations,其值与提供的正则表达式匹配
|
|
37286
|
+
k8srequiredlabels:要求资源包含指定的标签,其值与提供的正则表达式匹配
|
|
37287
|
+
k8srequiredprobes:要求Pod具有Readiness或Liveness Probe
|
|
37288
|
+
k8spspautomountserviceaccounttokenpod:约束容器不能设置automountServiceAccountToken为true
|
|
37289
|
+
k8spspallowprivilegeescalationcontainer:约束PodSecurityPolicy中的allowPrivilegeEscalation字段为false
|
|
37290
|
+
k8spspapparmor:约束AppArmor字段列表
|
|
37291
|
+
k8spspcapabilities:限制PodSecurityPolicy中的allowedCapabilities和requiredDropCapabilities字段
|
|
37292
|
+
k8spspflexvolumes:约束PodSecurityPolicy中的allowedFlexVolumes字段类型
|
|
37293
|
+
k8spspforbiddensysctls:约束PodSecurityPolicy中的sysctls字段不能使用的name
|
|
37294
|
+
k8spspfsgroup:控制PodSecurityPolicy中的fsGroup字段在限制范围内
|
|
37295
|
+
k8spsphostfilesystem:约束PodSecurityPolicy中的hostPath字段的参数
|
|
37296
|
+
k8spsphostnamespace:限制PodSecurityPolicy中的hostPID和hostIPC字段
|
|
37297
|
+
k8spsphostnetworkingports:约束PodSecurityPolicy中的hostNetwork和hostPorts字段
|
|
37298
|
+
k8spspprivilegedcontainer:禁止PodSecurityPolicy中的privileged字段为true
|
|
37299
|
+
k8spspprocmount:约束PodSecurityPolicy中的allowedProcMountTypes字段
|
|
37300
|
+
k8spspreadonlyrootfilesystem:约束PodSecurityPolicy中的readOnlyRootFilesystem字段
|
|
37301
|
+
k8spspseccomp:约束PodSecurityPolicy上的seccomp.security.alpha.kubernetes.io/allowedProfileNames注解
|
|
37302
|
+
k8spspselinuxv2:约束Pod定义SELinux配置的允许列表
|
|
37303
|
+
k8spspallowedusers:约束PodSecurityPolicy中的runAsUser、runAsGroup、supplementalGroups和fsGroup字段
|
|
37304
|
+
k8spspvolumetypes:约束PodSecurityPolicy中的volumes字段类型
|
|
37249
37305
|
:type Kind: str
|
|
37250
37306
|
:param _EnabledStatus: 策略开关状态:open打开,close关闭
|
|
37251
37307
|
:type EnabledStatus: str
|
|
@@ -37282,7 +37338,63 @@ class OpenPolicySwitch(AbstractModel):
|
|
|
37282
37338
|
|
|
37283
37339
|
@property
|
|
37284
37340
|
def Kind(self):
|
|
37285
|
-
r"""
|
|
37341
|
+
r"""策略模板类型,可选值:
|
|
37342
|
+
优选策略:
|
|
37343
|
+
blocknamespacedeletion:存在pod的命名空间不允许删除
|
|
37344
|
+
blockcrddeletion:存在cr的crd不允许删除
|
|
37345
|
+
blockmountablevolumetype:禁止挂载指定的volume类型
|
|
37346
|
+
disallowalwayspullimage:禁止镜像拉取策略使用Always
|
|
37347
|
+
tkeallowedrepos:容器镜像来源限制
|
|
37348
|
+
blockunknowndaemonset:禁止未知的DaemonSet部署
|
|
37349
|
+
blockpvdeletion:PV处于绑定状态则不允许删除
|
|
37350
|
+
corednsprotect:CoreDNS组件删除保护
|
|
37351
|
+
blockschedulablenodedelete:非封锁状态的Node不允许删除
|
|
37352
|
+
resourcesdeletionprotection:资源删除保护
|
|
37353
|
+
tkeenirequest:弹性网卡资源配置限制
|
|
37354
|
+
blockworkloadcrossversionupgrade:工作负载镜像版本升级策略管控
|
|
37355
|
+
blockserviceaccountgranthighprivilegepermission:ServiceAccount权限管控
|
|
37356
|
+
blockclusteripserviceexist:不允许Service为ClusterIP类型
|
|
37357
|
+
blockinternetaccess:禁止公网访问
|
|
37358
|
+
assign:禁止访问Metadata Server
|
|
37359
|
+
blockhostnetworkpod:禁止创建HostNetwork类型Pod
|
|
37360
|
+
|
|
37361
|
+
可选策略:
|
|
37362
|
+
blockvolumemountpath:禁止容器挂载指定的目录
|
|
37363
|
+
k8sallowedrepos:容器镜像必须以指定字符串列表中的字符串开头
|
|
37364
|
+
k8sblockendpointeditdefaultrole:禁止默认ClusterRole修改Endpoints
|
|
37365
|
+
k8sblockloadbalancer:不允许Service为LoadBalancer类型
|
|
37366
|
+
k8sblocknodeport:不允许Service为NodePort类型
|
|
37367
|
+
k8sblockwildcardingress:禁止ingress配置空白或通配符类型的hostname
|
|
37368
|
+
k8scontainerlimits:限制容器必须设置CPU和内存Limit
|
|
37369
|
+
k8scontainerratios:限制CPU和内存的Request与Limit的最大比率
|
|
37370
|
+
k8scontainerrequests:限制CPU和内存的Request必须设置且小于配置的最大值
|
|
37371
|
+
k8srequiredresources:必须配置内存的Limit,CPU和内存的Request
|
|
37372
|
+
k8sdisallowanonymous:不允许将白名单以外的ClusterRole和Role关联到system:anonymous User和system:unauthenticated Group
|
|
37373
|
+
k8sdisallowedtags:约束容器镜像tag
|
|
37374
|
+
k8sexternalips:限制服务externalIP仅为允许的IP地址列表
|
|
37375
|
+
k8simagedigests:容器镜像必须包含digest
|
|
37376
|
+
noupdateserviceaccount:拒绝白名单外的资源更新ServiceAccount
|
|
37377
|
+
k8sreplicalimits:要求具有spec.replicas字段的对象(Deployments、ReplicaSets等)在定义的范围内
|
|
37378
|
+
k8srequiredannotations:要求资源包含指定的annotations,其值与提供的正则表达式匹配
|
|
37379
|
+
k8srequiredlabels:要求资源包含指定的标签,其值与提供的正则表达式匹配
|
|
37380
|
+
k8srequiredprobes:要求Pod具有Readiness或Liveness Probe
|
|
37381
|
+
k8spspautomountserviceaccounttokenpod:约束容器不能设置automountServiceAccountToken为true
|
|
37382
|
+
k8spspallowprivilegeescalationcontainer:约束PodSecurityPolicy中的allowPrivilegeEscalation字段为false
|
|
37383
|
+
k8spspapparmor:约束AppArmor字段列表
|
|
37384
|
+
k8spspcapabilities:限制PodSecurityPolicy中的allowedCapabilities和requiredDropCapabilities字段
|
|
37385
|
+
k8spspflexvolumes:约束PodSecurityPolicy中的allowedFlexVolumes字段类型
|
|
37386
|
+
k8spspforbiddensysctls:约束PodSecurityPolicy中的sysctls字段不能使用的name
|
|
37387
|
+
k8spspfsgroup:控制PodSecurityPolicy中的fsGroup字段在限制范围内
|
|
37388
|
+
k8spsphostfilesystem:约束PodSecurityPolicy中的hostPath字段的参数
|
|
37389
|
+
k8spsphostnamespace:限制PodSecurityPolicy中的hostPID和hostIPC字段
|
|
37390
|
+
k8spsphostnetworkingports:约束PodSecurityPolicy中的hostNetwork和hostPorts字段
|
|
37391
|
+
k8spspprivilegedcontainer:禁止PodSecurityPolicy中的privileged字段为true
|
|
37392
|
+
k8spspprocmount:约束PodSecurityPolicy中的allowedProcMountTypes字段
|
|
37393
|
+
k8spspreadonlyrootfilesystem:约束PodSecurityPolicy中的readOnlyRootFilesystem字段
|
|
37394
|
+
k8spspseccomp:约束PodSecurityPolicy上的seccomp.security.alpha.kubernetes.io/allowedProfileNames注解
|
|
37395
|
+
k8spspselinuxv2:约束Pod定义SELinux配置的允许列表
|
|
37396
|
+
k8spspallowedusers:约束PodSecurityPolicy中的runAsUser、runAsGroup、supplementalGroups和fsGroup字段
|
|
37397
|
+
k8spspvolumetypes:约束PodSecurityPolicy中的volumes字段类型
|
|
37286
37398
|
:rtype: str
|
|
37287
37399
|
"""
|
|
37288
37400
|
return self._Kind
|
|
@@ -99,6 +99,57 @@ class BoundingBox(AbstractModel):
|
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
|
|
102
|
+
class Coord(AbstractModel):
|
|
103
|
+
r"""坐标详细信息
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
def __init__(self):
|
|
108
|
+
r"""
|
|
109
|
+
:param _X: X坐标
|
|
110
|
+
:type X: int
|
|
111
|
+
:param _Y: Y坐标
|
|
112
|
+
:type Y: int
|
|
113
|
+
"""
|
|
114
|
+
self._X = None
|
|
115
|
+
self._Y = None
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def X(self):
|
|
119
|
+
r"""X坐标
|
|
120
|
+
:rtype: int
|
|
121
|
+
"""
|
|
122
|
+
return self._X
|
|
123
|
+
|
|
124
|
+
@X.setter
|
|
125
|
+
def X(self, X):
|
|
126
|
+
self._X = X
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def Y(self):
|
|
130
|
+
r"""Y坐标
|
|
131
|
+
:rtype: int
|
|
132
|
+
"""
|
|
133
|
+
return self._Y
|
|
134
|
+
|
|
135
|
+
@Y.setter
|
|
136
|
+
def Y(self, Y):
|
|
137
|
+
self._Y = Y
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
def _deserialize(self, params):
|
|
141
|
+
self._X = params.get("X")
|
|
142
|
+
self._Y = params.get("Y")
|
|
143
|
+
memeber_set = set(params.keys())
|
|
144
|
+
for name, value in vars(self).items():
|
|
145
|
+
property_name = name[1:]
|
|
146
|
+
if property_name in memeber_set:
|
|
147
|
+
memeber_set.remove(property_name)
|
|
148
|
+
if len(memeber_set) > 0:
|
|
149
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
102
153
|
class FileTranslateRequest(AbstractModel):
|
|
103
154
|
r"""FileTranslate请求参数结构体
|
|
104
155
|
|
|
@@ -1284,6 +1335,77 @@ class LanguageDetectResponse(AbstractModel):
|
|
|
1284
1335
|
self._RequestId = params.get("RequestId")
|
|
1285
1336
|
|
|
1286
1337
|
|
|
1338
|
+
class RotateParagraphRect(AbstractModel):
|
|
1339
|
+
r"""段落文本旋转信息
|
|
1340
|
+
|
|
1341
|
+
"""
|
|
1342
|
+
|
|
1343
|
+
def __init__(self):
|
|
1344
|
+
r"""
|
|
1345
|
+
:param _Coord: 段落文本坐标
|
|
1346
|
+
:type Coord: list of Coord
|
|
1347
|
+
:param _TiltAngle: 旋转角度
|
|
1348
|
+
:type TiltAngle: float
|
|
1349
|
+
:param _Valid: 段落文本信息是否有效
|
|
1350
|
+
:type Valid: bool
|
|
1351
|
+
"""
|
|
1352
|
+
self._Coord = None
|
|
1353
|
+
self._TiltAngle = None
|
|
1354
|
+
self._Valid = None
|
|
1355
|
+
|
|
1356
|
+
@property
|
|
1357
|
+
def Coord(self):
|
|
1358
|
+
r"""段落文本坐标
|
|
1359
|
+
:rtype: list of Coord
|
|
1360
|
+
"""
|
|
1361
|
+
return self._Coord
|
|
1362
|
+
|
|
1363
|
+
@Coord.setter
|
|
1364
|
+
def Coord(self, Coord):
|
|
1365
|
+
self._Coord = Coord
|
|
1366
|
+
|
|
1367
|
+
@property
|
|
1368
|
+
def TiltAngle(self):
|
|
1369
|
+
r"""旋转角度
|
|
1370
|
+
:rtype: float
|
|
1371
|
+
"""
|
|
1372
|
+
return self._TiltAngle
|
|
1373
|
+
|
|
1374
|
+
@TiltAngle.setter
|
|
1375
|
+
def TiltAngle(self, TiltAngle):
|
|
1376
|
+
self._TiltAngle = TiltAngle
|
|
1377
|
+
|
|
1378
|
+
@property
|
|
1379
|
+
def Valid(self):
|
|
1380
|
+
r"""段落文本信息是否有效
|
|
1381
|
+
:rtype: bool
|
|
1382
|
+
"""
|
|
1383
|
+
return self._Valid
|
|
1384
|
+
|
|
1385
|
+
@Valid.setter
|
|
1386
|
+
def Valid(self, Valid):
|
|
1387
|
+
self._Valid = Valid
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
def _deserialize(self, params):
|
|
1391
|
+
if params.get("Coord") is not None:
|
|
1392
|
+
self._Coord = []
|
|
1393
|
+
for item in params.get("Coord"):
|
|
1394
|
+
obj = Coord()
|
|
1395
|
+
obj._deserialize(item)
|
|
1396
|
+
self._Coord.append(obj)
|
|
1397
|
+
self._TiltAngle = params.get("TiltAngle")
|
|
1398
|
+
self._Valid = params.get("Valid")
|
|
1399
|
+
memeber_set = set(params.keys())
|
|
1400
|
+
for name, value in vars(self).items():
|
|
1401
|
+
property_name = name[1:]
|
|
1402
|
+
if property_name in memeber_set:
|
|
1403
|
+
memeber_set.remove(property_name)
|
|
1404
|
+
if len(memeber_set) > 0:
|
|
1405
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
1287
1409
|
class SpeechTranslateRequest(AbstractModel):
|
|
1288
1410
|
r"""SpeechTranslate请求参数结构体
|
|
1289
1411
|
|
|
@@ -2231,6 +2353,8 @@ class TransDetail(AbstractModel):
|
|
|
2231
2353
|
:type LineHeight: int
|
|
2232
2354
|
:param _SpamCode: 正常段落spam_code字段为0;如果存在spam_code字段且值大于0(1: 命中垃圾检查;2: 命中安全策略;3: 其他。),则命中安全检查被过滤。
|
|
2233
2355
|
:type SpamCode: int
|
|
2356
|
+
:param _RotateParagraphRect: 段落文本旋转信息,只在valid为true时表示坐标有效
|
|
2357
|
+
:type RotateParagraphRect: :class:`tencentcloud.tmt.v20180321.models.RotateParagraphRect`
|
|
2234
2358
|
"""
|
|
2235
2359
|
self._SourceLineText = None
|
|
2236
2360
|
self._TargetLineText = None
|
|
@@ -2238,6 +2362,7 @@ class TransDetail(AbstractModel):
|
|
|
2238
2362
|
self._LinesCount = None
|
|
2239
2363
|
self._LineHeight = None
|
|
2240
2364
|
self._SpamCode = None
|
|
2365
|
+
self._RotateParagraphRect = None
|
|
2241
2366
|
|
|
2242
2367
|
@property
|
|
2243
2368
|
def SourceLineText(self):
|
|
@@ -2305,6 +2430,17 @@ class TransDetail(AbstractModel):
|
|
|
2305
2430
|
def SpamCode(self, SpamCode):
|
|
2306
2431
|
self._SpamCode = SpamCode
|
|
2307
2432
|
|
|
2433
|
+
@property
|
|
2434
|
+
def RotateParagraphRect(self):
|
|
2435
|
+
r"""段落文本旋转信息,只在valid为true时表示坐标有效
|
|
2436
|
+
:rtype: :class:`tencentcloud.tmt.v20180321.models.RotateParagraphRect`
|
|
2437
|
+
"""
|
|
2438
|
+
return self._RotateParagraphRect
|
|
2439
|
+
|
|
2440
|
+
@RotateParagraphRect.setter
|
|
2441
|
+
def RotateParagraphRect(self, RotateParagraphRect):
|
|
2442
|
+
self._RotateParagraphRect = RotateParagraphRect
|
|
2443
|
+
|
|
2308
2444
|
|
|
2309
2445
|
def _deserialize(self, params):
|
|
2310
2446
|
self._SourceLineText = params.get("SourceLineText")
|
|
@@ -2315,6 +2451,9 @@ class TransDetail(AbstractModel):
|
|
|
2315
2451
|
self._LinesCount = params.get("LinesCount")
|
|
2316
2452
|
self._LineHeight = params.get("LineHeight")
|
|
2317
2453
|
self._SpamCode = params.get("SpamCode")
|
|
2454
|
+
if params.get("RotateParagraphRect") is not None:
|
|
2455
|
+
self._RotateParagraphRect = RotateParagraphRect()
|
|
2456
|
+
self._RotateParagraphRect._deserialize(params.get("RotateParagraphRect"))
|
|
2318
2457
|
memeber_set = set(params.keys())
|
|
2319
2458
|
for name, value in vars(self).items():
|
|
2320
2459
|
property_name = name[1:]
|
|
@@ -353,6 +353,9 @@ INVALIDPARAMETERVALUE_MISSINGASSOCIATEENTITY = 'InvalidParameterValue.MissingAss
|
|
|
353
353
|
# 集群类型不同的IP不可在同一请求中。
|
|
354
354
|
INVALIDPARAMETERVALUE_MIXEDADDRESSIPSETTYPE = 'InvalidParameterValue.MixedAddressIpSetType'
|
|
355
355
|
|
|
356
|
+
# 缺少参数,至少提供一个。
|
|
357
|
+
INVALIDPARAMETERVALUE_MUSTHASONE = 'InvalidParameterValue.MustHasOne'
|
|
358
|
+
|
|
356
359
|
# NAT网关的DNAT转换规则已存在。
|
|
357
360
|
INVALIDPARAMETERVALUE_NATGATEWAYDNATRULEEXISTED = 'InvalidParameterValue.NatGatewayDnatRuleExisted'
|
|
358
361
|
|
|
@@ -443,6 +446,9 @@ INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = 'InvalidParameterValue.ResourceNotSup
|
|
|
443
446
|
# 自定义路由的下一跳参数不正确。
|
|
444
447
|
INVALIDPARAMETERVALUE_ROUTENEXTHOPINVALID = 'InvalidParameterValue.RouteNextHopInvalid'
|
|
445
448
|
|
|
449
|
+
# 路由策略绑定规则已经存在。
|
|
450
|
+
INVALIDPARAMETERVALUE_ROUTEPOLICYASSOCIATIONEXISTS = 'InvalidParameterValue.RoutePolicyAssociationExists'
|
|
451
|
+
|
|
446
452
|
# 指定的优先级之间冲突或与已存在的优先级冲突。
|
|
447
453
|
INVALIDPARAMETERVALUE_ROUTEPOLICYPRIORITYCONFLICT = 'InvalidParameterValue.RoutePolicyPriorityConflict'
|
|
448
454
|
|
|
@@ -1268,6 +1274,9 @@ UNSUPPORTEDOPERATION_RESOURCEPROCESSING = 'UnsupportedOperation.ResourceProcessi
|
|
|
1268
1274
|
# 未找到相关角色,请确认角色是否授权。
|
|
1269
1275
|
UNSUPPORTEDOPERATION_ROLENOTFOUND = 'UnsupportedOperation.RoleNotFound'
|
|
1270
1276
|
|
|
1277
|
+
# 路由策略被关联到路由表,不支持删除。
|
|
1278
|
+
UNSUPPORTEDOPERATION_ROUTEPOLICYASSOCIATION = 'UnsupportedOperation.RoutePolicyAssociation'
|
|
1279
|
+
|
|
1271
1280
|
# 只支持自研VPC创建或修改PVGW2类型路由。
|
|
1272
1281
|
UNSUPPORTEDOPERATION_ROUTEPVGW2 = 'UnsupportedOperation.RoutePvgw2'
|
|
1273
1282
|
|