tencentcloud-sdk-python 3.0.1193__py2.py3-none-any.whl → 3.0.1195__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/autoscaling/v20180419/models.py +45 -3
- tencentcloud/ccc/v20200210/models.py +19 -1
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +66 -1
- tencentcloud/ckafka/v20190819/ckafka_client.py +23 -0
- tencentcloud/ckafka/v20190819/models.py +192 -0
- tencentcloud/cvm/v20170312/cvm_client.py +46 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +152 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +46 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +298 -0
- tencentcloud/es/v20180416/models.py +48 -0
- tencentcloud/ess/v20201111/ess_client.py +67 -21
- tencentcloud/ess/v20201111/models.py +143 -16
- tencentcloud/essbasic/v20210526/essbasic_client.py +45 -30
- tencentcloud/essbasic/v20210526/models.py +13 -13
- tencentcloud/hunyuan/v20230901/models.py +129 -3
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/models.py +2 -1
- tencentcloud/mna/v20210119/errorcodes.py +6 -0
- tencentcloud/mna/v20210119/mna_client.py +138 -0
- tencentcloud/mna/v20210119/models.py +651 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +6 -6
- tencentcloud/monitor/v20180724/models.py +29 -17
- tencentcloud/oceanus/v20190422/models.py +12 -0
- tencentcloud/postgres/v20170312/errorcodes.py +3 -0
- tencentcloud/postgres/v20170312/models.py +880 -20
- tencentcloud/postgres/v20170312/postgres_client.py +161 -0
- tencentcloud/rce/v20201103/models.py +153 -0
- tencentcloud/tcr/v20190924/models.py +45 -12
- tencentcloud/tcr/v20190924/tcr_client.py +2 -2
- tencentcloud/vpc/v20170312/models.py +1 -1
- tencentcloud/waf/v20180125/models.py +472 -4
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1195.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1195.dist-info}/RECORD +41 -41
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1195.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1195.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1193.dist-info → tencentcloud_sdk_python-3.0.1195.dist-info}/top_level.txt +0 -0
@@ -6985,6 +6985,158 @@ class EnhancedService(AbstractModel):
|
|
6985
6985
|
|
6986
6986
|
|
6987
6987
|
|
6988
|
+
class EnterRescueModeRequest(AbstractModel):
|
6989
|
+
"""EnterRescueMode请求参数结构体
|
6990
|
+
|
6991
|
+
"""
|
6992
|
+
|
6993
|
+
def __init__(self):
|
6994
|
+
r"""
|
6995
|
+
:param _InstanceId: 需要进入救援模式的实例id
|
6996
|
+
:type InstanceId: str
|
6997
|
+
:param _Password: 救援模式下系统密码
|
6998
|
+
:type Password: str
|
6999
|
+
:param _Username: 救援模式下系统用户名
|
7000
|
+
:type Username: str
|
7001
|
+
:param _ForceStop: 是否强制关机
|
7002
|
+
:type ForceStop: bool
|
7003
|
+
"""
|
7004
|
+
self._InstanceId = None
|
7005
|
+
self._Password = None
|
7006
|
+
self._Username = None
|
7007
|
+
self._ForceStop = None
|
7008
|
+
|
7009
|
+
@property
|
7010
|
+
def InstanceId(self):
|
7011
|
+
return self._InstanceId
|
7012
|
+
|
7013
|
+
@InstanceId.setter
|
7014
|
+
def InstanceId(self, InstanceId):
|
7015
|
+
self._InstanceId = InstanceId
|
7016
|
+
|
7017
|
+
@property
|
7018
|
+
def Password(self):
|
7019
|
+
return self._Password
|
7020
|
+
|
7021
|
+
@Password.setter
|
7022
|
+
def Password(self, Password):
|
7023
|
+
self._Password = Password
|
7024
|
+
|
7025
|
+
@property
|
7026
|
+
def Username(self):
|
7027
|
+
return self._Username
|
7028
|
+
|
7029
|
+
@Username.setter
|
7030
|
+
def Username(self, Username):
|
7031
|
+
self._Username = Username
|
7032
|
+
|
7033
|
+
@property
|
7034
|
+
def ForceStop(self):
|
7035
|
+
return self._ForceStop
|
7036
|
+
|
7037
|
+
@ForceStop.setter
|
7038
|
+
def ForceStop(self, ForceStop):
|
7039
|
+
self._ForceStop = ForceStop
|
7040
|
+
|
7041
|
+
|
7042
|
+
def _deserialize(self, params):
|
7043
|
+
self._InstanceId = params.get("InstanceId")
|
7044
|
+
self._Password = params.get("Password")
|
7045
|
+
self._Username = params.get("Username")
|
7046
|
+
self._ForceStop = params.get("ForceStop")
|
7047
|
+
memeber_set = set(params.keys())
|
7048
|
+
for name, value in vars(self).items():
|
7049
|
+
property_name = name[1:]
|
7050
|
+
if property_name in memeber_set:
|
7051
|
+
memeber_set.remove(property_name)
|
7052
|
+
if len(memeber_set) > 0:
|
7053
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7054
|
+
|
7055
|
+
|
7056
|
+
|
7057
|
+
class EnterRescueModeResponse(AbstractModel):
|
7058
|
+
"""EnterRescueMode返回参数结构体
|
7059
|
+
|
7060
|
+
"""
|
7061
|
+
|
7062
|
+
def __init__(self):
|
7063
|
+
r"""
|
7064
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7065
|
+
:type RequestId: str
|
7066
|
+
"""
|
7067
|
+
self._RequestId = None
|
7068
|
+
|
7069
|
+
@property
|
7070
|
+
def RequestId(self):
|
7071
|
+
return self._RequestId
|
7072
|
+
|
7073
|
+
@RequestId.setter
|
7074
|
+
def RequestId(self, RequestId):
|
7075
|
+
self._RequestId = RequestId
|
7076
|
+
|
7077
|
+
|
7078
|
+
def _deserialize(self, params):
|
7079
|
+
self._RequestId = params.get("RequestId")
|
7080
|
+
|
7081
|
+
|
7082
|
+
class ExitRescueModeRequest(AbstractModel):
|
7083
|
+
"""ExitRescueMode请求参数结构体
|
7084
|
+
|
7085
|
+
"""
|
7086
|
+
|
7087
|
+
def __init__(self):
|
7088
|
+
r"""
|
7089
|
+
:param _InstanceId: 退出救援模式的实例id
|
7090
|
+
:type InstanceId: str
|
7091
|
+
"""
|
7092
|
+
self._InstanceId = None
|
7093
|
+
|
7094
|
+
@property
|
7095
|
+
def InstanceId(self):
|
7096
|
+
return self._InstanceId
|
7097
|
+
|
7098
|
+
@InstanceId.setter
|
7099
|
+
def InstanceId(self, InstanceId):
|
7100
|
+
self._InstanceId = InstanceId
|
7101
|
+
|
7102
|
+
|
7103
|
+
def _deserialize(self, params):
|
7104
|
+
self._InstanceId = params.get("InstanceId")
|
7105
|
+
memeber_set = set(params.keys())
|
7106
|
+
for name, value in vars(self).items():
|
7107
|
+
property_name = name[1:]
|
7108
|
+
if property_name in memeber_set:
|
7109
|
+
memeber_set.remove(property_name)
|
7110
|
+
if len(memeber_set) > 0:
|
7111
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
7112
|
+
|
7113
|
+
|
7114
|
+
|
7115
|
+
class ExitRescueModeResponse(AbstractModel):
|
7116
|
+
"""ExitRescueMode返回参数结构体
|
7117
|
+
|
7118
|
+
"""
|
7119
|
+
|
7120
|
+
def __init__(self):
|
7121
|
+
r"""
|
7122
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7123
|
+
:type RequestId: str
|
7124
|
+
"""
|
7125
|
+
self._RequestId = None
|
7126
|
+
|
7127
|
+
@property
|
7128
|
+
def RequestId(self):
|
7129
|
+
return self._RequestId
|
7130
|
+
|
7131
|
+
@RequestId.setter
|
7132
|
+
def RequestId(self, RequestId):
|
7133
|
+
self._RequestId = RequestId
|
7134
|
+
|
7135
|
+
|
7136
|
+
def _deserialize(self, params):
|
7137
|
+
self._RequestId = params.get("RequestId")
|
7138
|
+
|
7139
|
+
|
6988
7140
|
class ExportImagesRequest(AbstractModel):
|
6989
7141
|
"""ExportImages请求参数结构体
|
6990
7142
|
|
@@ -1868,6 +1868,29 @@ class CynosdbClient(AbstractClient):
|
|
1868
1868
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1869
1869
|
|
1870
1870
|
|
1871
|
+
def ExportResourcePackageDeductDetails(self, request):
|
1872
|
+
"""资源包使用明细导出
|
1873
|
+
|
1874
|
+
:param request: Request instance for ExportResourcePackageDeductDetails.
|
1875
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ExportResourcePackageDeductDetailsRequest`
|
1876
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ExportResourcePackageDeductDetailsResponse`
|
1877
|
+
|
1878
|
+
"""
|
1879
|
+
try:
|
1880
|
+
params = request._serialize()
|
1881
|
+
headers = request.headers
|
1882
|
+
body = self.call("ExportResourcePackageDeductDetails", params, headers=headers)
|
1883
|
+
response = json.loads(body)
|
1884
|
+
model = models.ExportResourcePackageDeductDetailsResponse()
|
1885
|
+
model._deserialize(response["Response"])
|
1886
|
+
return model
|
1887
|
+
except Exception as e:
|
1888
|
+
if isinstance(e, TencentCloudSDKException):
|
1889
|
+
raise
|
1890
|
+
else:
|
1891
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1892
|
+
|
1893
|
+
|
1871
1894
|
def GrantAccountPrivileges(self, request):
|
1872
1895
|
"""批量授权账号权限
|
1873
1896
|
|
@@ -2558,6 +2581,29 @@ class CynosdbClient(AbstractClient):
|
|
2558
2581
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2559
2582
|
|
2560
2583
|
|
2584
|
+
def ModifyResourcePackagesDeductionPriority(self, request):
|
2585
|
+
"""修改已绑定资源包抵扣优先级
|
2586
|
+
|
2587
|
+
:param request: Request instance for ModifyResourcePackagesDeductionPriority.
|
2588
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.ModifyResourcePackagesDeductionPriorityRequest`
|
2589
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.ModifyResourcePackagesDeductionPriorityResponse`
|
2590
|
+
|
2591
|
+
"""
|
2592
|
+
try:
|
2593
|
+
params = request._serialize()
|
2594
|
+
headers = request.headers
|
2595
|
+
body = self.call("ModifyResourcePackagesDeductionPriority", params, headers=headers)
|
2596
|
+
response = json.loads(body)
|
2597
|
+
model = models.ModifyResourcePackagesDeductionPriorityResponse()
|
2598
|
+
model._deserialize(response["Response"])
|
2599
|
+
return model
|
2600
|
+
except Exception as e:
|
2601
|
+
if isinstance(e, TencentCloudSDKException):
|
2602
|
+
raise
|
2603
|
+
else:
|
2604
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2605
|
+
|
2606
|
+
|
2561
2607
|
def ModifyVipVport(self, request):
|
2562
2608
|
"""修改实例组ip,端口
|
2563
2609
|
|
@@ -65,6 +65,9 @@ FAILEDOPERATION_GETOSSINFOERROR = 'FailedOperation.GetOssInfoError'
|
|
65
65
|
# 账号余额不足。
|
66
66
|
FAILEDOPERATION_INSUFFICIENTBALANCE = 'FailedOperation.InsufficientBalance'
|
67
67
|
|
68
|
+
# 修改资源包抵扣优先级失败,请检查参数并稍后重试
|
69
|
+
FAILEDOPERATION_MODIFYDEDUCTIONPRIORITYERROR = 'FailedOperation.ModifyDeductionPriorityError'
|
70
|
+
|
68
71
|
# 操作失败,请稍后重试。如果持续不成功,请联系客服进行处理。
|
69
72
|
FAILEDOPERATION_OPERATIONFAILEDERROR = 'FailedOperation.OperationFailedError'
|
70
73
|
|
@@ -16778,6 +16778,172 @@ class ExportInstanceSlowQueriesResponse(AbstractModel):
|
|
16778
16778
|
self._RequestId = params.get("RequestId")
|
16779
16779
|
|
16780
16780
|
|
16781
|
+
class ExportResourcePackageDeductDetailsRequest(AbstractModel):
|
16782
|
+
"""ExportResourcePackageDeductDetails请求参数结构体
|
16783
|
+
|
16784
|
+
"""
|
16785
|
+
|
16786
|
+
def __init__(self):
|
16787
|
+
r"""
|
16788
|
+
:param _PackageId: 需要导出的资源包ID
|
16789
|
+
:type PackageId: str
|
16790
|
+
:param _ClusterIds: 使用资源包容量的cynos集群ID
|
16791
|
+
:type ClusterIds: list of str
|
16792
|
+
:param _OrderBy: 排序字段,目前支持:createTime(资源包被抵扣时间),successDeductSpec(资源包抵扣量)
|
16793
|
+
:type OrderBy: str
|
16794
|
+
:param _OrderByType: 排序类型,支持ASC、DESC、asc、desc
|
16795
|
+
:type OrderByType: str
|
16796
|
+
:param _StartTime: 开始时间
|
16797
|
+
:type StartTime: str
|
16798
|
+
:param _EndTime: 结束时间
|
16799
|
+
:type EndTime: str
|
16800
|
+
:param _Limit: 单次最大导出数据行数,目前最大支持2000行
|
16801
|
+
:type Limit: str
|
16802
|
+
:param _Offset: 偏移量页数
|
16803
|
+
:type Offset: str
|
16804
|
+
:param _FileType: 导出数据格式,目前仅支持csv格式,留作扩展
|
16805
|
+
:type FileType: str
|
16806
|
+
"""
|
16807
|
+
self._PackageId = None
|
16808
|
+
self._ClusterIds = None
|
16809
|
+
self._OrderBy = None
|
16810
|
+
self._OrderByType = None
|
16811
|
+
self._StartTime = None
|
16812
|
+
self._EndTime = None
|
16813
|
+
self._Limit = None
|
16814
|
+
self._Offset = None
|
16815
|
+
self._FileType = None
|
16816
|
+
|
16817
|
+
@property
|
16818
|
+
def PackageId(self):
|
16819
|
+
return self._PackageId
|
16820
|
+
|
16821
|
+
@PackageId.setter
|
16822
|
+
def PackageId(self, PackageId):
|
16823
|
+
self._PackageId = PackageId
|
16824
|
+
|
16825
|
+
@property
|
16826
|
+
def ClusterIds(self):
|
16827
|
+
return self._ClusterIds
|
16828
|
+
|
16829
|
+
@ClusterIds.setter
|
16830
|
+
def ClusterIds(self, ClusterIds):
|
16831
|
+
self._ClusterIds = ClusterIds
|
16832
|
+
|
16833
|
+
@property
|
16834
|
+
def OrderBy(self):
|
16835
|
+
return self._OrderBy
|
16836
|
+
|
16837
|
+
@OrderBy.setter
|
16838
|
+
def OrderBy(self, OrderBy):
|
16839
|
+
self._OrderBy = OrderBy
|
16840
|
+
|
16841
|
+
@property
|
16842
|
+
def OrderByType(self):
|
16843
|
+
return self._OrderByType
|
16844
|
+
|
16845
|
+
@OrderByType.setter
|
16846
|
+
def OrderByType(self, OrderByType):
|
16847
|
+
self._OrderByType = OrderByType
|
16848
|
+
|
16849
|
+
@property
|
16850
|
+
def StartTime(self):
|
16851
|
+
return self._StartTime
|
16852
|
+
|
16853
|
+
@StartTime.setter
|
16854
|
+
def StartTime(self, StartTime):
|
16855
|
+
self._StartTime = StartTime
|
16856
|
+
|
16857
|
+
@property
|
16858
|
+
def EndTime(self):
|
16859
|
+
return self._EndTime
|
16860
|
+
|
16861
|
+
@EndTime.setter
|
16862
|
+
def EndTime(self, EndTime):
|
16863
|
+
self._EndTime = EndTime
|
16864
|
+
|
16865
|
+
@property
|
16866
|
+
def Limit(self):
|
16867
|
+
return self._Limit
|
16868
|
+
|
16869
|
+
@Limit.setter
|
16870
|
+
def Limit(self, Limit):
|
16871
|
+
self._Limit = Limit
|
16872
|
+
|
16873
|
+
@property
|
16874
|
+
def Offset(self):
|
16875
|
+
return self._Offset
|
16876
|
+
|
16877
|
+
@Offset.setter
|
16878
|
+
def Offset(self, Offset):
|
16879
|
+
self._Offset = Offset
|
16880
|
+
|
16881
|
+
@property
|
16882
|
+
def FileType(self):
|
16883
|
+
return self._FileType
|
16884
|
+
|
16885
|
+
@FileType.setter
|
16886
|
+
def FileType(self, FileType):
|
16887
|
+
self._FileType = FileType
|
16888
|
+
|
16889
|
+
|
16890
|
+
def _deserialize(self, params):
|
16891
|
+
self._PackageId = params.get("PackageId")
|
16892
|
+
self._ClusterIds = params.get("ClusterIds")
|
16893
|
+
self._OrderBy = params.get("OrderBy")
|
16894
|
+
self._OrderByType = params.get("OrderByType")
|
16895
|
+
self._StartTime = params.get("StartTime")
|
16896
|
+
self._EndTime = params.get("EndTime")
|
16897
|
+
self._Limit = params.get("Limit")
|
16898
|
+
self._Offset = params.get("Offset")
|
16899
|
+
self._FileType = params.get("FileType")
|
16900
|
+
memeber_set = set(params.keys())
|
16901
|
+
for name, value in vars(self).items():
|
16902
|
+
property_name = name[1:]
|
16903
|
+
if property_name in memeber_set:
|
16904
|
+
memeber_set.remove(property_name)
|
16905
|
+
if len(memeber_set) > 0:
|
16906
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16907
|
+
|
16908
|
+
|
16909
|
+
|
16910
|
+
class ExportResourcePackageDeductDetailsResponse(AbstractModel):
|
16911
|
+
"""ExportResourcePackageDeductDetails返回参数结构体
|
16912
|
+
|
16913
|
+
"""
|
16914
|
+
|
16915
|
+
def __init__(self):
|
16916
|
+
r"""
|
16917
|
+
:param _FileContent: 文件详情
|
16918
|
+
:type FileContent: str
|
16919
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16920
|
+
:type RequestId: str
|
16921
|
+
"""
|
16922
|
+
self._FileContent = None
|
16923
|
+
self._RequestId = None
|
16924
|
+
|
16925
|
+
@property
|
16926
|
+
def FileContent(self):
|
16927
|
+
return self._FileContent
|
16928
|
+
|
16929
|
+
@FileContent.setter
|
16930
|
+
def FileContent(self, FileContent):
|
16931
|
+
self._FileContent = FileContent
|
16932
|
+
|
16933
|
+
@property
|
16934
|
+
def RequestId(self):
|
16935
|
+
return self._RequestId
|
16936
|
+
|
16937
|
+
@RequestId.setter
|
16938
|
+
def RequestId(self, RequestId):
|
16939
|
+
self._RequestId = RequestId
|
16940
|
+
|
16941
|
+
|
16942
|
+
def _deserialize(self, params):
|
16943
|
+
self._FileContent = params.get("FileContent")
|
16944
|
+
self._RequestId = params.get("RequestId")
|
16945
|
+
|
16946
|
+
|
16781
16947
|
class GrantAccountPrivilegesRequest(AbstractModel):
|
16782
16948
|
"""GrantAccountPrivileges请求参数结构体
|
16783
16949
|
|
@@ -21765,6 +21931,93 @@ class ModifyResourcePackageNameResponse(AbstractModel):
|
|
21765
21931
|
self._RequestId = params.get("RequestId")
|
21766
21932
|
|
21767
21933
|
|
21934
|
+
class ModifyResourcePackagesDeductionPriorityRequest(AbstractModel):
|
21935
|
+
"""ModifyResourcePackagesDeductionPriority请求参数结构体
|
21936
|
+
|
21937
|
+
"""
|
21938
|
+
|
21939
|
+
def __init__(self):
|
21940
|
+
r"""
|
21941
|
+
:param _PackageType: 需要修改优先级的资源包类型,CCU:计算资源包,DISK:存储资源包
|
21942
|
+
:type PackageType: str
|
21943
|
+
:param _ClusterId: 修改后的抵扣优先级对于哪个cynos资源生效
|
21944
|
+
:type ClusterId: str
|
21945
|
+
:param _DeductionPriorities: 资源包抵扣优先级
|
21946
|
+
:type DeductionPriorities: list of PackagePriority
|
21947
|
+
"""
|
21948
|
+
self._PackageType = None
|
21949
|
+
self._ClusterId = None
|
21950
|
+
self._DeductionPriorities = None
|
21951
|
+
|
21952
|
+
@property
|
21953
|
+
def PackageType(self):
|
21954
|
+
return self._PackageType
|
21955
|
+
|
21956
|
+
@PackageType.setter
|
21957
|
+
def PackageType(self, PackageType):
|
21958
|
+
self._PackageType = PackageType
|
21959
|
+
|
21960
|
+
@property
|
21961
|
+
def ClusterId(self):
|
21962
|
+
return self._ClusterId
|
21963
|
+
|
21964
|
+
@ClusterId.setter
|
21965
|
+
def ClusterId(self, ClusterId):
|
21966
|
+
self._ClusterId = ClusterId
|
21967
|
+
|
21968
|
+
@property
|
21969
|
+
def DeductionPriorities(self):
|
21970
|
+
return self._DeductionPriorities
|
21971
|
+
|
21972
|
+
@DeductionPriorities.setter
|
21973
|
+
def DeductionPriorities(self, DeductionPriorities):
|
21974
|
+
self._DeductionPriorities = DeductionPriorities
|
21975
|
+
|
21976
|
+
|
21977
|
+
def _deserialize(self, params):
|
21978
|
+
self._PackageType = params.get("PackageType")
|
21979
|
+
self._ClusterId = params.get("ClusterId")
|
21980
|
+
if params.get("DeductionPriorities") is not None:
|
21981
|
+
self._DeductionPriorities = []
|
21982
|
+
for item in params.get("DeductionPriorities"):
|
21983
|
+
obj = PackagePriority()
|
21984
|
+
obj._deserialize(item)
|
21985
|
+
self._DeductionPriorities.append(obj)
|
21986
|
+
memeber_set = set(params.keys())
|
21987
|
+
for name, value in vars(self).items():
|
21988
|
+
property_name = name[1:]
|
21989
|
+
if property_name in memeber_set:
|
21990
|
+
memeber_set.remove(property_name)
|
21991
|
+
if len(memeber_set) > 0:
|
21992
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
21993
|
+
|
21994
|
+
|
21995
|
+
|
21996
|
+
class ModifyResourcePackagesDeductionPriorityResponse(AbstractModel):
|
21997
|
+
"""ModifyResourcePackagesDeductionPriority返回参数结构体
|
21998
|
+
|
21999
|
+
"""
|
22000
|
+
|
22001
|
+
def __init__(self):
|
22002
|
+
r"""
|
22003
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22004
|
+
:type RequestId: str
|
22005
|
+
"""
|
22006
|
+
self._RequestId = None
|
22007
|
+
|
22008
|
+
@property
|
22009
|
+
def RequestId(self):
|
22010
|
+
return self._RequestId
|
22011
|
+
|
22012
|
+
@RequestId.setter
|
22013
|
+
def RequestId(self, RequestId):
|
22014
|
+
self._RequestId = RequestId
|
22015
|
+
|
22016
|
+
|
22017
|
+
def _deserialize(self, params):
|
22018
|
+
self._RequestId = params.get("RequestId")
|
22019
|
+
|
22020
|
+
|
21768
22021
|
class ModifyVipVportRequest(AbstractModel):
|
21769
22022
|
"""ModifyVipVport请求参数结构体
|
21770
22023
|
|
@@ -23357,6 +23610,51 @@ class PackageDetail(AbstractModel):
|
|
23357
23610
|
|
23358
23611
|
|
23359
23612
|
|
23613
|
+
class PackagePriority(AbstractModel):
|
23614
|
+
"""资源包抵扣优先级
|
23615
|
+
|
23616
|
+
"""
|
23617
|
+
|
23618
|
+
def __init__(self):
|
23619
|
+
r"""
|
23620
|
+
:param _PackageId: 需要自定义抵扣优先级的资源包
|
23621
|
+
:type PackageId: str
|
23622
|
+
:param _DeductionPriority: 自定义的抵扣优先级
|
23623
|
+
:type DeductionPriority: int
|
23624
|
+
"""
|
23625
|
+
self._PackageId = None
|
23626
|
+
self._DeductionPriority = None
|
23627
|
+
|
23628
|
+
@property
|
23629
|
+
def PackageId(self):
|
23630
|
+
return self._PackageId
|
23631
|
+
|
23632
|
+
@PackageId.setter
|
23633
|
+
def PackageId(self, PackageId):
|
23634
|
+
self._PackageId = PackageId
|
23635
|
+
|
23636
|
+
@property
|
23637
|
+
def DeductionPriority(self):
|
23638
|
+
return self._DeductionPriority
|
23639
|
+
|
23640
|
+
@DeductionPriority.setter
|
23641
|
+
def DeductionPriority(self, DeductionPriority):
|
23642
|
+
self._DeductionPriority = DeductionPriority
|
23643
|
+
|
23644
|
+
|
23645
|
+
def _deserialize(self, params):
|
23646
|
+
self._PackageId = params.get("PackageId")
|
23647
|
+
self._DeductionPriority = params.get("DeductionPriority")
|
23648
|
+
memeber_set = set(params.keys())
|
23649
|
+
for name, value in vars(self).items():
|
23650
|
+
property_name = name[1:]
|
23651
|
+
if property_name in memeber_set:
|
23652
|
+
memeber_set.remove(property_name)
|
23653
|
+
if len(memeber_set) > 0:
|
23654
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
23655
|
+
|
23656
|
+
|
23657
|
+
|
23360
23658
|
class ParamDetail(AbstractModel):
|
23361
23659
|
"""实例参数详细描述
|
23362
23660
|
|
@@ -11695,6 +11695,10 @@ class RestartNodesRequest(AbstractModel):
|
|
11695
11695
|
:type IsOffline: bool
|
11696
11696
|
:param _CvmDelayOnlineTime: cvm延迟上架时间
|
11697
11697
|
:type CvmDelayOnlineTime: int
|
11698
|
+
:param _ShardAllocationConcurrents: 分片迁移并发数
|
11699
|
+
:type ShardAllocationConcurrents: int
|
11700
|
+
:param _ShardAllocationBytes: 分片迁移并发速度
|
11701
|
+
:type ShardAllocationBytes: int
|
11698
11702
|
"""
|
11699
11703
|
self._InstanceId = None
|
11700
11704
|
self._NodeNames = None
|
@@ -11702,6 +11706,8 @@ class RestartNodesRequest(AbstractModel):
|
|
11702
11706
|
self._RestartMode = None
|
11703
11707
|
self._IsOffline = None
|
11704
11708
|
self._CvmDelayOnlineTime = None
|
11709
|
+
self._ShardAllocationConcurrents = None
|
11710
|
+
self._ShardAllocationBytes = None
|
11705
11711
|
|
11706
11712
|
@property
|
11707
11713
|
def InstanceId(self):
|
@@ -11751,6 +11757,22 @@ class RestartNodesRequest(AbstractModel):
|
|
11751
11757
|
def CvmDelayOnlineTime(self, CvmDelayOnlineTime):
|
11752
11758
|
self._CvmDelayOnlineTime = CvmDelayOnlineTime
|
11753
11759
|
|
11760
|
+
@property
|
11761
|
+
def ShardAllocationConcurrents(self):
|
11762
|
+
return self._ShardAllocationConcurrents
|
11763
|
+
|
11764
|
+
@ShardAllocationConcurrents.setter
|
11765
|
+
def ShardAllocationConcurrents(self, ShardAllocationConcurrents):
|
11766
|
+
self._ShardAllocationConcurrents = ShardAllocationConcurrents
|
11767
|
+
|
11768
|
+
@property
|
11769
|
+
def ShardAllocationBytes(self):
|
11770
|
+
return self._ShardAllocationBytes
|
11771
|
+
|
11772
|
+
@ShardAllocationBytes.setter
|
11773
|
+
def ShardAllocationBytes(self, ShardAllocationBytes):
|
11774
|
+
self._ShardAllocationBytes = ShardAllocationBytes
|
11775
|
+
|
11754
11776
|
|
11755
11777
|
def _deserialize(self, params):
|
11756
11778
|
self._InstanceId = params.get("InstanceId")
|
@@ -11759,6 +11781,8 @@ class RestartNodesRequest(AbstractModel):
|
|
11759
11781
|
self._RestartMode = params.get("RestartMode")
|
11760
11782
|
self._IsOffline = params.get("IsOffline")
|
11761
11783
|
self._CvmDelayOnlineTime = params.get("CvmDelayOnlineTime")
|
11784
|
+
self._ShardAllocationConcurrents = params.get("ShardAllocationConcurrents")
|
11785
|
+
self._ShardAllocationBytes = params.get("ShardAllocationBytes")
|
11762
11786
|
memeber_set = set(params.keys())
|
11763
11787
|
for name, value in vars(self).items():
|
11764
11788
|
property_name = name[1:]
|
@@ -14938,6 +14962,10 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
14938
14962
|
:type SkipCheckForceRestart: bool
|
14939
14963
|
:param _CvmDelayOnlineTime: cvm延迟上架参数
|
14940
14964
|
:type CvmDelayOnlineTime: int
|
14965
|
+
:param _ShardAllocationConcurrents: 分片迁移并发数
|
14966
|
+
:type ShardAllocationConcurrents: int
|
14967
|
+
:param _ShardAllocationBytes: 分片迁移并发速度
|
14968
|
+
:type ShardAllocationBytes: int
|
14941
14969
|
"""
|
14942
14970
|
self._InstanceId = None
|
14943
14971
|
self._EsVersion = None
|
@@ -14948,6 +14976,8 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
14948
14976
|
self._CosBackup = None
|
14949
14977
|
self._SkipCheckForceRestart = None
|
14950
14978
|
self._CvmDelayOnlineTime = None
|
14979
|
+
self._ShardAllocationConcurrents = None
|
14980
|
+
self._ShardAllocationBytes = None
|
14951
14981
|
|
14952
14982
|
@property
|
14953
14983
|
def InstanceId(self):
|
@@ -15021,6 +15051,22 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
15021
15051
|
def CvmDelayOnlineTime(self, CvmDelayOnlineTime):
|
15022
15052
|
self._CvmDelayOnlineTime = CvmDelayOnlineTime
|
15023
15053
|
|
15054
|
+
@property
|
15055
|
+
def ShardAllocationConcurrents(self):
|
15056
|
+
return self._ShardAllocationConcurrents
|
15057
|
+
|
15058
|
+
@ShardAllocationConcurrents.setter
|
15059
|
+
def ShardAllocationConcurrents(self, ShardAllocationConcurrents):
|
15060
|
+
self._ShardAllocationConcurrents = ShardAllocationConcurrents
|
15061
|
+
|
15062
|
+
@property
|
15063
|
+
def ShardAllocationBytes(self):
|
15064
|
+
return self._ShardAllocationBytes
|
15065
|
+
|
15066
|
+
@ShardAllocationBytes.setter
|
15067
|
+
def ShardAllocationBytes(self, ShardAllocationBytes):
|
15068
|
+
self._ShardAllocationBytes = ShardAllocationBytes
|
15069
|
+
|
15024
15070
|
|
15025
15071
|
def _deserialize(self, params):
|
15026
15072
|
self._InstanceId = params.get("InstanceId")
|
@@ -15032,6 +15078,8 @@ class UpgradeInstanceRequest(AbstractModel):
|
|
15032
15078
|
self._CosBackup = params.get("CosBackup")
|
15033
15079
|
self._SkipCheckForceRestart = params.get("SkipCheckForceRestart")
|
15034
15080
|
self._CvmDelayOnlineTime = params.get("CvmDelayOnlineTime")
|
15081
|
+
self._ShardAllocationConcurrents = params.get("ShardAllocationConcurrents")
|
15082
|
+
self._ShardAllocationBytes = params.get("ShardAllocationBytes")
|
15035
15083
|
memeber_set = set(params.keys())
|
15036
15084
|
for name, value in vars(self).items():
|
15037
15085
|
property_name = name[1:]
|