tencentcloud-sdk-python 3.0.1422__py2.py3-none-any.whl → 3.0.1424__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/ccc/v20200210/models.py +2 -2
- tencentcloud/cdb/v20170320/models.py +4 -4
- tencentcloud/cdn/v20180606/models.py +2 -2
- tencentcloud/cdwch/v20200915/models.py +2 -2
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/ctem/v20231128/ctem_client.py +161 -0
- tencentcloud/ctem/v20231128/models.py +3720 -1023
- tencentcloud/cwp/v20180228/models.py +15 -0
- tencentcloud/cynosdb/v20190107/models.py +45 -0
- tencentcloud/ess/v20201111/ess_client.py +52 -0
- tencentcloud/ess/v20201111/models.py +445 -0
- tencentcloud/gme/v20180711/models.py +75 -0
- tencentcloud/iss/v20230517/models.py +4 -8
- tencentcloud/kms/v20190118/models.py +296 -0
- tencentcloud/live/v20180801/models.py +591 -0
- tencentcloud/lke/v20231130/errorcodes.py +0 -33
- tencentcloud/lke/v20231130/lke_client.py +0 -191
- tencentcloud/lke/v20231130/models.py +216 -2159
- tencentcloud/lkeap/v20240522/errorcodes.py +3 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -0
- tencentcloud/lkeap/v20240522/models.py +190 -48
- tencentcloud/mongodb/v20190725/models.py +4 -2
- tencentcloud/monitor/v20180724/models.py +52 -6
- tencentcloud/monitor/v20230616/errorcodes.py +2 -11
- tencentcloud/monitor/v20230616/models.py +104 -369
- tencentcloud/monitor/v20230616/monitor_client.py +7 -13
- 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/redis/v20180412/models.py +42 -6
- tencentcloud/scf/v20180416/errorcodes.py +24 -0
- tencentcloud/ssl/v20191205/models.py +47 -2
- 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 +4 -4
- tencentcloud/tse/v20201207/models.py +347 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/RECORD +47 -47
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1424.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1422.dist-info → tencentcloud_sdk_python-3.0.1424.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:]
|
@@ -31053,10 +31053,10 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
31053
31053
|
注意:此字段可能返回 null,表示取不到有效值。
|
31054
31054
|
:type Taints: list of Taint
|
31055
31055
|
:param _MountTarget: 数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。
|
31056
|
-
|
31056
|
+
注意:多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
|
31057
31057
|
注意:此字段可能返回 null,表示取不到有效值。
|
31058
31058
|
:type MountTarget: str
|
31059
|
-
:param _DockerGraphPath: dockerd --graph
|
31059
|
+
:param _DockerGraphPath: dockerd --graph 指定值。若未指定此参数,将使用内置默认路径 /var/lib/docker 作为存储根目录。
|
31060
31060
|
注意:此字段可能返回 null,表示取不到有效值。
|
31061
31061
|
:type DockerGraphPath: str
|
31062
31062
|
:param _UserScript: base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看, 如果要求节点需要在进行初始化完成后才可加入调度, 可配合 unschedulable 参数使用, 在 userScript 最后初始化完成后, 添加 kubectl uncordon nodename --kubeconfig=/root/.kube/config 命令使节点加入调度
|
@@ -31136,7 +31136,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
31136
31136
|
@property
|
31137
31137
|
def MountTarget(self):
|
31138
31138
|
"""数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。
|
31139
|
-
|
31139
|
+
注意:多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
|
31140
31140
|
注意:此字段可能返回 null,表示取不到有效值。
|
31141
31141
|
:rtype: str
|
31142
31142
|
"""
|
@@ -31148,7 +31148,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
31148
31148
|
|
31149
31149
|
@property
|
31150
31150
|
def DockerGraphPath(self):
|
31151
|
-
"""dockerd --graph
|
31151
|
+
"""dockerd --graph 指定值。若未指定此参数,将使用内置默认路径 /var/lib/docker 作为存储根目录。
|
31152
31152
|
注意:此字段可能返回 null,表示取不到有效值。
|
31153
31153
|
:rtype: str
|
31154
31154
|
"""
|