tencentcloud-sdk-python 3.0.1423__py2.py3-none-any.whl → 3.0.1425__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/ai3d/v20250513/models.py +2 -2
- tencentcloud/aiart/v20221229/models.py +2 -2
- tencentcloud/batch/v20170312/errorcodes.py +3 -0
- tencentcloud/cbs/v20170312/errorcodes.py +3 -0
- tencentcloud/ccc/v20200210/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +4 -4
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/cfs/v20190719/models.py +90 -0
- tencentcloud/csip/v20221121/models.py +32 -2
- tencentcloud/ctem/v20231128/ctem_client.py +92 -0
- tencentcloud/ctem/v20231128/models.py +2739 -1053
- tencentcloud/cwp/v20180228/models.py +15 -0
- tencentcloud/cynosdb/v20190107/models.py +45 -0
- tencentcloud/eb/v20210416/models.py +8 -8
- tencentcloud/ess/v20201111/ess_client.py +52 -0
- tencentcloud/ess/v20201111/models.py +445 -0
- tencentcloud/iai/v20180301/iai_client.py +0 -1
- tencentcloud/iai/v20180301/models.py +168 -126
- tencentcloud/igtm/v20231024/models.py +10 -144
- tencentcloud/ims/v20201229/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/models.py +4 -8
- tencentcloud/lighthouse/v20200324/models.py +15 -0
- tencentcloud/live/v20180801/models.py +591 -0
- tencentcloud/lke/v20231130/models.py +4 -4
- tencentcloud/lkeap/v20240522/errorcodes.py +3 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -0
- tencentcloud/lkeap/v20240522/models.py +194 -104
- tencentcloud/mongodb/v20190725/models.py +4 -2
- tencentcloud/monitor/v20180724/models.py +52 -6
- tencentcloud/mps/v20190612/models.py +576 -144
- tencentcloud/mps/v20190612/mps_client.py +26 -0
- tencentcloud/ocr/v20181119/models.py +42 -24
- tencentcloud/omics/v20221128/models.py +15 -0
- tencentcloud/scf/v20180416/errorcodes.py +93 -0
- tencentcloud/tcbr/v20220217/models.py +15 -0
- tencentcloud/teo/v20220901/models.py +7772 -5903
- tencentcloud/teo/v20220901/teo_client.py +322 -0
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/tke/v20180525/models.py +95 -0
- tencentcloud/trtc/v20190722/models.py +2583 -725
- tencentcloud/trtc/v20190722/trtc_client.py +194 -0
- tencentcloud/tsf/v20180326/errorcodes.py +1 -1
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/wedata/v20210820/errorcodes.py +12 -0
- tencentcloud/wedata/v20210820/models.py +865 -2
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- {tencentcloud_sdk_python-3.0.1423.dist-info → tencentcloud_sdk_python-3.0.1425.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1423.dist-info → tencentcloud_sdk_python-3.0.1425.dist-info}/RECORD +54 -54
- {tencentcloud_sdk_python-3.0.1423.dist-info → tencentcloud_sdk_python-3.0.1425.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1423.dist-info → tencentcloud_sdk_python-3.0.1425.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1423.dist-info → tencentcloud_sdk_python-3.0.1425.dist-info}/top_level.txt +0 -0
@@ -490,6 +490,75 @@ class TeoClient(AbstractClient):
|
|
490
490
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
491
491
|
|
492
492
|
|
493
|
+
def CreateMultiPathGateway(self, request):
|
494
|
+
"""通过本接口创建多通道安全加速网关,包括云上网关(腾讯云创建和管理的网关)和自有网关(用户部署的私有网关),需要通过接口 DescribeMultiPathGateway,查询状态为 online 即创建成功。
|
495
|
+
|
496
|
+
:param request: Request instance for CreateMultiPathGateway.
|
497
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewayRequest`
|
498
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewayResponse`
|
499
|
+
|
500
|
+
"""
|
501
|
+
try:
|
502
|
+
params = request._serialize()
|
503
|
+
headers = request.headers
|
504
|
+
body = self.call("CreateMultiPathGateway", params, headers=headers)
|
505
|
+
response = json.loads(body)
|
506
|
+
model = models.CreateMultiPathGatewayResponse()
|
507
|
+
model._deserialize(response["Response"])
|
508
|
+
return model
|
509
|
+
except Exception as e:
|
510
|
+
if isinstance(e, TencentCloudSDKException):
|
511
|
+
raise
|
512
|
+
else:
|
513
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
514
|
+
|
515
|
+
|
516
|
+
def CreateMultiPathGatewayLine(self, request):
|
517
|
+
"""通过本接口创建接入多通道安全加速网关的线路。包括 EdgeOne 四层代理线路、自定义线路。
|
518
|
+
|
519
|
+
:param request: Request instance for CreateMultiPathGatewayLine.
|
520
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewayLineRequest`
|
521
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewayLineResponse`
|
522
|
+
|
523
|
+
"""
|
524
|
+
try:
|
525
|
+
params = request._serialize()
|
526
|
+
headers = request.headers
|
527
|
+
body = self.call("CreateMultiPathGatewayLine", params, headers=headers)
|
528
|
+
response = json.loads(body)
|
529
|
+
model = models.CreateMultiPathGatewayLineResponse()
|
530
|
+
model._deserialize(response["Response"])
|
531
|
+
return model
|
532
|
+
except Exception as e:
|
533
|
+
if isinstance(e, TencentCloudSDKException):
|
534
|
+
raise
|
535
|
+
else:
|
536
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
537
|
+
|
538
|
+
|
539
|
+
def CreateMultiPathGatewaySecretKey(self, request):
|
540
|
+
"""通过本接口创建接入多通道安全加速网关的密钥,客户基于接入密钥签名接入多通道安全加速网关。每个站点下只有一个密钥,可用于接入该站点下的所有网关,可通过接口 DescribeMultiPathGatewaySecretKey 查询。
|
541
|
+
|
542
|
+
:param request: Request instance for CreateMultiPathGatewaySecretKey.
|
543
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewaySecretKeyRequest`
|
544
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateMultiPathGatewaySecretKeyResponse`
|
545
|
+
|
546
|
+
"""
|
547
|
+
try:
|
548
|
+
params = request._serialize()
|
549
|
+
headers = request.headers
|
550
|
+
body = self.call("CreateMultiPathGatewaySecretKey", params, headers=headers)
|
551
|
+
response = json.loads(body)
|
552
|
+
model = models.CreateMultiPathGatewaySecretKeyResponse()
|
553
|
+
model._deserialize(response["Response"])
|
554
|
+
return model
|
555
|
+
except Exception as e:
|
556
|
+
if isinstance(e, TencentCloudSDKException):
|
557
|
+
raise
|
558
|
+
else:
|
559
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
560
|
+
|
561
|
+
|
493
562
|
def CreateOriginGroup(self, request):
|
494
563
|
"""创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
|
495
564
|
|
@@ -1051,6 +1120,52 @@ class TeoClient(AbstractClient):
|
|
1051
1120
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1052
1121
|
|
1053
1122
|
|
1123
|
+
def DeleteMultiPathGateway(self, request):
|
1124
|
+
"""通过本接口删除多通道安全加速网关,包括自有网关和云上网关。
|
1125
|
+
|
1126
|
+
:param request: Request instance for DeleteMultiPathGateway.
|
1127
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteMultiPathGatewayRequest`
|
1128
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DeleteMultiPathGatewayResponse`
|
1129
|
+
|
1130
|
+
"""
|
1131
|
+
try:
|
1132
|
+
params = request._serialize()
|
1133
|
+
headers = request.headers
|
1134
|
+
body = self.call("DeleteMultiPathGateway", params, headers=headers)
|
1135
|
+
response = json.loads(body)
|
1136
|
+
model = models.DeleteMultiPathGatewayResponse()
|
1137
|
+
model._deserialize(response["Response"])
|
1138
|
+
return model
|
1139
|
+
except Exception as e:
|
1140
|
+
if isinstance(e, TencentCloudSDKException):
|
1141
|
+
raise
|
1142
|
+
else:
|
1143
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1144
|
+
|
1145
|
+
|
1146
|
+
def DeleteMultiPathGatewayLine(self, request):
|
1147
|
+
"""通过本接口删除接入多通道安全加速网关的线路,仅自定义线路支持删除。
|
1148
|
+
|
1149
|
+
:param request: Request instance for DeleteMultiPathGatewayLine.
|
1150
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteMultiPathGatewayLineRequest`
|
1151
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DeleteMultiPathGatewayLineResponse`
|
1152
|
+
|
1153
|
+
"""
|
1154
|
+
try:
|
1155
|
+
params = request._serialize()
|
1156
|
+
headers = request.headers
|
1157
|
+
body = self.call("DeleteMultiPathGatewayLine", params, headers=headers)
|
1158
|
+
response = json.loads(body)
|
1159
|
+
model = models.DeleteMultiPathGatewayLineResponse()
|
1160
|
+
model._deserialize(response["Response"])
|
1161
|
+
return model
|
1162
|
+
except Exception as e:
|
1163
|
+
if isinstance(e, TencentCloudSDKException):
|
1164
|
+
raise
|
1165
|
+
else:
|
1166
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1167
|
+
|
1168
|
+
|
1054
1169
|
def DeleteOriginGroup(self, request):
|
1055
1170
|
"""删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
|
1056
1171
|
|
@@ -1881,6 +1996,121 @@ class TeoClient(AbstractClient):
|
|
1881
1996
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1882
1997
|
|
1883
1998
|
|
1999
|
+
def DescribeMultiPathGateway(self, request):
|
2000
|
+
"""通过本接口查询多通道安全加速网关详情。如名称、网关 ID、IP、端口、类型等。
|
2001
|
+
|
2002
|
+
:param request: Request instance for DescribeMultiPathGateway.
|
2003
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayRequest`
|
2004
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayResponse`
|
2005
|
+
|
2006
|
+
"""
|
2007
|
+
try:
|
2008
|
+
params = request._serialize()
|
2009
|
+
headers = request.headers
|
2010
|
+
body = self.call("DescribeMultiPathGateway", params, headers=headers)
|
2011
|
+
response = json.loads(body)
|
2012
|
+
model = models.DescribeMultiPathGatewayResponse()
|
2013
|
+
model._deserialize(response["Response"])
|
2014
|
+
return model
|
2015
|
+
except Exception as e:
|
2016
|
+
if isinstance(e, TencentCloudSDKException):
|
2017
|
+
raise
|
2018
|
+
else:
|
2019
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2020
|
+
|
2021
|
+
|
2022
|
+
def DescribeMultiPathGatewayLine(self, request):
|
2023
|
+
"""通过本接口查询接入多通道安全加速网关的线路。包括直连、EdgeOne 四层代理线路、自定义线路。
|
2024
|
+
|
2025
|
+
:param request: Request instance for DescribeMultiPathGatewayLine.
|
2026
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayLineRequest`
|
2027
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayLineResponse`
|
2028
|
+
|
2029
|
+
"""
|
2030
|
+
try:
|
2031
|
+
params = request._serialize()
|
2032
|
+
headers = request.headers
|
2033
|
+
body = self.call("DescribeMultiPathGatewayLine", params, headers=headers)
|
2034
|
+
response = json.loads(body)
|
2035
|
+
model = models.DescribeMultiPathGatewayLineResponse()
|
2036
|
+
model._deserialize(response["Response"])
|
2037
|
+
return model
|
2038
|
+
except Exception as e:
|
2039
|
+
if isinstance(e, TencentCloudSDKException):
|
2040
|
+
raise
|
2041
|
+
else:
|
2042
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2043
|
+
|
2044
|
+
|
2045
|
+
def DescribeMultiPathGatewayRegions(self, request):
|
2046
|
+
"""通过本接口查询用户创建的多通道安全加速网关(云上网关)的可用地域列表。
|
2047
|
+
|
2048
|
+
:param request: Request instance for DescribeMultiPathGatewayRegions.
|
2049
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayRegionsRequest`
|
2050
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewayRegionsResponse`
|
2051
|
+
|
2052
|
+
"""
|
2053
|
+
try:
|
2054
|
+
params = request._serialize()
|
2055
|
+
headers = request.headers
|
2056
|
+
body = self.call("DescribeMultiPathGatewayRegions", params, headers=headers)
|
2057
|
+
response = json.loads(body)
|
2058
|
+
model = models.DescribeMultiPathGatewayRegionsResponse()
|
2059
|
+
model._deserialize(response["Response"])
|
2060
|
+
return model
|
2061
|
+
except Exception as e:
|
2062
|
+
if isinstance(e, TencentCloudSDKException):
|
2063
|
+
raise
|
2064
|
+
else:
|
2065
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2066
|
+
|
2067
|
+
|
2068
|
+
def DescribeMultiPathGatewaySecretKey(self, request):
|
2069
|
+
"""通过本接口查询接入多通道安全加速网关的密钥,客户基于接入密钥签名接入多通道安全加速网关。
|
2070
|
+
|
2071
|
+
:param request: Request instance for DescribeMultiPathGatewaySecretKey.
|
2072
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewaySecretKeyRequest`
|
2073
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewaySecretKeyResponse`
|
2074
|
+
|
2075
|
+
"""
|
2076
|
+
try:
|
2077
|
+
params = request._serialize()
|
2078
|
+
headers = request.headers
|
2079
|
+
body = self.call("DescribeMultiPathGatewaySecretKey", params, headers=headers)
|
2080
|
+
response = json.loads(body)
|
2081
|
+
model = models.DescribeMultiPathGatewaySecretKeyResponse()
|
2082
|
+
model._deserialize(response["Response"])
|
2083
|
+
return model
|
2084
|
+
except Exception as e:
|
2085
|
+
if isinstance(e, TencentCloudSDKException):
|
2086
|
+
raise
|
2087
|
+
else:
|
2088
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2089
|
+
|
2090
|
+
|
2091
|
+
def DescribeMultiPathGateways(self, request):
|
2092
|
+
"""通过本接口查询用户创建的多通道安全加速网关列表。支持翻页。
|
2093
|
+
|
2094
|
+
:param request: Request instance for DescribeMultiPathGateways.
|
2095
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewaysRequest`
|
2096
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeMultiPathGatewaysResponse`
|
2097
|
+
|
2098
|
+
"""
|
2099
|
+
try:
|
2100
|
+
params = request._serialize()
|
2101
|
+
headers = request.headers
|
2102
|
+
body = self.call("DescribeMultiPathGateways", params, headers=headers)
|
2103
|
+
response = json.loads(body)
|
2104
|
+
model = models.DescribeMultiPathGatewaysResponse()
|
2105
|
+
model._deserialize(response["Response"])
|
2106
|
+
return model
|
2107
|
+
except Exception as e:
|
2108
|
+
if isinstance(e, TencentCloudSDKException):
|
2109
|
+
raise
|
2110
|
+
else:
|
2111
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2112
|
+
|
2113
|
+
|
1884
2114
|
def DescribeOriginACL(self, request):
|
1885
2115
|
"""本接口用于查询站点下的七层加速域名/四层代理实例与回源 IP 网段的绑定关系,以及回源 IP 网段详情。如果您想通过自动化脚本定期获取回源 IP 网段的最新版本,可以较低频率(建议每三天一次)轮询本接口,若 NextOriginACL 字段有返回值,则将最新的回源 IP 网段同步到源站防火墙配置中。
|
1886
2116
|
|
@@ -3264,6 +3494,75 @@ class TeoClient(AbstractClient):
|
|
3264
3494
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3265
3495
|
|
3266
3496
|
|
3497
|
+
def ModifyMultiPathGateway(self, request):
|
3498
|
+
"""通过本接口修改多通道安全加速网关信息,如名称、网关 ID、IP、端口等。
|
3499
|
+
|
3500
|
+
:param request: Request instance for ModifyMultiPathGateway.
|
3501
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewayRequest`
|
3502
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewayResponse`
|
3503
|
+
|
3504
|
+
"""
|
3505
|
+
try:
|
3506
|
+
params = request._serialize()
|
3507
|
+
headers = request.headers
|
3508
|
+
body = self.call("ModifyMultiPathGateway", params, headers=headers)
|
3509
|
+
response = json.loads(body)
|
3510
|
+
model = models.ModifyMultiPathGatewayResponse()
|
3511
|
+
model._deserialize(response["Response"])
|
3512
|
+
return model
|
3513
|
+
except Exception as e:
|
3514
|
+
if isinstance(e, TencentCloudSDKException):
|
3515
|
+
raise
|
3516
|
+
else:
|
3517
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3518
|
+
|
3519
|
+
|
3520
|
+
def ModifyMultiPathGatewayLine(self, request):
|
3521
|
+
"""通过本接口修改接入多通道安全加速网关的线路,包括 EdgeOne 四层代理线路、自定义线路。
|
3522
|
+
|
3523
|
+
:param request: Request instance for ModifyMultiPathGatewayLine.
|
3524
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewayLineRequest`
|
3525
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewayLineResponse`
|
3526
|
+
|
3527
|
+
"""
|
3528
|
+
try:
|
3529
|
+
params = request._serialize()
|
3530
|
+
headers = request.headers
|
3531
|
+
body = self.call("ModifyMultiPathGatewayLine", params, headers=headers)
|
3532
|
+
response = json.loads(body)
|
3533
|
+
model = models.ModifyMultiPathGatewayLineResponse()
|
3534
|
+
model._deserialize(response["Response"])
|
3535
|
+
return model
|
3536
|
+
except Exception as e:
|
3537
|
+
if isinstance(e, TencentCloudSDKException):
|
3538
|
+
raise
|
3539
|
+
else:
|
3540
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3541
|
+
|
3542
|
+
|
3543
|
+
def ModifyMultiPathGatewaySecretKey(self, request):
|
3544
|
+
"""通过本接口修改接入多通道安全加速网关的密钥,客户基于接入密钥签名接入多通道安全加速网关,修改后原密钥失效。
|
3545
|
+
|
3546
|
+
:param request: Request instance for ModifyMultiPathGatewaySecretKey.
|
3547
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewaySecretKeyRequest`
|
3548
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyMultiPathGatewaySecretKeyResponse`
|
3549
|
+
|
3550
|
+
"""
|
3551
|
+
try:
|
3552
|
+
params = request._serialize()
|
3553
|
+
headers = request.headers
|
3554
|
+
body = self.call("ModifyMultiPathGatewaySecretKey", params, headers=headers)
|
3555
|
+
response = json.loads(body)
|
3556
|
+
model = models.ModifyMultiPathGatewaySecretKeyResponse()
|
3557
|
+
model._deserialize(response["Response"])
|
3558
|
+
return model
|
3559
|
+
except Exception as e:
|
3560
|
+
if isinstance(e, TencentCloudSDKException):
|
3561
|
+
raise
|
3562
|
+
else:
|
3563
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3564
|
+
|
3565
|
+
|
3267
3566
|
def ModifyOriginACL(self, request):
|
3268
3567
|
"""本接口用于对七层加速域名/四层代理实例启用/关闭特定回源 IP 网段回源。单次支持提交的七层加速域名的数量最大为 200,四层代理实例的数量最大为 100,支持七层加速域名/四层代理实例混合提交,总实例个数最大为 200。如需变更超过 200 个实例,请通过本接口分批提交。
|
3269
3568
|
|
@@ -3518,6 +3817,29 @@ class TeoClient(AbstractClient):
|
|
3518
3817
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3519
3818
|
|
3520
3819
|
|
3820
|
+
def RefreshMultiPathGatewaySecretKey(self, request):
|
3821
|
+
"""通过本接口刷新多通道安全加速网关的密钥。客户基于接入密钥签名接入多通道安全加速网关。每个站点下只有一个密钥,可用于接入该站点下的所有网关,刷新密钥后,原始密钥会失效。
|
3822
|
+
|
3823
|
+
:param request: Request instance for RefreshMultiPathGatewaySecretKey.
|
3824
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.RefreshMultiPathGatewaySecretKeyRequest`
|
3825
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.RefreshMultiPathGatewaySecretKeyResponse`
|
3826
|
+
|
3827
|
+
"""
|
3828
|
+
try:
|
3829
|
+
params = request._serialize()
|
3830
|
+
headers = request.headers
|
3831
|
+
body = self.call("RefreshMultiPathGatewaySecretKey", params, headers=headers)
|
3832
|
+
response = json.loads(body)
|
3833
|
+
model = models.RefreshMultiPathGatewaySecretKeyResponse()
|
3834
|
+
model._deserialize(response["Response"])
|
3835
|
+
return model
|
3836
|
+
except Exception as e:
|
3837
|
+
if isinstance(e, TencentCloudSDKException):
|
3838
|
+
raise
|
3839
|
+
else:
|
3840
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
3841
|
+
|
3842
|
+
|
3521
3843
|
def RenewPlan(self, request):
|
3522
3844
|
"""当您的套餐需要延长有效期,可以通过该接口进行续费。套餐续费仅支持个人版,基础版,标准版套餐。
|
3523
3845
|
> 费用详情可参考 [套餐费用](https://cloud.tencent.com/document/product/1552/94158)
|
@@ -14143,6 +14143,8 @@ HYBRID_PAID:
|
|
14143
14143
|
:type RollingUpdate: :class:`tencentcloud.tione.v20211111.models.RollingUpdate`
|
14144
14144
|
:param _Sidecar: sidecar配置
|
14145
14145
|
:type Sidecar: :class:`tencentcloud.tione.v20211111.models.SidecarSpec`
|
14146
|
+
:param _ResourceGroupId: 资源组 id
|
14147
|
+
:type ResourceGroupId: str
|
14146
14148
|
"""
|
14147
14149
|
self._ServiceId = None
|
14148
14150
|
self._ModelInfo = None
|
@@ -14176,6 +14178,7 @@ HYBRID_PAID:
|
|
14176
14178
|
self._HealthProbe = None
|
14177
14179
|
self._RollingUpdate = None
|
14178
14180
|
self._Sidecar = None
|
14181
|
+
self._ResourceGroupId = None
|
14179
14182
|
|
14180
14183
|
@property
|
14181
14184
|
def ServiceId(self):
|
@@ -14552,6 +14555,17 @@ HYBRID_PAID:
|
|
14552
14555
|
def Sidecar(self, Sidecar):
|
14553
14556
|
self._Sidecar = Sidecar
|
14554
14557
|
|
14558
|
+
@property
|
14559
|
+
def ResourceGroupId(self):
|
14560
|
+
"""资源组 id
|
14561
|
+
:rtype: str
|
14562
|
+
"""
|
14563
|
+
return self._ResourceGroupId
|
14564
|
+
|
14565
|
+
@ResourceGroupId.setter
|
14566
|
+
def ResourceGroupId(self, ResourceGroupId):
|
14567
|
+
self._ResourceGroupId = ResourceGroupId
|
14568
|
+
|
14555
14569
|
|
14556
14570
|
def _deserialize(self, params):
|
14557
14571
|
self._ServiceId = params.get("ServiceId")
|
@@ -14620,6 +14634,7 @@ HYBRID_PAID:
|
|
14620
14634
|
if params.get("Sidecar") is not None:
|
14621
14635
|
self._Sidecar = SidecarSpec()
|
14622
14636
|
self._Sidecar._deserialize(params.get("Sidecar"))
|
14637
|
+
self._ResourceGroupId = params.get("ResourceGroupId")
|
14623
14638
|
memeber_set = set(params.keys())
|
14624
14639
|
for name, value in vars(self).items():
|
14625
14640
|
property_name = name[1:]
|
@@ -8460,6 +8460,8 @@ class CreateImageCacheRequest(AbstractModel):
|
|
8460
8460
|
:param _ResolveConfig: 自定义制作镜像缓存过程中容器实例的宿主机上的 DNS。如:
|
8461
8461
|
"nameserver 4.4.4.4\nnameserver 8.8.8.8"
|
8462
8462
|
:type ResolveConfig: str
|
8463
|
+
:param _Tags: 腾讯云标签
|
8464
|
+
:type Tags: list of Tag
|
8463
8465
|
"""
|
8464
8466
|
self._Images = None
|
8465
8467
|
self._SubnetId = None
|
@@ -8475,6 +8477,7 @@ class CreateImageCacheRequest(AbstractModel):
|
|
8475
8477
|
self._RegistrySkipVerifyList = None
|
8476
8478
|
self._RegistryHttpEndPointList = None
|
8477
8479
|
self._ResolveConfig = None
|
8480
|
+
self._Tags = None
|
8478
8481
|
|
8479
8482
|
@property
|
8480
8483
|
def Images(self):
|
@@ -8632,6 +8635,17 @@ class CreateImageCacheRequest(AbstractModel):
|
|
8632
8635
|
def ResolveConfig(self, ResolveConfig):
|
8633
8636
|
self._ResolveConfig = ResolveConfig
|
8634
8637
|
|
8638
|
+
@property
|
8639
|
+
def Tags(self):
|
8640
|
+
"""腾讯云标签
|
8641
|
+
:rtype: list of Tag
|
8642
|
+
"""
|
8643
|
+
return self._Tags
|
8644
|
+
|
8645
|
+
@Tags.setter
|
8646
|
+
def Tags(self, Tags):
|
8647
|
+
self._Tags = Tags
|
8648
|
+
|
8635
8649
|
|
8636
8650
|
def _deserialize(self, params):
|
8637
8651
|
self._Images = params.get("Images")
|
@@ -8655,6 +8669,12 @@ class CreateImageCacheRequest(AbstractModel):
|
|
8655
8669
|
self._RegistrySkipVerifyList = params.get("RegistrySkipVerifyList")
|
8656
8670
|
self._RegistryHttpEndPointList = params.get("RegistryHttpEndPointList")
|
8657
8671
|
self._ResolveConfig = params.get("ResolveConfig")
|
8672
|
+
if params.get("Tags") is not None:
|
8673
|
+
self._Tags = []
|
8674
|
+
for item in params.get("Tags"):
|
8675
|
+
obj = Tag()
|
8676
|
+
obj._deserialize(item)
|
8677
|
+
self._Tags.append(obj)
|
8658
8678
|
memeber_set = set(params.keys())
|
8659
8679
|
for name, value in vars(self).items():
|
8660
8680
|
property_name = name[1:]
|
@@ -30148,6 +30168,12 @@ Updating:更新中
|
|
30148
30168
|
UpdateFailed:更新失败
|
30149
30169
|
只有状态为Ready时,才能正常使用镜像缓存
|
30150
30170
|
:type Status: str
|
30171
|
+
:param _RetentionDays: 镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
|
30172
|
+
:type RetentionDays: int
|
30173
|
+
:param _ImageRegistryCredentials: 镜像拉取凭证
|
30174
|
+
:type ImageRegistryCredentials: list of ImageRegistryCredential
|
30175
|
+
:param _Tags: 腾讯云标签
|
30176
|
+
:type Tags: list of Tag
|
30151
30177
|
"""
|
30152
30178
|
self._ImageCacheId = None
|
30153
30179
|
self._ImageCacheName = None
|
@@ -30159,6 +30185,9 @@ UpdateFailed:更新失败
|
|
30159
30185
|
self._LastMatchedTime = None
|
30160
30186
|
self._SnapshotId = None
|
30161
30187
|
self._Status = None
|
30188
|
+
self._RetentionDays = None
|
30189
|
+
self._ImageRegistryCredentials = None
|
30190
|
+
self._Tags = None
|
30162
30191
|
|
30163
30192
|
@property
|
30164
30193
|
def ImageCacheId(self):
|
@@ -30276,6 +30305,39 @@ UpdateFailed:更新失败
|
|
30276
30305
|
def Status(self, Status):
|
30277
30306
|
self._Status = Status
|
30278
30307
|
|
30308
|
+
@property
|
30309
|
+
def RetentionDays(self):
|
30310
|
+
"""镜像缓存保留时间天数,过期将会自动清理,默认为0,永不过期。
|
30311
|
+
:rtype: int
|
30312
|
+
"""
|
30313
|
+
return self._RetentionDays
|
30314
|
+
|
30315
|
+
@RetentionDays.setter
|
30316
|
+
def RetentionDays(self, RetentionDays):
|
30317
|
+
self._RetentionDays = RetentionDays
|
30318
|
+
|
30319
|
+
@property
|
30320
|
+
def ImageRegistryCredentials(self):
|
30321
|
+
"""镜像拉取凭证
|
30322
|
+
:rtype: list of ImageRegistryCredential
|
30323
|
+
"""
|
30324
|
+
return self._ImageRegistryCredentials
|
30325
|
+
|
30326
|
+
@ImageRegistryCredentials.setter
|
30327
|
+
def ImageRegistryCredentials(self, ImageRegistryCredentials):
|
30328
|
+
self._ImageRegistryCredentials = ImageRegistryCredentials
|
30329
|
+
|
30330
|
+
@property
|
30331
|
+
def Tags(self):
|
30332
|
+
"""腾讯云标签
|
30333
|
+
:rtype: list of Tag
|
30334
|
+
"""
|
30335
|
+
return self._Tags
|
30336
|
+
|
30337
|
+
@Tags.setter
|
30338
|
+
def Tags(self, Tags):
|
30339
|
+
self._Tags = Tags
|
30340
|
+
|
30279
30341
|
|
30280
30342
|
def _deserialize(self, params):
|
30281
30343
|
self._ImageCacheId = params.get("ImageCacheId")
|
@@ -30293,6 +30355,19 @@ UpdateFailed:更新失败
|
|
30293
30355
|
self._LastMatchedTime = params.get("LastMatchedTime")
|
30294
30356
|
self._SnapshotId = params.get("SnapshotId")
|
30295
30357
|
self._Status = params.get("Status")
|
30358
|
+
self._RetentionDays = params.get("RetentionDays")
|
30359
|
+
if params.get("ImageRegistryCredentials") is not None:
|
30360
|
+
self._ImageRegistryCredentials = []
|
30361
|
+
for item in params.get("ImageRegistryCredentials"):
|
30362
|
+
obj = ImageRegistryCredential()
|
30363
|
+
obj._deserialize(item)
|
30364
|
+
self._ImageRegistryCredentials.append(obj)
|
30365
|
+
if params.get("Tags") is not None:
|
30366
|
+
self._Tags = []
|
30367
|
+
for item in params.get("Tags"):
|
30368
|
+
obj = Tag()
|
30369
|
+
obj._deserialize(item)
|
30370
|
+
self._Tags.append(obj)
|
30296
30371
|
memeber_set = set(params.keys())
|
30297
30372
|
for name, value in vars(self).items():
|
30298
30373
|
property_name = name[1:]
|
@@ -47148,6 +47223,8 @@ class UpdateImageCacheRequest(AbstractModel):
|
|
47148
47223
|
:type RetentionDays: int
|
47149
47224
|
:param _SecurityGroupIds: 安全组Id
|
47150
47225
|
:type SecurityGroupIds: list of str
|
47226
|
+
:param _Tags: 腾讯云标签
|
47227
|
+
:type Tags: list of Tag
|
47151
47228
|
"""
|
47152
47229
|
self._ImageCacheId = None
|
47153
47230
|
self._ImageCacheName = None
|
@@ -47156,6 +47233,7 @@ class UpdateImageCacheRequest(AbstractModel):
|
|
47156
47233
|
self._ImageCacheSize = None
|
47157
47234
|
self._RetentionDays = None
|
47158
47235
|
self._SecurityGroupIds = None
|
47236
|
+
self._Tags = None
|
47159
47237
|
|
47160
47238
|
@property
|
47161
47239
|
def ImageCacheId(self):
|
@@ -47234,6 +47312,17 @@ class UpdateImageCacheRequest(AbstractModel):
|
|
47234
47312
|
def SecurityGroupIds(self, SecurityGroupIds):
|
47235
47313
|
self._SecurityGroupIds = SecurityGroupIds
|
47236
47314
|
|
47315
|
+
@property
|
47316
|
+
def Tags(self):
|
47317
|
+
"""腾讯云标签
|
47318
|
+
:rtype: list of Tag
|
47319
|
+
"""
|
47320
|
+
return self._Tags
|
47321
|
+
|
47322
|
+
@Tags.setter
|
47323
|
+
def Tags(self, Tags):
|
47324
|
+
self._Tags = Tags
|
47325
|
+
|
47237
47326
|
|
47238
47327
|
def _deserialize(self, params):
|
47239
47328
|
self._ImageCacheId = params.get("ImageCacheId")
|
@@ -47248,6 +47337,12 @@ class UpdateImageCacheRequest(AbstractModel):
|
|
47248
47337
|
self._ImageCacheSize = params.get("ImageCacheSize")
|
47249
47338
|
self._RetentionDays = params.get("RetentionDays")
|
47250
47339
|
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
47340
|
+
if params.get("Tags") is not None:
|
47341
|
+
self._Tags = []
|
47342
|
+
for item in params.get("Tags"):
|
47343
|
+
obj = Tag()
|
47344
|
+
obj._deserialize(item)
|
47345
|
+
self._Tags.append(obj)
|
47251
47346
|
memeber_set = set(params.keys())
|
47252
47347
|
for name, value in vars(self).items():
|
47253
47348
|
property_name = name[1:]
|