tencentcloud-sdk-python 3.0.1117__py2.py3-none-any.whl → 3.0.1119__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +3 -4
- tencentcloud/bi/v20220105/models.py +36 -0
- tencentcloud/billing/v20180709/models.py +334 -17
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/errorcodes.py +9 -0
- tencentcloud/ccc/v20200210/models.py +620 -0
- tencentcloud/cdwpg/v20201230/models.py +12 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +288 -1
- tencentcloud/clb/v20180317/models.py +0 -1
- tencentcloud/cloudstudio/v20230508/models.py +52 -4
- tencentcloud/csip/v20221121/models.py +9 -8
- tencentcloud/cwp/v20180228/cwp_client.py +6 -2
- tencentcloud/cwp/v20180228/models.py +166 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +375 -0
- tencentcloud/dlc/v20210125/models.py +8 -0
- tencentcloud/dsgc/v20190723/models.py +24 -0
- tencentcloud/dts/v20211206/models.py +52 -0
- tencentcloud/es/v20180416/models.py +163 -5
- tencentcloud/ess/v20201111/models.py +51 -34
- tencentcloud/essbasic/v20210526/models.py +26 -7
- tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +529 -0
- tencentcloud/iotexplorer/v20190423/models.py +3400 -271
- tencentcloud/lcic/v20220817/models.py +90 -0
- tencentcloud/mps/v20190612/models.py +69 -25
- tencentcloud/ocr/v20181119/errorcodes.py +3 -0
- tencentcloud/ocr/v20181119/models.py +443 -0
- tencentcloud/ocr/v20181119/ocr_client.py +23 -0
- tencentcloud/tione/v20211111/models.py +130 -2
- tencentcloud/tms/v20201229/tms_client.py +1 -1
- tencentcloud/tts/v20190823/models.py +13 -0
- tencentcloud/vod/v20180717/models.py +12 -17
- tencentcloud/wedata/v20210820/models.py +285 -7
- {tencentcloud_sdk_python-3.0.1117.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1117.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/RECORD +42 -42
- {tencentcloud_sdk_python-3.0.1117.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1117.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1117.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/top_level.txt +0 -0
|
@@ -7782,10 +7782,14 @@ class BaselineCategory(AbstractModel):
|
|
|
7782
7782
|
:type CategoryName: str
|
|
7783
7783
|
:param _ParentCategoryId: 父分类ID,如果为0则没有父分类
|
|
7784
7784
|
:type ParentCategoryId: int
|
|
7785
|
+
:param _ItemCount: 子分类下检测项总数
|
|
7786
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7787
|
+
:type ItemCount: int
|
|
7785
7788
|
"""
|
|
7786
7789
|
self._CategoryId = None
|
|
7787
7790
|
self._CategoryName = None
|
|
7788
7791
|
self._ParentCategoryId = None
|
|
7792
|
+
self._ItemCount = None
|
|
7789
7793
|
|
|
7790
7794
|
@property
|
|
7791
7795
|
def CategoryId(self):
|
|
@@ -7811,11 +7815,20 @@ class BaselineCategory(AbstractModel):
|
|
|
7811
7815
|
def ParentCategoryId(self, ParentCategoryId):
|
|
7812
7816
|
self._ParentCategoryId = ParentCategoryId
|
|
7813
7817
|
|
|
7818
|
+
@property
|
|
7819
|
+
def ItemCount(self):
|
|
7820
|
+
return self._ItemCount
|
|
7821
|
+
|
|
7822
|
+
@ItemCount.setter
|
|
7823
|
+
def ItemCount(self, ItemCount):
|
|
7824
|
+
self._ItemCount = ItemCount
|
|
7825
|
+
|
|
7814
7826
|
|
|
7815
7827
|
def _deserialize(self, params):
|
|
7816
7828
|
self._CategoryId = params.get("CategoryId")
|
|
7817
7829
|
self._CategoryName = params.get("CategoryName")
|
|
7818
7830
|
self._ParentCategoryId = params.get("ParentCategoryId")
|
|
7831
|
+
self._ItemCount = params.get("ItemCount")
|
|
7819
7832
|
memeber_set = set(params.keys())
|
|
7820
7833
|
for name, value in vars(self).items():
|
|
7821
7834
|
property_name = name[1:]
|
|
@@ -9503,6 +9516,80 @@ class BaselineItemInfo(AbstractModel):
|
|
|
9503
9516
|
|
|
9504
9517
|
|
|
9505
9518
|
|
|
9519
|
+
class BaselineItemsCategory(AbstractModel):
|
|
9520
|
+
"""基线检测项分类树状结构
|
|
9521
|
+
|
|
9522
|
+
"""
|
|
9523
|
+
|
|
9524
|
+
def __init__(self):
|
|
9525
|
+
r"""
|
|
9526
|
+
:param _ParentCategoryId: 基线检测项父分类id
|
|
9527
|
+
:type ParentCategoryId: int
|
|
9528
|
+
:param _ParentCategoryName: 基线检测项父分类名称
|
|
9529
|
+
:type ParentCategoryName: str
|
|
9530
|
+
:param _CategoryCount: 基线检测项子分类数目
|
|
9531
|
+
:type CategoryCount: int
|
|
9532
|
+
:param _CategoryLists: 基线检测项子分类列表
|
|
9533
|
+
:type CategoryLists: list of BaselineCategory
|
|
9534
|
+
"""
|
|
9535
|
+
self._ParentCategoryId = None
|
|
9536
|
+
self._ParentCategoryName = None
|
|
9537
|
+
self._CategoryCount = None
|
|
9538
|
+
self._CategoryLists = None
|
|
9539
|
+
|
|
9540
|
+
@property
|
|
9541
|
+
def ParentCategoryId(self):
|
|
9542
|
+
return self._ParentCategoryId
|
|
9543
|
+
|
|
9544
|
+
@ParentCategoryId.setter
|
|
9545
|
+
def ParentCategoryId(self, ParentCategoryId):
|
|
9546
|
+
self._ParentCategoryId = ParentCategoryId
|
|
9547
|
+
|
|
9548
|
+
@property
|
|
9549
|
+
def ParentCategoryName(self):
|
|
9550
|
+
return self._ParentCategoryName
|
|
9551
|
+
|
|
9552
|
+
@ParentCategoryName.setter
|
|
9553
|
+
def ParentCategoryName(self, ParentCategoryName):
|
|
9554
|
+
self._ParentCategoryName = ParentCategoryName
|
|
9555
|
+
|
|
9556
|
+
@property
|
|
9557
|
+
def CategoryCount(self):
|
|
9558
|
+
return self._CategoryCount
|
|
9559
|
+
|
|
9560
|
+
@CategoryCount.setter
|
|
9561
|
+
def CategoryCount(self, CategoryCount):
|
|
9562
|
+
self._CategoryCount = CategoryCount
|
|
9563
|
+
|
|
9564
|
+
@property
|
|
9565
|
+
def CategoryLists(self):
|
|
9566
|
+
return self._CategoryLists
|
|
9567
|
+
|
|
9568
|
+
@CategoryLists.setter
|
|
9569
|
+
def CategoryLists(self, CategoryLists):
|
|
9570
|
+
self._CategoryLists = CategoryLists
|
|
9571
|
+
|
|
9572
|
+
|
|
9573
|
+
def _deserialize(self, params):
|
|
9574
|
+
self._ParentCategoryId = params.get("ParentCategoryId")
|
|
9575
|
+
self._ParentCategoryName = params.get("ParentCategoryName")
|
|
9576
|
+
self._CategoryCount = params.get("CategoryCount")
|
|
9577
|
+
if params.get("CategoryLists") is not None:
|
|
9578
|
+
self._CategoryLists = []
|
|
9579
|
+
for item in params.get("CategoryLists"):
|
|
9580
|
+
obj = BaselineCategory()
|
|
9581
|
+
obj._deserialize(item)
|
|
9582
|
+
self._CategoryLists.append(obj)
|
|
9583
|
+
memeber_set = set(params.keys())
|
|
9584
|
+
for name, value in vars(self).items():
|
|
9585
|
+
property_name = name[1:]
|
|
9586
|
+
if property_name in memeber_set:
|
|
9587
|
+
memeber_set.remove(property_name)
|
|
9588
|
+
if len(memeber_set) > 0:
|
|
9589
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9590
|
+
|
|
9591
|
+
|
|
9592
|
+
|
|
9506
9593
|
class BaselinePolicy(AbstractModel):
|
|
9507
9594
|
"""基线策略信息
|
|
9508
9595
|
|
|
@@ -16018,10 +16105,13 @@ class CreateSearchTemplateResponse(AbstractModel):
|
|
|
16018
16105
|
r"""
|
|
16019
16106
|
:param _Status: 0:成功,非0:失败
|
|
16020
16107
|
:type Status: int
|
|
16108
|
+
:param _Message: 失败原因
|
|
16109
|
+
:type Message: str
|
|
16021
16110
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16022
16111
|
:type RequestId: str
|
|
16023
16112
|
"""
|
|
16024
16113
|
self._Status = None
|
|
16114
|
+
self._Message = None
|
|
16025
16115
|
self._RequestId = None
|
|
16026
16116
|
|
|
16027
16117
|
@property
|
|
@@ -16032,6 +16122,14 @@ class CreateSearchTemplateResponse(AbstractModel):
|
|
|
16032
16122
|
def Status(self, Status):
|
|
16033
16123
|
self._Status = Status
|
|
16034
16124
|
|
|
16125
|
+
@property
|
|
16126
|
+
def Message(self):
|
|
16127
|
+
return self._Message
|
|
16128
|
+
|
|
16129
|
+
@Message.setter
|
|
16130
|
+
def Message(self, Message):
|
|
16131
|
+
self._Message = Message
|
|
16132
|
+
|
|
16035
16133
|
@property
|
|
16036
16134
|
def RequestId(self):
|
|
16037
16135
|
return self._RequestId
|
|
@@ -16043,6 +16141,7 @@ class CreateSearchTemplateResponse(AbstractModel):
|
|
|
16043
16141
|
|
|
16044
16142
|
def _deserialize(self, params):
|
|
16045
16143
|
self._Status = params.get("Status")
|
|
16144
|
+
self._Message = params.get("Message")
|
|
16046
16145
|
self._RequestId = params.get("RequestId")
|
|
16047
16146
|
|
|
16048
16147
|
|
|
@@ -29009,11 +29108,15 @@ class DescribeBaselineItemInfoResponse(AbstractModel):
|
|
|
29009
29108
|
:type List: list of BaselineItemInfo
|
|
29010
29109
|
:param _Total: 总条目数
|
|
29011
29110
|
:type Total: int
|
|
29111
|
+
:param _CategoryList: 基线分类列表
|
|
29112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
29113
|
+
:type CategoryList: list of BaselineItemsCategory
|
|
29012
29114
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
29013
29115
|
:type RequestId: str
|
|
29014
29116
|
"""
|
|
29015
29117
|
self._List = None
|
|
29016
29118
|
self._Total = None
|
|
29119
|
+
self._CategoryList = None
|
|
29017
29120
|
self._RequestId = None
|
|
29018
29121
|
|
|
29019
29122
|
@property
|
|
@@ -29032,6 +29135,14 @@ class DescribeBaselineItemInfoResponse(AbstractModel):
|
|
|
29032
29135
|
def Total(self, Total):
|
|
29033
29136
|
self._Total = Total
|
|
29034
29137
|
|
|
29138
|
+
@property
|
|
29139
|
+
def CategoryList(self):
|
|
29140
|
+
return self._CategoryList
|
|
29141
|
+
|
|
29142
|
+
@CategoryList.setter
|
|
29143
|
+
def CategoryList(self, CategoryList):
|
|
29144
|
+
self._CategoryList = CategoryList
|
|
29145
|
+
|
|
29035
29146
|
@property
|
|
29036
29147
|
def RequestId(self):
|
|
29037
29148
|
return self._RequestId
|
|
@@ -29049,6 +29160,12 @@ class DescribeBaselineItemInfoResponse(AbstractModel):
|
|
|
29049
29160
|
obj._deserialize(item)
|
|
29050
29161
|
self._List.append(obj)
|
|
29051
29162
|
self._Total = params.get("Total")
|
|
29163
|
+
if params.get("CategoryList") is not None:
|
|
29164
|
+
self._CategoryList = []
|
|
29165
|
+
for item in params.get("CategoryList"):
|
|
29166
|
+
obj = BaselineItemsCategory()
|
|
29167
|
+
obj._deserialize(item)
|
|
29168
|
+
self._CategoryList.append(obj)
|
|
29052
29169
|
self._RequestId = params.get("RequestId")
|
|
29053
29170
|
|
|
29054
29171
|
|
|
@@ -64187,9 +64304,13 @@ class Item(AbstractModel):
|
|
|
64187
64304
|
:type ItemId: int
|
|
64188
64305
|
:param _ItemName: 名称
|
|
64189
64306
|
:type ItemName: str
|
|
64307
|
+
:param _CustomItemValues: 自定义阈值
|
|
64308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
64309
|
+
:type CustomItemValues: list of int non-negative
|
|
64190
64310
|
"""
|
|
64191
64311
|
self._ItemId = None
|
|
64192
64312
|
self._ItemName = None
|
|
64313
|
+
self._CustomItemValues = None
|
|
64193
64314
|
|
|
64194
64315
|
@property
|
|
64195
64316
|
def ItemId(self):
|
|
@@ -64207,10 +64328,19 @@ class Item(AbstractModel):
|
|
|
64207
64328
|
def ItemName(self, ItemName):
|
|
64208
64329
|
self._ItemName = ItemName
|
|
64209
64330
|
|
|
64331
|
+
@property
|
|
64332
|
+
def CustomItemValues(self):
|
|
64333
|
+
return self._CustomItemValues
|
|
64334
|
+
|
|
64335
|
+
@CustomItemValues.setter
|
|
64336
|
+
def CustomItemValues(self, CustomItemValues):
|
|
64337
|
+
self._CustomItemValues = CustomItemValues
|
|
64338
|
+
|
|
64210
64339
|
|
|
64211
64340
|
def _deserialize(self, params):
|
|
64212
64341
|
self._ItemId = params.get("ItemId")
|
|
64213
64342
|
self._ItemName = params.get("ItemName")
|
|
64343
|
+
self._CustomItemValues = params.get("CustomItemValues")
|
|
64214
64344
|
memeber_set = set(params.keys())
|
|
64215
64345
|
for name, value in vars(self).items():
|
|
64216
64346
|
property_name = name[1:]
|
|
@@ -69123,10 +69253,19 @@ class ModifyBaselineRuleRequest(AbstractModel):
|
|
|
69123
69253
|
:type SelectAll: int
|
|
69124
69254
|
:param _Filters: <li>ItemName - string - 是否必填:否 - 项名称</li>
|
|
69125
69255
|
:type Filters: list of Filter
|
|
69256
|
+
:param _IdType: 0:检测项,1:检测项分类
|
|
69257
|
+
:type IdType: int
|
|
69258
|
+
:param _ExcludeIds: 需要排除的检测项id
|
|
69259
|
+
:type ExcludeIds: list of int non-negative
|
|
69260
|
+
:param _CategoryIds: 勾选的检测项分类
|
|
69261
|
+
:type CategoryIds: list of int non-negative
|
|
69126
69262
|
"""
|
|
69127
69263
|
self._Data = None
|
|
69128
69264
|
self._SelectAll = None
|
|
69129
69265
|
self._Filters = None
|
|
69266
|
+
self._IdType = None
|
|
69267
|
+
self._ExcludeIds = None
|
|
69268
|
+
self._CategoryIds = None
|
|
69130
69269
|
|
|
69131
69270
|
@property
|
|
69132
69271
|
def Data(self):
|
|
@@ -69152,6 +69291,30 @@ class ModifyBaselineRuleRequest(AbstractModel):
|
|
|
69152
69291
|
def Filters(self, Filters):
|
|
69153
69292
|
self._Filters = Filters
|
|
69154
69293
|
|
|
69294
|
+
@property
|
|
69295
|
+
def IdType(self):
|
|
69296
|
+
return self._IdType
|
|
69297
|
+
|
|
69298
|
+
@IdType.setter
|
|
69299
|
+
def IdType(self, IdType):
|
|
69300
|
+
self._IdType = IdType
|
|
69301
|
+
|
|
69302
|
+
@property
|
|
69303
|
+
def ExcludeIds(self):
|
|
69304
|
+
return self._ExcludeIds
|
|
69305
|
+
|
|
69306
|
+
@ExcludeIds.setter
|
|
69307
|
+
def ExcludeIds(self, ExcludeIds):
|
|
69308
|
+
self._ExcludeIds = ExcludeIds
|
|
69309
|
+
|
|
69310
|
+
@property
|
|
69311
|
+
def CategoryIds(self):
|
|
69312
|
+
return self._CategoryIds
|
|
69313
|
+
|
|
69314
|
+
@CategoryIds.setter
|
|
69315
|
+
def CategoryIds(self, CategoryIds):
|
|
69316
|
+
self._CategoryIds = CategoryIds
|
|
69317
|
+
|
|
69155
69318
|
|
|
69156
69319
|
def _deserialize(self, params):
|
|
69157
69320
|
if params.get("Data") is not None:
|
|
@@ -69164,6 +69327,9 @@ class ModifyBaselineRuleRequest(AbstractModel):
|
|
|
69164
69327
|
obj = Filter()
|
|
69165
69328
|
obj._deserialize(item)
|
|
69166
69329
|
self._Filters.append(obj)
|
|
69330
|
+
self._IdType = params.get("IdType")
|
|
69331
|
+
self._ExcludeIds = params.get("ExcludeIds")
|
|
69332
|
+
self._CategoryIds = params.get("CategoryIds")
|
|
69167
69333
|
memeber_set = set(params.keys())
|
|
69168
69334
|
for name, value in vars(self).items():
|
|
69169
69335
|
property_name = name[1:]
|
|
@@ -2832,6 +2832,29 @@ class CynosdbClient(AbstractClient):
|
|
|
2832
2832
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2833
2833
|
|
|
2834
2834
|
|
|
2835
|
+
def RollbackToNewCluster(self, request):
|
|
2836
|
+
"""回档到新集群
|
|
2837
|
+
|
|
2838
|
+
:param request: Request instance for RollbackToNewCluster.
|
|
2839
|
+
:type request: :class:`tencentcloud.cynosdb.v20190107.models.RollbackToNewClusterRequest`
|
|
2840
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.RollbackToNewClusterResponse`
|
|
2841
|
+
|
|
2842
|
+
"""
|
|
2843
|
+
try:
|
|
2844
|
+
params = request._serialize()
|
|
2845
|
+
headers = request.headers
|
|
2846
|
+
body = self.call("RollbackToNewCluster", params, headers=headers)
|
|
2847
|
+
response = json.loads(body)
|
|
2848
|
+
model = models.RollbackToNewClusterResponse()
|
|
2849
|
+
model._deserialize(response["Response"])
|
|
2850
|
+
return model
|
|
2851
|
+
except Exception as e:
|
|
2852
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2853
|
+
raise
|
|
2854
|
+
else:
|
|
2855
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2856
|
+
|
|
2857
|
+
|
|
2835
2858
|
def SearchClusterDatabases(self, request):
|
|
2836
2859
|
"""本接口(SearchClusterDatabases)搜索集群数据库列表
|
|
2837
2860
|
|
|
@@ -25302,6 +25302,381 @@ class RollbackTimeRange(AbstractModel):
|
|
|
25302
25302
|
|
|
25303
25303
|
|
|
25304
25304
|
|
|
25305
|
+
class RollbackToNewClusterRequest(AbstractModel):
|
|
25306
|
+
"""RollbackToNewCluster请求参数结构体
|
|
25307
|
+
|
|
25308
|
+
"""
|
|
25309
|
+
|
|
25310
|
+
def __init__(self):
|
|
25311
|
+
r"""
|
|
25312
|
+
:param _Zone: 可用区
|
|
25313
|
+
:type Zone: str
|
|
25314
|
+
:param _OriginalClusterId: 回档时,传入源集群ID,用于查找源poolId
|
|
25315
|
+
:type OriginalClusterId: str
|
|
25316
|
+
:param _ClusterName: 集群名称,长度小于64个字符,每个字符取值范围:大/小写字母,数字,特殊符号('-','_','.')
|
|
25317
|
+
:type ClusterName: str
|
|
25318
|
+
:param _UniqVpcId: 所属VPC网络ID
|
|
25319
|
+
:type UniqVpcId: str
|
|
25320
|
+
:param _UniqSubnetId: 所属子网ID
|
|
25321
|
+
:type UniqSubnetId: str
|
|
25322
|
+
:param _AutoVoucher: 是否自动选择代金券 1是 0否 默认为0
|
|
25323
|
+
:type AutoVoucher: int
|
|
25324
|
+
:param _DbMode: Db类型
|
|
25325
|
+
当DbType为MYSQL时可选(默认NORMAL):
|
|
25326
|
+
<li>NORMAL</li>
|
|
25327
|
+
<li>SERVERLESS</li>
|
|
25328
|
+
:type DbMode: str
|
|
25329
|
+
:param _MinCpu: 当DbMode为SEVERLESS时必填
|
|
25330
|
+
cpu最小值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
25331
|
+
:type MinCpu: float
|
|
25332
|
+
:param _MaxCpu: 当DbMode为SEVERLESS时必填:
|
|
25333
|
+
cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
25334
|
+
:type MaxCpu: float
|
|
25335
|
+
:param _AutoPause: 当DbMode为SEVERLESS时,指定集群是否自动暂停,可选范围
|
|
25336
|
+
<li>yes</li>
|
|
25337
|
+
<li>no</li>
|
|
25338
|
+
默认值:yes
|
|
25339
|
+
:type AutoPause: str
|
|
25340
|
+
:param _AutoPauseDelay: 当DbMode为SEVERLESS时,指定集群自动暂停的延迟,单位秒,可选范围[600,691200]
|
|
25341
|
+
默认值:600
|
|
25342
|
+
:type AutoPauseDelay: int
|
|
25343
|
+
:param _SecurityGroupIds: 安全组id数组
|
|
25344
|
+
:type SecurityGroupIds: list of str
|
|
25345
|
+
:param _AlarmPolicyIds: 告警策略Id数组
|
|
25346
|
+
:type AlarmPolicyIds: list of str
|
|
25347
|
+
:param _ClusterParams: 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感
|
|
25348
|
+
:type ClusterParams: list of ParamItem
|
|
25349
|
+
:param _DealMode: 0-下单并支付 1-下单
|
|
25350
|
+
:type DealMode: int
|
|
25351
|
+
:param _ParamTemplateId: 参数模板ID,可以通过查询参数模板信息DescribeParamTemplates获得参数模板ID
|
|
25352
|
+
:type ParamTemplateId: int
|
|
25353
|
+
:param _ResourceTags: 集群创建需要绑定的tag数组信息
|
|
25354
|
+
:type ResourceTags: list of Tag
|
|
25355
|
+
:param _InstanceInitInfos: 实例初始化配置信息,主要用于购买集群时选不同规格实例
|
|
25356
|
+
:type InstanceInitInfos: list of InstanceInitInfo
|
|
25357
|
+
:param _RollbackId: 快照回档,表示snapshotId;时间点回档,表示queryId,为0,表示需要判断时间点是否有效
|
|
25358
|
+
:type RollbackId: int
|
|
25359
|
+
:param _ExpectTime: 时间点回档,指定时间;快照回档,快照时间
|
|
25360
|
+
:type ExpectTime: str
|
|
25361
|
+
"""
|
|
25362
|
+
self._Zone = None
|
|
25363
|
+
self._OriginalClusterId = None
|
|
25364
|
+
self._ClusterName = None
|
|
25365
|
+
self._UniqVpcId = None
|
|
25366
|
+
self._UniqSubnetId = None
|
|
25367
|
+
self._AutoVoucher = None
|
|
25368
|
+
self._DbMode = None
|
|
25369
|
+
self._MinCpu = None
|
|
25370
|
+
self._MaxCpu = None
|
|
25371
|
+
self._AutoPause = None
|
|
25372
|
+
self._AutoPauseDelay = None
|
|
25373
|
+
self._SecurityGroupIds = None
|
|
25374
|
+
self._AlarmPolicyIds = None
|
|
25375
|
+
self._ClusterParams = None
|
|
25376
|
+
self._DealMode = None
|
|
25377
|
+
self._ParamTemplateId = None
|
|
25378
|
+
self._ResourceTags = None
|
|
25379
|
+
self._InstanceInitInfos = None
|
|
25380
|
+
self._RollbackId = None
|
|
25381
|
+
self._ExpectTime = None
|
|
25382
|
+
|
|
25383
|
+
@property
|
|
25384
|
+
def Zone(self):
|
|
25385
|
+
return self._Zone
|
|
25386
|
+
|
|
25387
|
+
@Zone.setter
|
|
25388
|
+
def Zone(self, Zone):
|
|
25389
|
+
self._Zone = Zone
|
|
25390
|
+
|
|
25391
|
+
@property
|
|
25392
|
+
def OriginalClusterId(self):
|
|
25393
|
+
return self._OriginalClusterId
|
|
25394
|
+
|
|
25395
|
+
@OriginalClusterId.setter
|
|
25396
|
+
def OriginalClusterId(self, OriginalClusterId):
|
|
25397
|
+
self._OriginalClusterId = OriginalClusterId
|
|
25398
|
+
|
|
25399
|
+
@property
|
|
25400
|
+
def ClusterName(self):
|
|
25401
|
+
return self._ClusterName
|
|
25402
|
+
|
|
25403
|
+
@ClusterName.setter
|
|
25404
|
+
def ClusterName(self, ClusterName):
|
|
25405
|
+
self._ClusterName = ClusterName
|
|
25406
|
+
|
|
25407
|
+
@property
|
|
25408
|
+
def UniqVpcId(self):
|
|
25409
|
+
return self._UniqVpcId
|
|
25410
|
+
|
|
25411
|
+
@UniqVpcId.setter
|
|
25412
|
+
def UniqVpcId(self, UniqVpcId):
|
|
25413
|
+
self._UniqVpcId = UniqVpcId
|
|
25414
|
+
|
|
25415
|
+
@property
|
|
25416
|
+
def UniqSubnetId(self):
|
|
25417
|
+
return self._UniqSubnetId
|
|
25418
|
+
|
|
25419
|
+
@UniqSubnetId.setter
|
|
25420
|
+
def UniqSubnetId(self, UniqSubnetId):
|
|
25421
|
+
self._UniqSubnetId = UniqSubnetId
|
|
25422
|
+
|
|
25423
|
+
@property
|
|
25424
|
+
def AutoVoucher(self):
|
|
25425
|
+
return self._AutoVoucher
|
|
25426
|
+
|
|
25427
|
+
@AutoVoucher.setter
|
|
25428
|
+
def AutoVoucher(self, AutoVoucher):
|
|
25429
|
+
self._AutoVoucher = AutoVoucher
|
|
25430
|
+
|
|
25431
|
+
@property
|
|
25432
|
+
def DbMode(self):
|
|
25433
|
+
return self._DbMode
|
|
25434
|
+
|
|
25435
|
+
@DbMode.setter
|
|
25436
|
+
def DbMode(self, DbMode):
|
|
25437
|
+
self._DbMode = DbMode
|
|
25438
|
+
|
|
25439
|
+
@property
|
|
25440
|
+
def MinCpu(self):
|
|
25441
|
+
return self._MinCpu
|
|
25442
|
+
|
|
25443
|
+
@MinCpu.setter
|
|
25444
|
+
def MinCpu(self, MinCpu):
|
|
25445
|
+
self._MinCpu = MinCpu
|
|
25446
|
+
|
|
25447
|
+
@property
|
|
25448
|
+
def MaxCpu(self):
|
|
25449
|
+
return self._MaxCpu
|
|
25450
|
+
|
|
25451
|
+
@MaxCpu.setter
|
|
25452
|
+
def MaxCpu(self, MaxCpu):
|
|
25453
|
+
self._MaxCpu = MaxCpu
|
|
25454
|
+
|
|
25455
|
+
@property
|
|
25456
|
+
def AutoPause(self):
|
|
25457
|
+
return self._AutoPause
|
|
25458
|
+
|
|
25459
|
+
@AutoPause.setter
|
|
25460
|
+
def AutoPause(self, AutoPause):
|
|
25461
|
+
self._AutoPause = AutoPause
|
|
25462
|
+
|
|
25463
|
+
@property
|
|
25464
|
+
def AutoPauseDelay(self):
|
|
25465
|
+
return self._AutoPauseDelay
|
|
25466
|
+
|
|
25467
|
+
@AutoPauseDelay.setter
|
|
25468
|
+
def AutoPauseDelay(self, AutoPauseDelay):
|
|
25469
|
+
self._AutoPauseDelay = AutoPauseDelay
|
|
25470
|
+
|
|
25471
|
+
@property
|
|
25472
|
+
def SecurityGroupIds(self):
|
|
25473
|
+
return self._SecurityGroupIds
|
|
25474
|
+
|
|
25475
|
+
@SecurityGroupIds.setter
|
|
25476
|
+
def SecurityGroupIds(self, SecurityGroupIds):
|
|
25477
|
+
self._SecurityGroupIds = SecurityGroupIds
|
|
25478
|
+
|
|
25479
|
+
@property
|
|
25480
|
+
def AlarmPolicyIds(self):
|
|
25481
|
+
return self._AlarmPolicyIds
|
|
25482
|
+
|
|
25483
|
+
@AlarmPolicyIds.setter
|
|
25484
|
+
def AlarmPolicyIds(self, AlarmPolicyIds):
|
|
25485
|
+
self._AlarmPolicyIds = AlarmPolicyIds
|
|
25486
|
+
|
|
25487
|
+
@property
|
|
25488
|
+
def ClusterParams(self):
|
|
25489
|
+
return self._ClusterParams
|
|
25490
|
+
|
|
25491
|
+
@ClusterParams.setter
|
|
25492
|
+
def ClusterParams(self, ClusterParams):
|
|
25493
|
+
self._ClusterParams = ClusterParams
|
|
25494
|
+
|
|
25495
|
+
@property
|
|
25496
|
+
def DealMode(self):
|
|
25497
|
+
return self._DealMode
|
|
25498
|
+
|
|
25499
|
+
@DealMode.setter
|
|
25500
|
+
def DealMode(self, DealMode):
|
|
25501
|
+
self._DealMode = DealMode
|
|
25502
|
+
|
|
25503
|
+
@property
|
|
25504
|
+
def ParamTemplateId(self):
|
|
25505
|
+
return self._ParamTemplateId
|
|
25506
|
+
|
|
25507
|
+
@ParamTemplateId.setter
|
|
25508
|
+
def ParamTemplateId(self, ParamTemplateId):
|
|
25509
|
+
self._ParamTemplateId = ParamTemplateId
|
|
25510
|
+
|
|
25511
|
+
@property
|
|
25512
|
+
def ResourceTags(self):
|
|
25513
|
+
return self._ResourceTags
|
|
25514
|
+
|
|
25515
|
+
@ResourceTags.setter
|
|
25516
|
+
def ResourceTags(self, ResourceTags):
|
|
25517
|
+
self._ResourceTags = ResourceTags
|
|
25518
|
+
|
|
25519
|
+
@property
|
|
25520
|
+
def InstanceInitInfos(self):
|
|
25521
|
+
return self._InstanceInitInfos
|
|
25522
|
+
|
|
25523
|
+
@InstanceInitInfos.setter
|
|
25524
|
+
def InstanceInitInfos(self, InstanceInitInfos):
|
|
25525
|
+
self._InstanceInitInfos = InstanceInitInfos
|
|
25526
|
+
|
|
25527
|
+
@property
|
|
25528
|
+
def RollbackId(self):
|
|
25529
|
+
return self._RollbackId
|
|
25530
|
+
|
|
25531
|
+
@RollbackId.setter
|
|
25532
|
+
def RollbackId(self, RollbackId):
|
|
25533
|
+
self._RollbackId = RollbackId
|
|
25534
|
+
|
|
25535
|
+
@property
|
|
25536
|
+
def ExpectTime(self):
|
|
25537
|
+
return self._ExpectTime
|
|
25538
|
+
|
|
25539
|
+
@ExpectTime.setter
|
|
25540
|
+
def ExpectTime(self, ExpectTime):
|
|
25541
|
+
self._ExpectTime = ExpectTime
|
|
25542
|
+
|
|
25543
|
+
|
|
25544
|
+
def _deserialize(self, params):
|
|
25545
|
+
self._Zone = params.get("Zone")
|
|
25546
|
+
self._OriginalClusterId = params.get("OriginalClusterId")
|
|
25547
|
+
self._ClusterName = params.get("ClusterName")
|
|
25548
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
|
25549
|
+
self._UniqSubnetId = params.get("UniqSubnetId")
|
|
25550
|
+
self._AutoVoucher = params.get("AutoVoucher")
|
|
25551
|
+
self._DbMode = params.get("DbMode")
|
|
25552
|
+
self._MinCpu = params.get("MinCpu")
|
|
25553
|
+
self._MaxCpu = params.get("MaxCpu")
|
|
25554
|
+
self._AutoPause = params.get("AutoPause")
|
|
25555
|
+
self._AutoPauseDelay = params.get("AutoPauseDelay")
|
|
25556
|
+
self._SecurityGroupIds = params.get("SecurityGroupIds")
|
|
25557
|
+
self._AlarmPolicyIds = params.get("AlarmPolicyIds")
|
|
25558
|
+
if params.get("ClusterParams") is not None:
|
|
25559
|
+
self._ClusterParams = []
|
|
25560
|
+
for item in params.get("ClusterParams"):
|
|
25561
|
+
obj = ParamItem()
|
|
25562
|
+
obj._deserialize(item)
|
|
25563
|
+
self._ClusterParams.append(obj)
|
|
25564
|
+
self._DealMode = params.get("DealMode")
|
|
25565
|
+
self._ParamTemplateId = params.get("ParamTemplateId")
|
|
25566
|
+
if params.get("ResourceTags") is not None:
|
|
25567
|
+
self._ResourceTags = []
|
|
25568
|
+
for item in params.get("ResourceTags"):
|
|
25569
|
+
obj = Tag()
|
|
25570
|
+
obj._deserialize(item)
|
|
25571
|
+
self._ResourceTags.append(obj)
|
|
25572
|
+
if params.get("InstanceInitInfos") is not None:
|
|
25573
|
+
self._InstanceInitInfos = []
|
|
25574
|
+
for item in params.get("InstanceInitInfos"):
|
|
25575
|
+
obj = InstanceInitInfo()
|
|
25576
|
+
obj._deserialize(item)
|
|
25577
|
+
self._InstanceInitInfos.append(obj)
|
|
25578
|
+
self._RollbackId = params.get("RollbackId")
|
|
25579
|
+
self._ExpectTime = params.get("ExpectTime")
|
|
25580
|
+
memeber_set = set(params.keys())
|
|
25581
|
+
for name, value in vars(self).items():
|
|
25582
|
+
property_name = name[1:]
|
|
25583
|
+
if property_name in memeber_set:
|
|
25584
|
+
memeber_set.remove(property_name)
|
|
25585
|
+
if len(memeber_set) > 0:
|
|
25586
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25587
|
+
|
|
25588
|
+
|
|
25589
|
+
|
|
25590
|
+
class RollbackToNewClusterResponse(AbstractModel):
|
|
25591
|
+
"""RollbackToNewCluster返回参数结构体
|
|
25592
|
+
|
|
25593
|
+
"""
|
|
25594
|
+
|
|
25595
|
+
def __init__(self):
|
|
25596
|
+
r"""
|
|
25597
|
+
:param _TranId: 冻结流水ID
|
|
25598
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25599
|
+
:type TranId: str
|
|
25600
|
+
:param _DealNames: 订单号
|
|
25601
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25602
|
+
:type DealNames: list of str
|
|
25603
|
+
:param _ResourceIds: 资源ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取资源ID)
|
|
25604
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25605
|
+
:type ResourceIds: list of str
|
|
25606
|
+
:param _ClusterIds: 集群ID列表(该字段已不再维护,请使用dealNames字段查询接口DescribeResourcesByDealName获取集群ID)
|
|
25607
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25608
|
+
:type ClusterIds: list of str
|
|
25609
|
+
:param _BigDealIds: 大订单号
|
|
25610
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25611
|
+
:type BigDealIds: list of str
|
|
25612
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25613
|
+
:type RequestId: str
|
|
25614
|
+
"""
|
|
25615
|
+
self._TranId = None
|
|
25616
|
+
self._DealNames = None
|
|
25617
|
+
self._ResourceIds = None
|
|
25618
|
+
self._ClusterIds = None
|
|
25619
|
+
self._BigDealIds = None
|
|
25620
|
+
self._RequestId = None
|
|
25621
|
+
|
|
25622
|
+
@property
|
|
25623
|
+
def TranId(self):
|
|
25624
|
+
return self._TranId
|
|
25625
|
+
|
|
25626
|
+
@TranId.setter
|
|
25627
|
+
def TranId(self, TranId):
|
|
25628
|
+
self._TranId = TranId
|
|
25629
|
+
|
|
25630
|
+
@property
|
|
25631
|
+
def DealNames(self):
|
|
25632
|
+
return self._DealNames
|
|
25633
|
+
|
|
25634
|
+
@DealNames.setter
|
|
25635
|
+
def DealNames(self, DealNames):
|
|
25636
|
+
self._DealNames = DealNames
|
|
25637
|
+
|
|
25638
|
+
@property
|
|
25639
|
+
def ResourceIds(self):
|
|
25640
|
+
return self._ResourceIds
|
|
25641
|
+
|
|
25642
|
+
@ResourceIds.setter
|
|
25643
|
+
def ResourceIds(self, ResourceIds):
|
|
25644
|
+
self._ResourceIds = ResourceIds
|
|
25645
|
+
|
|
25646
|
+
@property
|
|
25647
|
+
def ClusterIds(self):
|
|
25648
|
+
return self._ClusterIds
|
|
25649
|
+
|
|
25650
|
+
@ClusterIds.setter
|
|
25651
|
+
def ClusterIds(self, ClusterIds):
|
|
25652
|
+
self._ClusterIds = ClusterIds
|
|
25653
|
+
|
|
25654
|
+
@property
|
|
25655
|
+
def BigDealIds(self):
|
|
25656
|
+
return self._BigDealIds
|
|
25657
|
+
|
|
25658
|
+
@BigDealIds.setter
|
|
25659
|
+
def BigDealIds(self, BigDealIds):
|
|
25660
|
+
self._BigDealIds = BigDealIds
|
|
25661
|
+
|
|
25662
|
+
@property
|
|
25663
|
+
def RequestId(self):
|
|
25664
|
+
return self._RequestId
|
|
25665
|
+
|
|
25666
|
+
@RequestId.setter
|
|
25667
|
+
def RequestId(self, RequestId):
|
|
25668
|
+
self._RequestId = RequestId
|
|
25669
|
+
|
|
25670
|
+
|
|
25671
|
+
def _deserialize(self, params):
|
|
25672
|
+
self._TranId = params.get("TranId")
|
|
25673
|
+
self._DealNames = params.get("DealNames")
|
|
25674
|
+
self._ResourceIds = params.get("ResourceIds")
|
|
25675
|
+
self._ClusterIds = params.get("ClusterIds")
|
|
25676
|
+
self._BigDealIds = params.get("BigDealIds")
|
|
25677
|
+
self._RequestId = params.get("RequestId")
|
|
25678
|
+
|
|
25679
|
+
|
|
25305
25680
|
class RuleFilters(AbstractModel):
|
|
25306
25681
|
"""审计规则的规则过滤条件
|
|
25307
25682
|
|