tencentcloud-sdk-python-tcbr 3.1.79__tar.gz → 3.1.155__tar.gz
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_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/setup.py +1 -1
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud/tcbr/v20220217/models.py +381 -148
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud/tcbr/v20220217/tcbr_client.py +23 -0
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud/tcbr/v20220217/tcbr_client_async.py +18 -0
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud_sdk_python_tcbr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tcbr-3.1.155/tencentcloud_sdk_python_tcbr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tcbr-3.1.79/tencentcloud_sdk_python_tcbr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/README.rst +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud/tcbr/__init__.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud/tcbr/v20220217/__init__.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud/tcbr/v20220217/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud_sdk_python_tcbr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud_sdk_python_tcbr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tcbr-3.1.79 → tencentcloud_sdk_python_tcbr-3.1.155}/tencentcloud_sdk_python_tcbr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcbr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.155
|
|
4
4
|
Summary: Tencent Cloud Tcbr SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.155
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tcbr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.155,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tcbr SDK for Python',
|
|
@@ -2941,53 +2941,28 @@ class DiffConfigItem(AbstractModel):
|
|
|
2941
2941
|
|
|
2942
2942
|
def __init__(self):
|
|
2943
2943
|
r"""
|
|
2944
|
-
:param _Key:
|
|
2945
|
-
MinNum 最小副本数
|
|
2946
|
-
MaxNum 最大副本数
|
|
2947
|
-
PolicyDetails 扩缩容策略
|
|
2948
|
-
AccessTypes 访问类型
|
|
2949
|
-
TimerScale 定时扩缩容
|
|
2950
|
-
InternalAccess 内网访问
|
|
2951
|
-
OperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale
|
|
2952
|
-
SessionAffinity 会话亲和性 open | close
|
|
2953
|
-
CpuSpecs cpu 规格
|
|
2954
|
-
MemSpecs mem规格
|
|
2955
|
-
EnvParam 环境变量
|
|
2956
|
-
LogPath 日志采集路径
|
|
2957
|
-
Port 端口
|
|
2958
|
-
Dockerfile dockerfile 文件名
|
|
2959
|
-
BuildDir 目标目录
|
|
2960
|
-
Tag 服务标签
|
|
2961
|
-
LogType 日志类型 none | default | custom
|
|
2962
|
-
LogSetId 日志集Id
|
|
2963
|
-
LogTopicId 日志主题ID
|
|
2964
|
-
LogParseType 日志解析类型 json | line
|
|
2965
|
-
EntryPoint entrypoint 命令
|
|
2966
|
-
Cmd cmd命令
|
|
2967
|
-
VpcConf 网络信息
|
|
2944
|
+
:param _Key: <p>配置项 Key<br>MinNum 最小副本数<br>MaxNum 最大副本数<br>PolicyDetails 扩缩容策略<br>AccessTypes 访问类型<br>TimerScale 定时扩缩容<br>InternalAccess 内网访问<br>OperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale<br>SessionAffinity 会话亲和性 open | close<br>CpuSpecs cpu 规格<br>MemSpecs mem规格<br>EnvParam 环境变量<br>LogPath 日志采集路径<br>Port 端口<br>Dockerfile dockerfile 文件名<br>BuildDir 目标目录<br>Tag 服务标签<br>LogType 日志类型 none | default | custom<br>LogSetId 日志集Id<br>LogTopicId 日志主题ID<br>LogParseType 日志解析类型 json | line<br>EntryPoint entrypoint 命令<br>Cmd cmd命令<br>VpcConf 网络信息</p>
|
|
2968
2945
|
:type Key: str
|
|
2969
|
-
:param _Value:
|
|
2970
|
-
InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType
|
|
2946
|
+
:param _Value: <p>字符串类型配置项值<br>InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType</p>
|
|
2971
2947
|
:type Value: str
|
|
2972
|
-
:param _IntValue: int
|
|
2973
|
-
MinNum、MaxNum、Port
|
|
2948
|
+
:param _IntValue: <p>int 类型配置项值<br>MinNum、MaxNum、Port</p>
|
|
2974
2949
|
:type IntValue: int
|
|
2975
|
-
:param _BoolValue: bool
|
|
2950
|
+
:param _BoolValue: <p>bool 类型配置项值</p>
|
|
2976
2951
|
:type BoolValue: bool
|
|
2977
|
-
:param _FloatValue:
|
|
2978
|
-
CpuSpecs、MemSpecs
|
|
2952
|
+
:param _FloatValue: <p>浮点型配置项值<br>CpuSpecs、MemSpecs</p>
|
|
2979
2953
|
:type FloatValue: float
|
|
2980
|
-
:param _ArrayValue:
|
|
2981
|
-
AccessTypes,EntryPoint,Cmd
|
|
2954
|
+
:param _ArrayValue: <p>字符串数组配置项值<br>AccessTypes,EntryPoint,Cmd</p>
|
|
2982
2955
|
:type ArrayValue: list of str
|
|
2983
|
-
:param _PolicyDetails:
|
|
2956
|
+
:param _PolicyDetails: <p>扩缩容策略配置项值</p>
|
|
2984
2957
|
:type PolicyDetails: list of HpaPolicy
|
|
2985
|
-
:param _TimerScale:
|
|
2958
|
+
:param _TimerScale: <p>定时扩缩容配置项值</p>
|
|
2986
2959
|
:type TimerScale: list of TimerScale
|
|
2987
|
-
:param _VpcConf:
|
|
2960
|
+
:param _VpcConf: <p>配置内网访问时网络信息</p>
|
|
2988
2961
|
:type VpcConf: :class:`tencentcloud.tcbr.v20220217.models.VpcConf`
|
|
2989
|
-
:param _VolumesConf:
|
|
2962
|
+
:param _VolumesConf: <p>存储配置信息</p>
|
|
2990
2963
|
:type VolumesConf: list of VolumeConf
|
|
2964
|
+
:param _PublicNetConf: <p>公网访问配置</p>
|
|
2965
|
+
:type PublicNetConf: :class:`tencentcloud.tcbr.v20220217.models.PublicNetConf`
|
|
2991
2966
|
"""
|
|
2992
2967
|
self._Key = None
|
|
2993
2968
|
self._Value = None
|
|
@@ -2999,33 +2974,11 @@ AccessTypes,EntryPoint,Cmd
|
|
|
2999
2974
|
self._TimerScale = None
|
|
3000
2975
|
self._VpcConf = None
|
|
3001
2976
|
self._VolumesConf = None
|
|
2977
|
+
self._PublicNetConf = None
|
|
3002
2978
|
|
|
3003
2979
|
@property
|
|
3004
2980
|
def Key(self):
|
|
3005
|
-
r"""
|
|
3006
|
-
MinNum 最小副本数
|
|
3007
|
-
MaxNum 最大副本数
|
|
3008
|
-
PolicyDetails 扩缩容策略
|
|
3009
|
-
AccessTypes 访问类型
|
|
3010
|
-
TimerScale 定时扩缩容
|
|
3011
|
-
InternalAccess 内网访问
|
|
3012
|
-
OperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale
|
|
3013
|
-
SessionAffinity 会话亲和性 open | close
|
|
3014
|
-
CpuSpecs cpu 规格
|
|
3015
|
-
MemSpecs mem规格
|
|
3016
|
-
EnvParam 环境变量
|
|
3017
|
-
LogPath 日志采集路径
|
|
3018
|
-
Port 端口
|
|
3019
|
-
Dockerfile dockerfile 文件名
|
|
3020
|
-
BuildDir 目标目录
|
|
3021
|
-
Tag 服务标签
|
|
3022
|
-
LogType 日志类型 none | default | custom
|
|
3023
|
-
LogSetId 日志集Id
|
|
3024
|
-
LogTopicId 日志主题ID
|
|
3025
|
-
LogParseType 日志解析类型 json | line
|
|
3026
|
-
EntryPoint entrypoint 命令
|
|
3027
|
-
Cmd cmd命令
|
|
3028
|
-
VpcConf 网络信息
|
|
2981
|
+
r"""<p>配置项 Key<br>MinNum 最小副本数<br>MaxNum 最大副本数<br>PolicyDetails 扩缩容策略<br>AccessTypes 访问类型<br>TimerScale 定时扩缩容<br>InternalAccess 内网访问<br>OperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale<br>SessionAffinity 会话亲和性 open | close<br>CpuSpecs cpu 规格<br>MemSpecs mem规格<br>EnvParam 环境变量<br>LogPath 日志采集路径<br>Port 端口<br>Dockerfile dockerfile 文件名<br>BuildDir 目标目录<br>Tag 服务标签<br>LogType 日志类型 none | default | custom<br>LogSetId 日志集Id<br>LogTopicId 日志主题ID<br>LogParseType 日志解析类型 json | line<br>EntryPoint entrypoint 命令<br>Cmd cmd命令<br>VpcConf 网络信息</p>
|
|
3029
2982
|
:rtype: str
|
|
3030
2983
|
"""
|
|
3031
2984
|
return self._Key
|
|
@@ -3036,8 +2989,7 @@ VpcConf 网络信息
|
|
|
3036
2989
|
|
|
3037
2990
|
@property
|
|
3038
2991
|
def Value(self):
|
|
3039
|
-
r"""
|
|
3040
|
-
InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType
|
|
2992
|
+
r"""<p>字符串类型配置项值<br>InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType</p>
|
|
3041
2993
|
:rtype: str
|
|
3042
2994
|
"""
|
|
3043
2995
|
return self._Value
|
|
@@ -3048,8 +3000,7 @@ InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfi
|
|
|
3048
3000
|
|
|
3049
3001
|
@property
|
|
3050
3002
|
def IntValue(self):
|
|
3051
|
-
r"""int
|
|
3052
|
-
MinNum、MaxNum、Port
|
|
3003
|
+
r"""<p>int 类型配置项值<br>MinNum、MaxNum、Port</p>
|
|
3053
3004
|
:rtype: int
|
|
3054
3005
|
"""
|
|
3055
3006
|
return self._IntValue
|
|
@@ -3060,7 +3011,7 @@ MinNum、MaxNum、Port
|
|
|
3060
3011
|
|
|
3061
3012
|
@property
|
|
3062
3013
|
def BoolValue(self):
|
|
3063
|
-
r"""bool
|
|
3014
|
+
r"""<p>bool 类型配置项值</p>
|
|
3064
3015
|
:rtype: bool
|
|
3065
3016
|
"""
|
|
3066
3017
|
return self._BoolValue
|
|
@@ -3071,8 +3022,7 @@ MinNum、MaxNum、Port
|
|
|
3071
3022
|
|
|
3072
3023
|
@property
|
|
3073
3024
|
def FloatValue(self):
|
|
3074
|
-
r"""
|
|
3075
|
-
CpuSpecs、MemSpecs
|
|
3025
|
+
r"""<p>浮点型配置项值<br>CpuSpecs、MemSpecs</p>
|
|
3076
3026
|
:rtype: float
|
|
3077
3027
|
"""
|
|
3078
3028
|
return self._FloatValue
|
|
@@ -3083,8 +3033,7 @@ CpuSpecs、MemSpecs
|
|
|
3083
3033
|
|
|
3084
3034
|
@property
|
|
3085
3035
|
def ArrayValue(self):
|
|
3086
|
-
r"""
|
|
3087
|
-
AccessTypes,EntryPoint,Cmd
|
|
3036
|
+
r"""<p>字符串数组配置项值<br>AccessTypes,EntryPoint,Cmd</p>
|
|
3088
3037
|
:rtype: list of str
|
|
3089
3038
|
"""
|
|
3090
3039
|
return self._ArrayValue
|
|
@@ -3095,7 +3044,7 @@ AccessTypes,EntryPoint,Cmd
|
|
|
3095
3044
|
|
|
3096
3045
|
@property
|
|
3097
3046
|
def PolicyDetails(self):
|
|
3098
|
-
r"""
|
|
3047
|
+
r"""<p>扩缩容策略配置项值</p>
|
|
3099
3048
|
:rtype: list of HpaPolicy
|
|
3100
3049
|
"""
|
|
3101
3050
|
return self._PolicyDetails
|
|
@@ -3106,7 +3055,7 @@ AccessTypes,EntryPoint,Cmd
|
|
|
3106
3055
|
|
|
3107
3056
|
@property
|
|
3108
3057
|
def TimerScale(self):
|
|
3109
|
-
r"""
|
|
3058
|
+
r"""<p>定时扩缩容配置项值</p>
|
|
3110
3059
|
:rtype: list of TimerScale
|
|
3111
3060
|
"""
|
|
3112
3061
|
return self._TimerScale
|
|
@@ -3117,7 +3066,7 @@ AccessTypes,EntryPoint,Cmd
|
|
|
3117
3066
|
|
|
3118
3067
|
@property
|
|
3119
3068
|
def VpcConf(self):
|
|
3120
|
-
r"""
|
|
3069
|
+
r"""<p>配置内网访问时网络信息</p>
|
|
3121
3070
|
:rtype: :class:`tencentcloud.tcbr.v20220217.models.VpcConf`
|
|
3122
3071
|
"""
|
|
3123
3072
|
return self._VpcConf
|
|
@@ -3128,7 +3077,7 @@ AccessTypes,EntryPoint,Cmd
|
|
|
3128
3077
|
|
|
3129
3078
|
@property
|
|
3130
3079
|
def VolumesConf(self):
|
|
3131
|
-
r"""
|
|
3080
|
+
r"""<p>存储配置信息</p>
|
|
3132
3081
|
:rtype: list of VolumeConf
|
|
3133
3082
|
"""
|
|
3134
3083
|
return self._VolumesConf
|
|
@@ -3137,6 +3086,17 @@ AccessTypes,EntryPoint,Cmd
|
|
|
3137
3086
|
def VolumesConf(self, VolumesConf):
|
|
3138
3087
|
self._VolumesConf = VolumesConf
|
|
3139
3088
|
|
|
3089
|
+
@property
|
|
3090
|
+
def PublicNetConf(self):
|
|
3091
|
+
r"""<p>公网访问配置</p>
|
|
3092
|
+
:rtype: :class:`tencentcloud.tcbr.v20220217.models.PublicNetConf`
|
|
3093
|
+
"""
|
|
3094
|
+
return self._PublicNetConf
|
|
3095
|
+
|
|
3096
|
+
@PublicNetConf.setter
|
|
3097
|
+
def PublicNetConf(self, PublicNetConf):
|
|
3098
|
+
self._PublicNetConf = PublicNetConf
|
|
3099
|
+
|
|
3140
3100
|
|
|
3141
3101
|
def _deserialize(self, params):
|
|
3142
3102
|
self._Key = params.get("Key")
|
|
@@ -3166,6 +3126,9 @@ AccessTypes,EntryPoint,Cmd
|
|
|
3166
3126
|
obj = VolumeConf()
|
|
3167
3127
|
obj._deserialize(item)
|
|
3168
3128
|
self._VolumesConf.append(obj)
|
|
3129
|
+
if params.get("PublicNetConf") is not None:
|
|
3130
|
+
self._PublicNetConf = PublicNetConf()
|
|
3131
|
+
self._PublicNetConf._deserialize(params.get("PublicNetConf"))
|
|
3169
3132
|
memeber_set = set(params.keys())
|
|
3170
3133
|
for name, value in vars(self).items():
|
|
3171
3134
|
property_name = name[1:]
|
|
@@ -4535,6 +4498,42 @@ class OperateServerManageResponse(AbstractModel):
|
|
|
4535
4498
|
self._RequestId = params.get("RequestId")
|
|
4536
4499
|
|
|
4537
4500
|
|
|
4501
|
+
class PublicNetConf(AbstractModel):
|
|
4502
|
+
r"""公网访问配置
|
|
4503
|
+
|
|
4504
|
+
"""
|
|
4505
|
+
|
|
4506
|
+
def __init__(self):
|
|
4507
|
+
r"""
|
|
4508
|
+
:param _PublicNetStatus: <p>是否开启公网访问</p><p>枚举值:</p><ul><li>ENABLE: 开启公网访问</li><li>DISABLE: 关闭公网访问</li></ul>
|
|
4509
|
+
:type PublicNetStatus: str
|
|
4510
|
+
"""
|
|
4511
|
+
self._PublicNetStatus = None
|
|
4512
|
+
|
|
4513
|
+
@property
|
|
4514
|
+
def PublicNetStatus(self):
|
|
4515
|
+
r"""<p>是否开启公网访问</p><p>枚举值:</p><ul><li>ENABLE: 开启公网访问</li><li>DISABLE: 关闭公网访问</li></ul>
|
|
4516
|
+
:rtype: str
|
|
4517
|
+
"""
|
|
4518
|
+
return self._PublicNetStatus
|
|
4519
|
+
|
|
4520
|
+
@PublicNetStatus.setter
|
|
4521
|
+
def PublicNetStatus(self, PublicNetStatus):
|
|
4522
|
+
self._PublicNetStatus = PublicNetStatus
|
|
4523
|
+
|
|
4524
|
+
|
|
4525
|
+
def _deserialize(self, params):
|
|
4526
|
+
self._PublicNetStatus = params.get("PublicNetStatus")
|
|
4527
|
+
memeber_set = set(params.keys())
|
|
4528
|
+
for name, value in vars(self).items():
|
|
4529
|
+
property_name = name[1:]
|
|
4530
|
+
if property_name in memeber_set:
|
|
4531
|
+
memeber_set.remove(property_name)
|
|
4532
|
+
if len(memeber_set) > 0:
|
|
4533
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4534
|
+
|
|
4535
|
+
|
|
4536
|
+
|
|
4538
4537
|
class ReleaseGrayRequest(AbstractModel):
|
|
4539
4538
|
r"""ReleaseGray请求参数结构体
|
|
4540
4539
|
|
|
@@ -5163,69 +5162,71 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5163
5162
|
|
|
5164
5163
|
def __init__(self):
|
|
5165
5164
|
r"""
|
|
5166
|
-
:param _EnvId:
|
|
5165
|
+
:param _EnvId: <p>环境 Id</p>
|
|
5167
5166
|
:type EnvId: str
|
|
5168
|
-
:param _ServerName:
|
|
5167
|
+
:param _ServerName: <p>服务名</p>
|
|
5169
5168
|
:type ServerName: str
|
|
5170
|
-
:param _OpenAccessTypes:
|
|
5169
|
+
:param _OpenAccessTypes: <p>是否开启公网访问</p>
|
|
5171
5170
|
:type OpenAccessTypes: list of str
|
|
5172
|
-
:param _Cpu: Cpu
|
|
5171
|
+
:param _Cpu: <p>Cpu 规格</p>
|
|
5173
5172
|
:type Cpu: float
|
|
5174
|
-
:param _Mem: Mem
|
|
5173
|
+
:param _Mem: <p>Mem 规格</p>
|
|
5175
5174
|
:type Mem: float
|
|
5176
|
-
:param _MinNum:
|
|
5175
|
+
:param _MinNum: <p>最小副本数</p>
|
|
5177
5176
|
:type MinNum: int
|
|
5178
|
-
:param _MaxNum:
|
|
5177
|
+
:param _MaxNum: <p>最大副本数</p>
|
|
5179
5178
|
:type MaxNum: int
|
|
5180
|
-
:param _PolicyDetails:
|
|
5179
|
+
:param _PolicyDetails: <p>扩缩容配置</p>
|
|
5181
5180
|
:type PolicyDetails: list of HpaPolicy
|
|
5182
|
-
:param _CustomLogs:
|
|
5181
|
+
:param _CustomLogs: <p>日志采集路径</p>
|
|
5183
5182
|
:type CustomLogs: str
|
|
5184
|
-
:param _EnvParams:
|
|
5183
|
+
:param _EnvParams: <p>环境变量</p>
|
|
5185
5184
|
:type EnvParams: str
|
|
5186
|
-
:param _InitialDelaySeconds:
|
|
5185
|
+
:param _InitialDelaySeconds: <p>延迟检测时间</p>
|
|
5187
5186
|
:type InitialDelaySeconds: int
|
|
5188
|
-
:param _CreateTime:
|
|
5187
|
+
:param _CreateTime: <p>创建时间</p>
|
|
5189
5188
|
:type CreateTime: str
|
|
5190
|
-
:param _Port:
|
|
5189
|
+
:param _Port: <p>服务端口</p>
|
|
5191
5190
|
:type Port: int
|
|
5192
|
-
:param _HasDockerfile:
|
|
5191
|
+
:param _HasDockerfile: <p>是否有Dockerfile</p>
|
|
5193
5192
|
:type HasDockerfile: bool
|
|
5194
|
-
:param _Dockerfile: Dockerfile
|
|
5193
|
+
:param _Dockerfile: <p>Dockerfile 文件名</p>
|
|
5195
5194
|
:type Dockerfile: str
|
|
5196
|
-
:param _BuildDir:
|
|
5195
|
+
:param _BuildDir: <p>构建目录</p>
|
|
5197
5196
|
:type BuildDir: str
|
|
5198
|
-
:param _LogType:
|
|
5197
|
+
:param _LogType: <p>日志类型: none | default | custom</p>
|
|
5199
5198
|
:type LogType: str
|
|
5200
|
-
:param _LogSetId: cls setId
|
|
5199
|
+
:param _LogSetId: <p>cls setId</p>
|
|
5201
5200
|
:type LogSetId: str
|
|
5202
|
-
:param _LogTopicId: cls 主题id
|
|
5201
|
+
:param _LogTopicId: <p>cls 主题id</p>
|
|
5203
5202
|
:type LogTopicId: str
|
|
5204
|
-
:param _LogParseType:
|
|
5203
|
+
:param _LogParseType: <p>解析类型:json | line</p>
|
|
5205
5204
|
:type LogParseType: str
|
|
5206
|
-
:param _Tag:
|
|
5205
|
+
:param _Tag: <p>服务标签, function: 函数托管</p>
|
|
5207
5206
|
:type Tag: str
|
|
5208
|
-
:param _InternalAccess:
|
|
5207
|
+
:param _InternalAccess: <p>内网访问开关 close | open</p>
|
|
5209
5208
|
:type InternalAccess: str
|
|
5210
|
-
:param _InternalDomain:
|
|
5209
|
+
:param _InternalDomain: <p>内网域名</p>
|
|
5211
5210
|
:type InternalDomain: str
|
|
5212
|
-
:param _OperationMode:
|
|
5211
|
+
:param _OperationMode: <p>运行模式</p>
|
|
5213
5212
|
:type OperationMode: str
|
|
5214
|
-
:param _TimerScale:
|
|
5213
|
+
:param _TimerScale: <p>定时扩缩容配置</p>
|
|
5215
5214
|
:type TimerScale: list of TimerScale
|
|
5216
|
-
:param _EntryPoint: Dockerfile EntryPoint
|
|
5215
|
+
:param _EntryPoint: <p>Dockerfile EntryPoint 参数</p>
|
|
5217
5216
|
:type EntryPoint: list of str
|
|
5218
|
-
:param _Cmd: Dockerfile Cmd
|
|
5217
|
+
:param _Cmd: <p>Dockerfile Cmd 参数</p>
|
|
5219
5218
|
:type Cmd: list of str
|
|
5220
|
-
:param _SessionAffinity:
|
|
5219
|
+
:param _SessionAffinity: <p>会话亲和性开关</p>
|
|
5221
5220
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5222
5221
|
:type SessionAffinity: str
|
|
5223
|
-
:param _VpcConf: Vpc
|
|
5222
|
+
:param _VpcConf: <p>Vpc 配置参数</p>
|
|
5224
5223
|
:type VpcConf: :class:`tencentcloud.tcbr.v20220217.models.VpcConf`
|
|
5225
|
-
:param _VolumesConf:
|
|
5224
|
+
:param _VolumesConf: <p>存储配置信息</p>
|
|
5226
5225
|
:type VolumesConf: list of VolumeConf
|
|
5227
|
-
:param _LinkImageRegistry:
|
|
5226
|
+
:param _LinkImageRegistry: <p>关联镜像密钥</p>
|
|
5228
5227
|
:type LinkImageRegistry: str
|
|
5228
|
+
:param _PublicNetConf: <p>公网访问配置</p>
|
|
5229
|
+
:type PublicNetConf: :class:`tencentcloud.tcbr.v20220217.models.PublicNetConf`
|
|
5229
5230
|
"""
|
|
5230
5231
|
self._EnvId = None
|
|
5231
5232
|
self._ServerName = None
|
|
@@ -5258,10 +5259,11 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5258
5259
|
self._VpcConf = None
|
|
5259
5260
|
self._VolumesConf = None
|
|
5260
5261
|
self._LinkImageRegistry = None
|
|
5262
|
+
self._PublicNetConf = None
|
|
5261
5263
|
|
|
5262
5264
|
@property
|
|
5263
5265
|
def EnvId(self):
|
|
5264
|
-
r"""
|
|
5266
|
+
r"""<p>环境 Id</p>
|
|
5265
5267
|
:rtype: str
|
|
5266
5268
|
"""
|
|
5267
5269
|
return self._EnvId
|
|
@@ -5272,7 +5274,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5272
5274
|
|
|
5273
5275
|
@property
|
|
5274
5276
|
def ServerName(self):
|
|
5275
|
-
r"""
|
|
5277
|
+
r"""<p>服务名</p>
|
|
5276
5278
|
:rtype: str
|
|
5277
5279
|
"""
|
|
5278
5280
|
return self._ServerName
|
|
@@ -5283,7 +5285,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5283
5285
|
|
|
5284
5286
|
@property
|
|
5285
5287
|
def OpenAccessTypes(self):
|
|
5286
|
-
r"""
|
|
5288
|
+
r"""<p>是否开启公网访问</p>
|
|
5287
5289
|
:rtype: list of str
|
|
5288
5290
|
"""
|
|
5289
5291
|
return self._OpenAccessTypes
|
|
@@ -5294,7 +5296,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5294
5296
|
|
|
5295
5297
|
@property
|
|
5296
5298
|
def Cpu(self):
|
|
5297
|
-
r"""Cpu
|
|
5299
|
+
r"""<p>Cpu 规格</p>
|
|
5298
5300
|
:rtype: float
|
|
5299
5301
|
"""
|
|
5300
5302
|
return self._Cpu
|
|
@@ -5305,7 +5307,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5305
5307
|
|
|
5306
5308
|
@property
|
|
5307
5309
|
def Mem(self):
|
|
5308
|
-
r"""Mem
|
|
5310
|
+
r"""<p>Mem 规格</p>
|
|
5309
5311
|
:rtype: float
|
|
5310
5312
|
"""
|
|
5311
5313
|
return self._Mem
|
|
@@ -5316,7 +5318,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5316
5318
|
|
|
5317
5319
|
@property
|
|
5318
5320
|
def MinNum(self):
|
|
5319
|
-
r"""
|
|
5321
|
+
r"""<p>最小副本数</p>
|
|
5320
5322
|
:rtype: int
|
|
5321
5323
|
"""
|
|
5322
5324
|
return self._MinNum
|
|
@@ -5327,7 +5329,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5327
5329
|
|
|
5328
5330
|
@property
|
|
5329
5331
|
def MaxNum(self):
|
|
5330
|
-
r"""
|
|
5332
|
+
r"""<p>最大副本数</p>
|
|
5331
5333
|
:rtype: int
|
|
5332
5334
|
"""
|
|
5333
5335
|
return self._MaxNum
|
|
@@ -5338,7 +5340,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5338
5340
|
|
|
5339
5341
|
@property
|
|
5340
5342
|
def PolicyDetails(self):
|
|
5341
|
-
r"""
|
|
5343
|
+
r"""<p>扩缩容配置</p>
|
|
5342
5344
|
:rtype: list of HpaPolicy
|
|
5343
5345
|
"""
|
|
5344
5346
|
return self._PolicyDetails
|
|
@@ -5349,7 +5351,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5349
5351
|
|
|
5350
5352
|
@property
|
|
5351
5353
|
def CustomLogs(self):
|
|
5352
|
-
r"""
|
|
5354
|
+
r"""<p>日志采集路径</p>
|
|
5353
5355
|
:rtype: str
|
|
5354
5356
|
"""
|
|
5355
5357
|
return self._CustomLogs
|
|
@@ -5360,7 +5362,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5360
5362
|
|
|
5361
5363
|
@property
|
|
5362
5364
|
def EnvParams(self):
|
|
5363
|
-
r"""
|
|
5365
|
+
r"""<p>环境变量</p>
|
|
5364
5366
|
:rtype: str
|
|
5365
5367
|
"""
|
|
5366
5368
|
return self._EnvParams
|
|
@@ -5371,7 +5373,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5371
5373
|
|
|
5372
5374
|
@property
|
|
5373
5375
|
def InitialDelaySeconds(self):
|
|
5374
|
-
r"""
|
|
5376
|
+
r"""<p>延迟检测时间</p>
|
|
5375
5377
|
:rtype: int
|
|
5376
5378
|
"""
|
|
5377
5379
|
return self._InitialDelaySeconds
|
|
@@ -5382,7 +5384,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5382
5384
|
|
|
5383
5385
|
@property
|
|
5384
5386
|
def CreateTime(self):
|
|
5385
|
-
r"""
|
|
5387
|
+
r"""<p>创建时间</p>
|
|
5386
5388
|
:rtype: str
|
|
5387
5389
|
"""
|
|
5388
5390
|
return self._CreateTime
|
|
@@ -5393,7 +5395,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5393
5395
|
|
|
5394
5396
|
@property
|
|
5395
5397
|
def Port(self):
|
|
5396
|
-
r"""
|
|
5398
|
+
r"""<p>服务端口</p>
|
|
5397
5399
|
:rtype: int
|
|
5398
5400
|
"""
|
|
5399
5401
|
return self._Port
|
|
@@ -5404,7 +5406,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5404
5406
|
|
|
5405
5407
|
@property
|
|
5406
5408
|
def HasDockerfile(self):
|
|
5407
|
-
r"""
|
|
5409
|
+
r"""<p>是否有Dockerfile</p>
|
|
5408
5410
|
:rtype: bool
|
|
5409
5411
|
"""
|
|
5410
5412
|
return self._HasDockerfile
|
|
@@ -5415,7 +5417,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5415
5417
|
|
|
5416
5418
|
@property
|
|
5417
5419
|
def Dockerfile(self):
|
|
5418
|
-
r"""Dockerfile
|
|
5420
|
+
r"""<p>Dockerfile 文件名</p>
|
|
5419
5421
|
:rtype: str
|
|
5420
5422
|
"""
|
|
5421
5423
|
return self._Dockerfile
|
|
@@ -5426,7 +5428,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5426
5428
|
|
|
5427
5429
|
@property
|
|
5428
5430
|
def BuildDir(self):
|
|
5429
|
-
r"""
|
|
5431
|
+
r"""<p>构建目录</p>
|
|
5430
5432
|
:rtype: str
|
|
5431
5433
|
"""
|
|
5432
5434
|
return self._BuildDir
|
|
@@ -5437,7 +5439,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5437
5439
|
|
|
5438
5440
|
@property
|
|
5439
5441
|
def LogType(self):
|
|
5440
|
-
r"""
|
|
5442
|
+
r"""<p>日志类型: none | default | custom</p>
|
|
5441
5443
|
:rtype: str
|
|
5442
5444
|
"""
|
|
5443
5445
|
return self._LogType
|
|
@@ -5448,7 +5450,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5448
5450
|
|
|
5449
5451
|
@property
|
|
5450
5452
|
def LogSetId(self):
|
|
5451
|
-
r"""cls setId
|
|
5453
|
+
r"""<p>cls setId</p>
|
|
5452
5454
|
:rtype: str
|
|
5453
5455
|
"""
|
|
5454
5456
|
return self._LogSetId
|
|
@@ -5459,7 +5461,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5459
5461
|
|
|
5460
5462
|
@property
|
|
5461
5463
|
def LogTopicId(self):
|
|
5462
|
-
r"""cls 主题id
|
|
5464
|
+
r"""<p>cls 主题id</p>
|
|
5463
5465
|
:rtype: str
|
|
5464
5466
|
"""
|
|
5465
5467
|
return self._LogTopicId
|
|
@@ -5470,7 +5472,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5470
5472
|
|
|
5471
5473
|
@property
|
|
5472
5474
|
def LogParseType(self):
|
|
5473
|
-
r"""
|
|
5475
|
+
r"""<p>解析类型:json | line</p>
|
|
5474
5476
|
:rtype: str
|
|
5475
5477
|
"""
|
|
5476
5478
|
return self._LogParseType
|
|
@@ -5481,7 +5483,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5481
5483
|
|
|
5482
5484
|
@property
|
|
5483
5485
|
def Tag(self):
|
|
5484
|
-
r"""
|
|
5486
|
+
r"""<p>服务标签, function: 函数托管</p>
|
|
5485
5487
|
:rtype: str
|
|
5486
5488
|
"""
|
|
5487
5489
|
return self._Tag
|
|
@@ -5492,7 +5494,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5492
5494
|
|
|
5493
5495
|
@property
|
|
5494
5496
|
def InternalAccess(self):
|
|
5495
|
-
r"""
|
|
5497
|
+
r"""<p>内网访问开关 close | open</p>
|
|
5496
5498
|
:rtype: str
|
|
5497
5499
|
"""
|
|
5498
5500
|
return self._InternalAccess
|
|
@@ -5503,7 +5505,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5503
5505
|
|
|
5504
5506
|
@property
|
|
5505
5507
|
def InternalDomain(self):
|
|
5506
|
-
r"""
|
|
5508
|
+
r"""<p>内网域名</p>
|
|
5507
5509
|
:rtype: str
|
|
5508
5510
|
"""
|
|
5509
5511
|
return self._InternalDomain
|
|
@@ -5514,7 +5516,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5514
5516
|
|
|
5515
5517
|
@property
|
|
5516
5518
|
def OperationMode(self):
|
|
5517
|
-
r"""
|
|
5519
|
+
r"""<p>运行模式</p>
|
|
5518
5520
|
:rtype: str
|
|
5519
5521
|
"""
|
|
5520
5522
|
return self._OperationMode
|
|
@@ -5525,7 +5527,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5525
5527
|
|
|
5526
5528
|
@property
|
|
5527
5529
|
def TimerScale(self):
|
|
5528
|
-
r"""
|
|
5530
|
+
r"""<p>定时扩缩容配置</p>
|
|
5529
5531
|
:rtype: list of TimerScale
|
|
5530
5532
|
"""
|
|
5531
5533
|
return self._TimerScale
|
|
@@ -5536,7 +5538,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5536
5538
|
|
|
5537
5539
|
@property
|
|
5538
5540
|
def EntryPoint(self):
|
|
5539
|
-
r"""Dockerfile EntryPoint
|
|
5541
|
+
r"""<p>Dockerfile EntryPoint 参数</p>
|
|
5540
5542
|
:rtype: list of str
|
|
5541
5543
|
"""
|
|
5542
5544
|
return self._EntryPoint
|
|
@@ -5547,7 +5549,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5547
5549
|
|
|
5548
5550
|
@property
|
|
5549
5551
|
def Cmd(self):
|
|
5550
|
-
r"""Dockerfile Cmd
|
|
5552
|
+
r"""<p>Dockerfile Cmd 参数</p>
|
|
5551
5553
|
:rtype: list of str
|
|
5552
5554
|
"""
|
|
5553
5555
|
return self._Cmd
|
|
@@ -5558,7 +5560,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5558
5560
|
|
|
5559
5561
|
@property
|
|
5560
5562
|
def SessionAffinity(self):
|
|
5561
|
-
r"""
|
|
5563
|
+
r"""<p>会话亲和性开关</p>
|
|
5562
5564
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5563
5565
|
:rtype: str
|
|
5564
5566
|
"""
|
|
@@ -5570,7 +5572,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5570
5572
|
|
|
5571
5573
|
@property
|
|
5572
5574
|
def VpcConf(self):
|
|
5573
|
-
r"""Vpc
|
|
5575
|
+
r"""<p>Vpc 配置参数</p>
|
|
5574
5576
|
:rtype: :class:`tencentcloud.tcbr.v20220217.models.VpcConf`
|
|
5575
5577
|
"""
|
|
5576
5578
|
return self._VpcConf
|
|
@@ -5581,7 +5583,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5581
5583
|
|
|
5582
5584
|
@property
|
|
5583
5585
|
def VolumesConf(self):
|
|
5584
|
-
r"""
|
|
5586
|
+
r"""<p>存储配置信息</p>
|
|
5585
5587
|
:rtype: list of VolumeConf
|
|
5586
5588
|
"""
|
|
5587
5589
|
return self._VolumesConf
|
|
@@ -5592,7 +5594,7 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5592
5594
|
|
|
5593
5595
|
@property
|
|
5594
5596
|
def LinkImageRegistry(self):
|
|
5595
|
-
r"""
|
|
5597
|
+
r"""<p>关联镜像密钥</p>
|
|
5596
5598
|
:rtype: str
|
|
5597
5599
|
"""
|
|
5598
5600
|
return self._LinkImageRegistry
|
|
@@ -5601,6 +5603,17 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5601
5603
|
def LinkImageRegistry(self, LinkImageRegistry):
|
|
5602
5604
|
self._LinkImageRegistry = LinkImageRegistry
|
|
5603
5605
|
|
|
5606
|
+
@property
|
|
5607
|
+
def PublicNetConf(self):
|
|
5608
|
+
r"""<p>公网访问配置</p>
|
|
5609
|
+
:rtype: :class:`tencentcloud.tcbr.v20220217.models.PublicNetConf`
|
|
5610
|
+
"""
|
|
5611
|
+
return self._PublicNetConf
|
|
5612
|
+
|
|
5613
|
+
@PublicNetConf.setter
|
|
5614
|
+
def PublicNetConf(self, PublicNetConf):
|
|
5615
|
+
self._PublicNetConf = PublicNetConf
|
|
5616
|
+
|
|
5604
5617
|
|
|
5605
5618
|
def _deserialize(self, params):
|
|
5606
5619
|
self._EnvId = params.get("EnvId")
|
|
@@ -5651,6 +5664,50 @@ class ServerBaseConfig(AbstractModel):
|
|
|
5651
5664
|
obj._deserialize(item)
|
|
5652
5665
|
self._VolumesConf.append(obj)
|
|
5653
5666
|
self._LinkImageRegistry = params.get("LinkImageRegistry")
|
|
5667
|
+
if params.get("PublicNetConf") is not None:
|
|
5668
|
+
self._PublicNetConf = PublicNetConf()
|
|
5669
|
+
self._PublicNetConf._deserialize(params.get("PublicNetConf"))
|
|
5670
|
+
memeber_set = set(params.keys())
|
|
5671
|
+
for name, value in vars(self).items():
|
|
5672
|
+
property_name = name[1:]
|
|
5673
|
+
if property_name in memeber_set:
|
|
5674
|
+
memeber_set.remove(property_name)
|
|
5675
|
+
if len(memeber_set) > 0:
|
|
5676
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5677
|
+
|
|
5678
|
+
|
|
5679
|
+
|
|
5680
|
+
class ServerBaseConfigDiff(AbstractModel):
|
|
5681
|
+
r"""差异化更新配置信息
|
|
5682
|
+
|
|
5683
|
+
"""
|
|
5684
|
+
|
|
5685
|
+
def __init__(self):
|
|
5686
|
+
r"""
|
|
5687
|
+
:param _StrParams: 字符串参数 Key:EnvParam
|
|
5688
|
+
:type StrParams: list of ObjectKV
|
|
5689
|
+
"""
|
|
5690
|
+
self._StrParams = None
|
|
5691
|
+
|
|
5692
|
+
@property
|
|
5693
|
+
def StrParams(self):
|
|
5694
|
+
r"""字符串参数 Key:EnvParam
|
|
5695
|
+
:rtype: list of ObjectKV
|
|
5696
|
+
"""
|
|
5697
|
+
return self._StrParams
|
|
5698
|
+
|
|
5699
|
+
@StrParams.setter
|
|
5700
|
+
def StrParams(self, StrParams):
|
|
5701
|
+
self._StrParams = StrParams
|
|
5702
|
+
|
|
5703
|
+
|
|
5704
|
+
def _deserialize(self, params):
|
|
5705
|
+
if params.get("StrParams") is not None:
|
|
5706
|
+
self._StrParams = []
|
|
5707
|
+
for item in params.get("StrParams"):
|
|
5708
|
+
obj = ObjectKV()
|
|
5709
|
+
obj._deserialize(item)
|
|
5710
|
+
self._StrParams.append(obj)
|
|
5654
5711
|
memeber_set = set(params.keys())
|
|
5655
5712
|
for name, value in vars(self).items():
|
|
5656
5713
|
property_name = name[1:]
|
|
@@ -6546,6 +6603,137 @@ class StorageInfo(AbstractModel):
|
|
|
6546
6603
|
|
|
6547
6604
|
|
|
6548
6605
|
|
|
6606
|
+
class SubmitServerConfigChangeDiffRequest(AbstractModel):
|
|
6607
|
+
r"""SubmitServerConfigChangeDiff请求参数结构体
|
|
6608
|
+
|
|
6609
|
+
"""
|
|
6610
|
+
|
|
6611
|
+
def __init__(self):
|
|
6612
|
+
r"""
|
|
6613
|
+
:param _EnvId: 环境Id
|
|
6614
|
+
:type EnvId: str
|
|
6615
|
+
:param _ServerName: 服务名
|
|
6616
|
+
:type ServerName: str
|
|
6617
|
+
:param _Conf: 配置信息 deprecated
|
|
6618
|
+
:type Conf: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseConfigDiff`
|
|
6619
|
+
:param _Items: 配置信息
|
|
6620
|
+
:type Items: list of DiffConfigItem
|
|
6621
|
+
"""
|
|
6622
|
+
self._EnvId = None
|
|
6623
|
+
self._ServerName = None
|
|
6624
|
+
self._Conf = None
|
|
6625
|
+
self._Items = None
|
|
6626
|
+
|
|
6627
|
+
@property
|
|
6628
|
+
def EnvId(self):
|
|
6629
|
+
r"""环境Id
|
|
6630
|
+
:rtype: str
|
|
6631
|
+
"""
|
|
6632
|
+
return self._EnvId
|
|
6633
|
+
|
|
6634
|
+
@EnvId.setter
|
|
6635
|
+
def EnvId(self, EnvId):
|
|
6636
|
+
self._EnvId = EnvId
|
|
6637
|
+
|
|
6638
|
+
@property
|
|
6639
|
+
def ServerName(self):
|
|
6640
|
+
r"""服务名
|
|
6641
|
+
:rtype: str
|
|
6642
|
+
"""
|
|
6643
|
+
return self._ServerName
|
|
6644
|
+
|
|
6645
|
+
@ServerName.setter
|
|
6646
|
+
def ServerName(self, ServerName):
|
|
6647
|
+
self._ServerName = ServerName
|
|
6648
|
+
|
|
6649
|
+
@property
|
|
6650
|
+
def Conf(self):
|
|
6651
|
+
r"""配置信息 deprecated
|
|
6652
|
+
:rtype: :class:`tencentcloud.tcbr.v20220217.models.ServerBaseConfigDiff`
|
|
6653
|
+
"""
|
|
6654
|
+
return self._Conf
|
|
6655
|
+
|
|
6656
|
+
@Conf.setter
|
|
6657
|
+
def Conf(self, Conf):
|
|
6658
|
+
self._Conf = Conf
|
|
6659
|
+
|
|
6660
|
+
@property
|
|
6661
|
+
def Items(self):
|
|
6662
|
+
r"""配置信息
|
|
6663
|
+
:rtype: list of DiffConfigItem
|
|
6664
|
+
"""
|
|
6665
|
+
return self._Items
|
|
6666
|
+
|
|
6667
|
+
@Items.setter
|
|
6668
|
+
def Items(self, Items):
|
|
6669
|
+
self._Items = Items
|
|
6670
|
+
|
|
6671
|
+
|
|
6672
|
+
def _deserialize(self, params):
|
|
6673
|
+
self._EnvId = params.get("EnvId")
|
|
6674
|
+
self._ServerName = params.get("ServerName")
|
|
6675
|
+
if params.get("Conf") is not None:
|
|
6676
|
+
self._Conf = ServerBaseConfigDiff()
|
|
6677
|
+
self._Conf._deserialize(params.get("Conf"))
|
|
6678
|
+
if params.get("Items") is not None:
|
|
6679
|
+
self._Items = []
|
|
6680
|
+
for item in params.get("Items"):
|
|
6681
|
+
obj = DiffConfigItem()
|
|
6682
|
+
obj._deserialize(item)
|
|
6683
|
+
self._Items.append(obj)
|
|
6684
|
+
memeber_set = set(params.keys())
|
|
6685
|
+
for name, value in vars(self).items():
|
|
6686
|
+
property_name = name[1:]
|
|
6687
|
+
if property_name in memeber_set:
|
|
6688
|
+
memeber_set.remove(property_name)
|
|
6689
|
+
if len(memeber_set) > 0:
|
|
6690
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6691
|
+
|
|
6692
|
+
|
|
6693
|
+
|
|
6694
|
+
class SubmitServerConfigChangeDiffResponse(AbstractModel):
|
|
6695
|
+
r"""SubmitServerConfigChangeDiff返回参数结构体
|
|
6696
|
+
|
|
6697
|
+
"""
|
|
6698
|
+
|
|
6699
|
+
def __init__(self):
|
|
6700
|
+
r"""
|
|
6701
|
+
:param _TaskId: 任务Id 大于 0 需要请求 DescribeServerManageTask 接口获取任务进度,等于 0 则表示同步
|
|
6702
|
+
:type TaskId: int
|
|
6703
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6704
|
+
:type RequestId: str
|
|
6705
|
+
"""
|
|
6706
|
+
self._TaskId = None
|
|
6707
|
+
self._RequestId = None
|
|
6708
|
+
|
|
6709
|
+
@property
|
|
6710
|
+
def TaskId(self):
|
|
6711
|
+
r"""任务Id 大于 0 需要请求 DescribeServerManageTask 接口获取任务进度,等于 0 则表示同步
|
|
6712
|
+
:rtype: int
|
|
6713
|
+
"""
|
|
6714
|
+
return self._TaskId
|
|
6715
|
+
|
|
6716
|
+
@TaskId.setter
|
|
6717
|
+
def TaskId(self, TaskId):
|
|
6718
|
+
self._TaskId = TaskId
|
|
6719
|
+
|
|
6720
|
+
@property
|
|
6721
|
+
def RequestId(self):
|
|
6722
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6723
|
+
:rtype: str
|
|
6724
|
+
"""
|
|
6725
|
+
return self._RequestId
|
|
6726
|
+
|
|
6727
|
+
@RequestId.setter
|
|
6728
|
+
def RequestId(self, RequestId):
|
|
6729
|
+
self._RequestId = RequestId
|
|
6730
|
+
|
|
6731
|
+
|
|
6732
|
+
def _deserialize(self, params):
|
|
6733
|
+
self._TaskId = params.get("TaskId")
|
|
6734
|
+
self._RequestId = params.get("RequestId")
|
|
6735
|
+
|
|
6736
|
+
|
|
6549
6737
|
class SubmitServerRollbackRequest(AbstractModel):
|
|
6550
6738
|
r"""SubmitServerRollback请求参数结构体
|
|
6551
6739
|
|
|
@@ -7694,18 +7882,24 @@ class VolumeConf(AbstractModel):
|
|
|
7694
7882
|
|
|
7695
7883
|
def __init__(self):
|
|
7696
7884
|
r"""
|
|
7697
|
-
:param _Type:
|
|
7885
|
+
:param _Type: <p>存储类型</p>
|
|
7698
7886
|
:type Type: str
|
|
7699
|
-
:param _BucketName:
|
|
7887
|
+
:param _BucketName: <p>对象存储桶名称</p>
|
|
7700
7888
|
:type BucketName: str
|
|
7701
|
-
:param _Endpoint:
|
|
7889
|
+
:param _Endpoint: <p>存储连接地址</p>
|
|
7702
7890
|
:type Endpoint: str
|
|
7703
|
-
:param _KeyID:
|
|
7891
|
+
:param _KeyID: <p>存储连接用户密码</p>
|
|
7704
7892
|
:type KeyID: str
|
|
7705
|
-
:param _DstPath:
|
|
7893
|
+
:param _DstPath: <p>存储挂载目的目录</p>
|
|
7706
7894
|
:type DstPath: str
|
|
7707
|
-
:param _SrcPath:
|
|
7895
|
+
:param _SrcPath: <p>存储挂载源目录</p>
|
|
7708
7896
|
:type SrcPath: str
|
|
7897
|
+
:param _MountIP: <p>cfs 实例ip</p>
|
|
7898
|
+
:type MountIP: str
|
|
7899
|
+
:param _ReadOnly: <p>默认读写</p>
|
|
7900
|
+
:type ReadOnly: bool
|
|
7901
|
+
:param _InstanceId: <p>CFS 实例 ID</p>
|
|
7902
|
+
:type InstanceId: str
|
|
7709
7903
|
"""
|
|
7710
7904
|
self._Type = None
|
|
7711
7905
|
self._BucketName = None
|
|
@@ -7713,10 +7907,13 @@ class VolumeConf(AbstractModel):
|
|
|
7713
7907
|
self._KeyID = None
|
|
7714
7908
|
self._DstPath = None
|
|
7715
7909
|
self._SrcPath = None
|
|
7910
|
+
self._MountIP = None
|
|
7911
|
+
self._ReadOnly = None
|
|
7912
|
+
self._InstanceId = None
|
|
7716
7913
|
|
|
7717
7914
|
@property
|
|
7718
7915
|
def Type(self):
|
|
7719
|
-
r"""
|
|
7916
|
+
r"""<p>存储类型</p>
|
|
7720
7917
|
:rtype: str
|
|
7721
7918
|
"""
|
|
7722
7919
|
return self._Type
|
|
@@ -7727,7 +7924,7 @@ class VolumeConf(AbstractModel):
|
|
|
7727
7924
|
|
|
7728
7925
|
@property
|
|
7729
7926
|
def BucketName(self):
|
|
7730
|
-
r"""
|
|
7927
|
+
r"""<p>对象存储桶名称</p>
|
|
7731
7928
|
:rtype: str
|
|
7732
7929
|
"""
|
|
7733
7930
|
return self._BucketName
|
|
@@ -7738,7 +7935,7 @@ class VolumeConf(AbstractModel):
|
|
|
7738
7935
|
|
|
7739
7936
|
@property
|
|
7740
7937
|
def Endpoint(self):
|
|
7741
|
-
r"""
|
|
7938
|
+
r"""<p>存储连接地址</p>
|
|
7742
7939
|
:rtype: str
|
|
7743
7940
|
"""
|
|
7744
7941
|
return self._Endpoint
|
|
@@ -7749,7 +7946,7 @@ class VolumeConf(AbstractModel):
|
|
|
7749
7946
|
|
|
7750
7947
|
@property
|
|
7751
7948
|
def KeyID(self):
|
|
7752
|
-
r"""
|
|
7949
|
+
r"""<p>存储连接用户密码</p>
|
|
7753
7950
|
:rtype: str
|
|
7754
7951
|
"""
|
|
7755
7952
|
return self._KeyID
|
|
@@ -7760,7 +7957,7 @@ class VolumeConf(AbstractModel):
|
|
|
7760
7957
|
|
|
7761
7958
|
@property
|
|
7762
7959
|
def DstPath(self):
|
|
7763
|
-
r"""
|
|
7960
|
+
r"""<p>存储挂载目的目录</p>
|
|
7764
7961
|
:rtype: str
|
|
7765
7962
|
"""
|
|
7766
7963
|
return self._DstPath
|
|
@@ -7771,7 +7968,7 @@ class VolumeConf(AbstractModel):
|
|
|
7771
7968
|
|
|
7772
7969
|
@property
|
|
7773
7970
|
def SrcPath(self):
|
|
7774
|
-
r"""
|
|
7971
|
+
r"""<p>存储挂载源目录</p>
|
|
7775
7972
|
:rtype: str
|
|
7776
7973
|
"""
|
|
7777
7974
|
return self._SrcPath
|
|
@@ -7780,6 +7977,39 @@ class VolumeConf(AbstractModel):
|
|
|
7780
7977
|
def SrcPath(self, SrcPath):
|
|
7781
7978
|
self._SrcPath = SrcPath
|
|
7782
7979
|
|
|
7980
|
+
@property
|
|
7981
|
+
def MountIP(self):
|
|
7982
|
+
r"""<p>cfs 实例ip</p>
|
|
7983
|
+
:rtype: str
|
|
7984
|
+
"""
|
|
7985
|
+
return self._MountIP
|
|
7986
|
+
|
|
7987
|
+
@MountIP.setter
|
|
7988
|
+
def MountIP(self, MountIP):
|
|
7989
|
+
self._MountIP = MountIP
|
|
7990
|
+
|
|
7991
|
+
@property
|
|
7992
|
+
def ReadOnly(self):
|
|
7993
|
+
r"""<p>默认读写</p>
|
|
7994
|
+
:rtype: bool
|
|
7995
|
+
"""
|
|
7996
|
+
return self._ReadOnly
|
|
7997
|
+
|
|
7998
|
+
@ReadOnly.setter
|
|
7999
|
+
def ReadOnly(self, ReadOnly):
|
|
8000
|
+
self._ReadOnly = ReadOnly
|
|
8001
|
+
|
|
8002
|
+
@property
|
|
8003
|
+
def InstanceId(self):
|
|
8004
|
+
r"""<p>CFS 实例 ID</p>
|
|
8005
|
+
:rtype: str
|
|
8006
|
+
"""
|
|
8007
|
+
return self._InstanceId
|
|
8008
|
+
|
|
8009
|
+
@InstanceId.setter
|
|
8010
|
+
def InstanceId(self, InstanceId):
|
|
8011
|
+
self._InstanceId = InstanceId
|
|
8012
|
+
|
|
7783
8013
|
|
|
7784
8014
|
def _deserialize(self, params):
|
|
7785
8015
|
self._Type = params.get("Type")
|
|
@@ -7788,6 +8018,9 @@ class VolumeConf(AbstractModel):
|
|
|
7788
8018
|
self._KeyID = params.get("KeyID")
|
|
7789
8019
|
self._DstPath = params.get("DstPath")
|
|
7790
8020
|
self._SrcPath = params.get("SrcPath")
|
|
8021
|
+
self._MountIP = params.get("MountIP")
|
|
8022
|
+
self._ReadOnly = params.get("ReadOnly")
|
|
8023
|
+
self._InstanceId = params.get("InstanceId")
|
|
7791
8024
|
memeber_set = set(params.keys())
|
|
7792
8025
|
for name, value in vars(self).items():
|
|
7793
8026
|
property_name = name[1:]
|
|
@@ -463,6 +463,29 @@ class TcbrClient(AbstractClient):
|
|
|
463
463
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
464
|
|
|
465
465
|
|
|
466
|
+
def SubmitServerConfigChangeDiff(self, request):
|
|
467
|
+
r"""更新配置并使用最新镜像发布
|
|
468
|
+
|
|
469
|
+
:param request: Request instance for SubmitServerConfigChangeDiff.
|
|
470
|
+
:type request: :class:`tencentcloud.tcbr.v20220217.models.SubmitServerConfigChangeDiffRequest`
|
|
471
|
+
:rtype: :class:`tencentcloud.tcbr.v20220217.models.SubmitServerConfigChangeDiffResponse`
|
|
472
|
+
|
|
473
|
+
"""
|
|
474
|
+
try:
|
|
475
|
+
params = request._serialize()
|
|
476
|
+
headers = request.headers
|
|
477
|
+
body = self.call("SubmitServerConfigChangeDiff", params, headers=headers)
|
|
478
|
+
response = json.loads(body)
|
|
479
|
+
model = models.SubmitServerConfigChangeDiffResponse()
|
|
480
|
+
model._deserialize(response["Response"])
|
|
481
|
+
return model
|
|
482
|
+
except Exception as e:
|
|
483
|
+
if isinstance(e, TencentCloudSDKException):
|
|
484
|
+
raise
|
|
485
|
+
else:
|
|
486
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
487
|
+
|
|
488
|
+
|
|
466
489
|
def SubmitServerRollback(self, request):
|
|
467
490
|
r"""回滚版本
|
|
468
491
|
|
|
@@ -367,6 +367,24 @@ class TcbrClient(AbstractClient):
|
|
|
367
367
|
|
|
368
368
|
return await self.call_and_deserialize(**kwargs)
|
|
369
369
|
|
|
370
|
+
async def SubmitServerConfigChangeDiff(
|
|
371
|
+
self,
|
|
372
|
+
request: models.SubmitServerConfigChangeDiffRequest,
|
|
373
|
+
opts: Dict = None,
|
|
374
|
+
) -> models.SubmitServerConfigChangeDiffResponse:
|
|
375
|
+
"""
|
|
376
|
+
更新配置并使用最新镜像发布
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
kwargs = {}
|
|
380
|
+
kwargs["action"] = "SubmitServerConfigChangeDiff"
|
|
381
|
+
kwargs["params"] = request._serialize()
|
|
382
|
+
kwargs["resp_cls"] = models.SubmitServerConfigChangeDiffResponse
|
|
383
|
+
kwargs["headers"] = request.headers
|
|
384
|
+
kwargs["opts"] = opts or {}
|
|
385
|
+
|
|
386
|
+
return await self.call_and_deserialize(**kwargs)
|
|
387
|
+
|
|
370
388
|
async def SubmitServerRollback(
|
|
371
389
|
self,
|
|
372
390
|
request: models.SubmitServerRollbackRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tcbr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.155
|
|
4
4
|
Summary: Tencent Cloud Tcbr SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.155
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.155
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.79
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|