tencentcloud-sdk-python 3.0.1390__py2.py3-none-any.whl → 3.0.1392__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 +4 -4
- tencentcloud/batch/v20170312/models.py +10 -6
- tencentcloud/cfs/v20190719/cfs_client.py +2 -2
- tencentcloud/cfs/v20190719/models.py +76 -102
- tencentcloud/cloudaudit/v20190319/models.py +0 -4
- tencentcloud/csip/v20221121/models.py +2 -2
- tencentcloud/cvm/v20170312/models.py +20 -16
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +138 -0
- tencentcloud/cynosdb/v20190107/models.py +1267 -234
- tencentcloud/emr/v20190103/emr_client.py +6 -2
- tencentcloud/ess/v20201111/models.py +6 -2
- tencentcloud/essbasic/v20210526/models.py +6 -2
- tencentcloud/iotexplorer/v20190423/models.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +2 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +5 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +24 -0
- tencentcloud/mqtt/v20240516/models.py +515 -201
- tencentcloud/mqtt/v20240516/mqtt_client.py +26 -3
- tencentcloud/ocr/v20181119/models.py +415 -0
- tencentcloud/ocr/v20181119/ocr_client.py +25 -0
- tencentcloud/ses/v20201002/models.py +252 -0
- tencentcloud/ses/v20201002/ses_client.py +69 -0
- tencentcloud/tcss/v20201101/models.py +5 -5
- tencentcloud/trtc/v20190722/models.py +4 -2
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- {tencentcloud_sdk_python-3.0.1390.dist-info → tencentcloud_sdk_python-3.0.1392.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1390.dist-info → tencentcloud_sdk_python-3.0.1392.dist-info}/RECORD +31 -31
- {tencentcloud_sdk_python-3.0.1390.dist-info → tencentcloud_sdk_python-3.0.1392.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1390.dist-info → tencentcloud_sdk_python-3.0.1392.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1390.dist-info → tencentcloud_sdk_python-3.0.1392.dist-info}/top_level.txt +0 -0
@@ -2307,6 +2307,215 @@ class BackupFileInfo(AbstractModel):
|
|
2307
2307
|
|
2308
2308
|
|
2309
2309
|
|
2310
|
+
class BackupLimitClusterRestriction(AbstractModel):
|
2311
|
+
"""备份下载集群限制参数
|
2312
|
+
|
2313
|
+
"""
|
2314
|
+
|
2315
|
+
def __init__(self):
|
2316
|
+
r"""
|
2317
|
+
:param _ClusterId: 集群id
|
2318
|
+
:type ClusterId: str
|
2319
|
+
:param _BackupLimitRestriction: 下载限制配置
|
2320
|
+
:type BackupLimitRestriction: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
2321
|
+
"""
|
2322
|
+
self._ClusterId = None
|
2323
|
+
self._BackupLimitRestriction = None
|
2324
|
+
|
2325
|
+
@property
|
2326
|
+
def ClusterId(self):
|
2327
|
+
"""集群id
|
2328
|
+
:rtype: str
|
2329
|
+
"""
|
2330
|
+
return self._ClusterId
|
2331
|
+
|
2332
|
+
@ClusterId.setter
|
2333
|
+
def ClusterId(self, ClusterId):
|
2334
|
+
self._ClusterId = ClusterId
|
2335
|
+
|
2336
|
+
@property
|
2337
|
+
def BackupLimitRestriction(self):
|
2338
|
+
"""下载限制配置
|
2339
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
2340
|
+
"""
|
2341
|
+
return self._BackupLimitRestriction
|
2342
|
+
|
2343
|
+
@BackupLimitRestriction.setter
|
2344
|
+
def BackupLimitRestriction(self, BackupLimitRestriction):
|
2345
|
+
self._BackupLimitRestriction = BackupLimitRestriction
|
2346
|
+
|
2347
|
+
|
2348
|
+
def _deserialize(self, params):
|
2349
|
+
self._ClusterId = params.get("ClusterId")
|
2350
|
+
if params.get("BackupLimitRestriction") is not None:
|
2351
|
+
self._BackupLimitRestriction = BackupLimitRestriction()
|
2352
|
+
self._BackupLimitRestriction._deserialize(params.get("BackupLimitRestriction"))
|
2353
|
+
memeber_set = set(params.keys())
|
2354
|
+
for name, value in vars(self).items():
|
2355
|
+
property_name = name[1:]
|
2356
|
+
if property_name in memeber_set:
|
2357
|
+
memeber_set.remove(property_name)
|
2358
|
+
if len(memeber_set) > 0:
|
2359
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2360
|
+
|
2361
|
+
|
2362
|
+
|
2363
|
+
class BackupLimitRestriction(AbstractModel):
|
2364
|
+
"""备份下载限制参数
|
2365
|
+
|
2366
|
+
"""
|
2367
|
+
|
2368
|
+
def __init__(self):
|
2369
|
+
r"""
|
2370
|
+
:param _LimitType: 限制类型
|
2371
|
+
:type LimitType: str
|
2372
|
+
:param _VpcComparisonSymbol: 该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In
|
2373
|
+
:type VpcComparisonSymbol: str
|
2374
|
+
:param _IpComparisonSymbol: In: 指定的ip可以下载; NotIn: 指定的ip不可以下载
|
2375
|
+
:type IpComparisonSymbol: str
|
2376
|
+
:param _LimitVpcs: 限制下载的vpc设置
|
2377
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2378
|
+
:type LimitVpcs: list of BackupLimitVpcItem
|
2379
|
+
:param _LimitIps: 限制下载的ip设置
|
2380
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2381
|
+
:type LimitIps: list of str
|
2382
|
+
"""
|
2383
|
+
self._LimitType = None
|
2384
|
+
self._VpcComparisonSymbol = None
|
2385
|
+
self._IpComparisonSymbol = None
|
2386
|
+
self._LimitVpcs = None
|
2387
|
+
self._LimitIps = None
|
2388
|
+
|
2389
|
+
@property
|
2390
|
+
def LimitType(self):
|
2391
|
+
"""限制类型
|
2392
|
+
:rtype: str
|
2393
|
+
"""
|
2394
|
+
return self._LimitType
|
2395
|
+
|
2396
|
+
@LimitType.setter
|
2397
|
+
def LimitType(self, LimitType):
|
2398
|
+
self._LimitType = LimitType
|
2399
|
+
|
2400
|
+
@property
|
2401
|
+
def VpcComparisonSymbol(self):
|
2402
|
+
"""该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In
|
2403
|
+
:rtype: str
|
2404
|
+
"""
|
2405
|
+
return self._VpcComparisonSymbol
|
2406
|
+
|
2407
|
+
@VpcComparisonSymbol.setter
|
2408
|
+
def VpcComparisonSymbol(self, VpcComparisonSymbol):
|
2409
|
+
self._VpcComparisonSymbol = VpcComparisonSymbol
|
2410
|
+
|
2411
|
+
@property
|
2412
|
+
def IpComparisonSymbol(self):
|
2413
|
+
"""In: 指定的ip可以下载; NotIn: 指定的ip不可以下载
|
2414
|
+
:rtype: str
|
2415
|
+
"""
|
2416
|
+
return self._IpComparisonSymbol
|
2417
|
+
|
2418
|
+
@IpComparisonSymbol.setter
|
2419
|
+
def IpComparisonSymbol(self, IpComparisonSymbol):
|
2420
|
+
self._IpComparisonSymbol = IpComparisonSymbol
|
2421
|
+
|
2422
|
+
@property
|
2423
|
+
def LimitVpcs(self):
|
2424
|
+
"""限制下载的vpc设置
|
2425
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2426
|
+
:rtype: list of BackupLimitVpcItem
|
2427
|
+
"""
|
2428
|
+
return self._LimitVpcs
|
2429
|
+
|
2430
|
+
@LimitVpcs.setter
|
2431
|
+
def LimitVpcs(self, LimitVpcs):
|
2432
|
+
self._LimitVpcs = LimitVpcs
|
2433
|
+
|
2434
|
+
@property
|
2435
|
+
def LimitIps(self):
|
2436
|
+
"""限制下载的ip设置
|
2437
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2438
|
+
:rtype: list of str
|
2439
|
+
"""
|
2440
|
+
return self._LimitIps
|
2441
|
+
|
2442
|
+
@LimitIps.setter
|
2443
|
+
def LimitIps(self, LimitIps):
|
2444
|
+
self._LimitIps = LimitIps
|
2445
|
+
|
2446
|
+
|
2447
|
+
def _deserialize(self, params):
|
2448
|
+
self._LimitType = params.get("LimitType")
|
2449
|
+
self._VpcComparisonSymbol = params.get("VpcComparisonSymbol")
|
2450
|
+
self._IpComparisonSymbol = params.get("IpComparisonSymbol")
|
2451
|
+
if params.get("LimitVpcs") is not None:
|
2452
|
+
self._LimitVpcs = []
|
2453
|
+
for item in params.get("LimitVpcs"):
|
2454
|
+
obj = BackupLimitVpcItem()
|
2455
|
+
obj._deserialize(item)
|
2456
|
+
self._LimitVpcs.append(obj)
|
2457
|
+
self._LimitIps = params.get("LimitIps")
|
2458
|
+
memeber_set = set(params.keys())
|
2459
|
+
for name, value in vars(self).items():
|
2460
|
+
property_name = name[1:]
|
2461
|
+
if property_name in memeber_set:
|
2462
|
+
memeber_set.remove(property_name)
|
2463
|
+
if len(memeber_set) > 0:
|
2464
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2465
|
+
|
2466
|
+
|
2467
|
+
|
2468
|
+
class BackupLimitVpcItem(AbstractModel):
|
2469
|
+
"""备份文件限制下载来源VPC设置项
|
2470
|
+
|
2471
|
+
"""
|
2472
|
+
|
2473
|
+
def __init__(self):
|
2474
|
+
r"""
|
2475
|
+
:param _Region: 限制下载来源的地域。目前仅支持当前地域
|
2476
|
+
:type Region: str
|
2477
|
+
:param _VpcList: 限制下载的vpc列表
|
2478
|
+
:type VpcList: list of str
|
2479
|
+
"""
|
2480
|
+
self._Region = None
|
2481
|
+
self._VpcList = None
|
2482
|
+
|
2483
|
+
@property
|
2484
|
+
def Region(self):
|
2485
|
+
"""限制下载来源的地域。目前仅支持当前地域
|
2486
|
+
:rtype: str
|
2487
|
+
"""
|
2488
|
+
return self._Region
|
2489
|
+
|
2490
|
+
@Region.setter
|
2491
|
+
def Region(self, Region):
|
2492
|
+
self._Region = Region
|
2493
|
+
|
2494
|
+
@property
|
2495
|
+
def VpcList(self):
|
2496
|
+
"""限制下载的vpc列表
|
2497
|
+
:rtype: list of str
|
2498
|
+
"""
|
2499
|
+
return self._VpcList
|
2500
|
+
|
2501
|
+
@VpcList.setter
|
2502
|
+
def VpcList(self, VpcList):
|
2503
|
+
self._VpcList = VpcList
|
2504
|
+
|
2505
|
+
|
2506
|
+
def _deserialize(self, params):
|
2507
|
+
self._Region = params.get("Region")
|
2508
|
+
self._VpcList = params.get("VpcList")
|
2509
|
+
memeber_set = set(params.keys())
|
2510
|
+
for name, value in vars(self).items():
|
2511
|
+
property_name = name[1:]
|
2512
|
+
if property_name in memeber_set:
|
2513
|
+
memeber_set.remove(property_name)
|
2514
|
+
if len(memeber_set) > 0:
|
2515
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2516
|
+
|
2517
|
+
|
2518
|
+
|
2310
2519
|
class BillingResourceInfo(AbstractModel):
|
2311
2520
|
"""计费资源信息
|
2312
2521
|
|
@@ -4643,6 +4852,57 @@ class ClusterParamModifyLog(AbstractModel):
|
|
4643
4852
|
|
4644
4853
|
|
4645
4854
|
|
4855
|
+
class ClusterReadOnlyValue(AbstractModel):
|
4856
|
+
"""集群只读开关列表
|
4857
|
+
|
4858
|
+
"""
|
4859
|
+
|
4860
|
+
def __init__(self):
|
4861
|
+
r"""
|
4862
|
+
:param _ClusterId: 集群ID
|
4863
|
+
:type ClusterId: str
|
4864
|
+
:param _ReadOnlyValue: 只读开关值
|
4865
|
+
:type ReadOnlyValue: str
|
4866
|
+
"""
|
4867
|
+
self._ClusterId = None
|
4868
|
+
self._ReadOnlyValue = None
|
4869
|
+
|
4870
|
+
@property
|
4871
|
+
def ClusterId(self):
|
4872
|
+
"""集群ID
|
4873
|
+
:rtype: str
|
4874
|
+
"""
|
4875
|
+
return self._ClusterId
|
4876
|
+
|
4877
|
+
@ClusterId.setter
|
4878
|
+
def ClusterId(self, ClusterId):
|
4879
|
+
self._ClusterId = ClusterId
|
4880
|
+
|
4881
|
+
@property
|
4882
|
+
def ReadOnlyValue(self):
|
4883
|
+
"""只读开关值
|
4884
|
+
:rtype: str
|
4885
|
+
"""
|
4886
|
+
return self._ReadOnlyValue
|
4887
|
+
|
4888
|
+
@ReadOnlyValue.setter
|
4889
|
+
def ReadOnlyValue(self, ReadOnlyValue):
|
4890
|
+
self._ReadOnlyValue = ReadOnlyValue
|
4891
|
+
|
4892
|
+
|
4893
|
+
def _deserialize(self, params):
|
4894
|
+
self._ClusterId = params.get("ClusterId")
|
4895
|
+
self._ReadOnlyValue = params.get("ReadOnlyValue")
|
4896
|
+
memeber_set = set(params.keys())
|
4897
|
+
for name, value in vars(self).items():
|
4898
|
+
property_name = name[1:]
|
4899
|
+
if property_name in memeber_set:
|
4900
|
+
memeber_set.remove(property_name)
|
4901
|
+
if len(memeber_set) > 0:
|
4902
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4903
|
+
|
4904
|
+
|
4905
|
+
|
4646
4906
|
class ClusterSlaveData(AbstractModel):
|
4647
4907
|
"""集群从可用区信息
|
4648
4908
|
|
@@ -4768,6 +5028,57 @@ class ClusterSlaveData(AbstractModel):
|
|
4768
5028
|
|
4769
5029
|
|
4770
5030
|
|
5031
|
+
class ClusterTaskId(AbstractModel):
|
5032
|
+
"""集群任务ID
|
5033
|
+
|
5034
|
+
"""
|
5035
|
+
|
5036
|
+
def __init__(self):
|
5037
|
+
r"""
|
5038
|
+
:param _ClusterId: 集群ID
|
5039
|
+
:type ClusterId: str
|
5040
|
+
:param _TaskId: 任务ID
|
5041
|
+
:type TaskId: str
|
5042
|
+
"""
|
5043
|
+
self._ClusterId = None
|
5044
|
+
self._TaskId = None
|
5045
|
+
|
5046
|
+
@property
|
5047
|
+
def ClusterId(self):
|
5048
|
+
"""集群ID
|
5049
|
+
:rtype: str
|
5050
|
+
"""
|
5051
|
+
return self._ClusterId
|
5052
|
+
|
5053
|
+
@ClusterId.setter
|
5054
|
+
def ClusterId(self, ClusterId):
|
5055
|
+
self._ClusterId = ClusterId
|
5056
|
+
|
5057
|
+
@property
|
5058
|
+
def TaskId(self):
|
5059
|
+
"""任务ID
|
5060
|
+
:rtype: str
|
5061
|
+
"""
|
5062
|
+
return self._TaskId
|
5063
|
+
|
5064
|
+
@TaskId.setter
|
5065
|
+
def TaskId(self, TaskId):
|
5066
|
+
self._TaskId = TaskId
|
5067
|
+
|
5068
|
+
|
5069
|
+
def _deserialize(self, params):
|
5070
|
+
self._ClusterId = params.get("ClusterId")
|
5071
|
+
self._TaskId = params.get("TaskId")
|
5072
|
+
memeber_set = set(params.keys())
|
5073
|
+
for name, value in vars(self).items():
|
5074
|
+
property_name = name[1:]
|
5075
|
+
if property_name in memeber_set:
|
5076
|
+
memeber_set.remove(property_name)
|
5077
|
+
if len(memeber_set) > 0:
|
5078
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5079
|
+
|
5080
|
+
|
5081
|
+
|
4771
5082
|
class CopyClusterPasswordComplexityRequest(AbstractModel):
|
4772
5083
|
"""CopyClusterPasswordComplexity请求参数结构体
|
4773
5084
|
|
@@ -14136,47 +14447,32 @@ class DescribeBackupConfigResponse(AbstractModel):
|
|
14136
14447
|
self._RequestId = params.get("RequestId")
|
14137
14448
|
|
14138
14449
|
|
14139
|
-
class
|
14140
|
-
"""
|
14450
|
+
class DescribeBackupDownloadRestrictionRequest(AbstractModel):
|
14451
|
+
"""DescribeBackupDownloadRestriction请求参数结构体
|
14141
14452
|
|
14142
14453
|
"""
|
14143
14454
|
|
14144
14455
|
def __init__(self):
|
14145
14456
|
r"""
|
14146
|
-
:param
|
14147
|
-
:type
|
14148
|
-
:param _BackupId: 备份ID
|
14149
|
-
:type BackupId: int
|
14457
|
+
:param _ClusterIds: 集群ID
|
14458
|
+
:type ClusterIds: list of str
|
14150
14459
|
"""
|
14151
|
-
self.
|
14152
|
-
self._BackupId = None
|
14460
|
+
self._ClusterIds = None
|
14153
14461
|
|
14154
14462
|
@property
|
14155
|
-
def
|
14463
|
+
def ClusterIds(self):
|
14156
14464
|
"""集群ID
|
14157
|
-
:rtype: str
|
14158
|
-
"""
|
14159
|
-
return self._ClusterId
|
14160
|
-
|
14161
|
-
@ClusterId.setter
|
14162
|
-
def ClusterId(self, ClusterId):
|
14163
|
-
self._ClusterId = ClusterId
|
14164
|
-
|
14165
|
-
@property
|
14166
|
-
def BackupId(self):
|
14167
|
-
"""备份ID
|
14168
|
-
:rtype: int
|
14465
|
+
:rtype: list of str
|
14169
14466
|
"""
|
14170
|
-
return self.
|
14467
|
+
return self._ClusterIds
|
14171
14468
|
|
14172
|
-
@
|
14173
|
-
def
|
14174
|
-
self.
|
14469
|
+
@ClusterIds.setter
|
14470
|
+
def ClusterIds(self, ClusterIds):
|
14471
|
+
self._ClusterIds = ClusterIds
|
14175
14472
|
|
14176
14473
|
|
14177
14474
|
def _deserialize(self, params):
|
14178
|
-
self.
|
14179
|
-
self._BackupId = params.get("BackupId")
|
14475
|
+
self._ClusterIds = params.get("ClusterIds")
|
14180
14476
|
memeber_set = set(params.keys())
|
14181
14477
|
for name, value in vars(self).items():
|
14182
14478
|
property_name = name[1:]
|
@@ -14187,25 +14483,143 @@ class DescribeBackupDownloadUrlRequest(AbstractModel):
|
|
14187
14483
|
|
14188
14484
|
|
14189
14485
|
|
14190
|
-
class
|
14191
|
-
"""
|
14486
|
+
class DescribeBackupDownloadRestrictionResponse(AbstractModel):
|
14487
|
+
"""DescribeBackupDownloadRestriction返回参数结构体
|
14192
14488
|
|
14193
14489
|
"""
|
14194
14490
|
|
14195
14491
|
def __init__(self):
|
14196
14492
|
r"""
|
14197
|
-
:param
|
14198
|
-
|
14493
|
+
:param _BackupLimitClusterRestrictions: 集群备份下载限制
|
14494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14495
|
+
:type BackupLimitClusterRestrictions: list of BackupLimitClusterRestriction
|
14199
14496
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14200
14497
|
:type RequestId: str
|
14201
14498
|
"""
|
14202
|
-
self.
|
14499
|
+
self._BackupLimitClusterRestrictions = None
|
14203
14500
|
self._RequestId = None
|
14204
14501
|
|
14205
14502
|
@property
|
14206
|
-
def
|
14207
|
-
"""
|
14208
|
-
|
14503
|
+
def BackupLimitClusterRestrictions(self):
|
14504
|
+
"""集群备份下载限制
|
14505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14506
|
+
:rtype: list of BackupLimitClusterRestriction
|
14507
|
+
"""
|
14508
|
+
return self._BackupLimitClusterRestrictions
|
14509
|
+
|
14510
|
+
@BackupLimitClusterRestrictions.setter
|
14511
|
+
def BackupLimitClusterRestrictions(self, BackupLimitClusterRestrictions):
|
14512
|
+
self._BackupLimitClusterRestrictions = BackupLimitClusterRestrictions
|
14513
|
+
|
14514
|
+
@property
|
14515
|
+
def RequestId(self):
|
14516
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14517
|
+
:rtype: str
|
14518
|
+
"""
|
14519
|
+
return self._RequestId
|
14520
|
+
|
14521
|
+
@RequestId.setter
|
14522
|
+
def RequestId(self, RequestId):
|
14523
|
+
self._RequestId = RequestId
|
14524
|
+
|
14525
|
+
|
14526
|
+
def _deserialize(self, params):
|
14527
|
+
if params.get("BackupLimitClusterRestrictions") is not None:
|
14528
|
+
self._BackupLimitClusterRestrictions = []
|
14529
|
+
for item in params.get("BackupLimitClusterRestrictions"):
|
14530
|
+
obj = BackupLimitClusterRestriction()
|
14531
|
+
obj._deserialize(item)
|
14532
|
+
self._BackupLimitClusterRestrictions.append(obj)
|
14533
|
+
self._RequestId = params.get("RequestId")
|
14534
|
+
|
14535
|
+
|
14536
|
+
class DescribeBackupDownloadUrlRequest(AbstractModel):
|
14537
|
+
"""DescribeBackupDownloadUrl请求参数结构体
|
14538
|
+
|
14539
|
+
"""
|
14540
|
+
|
14541
|
+
def __init__(self):
|
14542
|
+
r"""
|
14543
|
+
:param _ClusterId: 集群ID
|
14544
|
+
:type ClusterId: str
|
14545
|
+
:param _BackupId: 备份ID
|
14546
|
+
:type BackupId: int
|
14547
|
+
:param _DownloadRestriction: 备份下载来源限制条件
|
14548
|
+
:type DownloadRestriction: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
14549
|
+
"""
|
14550
|
+
self._ClusterId = None
|
14551
|
+
self._BackupId = None
|
14552
|
+
self._DownloadRestriction = None
|
14553
|
+
|
14554
|
+
@property
|
14555
|
+
def ClusterId(self):
|
14556
|
+
"""集群ID
|
14557
|
+
:rtype: str
|
14558
|
+
"""
|
14559
|
+
return self._ClusterId
|
14560
|
+
|
14561
|
+
@ClusterId.setter
|
14562
|
+
def ClusterId(self, ClusterId):
|
14563
|
+
self._ClusterId = ClusterId
|
14564
|
+
|
14565
|
+
@property
|
14566
|
+
def BackupId(self):
|
14567
|
+
"""备份ID
|
14568
|
+
:rtype: int
|
14569
|
+
"""
|
14570
|
+
return self._BackupId
|
14571
|
+
|
14572
|
+
@BackupId.setter
|
14573
|
+
def BackupId(self, BackupId):
|
14574
|
+
self._BackupId = BackupId
|
14575
|
+
|
14576
|
+
@property
|
14577
|
+
def DownloadRestriction(self):
|
14578
|
+
"""备份下载来源限制条件
|
14579
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
14580
|
+
"""
|
14581
|
+
return self._DownloadRestriction
|
14582
|
+
|
14583
|
+
@DownloadRestriction.setter
|
14584
|
+
def DownloadRestriction(self, DownloadRestriction):
|
14585
|
+
self._DownloadRestriction = DownloadRestriction
|
14586
|
+
|
14587
|
+
|
14588
|
+
def _deserialize(self, params):
|
14589
|
+
self._ClusterId = params.get("ClusterId")
|
14590
|
+
self._BackupId = params.get("BackupId")
|
14591
|
+
if params.get("DownloadRestriction") is not None:
|
14592
|
+
self._DownloadRestriction = BackupLimitRestriction()
|
14593
|
+
self._DownloadRestriction._deserialize(params.get("DownloadRestriction"))
|
14594
|
+
memeber_set = set(params.keys())
|
14595
|
+
for name, value in vars(self).items():
|
14596
|
+
property_name = name[1:]
|
14597
|
+
if property_name in memeber_set:
|
14598
|
+
memeber_set.remove(property_name)
|
14599
|
+
if len(memeber_set) > 0:
|
14600
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14601
|
+
|
14602
|
+
|
14603
|
+
|
14604
|
+
class DescribeBackupDownloadUrlResponse(AbstractModel):
|
14605
|
+
"""DescribeBackupDownloadUrl返回参数结构体
|
14606
|
+
|
14607
|
+
"""
|
14608
|
+
|
14609
|
+
def __init__(self):
|
14610
|
+
r"""
|
14611
|
+
:param _DownloadUrl: 备份下载地址
|
14612
|
+
:type DownloadUrl: str
|
14613
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14614
|
+
:type RequestId: str
|
14615
|
+
"""
|
14616
|
+
self._DownloadUrl = None
|
14617
|
+
self._RequestId = None
|
14618
|
+
|
14619
|
+
@property
|
14620
|
+
def DownloadUrl(self):
|
14621
|
+
"""备份下载地址
|
14622
|
+
:rtype: str
|
14209
14623
|
"""
|
14210
14624
|
return self._DownloadUrl
|
14211
14625
|
|
@@ -14230,6 +14644,137 @@ class DescribeBackupDownloadUrlResponse(AbstractModel):
|
|
14230
14644
|
self._RequestId = params.get("RequestId")
|
14231
14645
|
|
14232
14646
|
|
14647
|
+
class DescribeBackupDownloadUserRestrictionRequest(AbstractModel):
|
14648
|
+
"""DescribeBackupDownloadUserRestriction请求参数结构体
|
14649
|
+
|
14650
|
+
"""
|
14651
|
+
|
14652
|
+
def __init__(self):
|
14653
|
+
r"""
|
14654
|
+
:param _Limit: 分页大小
|
14655
|
+
:type Limit: int
|
14656
|
+
:param _Offset: 偏移量
|
14657
|
+
:type Offset: int
|
14658
|
+
:param _OnlyUserRestriction: 是否只查询用户级别下载限制,true-是,false-否
|
14659
|
+
:type OnlyUserRestriction: bool
|
14660
|
+
"""
|
14661
|
+
self._Limit = None
|
14662
|
+
self._Offset = None
|
14663
|
+
self._OnlyUserRestriction = None
|
14664
|
+
|
14665
|
+
@property
|
14666
|
+
def Limit(self):
|
14667
|
+
"""分页大小
|
14668
|
+
:rtype: int
|
14669
|
+
"""
|
14670
|
+
return self._Limit
|
14671
|
+
|
14672
|
+
@Limit.setter
|
14673
|
+
def Limit(self, Limit):
|
14674
|
+
self._Limit = Limit
|
14675
|
+
|
14676
|
+
@property
|
14677
|
+
def Offset(self):
|
14678
|
+
"""偏移量
|
14679
|
+
:rtype: int
|
14680
|
+
"""
|
14681
|
+
return self._Offset
|
14682
|
+
|
14683
|
+
@Offset.setter
|
14684
|
+
def Offset(self, Offset):
|
14685
|
+
self._Offset = Offset
|
14686
|
+
|
14687
|
+
@property
|
14688
|
+
def OnlyUserRestriction(self):
|
14689
|
+
"""是否只查询用户级别下载限制,true-是,false-否
|
14690
|
+
:rtype: bool
|
14691
|
+
"""
|
14692
|
+
return self._OnlyUserRestriction
|
14693
|
+
|
14694
|
+
@OnlyUserRestriction.setter
|
14695
|
+
def OnlyUserRestriction(self, OnlyUserRestriction):
|
14696
|
+
self._OnlyUserRestriction = OnlyUserRestriction
|
14697
|
+
|
14698
|
+
|
14699
|
+
def _deserialize(self, params):
|
14700
|
+
self._Limit = params.get("Limit")
|
14701
|
+
self._Offset = params.get("Offset")
|
14702
|
+
self._OnlyUserRestriction = params.get("OnlyUserRestriction")
|
14703
|
+
memeber_set = set(params.keys())
|
14704
|
+
for name, value in vars(self).items():
|
14705
|
+
property_name = name[1:]
|
14706
|
+
if property_name in memeber_set:
|
14707
|
+
memeber_set.remove(property_name)
|
14708
|
+
if len(memeber_set) > 0:
|
14709
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14710
|
+
|
14711
|
+
|
14712
|
+
|
14713
|
+
class DescribeBackupDownloadUserRestrictionResponse(AbstractModel):
|
14714
|
+
"""DescribeBackupDownloadUserRestriction返回参数结构体
|
14715
|
+
|
14716
|
+
"""
|
14717
|
+
|
14718
|
+
def __init__(self):
|
14719
|
+
r"""
|
14720
|
+
:param _BackupLimitClusterRestrictions: 集群备份下载限制信息
|
14721
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14722
|
+
:type BackupLimitClusterRestrictions: list of BackupLimitClusterRestriction
|
14723
|
+
:param _TotalCount: 总条数
|
14724
|
+
:type TotalCount: int
|
14725
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14726
|
+
:type RequestId: str
|
14727
|
+
"""
|
14728
|
+
self._BackupLimitClusterRestrictions = None
|
14729
|
+
self._TotalCount = None
|
14730
|
+
self._RequestId = None
|
14731
|
+
|
14732
|
+
@property
|
14733
|
+
def BackupLimitClusterRestrictions(self):
|
14734
|
+
"""集群备份下载限制信息
|
14735
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14736
|
+
:rtype: list of BackupLimitClusterRestriction
|
14737
|
+
"""
|
14738
|
+
return self._BackupLimitClusterRestrictions
|
14739
|
+
|
14740
|
+
@BackupLimitClusterRestrictions.setter
|
14741
|
+
def BackupLimitClusterRestrictions(self, BackupLimitClusterRestrictions):
|
14742
|
+
self._BackupLimitClusterRestrictions = BackupLimitClusterRestrictions
|
14743
|
+
|
14744
|
+
@property
|
14745
|
+
def TotalCount(self):
|
14746
|
+
"""总条数
|
14747
|
+
:rtype: int
|
14748
|
+
"""
|
14749
|
+
return self._TotalCount
|
14750
|
+
|
14751
|
+
@TotalCount.setter
|
14752
|
+
def TotalCount(self, TotalCount):
|
14753
|
+
self._TotalCount = TotalCount
|
14754
|
+
|
14755
|
+
@property
|
14756
|
+
def RequestId(self):
|
14757
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14758
|
+
:rtype: str
|
14759
|
+
"""
|
14760
|
+
return self._RequestId
|
14761
|
+
|
14762
|
+
@RequestId.setter
|
14763
|
+
def RequestId(self, RequestId):
|
14764
|
+
self._RequestId = RequestId
|
14765
|
+
|
14766
|
+
|
14767
|
+
def _deserialize(self, params):
|
14768
|
+
if params.get("BackupLimitClusterRestrictions") is not None:
|
14769
|
+
self._BackupLimitClusterRestrictions = []
|
14770
|
+
for item in params.get("BackupLimitClusterRestrictions"):
|
14771
|
+
obj = BackupLimitClusterRestriction()
|
14772
|
+
obj._deserialize(item)
|
14773
|
+
self._BackupLimitClusterRestrictions.append(obj)
|
14774
|
+
self._TotalCount = params.get("TotalCount")
|
14775
|
+
self._RequestId = params.get("RequestId")
|
14776
|
+
|
14777
|
+
|
14233
14778
|
class DescribeBackupListRequest(AbstractModel):
|
14234
14779
|
"""DescribeBackupList请求参数结构体
|
14235
14780
|
|
@@ -14648,9 +15193,12 @@ class DescribeBinlogDownloadUrlRequest(AbstractModel):
|
|
14648
15193
|
:type ClusterId: str
|
14649
15194
|
:param _BinlogId: Binlog文件ID
|
14650
15195
|
:type BinlogId: int
|
15196
|
+
:param _DownloadRestriction: 备份下载来源限制条件
|
15197
|
+
:type DownloadRestriction: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
14651
15198
|
"""
|
14652
15199
|
self._ClusterId = None
|
14653
15200
|
self._BinlogId = None
|
15201
|
+
self._DownloadRestriction = None
|
14654
15202
|
|
14655
15203
|
@property
|
14656
15204
|
def ClusterId(self):
|
@@ -14674,10 +15222,24 @@ class DescribeBinlogDownloadUrlRequest(AbstractModel):
|
|
14674
15222
|
def BinlogId(self, BinlogId):
|
14675
15223
|
self._BinlogId = BinlogId
|
14676
15224
|
|
15225
|
+
@property
|
15226
|
+
def DownloadRestriction(self):
|
15227
|
+
"""备份下载来源限制条件
|
15228
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
15229
|
+
"""
|
15230
|
+
return self._DownloadRestriction
|
15231
|
+
|
15232
|
+
@DownloadRestriction.setter
|
15233
|
+
def DownloadRestriction(self, DownloadRestriction):
|
15234
|
+
self._DownloadRestriction = DownloadRestriction
|
15235
|
+
|
14677
15236
|
|
14678
15237
|
def _deserialize(self, params):
|
14679
15238
|
self._ClusterId = params.get("ClusterId")
|
14680
15239
|
self._BinlogId = params.get("BinlogId")
|
15240
|
+
if params.get("DownloadRestriction") is not None:
|
15241
|
+
self._DownloadRestriction = BackupLimitRestriction()
|
15242
|
+
self._DownloadRestriction._deserialize(params.get("DownloadRestriction"))
|
14681
15243
|
memeber_set = set(params.keys())
|
14682
15244
|
for name, value in vars(self).items():
|
14683
15245
|
property_name = name[1:]
|
@@ -16354,32 +16916,32 @@ class DescribeClusterPasswordComplexityResponse(AbstractModel):
|
|
16354
16916
|
self._RequestId = params.get("RequestId")
|
16355
16917
|
|
16356
16918
|
|
16357
|
-
class
|
16358
|
-
"""
|
16919
|
+
class DescribeClusterReadOnlyRequest(AbstractModel):
|
16920
|
+
"""DescribeClusterReadOnly请求参数结构体
|
16359
16921
|
|
16360
16922
|
"""
|
16361
16923
|
|
16362
16924
|
def __init__(self):
|
16363
16925
|
r"""
|
16364
|
-
:param
|
16365
|
-
:type
|
16926
|
+
:param _ClusterIds: 集群ID列表
|
16927
|
+
:type ClusterIds: list of str
|
16366
16928
|
"""
|
16367
|
-
self.
|
16929
|
+
self._ClusterIds = None
|
16368
16930
|
|
16369
16931
|
@property
|
16370
|
-
def
|
16371
|
-
"""集群
|
16372
|
-
:rtype: str
|
16932
|
+
def ClusterIds(self):
|
16933
|
+
"""集群ID列表
|
16934
|
+
:rtype: list of str
|
16373
16935
|
"""
|
16374
|
-
return self.
|
16936
|
+
return self._ClusterIds
|
16375
16937
|
|
16376
|
-
@
|
16377
|
-
def
|
16378
|
-
self.
|
16938
|
+
@ClusterIds.setter
|
16939
|
+
def ClusterIds(self, ClusterIds):
|
16940
|
+
self._ClusterIds = ClusterIds
|
16379
16941
|
|
16380
16942
|
|
16381
16943
|
def _deserialize(self, params):
|
16382
|
-
self.
|
16944
|
+
self._ClusterIds = params.get("ClusterIds")
|
16383
16945
|
memeber_set = set(params.keys())
|
16384
16946
|
for name, value in vars(self).items():
|
16385
16947
|
property_name = name[1:]
|
@@ -16390,47 +16952,31 @@ class DescribeClusterTransparentEncryptInfoRequest(AbstractModel):
|
|
16390
16952
|
|
16391
16953
|
|
16392
16954
|
|
16393
|
-
class
|
16394
|
-
"""
|
16955
|
+
class DescribeClusterReadOnlyResponse(AbstractModel):
|
16956
|
+
"""DescribeClusterReadOnly返回参数结构体
|
16395
16957
|
|
16396
16958
|
"""
|
16397
16959
|
|
16398
16960
|
def __init__(self):
|
16399
16961
|
r"""
|
16400
|
-
:param
|
16401
|
-
:type
|
16402
|
-
:param _KeyRegion: 加密秘钥地域
|
16403
|
-
|
16404
|
-
:type KeyRegion: str
|
16962
|
+
:param _ClusterReadOnlyValues: 集群只读开关列表
|
16963
|
+
:type ClusterReadOnlyValues: list of ClusterReadOnlyValue
|
16405
16964
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16406
16965
|
:type RequestId: str
|
16407
16966
|
"""
|
16408
|
-
self.
|
16409
|
-
self._KeyRegion = None
|
16967
|
+
self._ClusterReadOnlyValues = None
|
16410
16968
|
self._RequestId = None
|
16411
16969
|
|
16412
16970
|
@property
|
16413
|
-
def
|
16414
|
-
"""
|
16415
|
-
:rtype:
|
16416
|
-
"""
|
16417
|
-
return self._KeyId
|
16418
|
-
|
16419
|
-
@KeyId.setter
|
16420
|
-
def KeyId(self, KeyId):
|
16421
|
-
self._KeyId = KeyId
|
16422
|
-
|
16423
|
-
@property
|
16424
|
-
def KeyRegion(self):
|
16425
|
-
"""加密秘钥地域
|
16426
|
-
|
16427
|
-
:rtype: str
|
16971
|
+
def ClusterReadOnlyValues(self):
|
16972
|
+
"""集群只读开关列表
|
16973
|
+
:rtype: list of ClusterReadOnlyValue
|
16428
16974
|
"""
|
16429
|
-
return self.
|
16975
|
+
return self._ClusterReadOnlyValues
|
16430
16976
|
|
16431
|
-
@
|
16432
|
-
def
|
16433
|
-
self.
|
16977
|
+
@ClusterReadOnlyValues.setter
|
16978
|
+
def ClusterReadOnlyValues(self, ClusterReadOnlyValues):
|
16979
|
+
self._ClusterReadOnlyValues = ClusterReadOnlyValues
|
16434
16980
|
|
16435
16981
|
@property
|
16436
16982
|
def RequestId(self):
|
@@ -16445,19 +16991,119 @@ class DescribeClusterTransparentEncryptInfoResponse(AbstractModel):
|
|
16445
16991
|
|
16446
16992
|
|
16447
16993
|
def _deserialize(self, params):
|
16448
|
-
|
16449
|
-
|
16994
|
+
if params.get("ClusterReadOnlyValues") is not None:
|
16995
|
+
self._ClusterReadOnlyValues = []
|
16996
|
+
for item in params.get("ClusterReadOnlyValues"):
|
16997
|
+
obj = ClusterReadOnlyValue()
|
16998
|
+
obj._deserialize(item)
|
16999
|
+
self._ClusterReadOnlyValues.append(obj)
|
16450
17000
|
self._RequestId = params.get("RequestId")
|
16451
17001
|
|
16452
17002
|
|
16453
|
-
class
|
16454
|
-
"""
|
17003
|
+
class DescribeClusterTransparentEncryptInfoRequest(AbstractModel):
|
17004
|
+
"""DescribeClusterTransparentEncryptInfo请求参数结构体
|
16455
17005
|
|
16456
17006
|
"""
|
16457
17007
|
|
16458
17008
|
def __init__(self):
|
16459
17009
|
r"""
|
16460
|
-
:param
|
17010
|
+
:param _ClusterId: 集群id
|
17011
|
+
:type ClusterId: str
|
17012
|
+
"""
|
17013
|
+
self._ClusterId = None
|
17014
|
+
|
17015
|
+
@property
|
17016
|
+
def ClusterId(self):
|
17017
|
+
"""集群id
|
17018
|
+
:rtype: str
|
17019
|
+
"""
|
17020
|
+
return self._ClusterId
|
17021
|
+
|
17022
|
+
@ClusterId.setter
|
17023
|
+
def ClusterId(self, ClusterId):
|
17024
|
+
self._ClusterId = ClusterId
|
17025
|
+
|
17026
|
+
|
17027
|
+
def _deserialize(self, params):
|
17028
|
+
self._ClusterId = params.get("ClusterId")
|
17029
|
+
memeber_set = set(params.keys())
|
17030
|
+
for name, value in vars(self).items():
|
17031
|
+
property_name = name[1:]
|
17032
|
+
if property_name in memeber_set:
|
17033
|
+
memeber_set.remove(property_name)
|
17034
|
+
if len(memeber_set) > 0:
|
17035
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17036
|
+
|
17037
|
+
|
17038
|
+
|
17039
|
+
class DescribeClusterTransparentEncryptInfoResponse(AbstractModel):
|
17040
|
+
"""DescribeClusterTransparentEncryptInfo返回参数结构体
|
17041
|
+
|
17042
|
+
"""
|
17043
|
+
|
17044
|
+
def __init__(self):
|
17045
|
+
r"""
|
17046
|
+
:param _KeyId: 加密秘钥id
|
17047
|
+
:type KeyId: str
|
17048
|
+
:param _KeyRegion: 加密秘钥地域
|
17049
|
+
|
17050
|
+
:type KeyRegion: str
|
17051
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17052
|
+
:type RequestId: str
|
17053
|
+
"""
|
17054
|
+
self._KeyId = None
|
17055
|
+
self._KeyRegion = None
|
17056
|
+
self._RequestId = None
|
17057
|
+
|
17058
|
+
@property
|
17059
|
+
def KeyId(self):
|
17060
|
+
"""加密秘钥id
|
17061
|
+
:rtype: str
|
17062
|
+
"""
|
17063
|
+
return self._KeyId
|
17064
|
+
|
17065
|
+
@KeyId.setter
|
17066
|
+
def KeyId(self, KeyId):
|
17067
|
+
self._KeyId = KeyId
|
17068
|
+
|
17069
|
+
@property
|
17070
|
+
def KeyRegion(self):
|
17071
|
+
"""加密秘钥地域
|
17072
|
+
|
17073
|
+
:rtype: str
|
17074
|
+
"""
|
17075
|
+
return self._KeyRegion
|
17076
|
+
|
17077
|
+
@KeyRegion.setter
|
17078
|
+
def KeyRegion(self, KeyRegion):
|
17079
|
+
self._KeyRegion = KeyRegion
|
17080
|
+
|
17081
|
+
@property
|
17082
|
+
def RequestId(self):
|
17083
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17084
|
+
:rtype: str
|
17085
|
+
"""
|
17086
|
+
return self._RequestId
|
17087
|
+
|
17088
|
+
@RequestId.setter
|
17089
|
+
def RequestId(self, RequestId):
|
17090
|
+
self._RequestId = RequestId
|
17091
|
+
|
17092
|
+
|
17093
|
+
def _deserialize(self, params):
|
17094
|
+
self._KeyId = params.get("KeyId")
|
17095
|
+
self._KeyRegion = params.get("KeyRegion")
|
17096
|
+
self._RequestId = params.get("RequestId")
|
17097
|
+
|
17098
|
+
|
17099
|
+
class DescribeClustersRequest(AbstractModel):
|
17100
|
+
"""DescribeClusters请求参数结构体
|
17101
|
+
|
17102
|
+
"""
|
17103
|
+
|
17104
|
+
def __init__(self):
|
17105
|
+
r"""
|
17106
|
+
:param _DbType: 引擎类型:目前支持“MYSQL”, “POSTGRESQL”
|
16461
17107
|
:type DbType: str
|
16462
17108
|
:param _Limit: 返回数量,默认为 20,最大值为 100
|
16463
17109
|
:type Limit: int
|
@@ -20809,7 +21455,7 @@ class DescribeTasksRequest(AbstractModel):
|
|
20809
21455
|
:type StartTimeBegin: str
|
20810
21456
|
:param _StartTimeEnd: 任务开始时间结束值
|
20811
21457
|
:type StartTimeEnd: str
|
20812
|
-
:param _Filters:
|
21458
|
+
:param _Filters: 过滤条件,支持的搜索字段:"ClusterId"、"ClusterName"、"InstanceId"、"InstanceName"、"Status"、"TaskId"、"TaskType"
|
20813
21459
|
:type Filters: list of QueryFilter
|
20814
21460
|
:param _Limit: 查询列表长度
|
20815
21461
|
:type Limit: int
|
@@ -20846,7 +21492,7 @@ class DescribeTasksRequest(AbstractModel):
|
|
20846
21492
|
|
20847
21493
|
@property
|
20848
21494
|
def Filters(self):
|
20849
|
-
"""
|
21495
|
+
"""过滤条件,支持的搜索字段:"ClusterId"、"ClusterName"、"InstanceId"、"InstanceName"、"Status"、"TaskId"、"TaskType"
|
20850
21496
|
:rtype: list of QueryFilter
|
20851
21497
|
"""
|
20852
21498
|
return self._Filters
|
@@ -25410,51 +26056,366 @@ class ModifyAuditServiceRequest(AbstractModel):
|
|
25410
26056
|
self._HighLogExpireDay = HighLogExpireDay
|
25411
26057
|
|
25412
26058
|
@property
|
25413
|
-
def AuditAll(self):
|
25414
|
-
"""修改实例审计规则为全审计。
|
25415
|
-
:rtype: bool
|
26059
|
+
def AuditAll(self):
|
26060
|
+
"""修改实例审计规则为全审计。
|
26061
|
+
:rtype: bool
|
26062
|
+
"""
|
26063
|
+
return self._AuditAll
|
26064
|
+
|
26065
|
+
@AuditAll.setter
|
26066
|
+
def AuditAll(self, AuditAll):
|
26067
|
+
self._AuditAll = AuditAll
|
26068
|
+
|
26069
|
+
@property
|
26070
|
+
def AuditRuleFilters(self):
|
26071
|
+
"""规则审计。
|
26072
|
+
:rtype: list of AuditRuleFilters
|
26073
|
+
"""
|
26074
|
+
return self._AuditRuleFilters
|
26075
|
+
|
26076
|
+
@AuditRuleFilters.setter
|
26077
|
+
def AuditRuleFilters(self, AuditRuleFilters):
|
26078
|
+
self._AuditRuleFilters = AuditRuleFilters
|
26079
|
+
|
26080
|
+
@property
|
26081
|
+
def RuleTemplateIds(self):
|
26082
|
+
"""规则模板ID。
|
26083
|
+
:rtype: list of str
|
26084
|
+
"""
|
26085
|
+
return self._RuleTemplateIds
|
26086
|
+
|
26087
|
+
@RuleTemplateIds.setter
|
26088
|
+
def RuleTemplateIds(self, RuleTemplateIds):
|
26089
|
+
self._RuleTemplateIds = RuleTemplateIds
|
26090
|
+
|
26091
|
+
|
26092
|
+
def _deserialize(self, params):
|
26093
|
+
self._InstanceId = params.get("InstanceId")
|
26094
|
+
self._LogExpireDay = params.get("LogExpireDay")
|
26095
|
+
self._HighLogExpireDay = params.get("HighLogExpireDay")
|
26096
|
+
self._AuditAll = params.get("AuditAll")
|
26097
|
+
if params.get("AuditRuleFilters") is not None:
|
26098
|
+
self._AuditRuleFilters = []
|
26099
|
+
for item in params.get("AuditRuleFilters"):
|
26100
|
+
obj = AuditRuleFilters()
|
26101
|
+
obj._deserialize(item)
|
26102
|
+
self._AuditRuleFilters.append(obj)
|
26103
|
+
self._RuleTemplateIds = params.get("RuleTemplateIds")
|
26104
|
+
memeber_set = set(params.keys())
|
26105
|
+
for name, value in vars(self).items():
|
26106
|
+
property_name = name[1:]
|
26107
|
+
if property_name in memeber_set:
|
26108
|
+
memeber_set.remove(property_name)
|
26109
|
+
if len(memeber_set) > 0:
|
26110
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26111
|
+
|
26112
|
+
|
26113
|
+
|
26114
|
+
class ModifyAuditServiceResponse(AbstractModel):
|
26115
|
+
"""ModifyAuditService返回参数结构体
|
26116
|
+
|
26117
|
+
"""
|
26118
|
+
|
26119
|
+
def __init__(self):
|
26120
|
+
r"""
|
26121
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26122
|
+
:type RequestId: str
|
26123
|
+
"""
|
26124
|
+
self._RequestId = None
|
26125
|
+
|
26126
|
+
@property
|
26127
|
+
def RequestId(self):
|
26128
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26129
|
+
:rtype: str
|
26130
|
+
"""
|
26131
|
+
return self._RequestId
|
26132
|
+
|
26133
|
+
@RequestId.setter
|
26134
|
+
def RequestId(self, RequestId):
|
26135
|
+
self._RequestId = RequestId
|
26136
|
+
|
26137
|
+
|
26138
|
+
def _deserialize(self, params):
|
26139
|
+
self._RequestId = params.get("RequestId")
|
26140
|
+
|
26141
|
+
|
26142
|
+
class ModifyBackupConfigRequest(AbstractModel):
|
26143
|
+
"""ModifyBackupConfig请求参数结构体
|
26144
|
+
|
26145
|
+
"""
|
26146
|
+
|
26147
|
+
def __init__(self):
|
26148
|
+
r"""
|
26149
|
+
:param _ClusterId: 集群ID
|
26150
|
+
:type ClusterId: str
|
26151
|
+
:param _BackupTimeBeg: 表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
26152
|
+
:type BackupTimeBeg: int
|
26153
|
+
:param _BackupTimeEnd: 表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
26154
|
+
:type BackupTimeEnd: int
|
26155
|
+
:param _ReserveDuration: 表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600*24*7=604800,最大为158112000
|
26156
|
+
:type ReserveDuration: int
|
26157
|
+
:param _BackupFreq: 该参数目前不支持修改,无需填写。备份频率,长度为7的数组,分别对应周一到周日的备份方式,full-全量备份,increment-增量备份
|
26158
|
+
:type BackupFreq: list of str
|
26159
|
+
:param _BackupType: 该参数目前不支持修改,无需填写。
|
26160
|
+
:type BackupType: str
|
26161
|
+
:param _LogicBackupConfig: 逻辑备份配置
|
26162
|
+
:type LogicBackupConfig: :class:`tencentcloud.cynosdb.v20190107.models.LogicBackupConfigInfo`
|
26163
|
+
:param _DeleteAutoLogicBackup: 是否删除自动逻辑备份
|
26164
|
+
:type DeleteAutoLogicBackup: bool
|
26165
|
+
"""
|
26166
|
+
self._ClusterId = None
|
26167
|
+
self._BackupTimeBeg = None
|
26168
|
+
self._BackupTimeEnd = None
|
26169
|
+
self._ReserveDuration = None
|
26170
|
+
self._BackupFreq = None
|
26171
|
+
self._BackupType = None
|
26172
|
+
self._LogicBackupConfig = None
|
26173
|
+
self._DeleteAutoLogicBackup = None
|
26174
|
+
|
26175
|
+
@property
|
26176
|
+
def ClusterId(self):
|
26177
|
+
"""集群ID
|
26178
|
+
:rtype: str
|
26179
|
+
"""
|
26180
|
+
return self._ClusterId
|
26181
|
+
|
26182
|
+
@ClusterId.setter
|
26183
|
+
def ClusterId(self, ClusterId):
|
26184
|
+
self._ClusterId = ClusterId
|
26185
|
+
|
26186
|
+
@property
|
26187
|
+
def BackupTimeBeg(self):
|
26188
|
+
"""表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
26189
|
+
:rtype: int
|
26190
|
+
"""
|
26191
|
+
return self._BackupTimeBeg
|
26192
|
+
|
26193
|
+
@BackupTimeBeg.setter
|
26194
|
+
def BackupTimeBeg(self, BackupTimeBeg):
|
26195
|
+
self._BackupTimeBeg = BackupTimeBeg
|
26196
|
+
|
26197
|
+
@property
|
26198
|
+
def BackupTimeEnd(self):
|
26199
|
+
"""表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
26200
|
+
:rtype: int
|
26201
|
+
"""
|
26202
|
+
return self._BackupTimeEnd
|
26203
|
+
|
26204
|
+
@BackupTimeEnd.setter
|
26205
|
+
def BackupTimeEnd(self, BackupTimeEnd):
|
26206
|
+
self._BackupTimeEnd = BackupTimeEnd
|
26207
|
+
|
26208
|
+
@property
|
26209
|
+
def ReserveDuration(self):
|
26210
|
+
"""表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600*24*7=604800,最大为158112000
|
26211
|
+
:rtype: int
|
26212
|
+
"""
|
26213
|
+
return self._ReserveDuration
|
26214
|
+
|
26215
|
+
@ReserveDuration.setter
|
26216
|
+
def ReserveDuration(self, ReserveDuration):
|
26217
|
+
self._ReserveDuration = ReserveDuration
|
26218
|
+
|
26219
|
+
@property
|
26220
|
+
def BackupFreq(self):
|
26221
|
+
"""该参数目前不支持修改,无需填写。备份频率,长度为7的数组,分别对应周一到周日的备份方式,full-全量备份,increment-增量备份
|
26222
|
+
:rtype: list of str
|
26223
|
+
"""
|
26224
|
+
return self._BackupFreq
|
26225
|
+
|
26226
|
+
@BackupFreq.setter
|
26227
|
+
def BackupFreq(self, BackupFreq):
|
26228
|
+
self._BackupFreq = BackupFreq
|
26229
|
+
|
26230
|
+
@property
|
26231
|
+
def BackupType(self):
|
26232
|
+
"""该参数目前不支持修改,无需填写。
|
26233
|
+
:rtype: str
|
26234
|
+
"""
|
26235
|
+
return self._BackupType
|
26236
|
+
|
26237
|
+
@BackupType.setter
|
26238
|
+
def BackupType(self, BackupType):
|
26239
|
+
self._BackupType = BackupType
|
26240
|
+
|
26241
|
+
@property
|
26242
|
+
def LogicBackupConfig(self):
|
26243
|
+
"""逻辑备份配置
|
26244
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.LogicBackupConfigInfo`
|
26245
|
+
"""
|
26246
|
+
return self._LogicBackupConfig
|
26247
|
+
|
26248
|
+
@LogicBackupConfig.setter
|
26249
|
+
def LogicBackupConfig(self, LogicBackupConfig):
|
26250
|
+
self._LogicBackupConfig = LogicBackupConfig
|
26251
|
+
|
26252
|
+
@property
|
26253
|
+
def DeleteAutoLogicBackup(self):
|
26254
|
+
"""是否删除自动逻辑备份
|
26255
|
+
:rtype: bool
|
26256
|
+
"""
|
26257
|
+
return self._DeleteAutoLogicBackup
|
26258
|
+
|
26259
|
+
@DeleteAutoLogicBackup.setter
|
26260
|
+
def DeleteAutoLogicBackup(self, DeleteAutoLogicBackup):
|
26261
|
+
self._DeleteAutoLogicBackup = DeleteAutoLogicBackup
|
26262
|
+
|
26263
|
+
|
26264
|
+
def _deserialize(self, params):
|
26265
|
+
self._ClusterId = params.get("ClusterId")
|
26266
|
+
self._BackupTimeBeg = params.get("BackupTimeBeg")
|
26267
|
+
self._BackupTimeEnd = params.get("BackupTimeEnd")
|
26268
|
+
self._ReserveDuration = params.get("ReserveDuration")
|
26269
|
+
self._BackupFreq = params.get("BackupFreq")
|
26270
|
+
self._BackupType = params.get("BackupType")
|
26271
|
+
if params.get("LogicBackupConfig") is not None:
|
26272
|
+
self._LogicBackupConfig = LogicBackupConfigInfo()
|
26273
|
+
self._LogicBackupConfig._deserialize(params.get("LogicBackupConfig"))
|
26274
|
+
self._DeleteAutoLogicBackup = params.get("DeleteAutoLogicBackup")
|
26275
|
+
memeber_set = set(params.keys())
|
26276
|
+
for name, value in vars(self).items():
|
26277
|
+
property_name = name[1:]
|
26278
|
+
if property_name in memeber_set:
|
26279
|
+
memeber_set.remove(property_name)
|
26280
|
+
if len(memeber_set) > 0:
|
26281
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26282
|
+
|
26283
|
+
|
26284
|
+
|
26285
|
+
class ModifyBackupConfigResponse(AbstractModel):
|
26286
|
+
"""ModifyBackupConfig返回参数结构体
|
26287
|
+
|
26288
|
+
"""
|
26289
|
+
|
26290
|
+
def __init__(self):
|
26291
|
+
r"""
|
26292
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26293
|
+
:type RequestId: str
|
26294
|
+
"""
|
26295
|
+
self._RequestId = None
|
26296
|
+
|
26297
|
+
@property
|
26298
|
+
def RequestId(self):
|
26299
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26300
|
+
:rtype: str
|
26301
|
+
"""
|
26302
|
+
return self._RequestId
|
26303
|
+
|
26304
|
+
@RequestId.setter
|
26305
|
+
def RequestId(self, RequestId):
|
26306
|
+
self._RequestId = RequestId
|
26307
|
+
|
26308
|
+
|
26309
|
+
def _deserialize(self, params):
|
26310
|
+
self._RequestId = params.get("RequestId")
|
26311
|
+
|
26312
|
+
|
26313
|
+
class ModifyBackupDownloadRestrictionRequest(AbstractModel):
|
26314
|
+
"""ModifyBackupDownloadRestriction请求参数结构体
|
26315
|
+
|
26316
|
+
"""
|
26317
|
+
|
26318
|
+
def __init__(self):
|
26319
|
+
r"""
|
26320
|
+
:param _ClusterIds: 集群ID
|
26321
|
+
:type ClusterIds: list of str
|
26322
|
+
:param _LimitType: 下载限制类型,NoLimit-不限制,LimitOnlyIntranet-限制内网 ,Customize-自定义
|
26323
|
+
:type LimitType: str
|
26324
|
+
:param _VpcComparisonSymbol: 该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In
|
26325
|
+
:type VpcComparisonSymbol: str
|
26326
|
+
:param _IpComparisonSymbol: In: 指定的ip可以下载; NotIn: 指定的ip不可以下载
|
26327
|
+
:type IpComparisonSymbol: str
|
26328
|
+
:param _LimitVpcs: 限制下载的vpc设置
|
26329
|
+
:type LimitVpcs: list of BackupLimitVpcItem
|
26330
|
+
:param _LimitIps: 限制下载的ip设置
|
26331
|
+
:type LimitIps: list of str
|
26332
|
+
"""
|
26333
|
+
self._ClusterIds = None
|
26334
|
+
self._LimitType = None
|
26335
|
+
self._VpcComparisonSymbol = None
|
26336
|
+
self._IpComparisonSymbol = None
|
26337
|
+
self._LimitVpcs = None
|
26338
|
+
self._LimitIps = None
|
26339
|
+
|
26340
|
+
@property
|
26341
|
+
def ClusterIds(self):
|
26342
|
+
"""集群ID
|
26343
|
+
:rtype: list of str
|
26344
|
+
"""
|
26345
|
+
return self._ClusterIds
|
26346
|
+
|
26347
|
+
@ClusterIds.setter
|
26348
|
+
def ClusterIds(self, ClusterIds):
|
26349
|
+
self._ClusterIds = ClusterIds
|
26350
|
+
|
26351
|
+
@property
|
26352
|
+
def LimitType(self):
|
26353
|
+
"""下载限制类型,NoLimit-不限制,LimitOnlyIntranet-限制内网 ,Customize-自定义
|
26354
|
+
:rtype: str
|
26355
|
+
"""
|
26356
|
+
return self._LimitType
|
26357
|
+
|
26358
|
+
@LimitType.setter
|
26359
|
+
def LimitType(self, LimitType):
|
26360
|
+
self._LimitType = LimitType
|
26361
|
+
|
26362
|
+
@property
|
26363
|
+
def VpcComparisonSymbol(self):
|
26364
|
+
"""该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In
|
26365
|
+
:rtype: str
|
26366
|
+
"""
|
26367
|
+
return self._VpcComparisonSymbol
|
26368
|
+
|
26369
|
+
@VpcComparisonSymbol.setter
|
26370
|
+
def VpcComparisonSymbol(self, VpcComparisonSymbol):
|
26371
|
+
self._VpcComparisonSymbol = VpcComparisonSymbol
|
26372
|
+
|
26373
|
+
@property
|
26374
|
+
def IpComparisonSymbol(self):
|
26375
|
+
"""In: 指定的ip可以下载; NotIn: 指定的ip不可以下载
|
26376
|
+
:rtype: str
|
25416
26377
|
"""
|
25417
|
-
return self.
|
26378
|
+
return self._IpComparisonSymbol
|
25418
26379
|
|
25419
|
-
@
|
25420
|
-
def
|
25421
|
-
self.
|
26380
|
+
@IpComparisonSymbol.setter
|
26381
|
+
def IpComparisonSymbol(self, IpComparisonSymbol):
|
26382
|
+
self._IpComparisonSymbol = IpComparisonSymbol
|
25422
26383
|
|
25423
26384
|
@property
|
25424
|
-
def
|
25425
|
-
"""
|
25426
|
-
:rtype: list of
|
26385
|
+
def LimitVpcs(self):
|
26386
|
+
"""限制下载的vpc设置
|
26387
|
+
:rtype: list of BackupLimitVpcItem
|
25427
26388
|
"""
|
25428
|
-
return self.
|
26389
|
+
return self._LimitVpcs
|
25429
26390
|
|
25430
|
-
@
|
25431
|
-
def
|
25432
|
-
self.
|
26391
|
+
@LimitVpcs.setter
|
26392
|
+
def LimitVpcs(self, LimitVpcs):
|
26393
|
+
self._LimitVpcs = LimitVpcs
|
25433
26394
|
|
25434
26395
|
@property
|
25435
|
-
def
|
25436
|
-
"""
|
26396
|
+
def LimitIps(self):
|
26397
|
+
"""限制下载的ip设置
|
25437
26398
|
:rtype: list of str
|
25438
26399
|
"""
|
25439
|
-
return self.
|
26400
|
+
return self._LimitIps
|
25440
26401
|
|
25441
|
-
@
|
25442
|
-
def
|
25443
|
-
self.
|
26402
|
+
@LimitIps.setter
|
26403
|
+
def LimitIps(self, LimitIps):
|
26404
|
+
self._LimitIps = LimitIps
|
25444
26405
|
|
25445
26406
|
|
25446
26407
|
def _deserialize(self, params):
|
25447
|
-
self.
|
25448
|
-
self.
|
25449
|
-
self.
|
25450
|
-
self.
|
25451
|
-
if params.get("
|
25452
|
-
self.
|
25453
|
-
for item in params.get("
|
25454
|
-
obj =
|
26408
|
+
self._ClusterIds = params.get("ClusterIds")
|
26409
|
+
self._LimitType = params.get("LimitType")
|
26410
|
+
self._VpcComparisonSymbol = params.get("VpcComparisonSymbol")
|
26411
|
+
self._IpComparisonSymbol = params.get("IpComparisonSymbol")
|
26412
|
+
if params.get("LimitVpcs") is not None:
|
26413
|
+
self._LimitVpcs = []
|
26414
|
+
for item in params.get("LimitVpcs"):
|
26415
|
+
obj = BackupLimitVpcItem()
|
25455
26416
|
obj._deserialize(item)
|
25456
|
-
self.
|
25457
|
-
self.
|
26417
|
+
self._LimitVpcs.append(obj)
|
26418
|
+
self._LimitIps = params.get("LimitIps")
|
25458
26419
|
memeber_set = set(params.keys())
|
25459
26420
|
for name, value in vars(self).items():
|
25460
26421
|
property_name = name[1:]
|
@@ -25465,8 +26426,8 @@ class ModifyAuditServiceRequest(AbstractModel):
|
|
25465
26426
|
|
25466
26427
|
|
25467
26428
|
|
25468
|
-
class
|
25469
|
-
"""
|
26429
|
+
class ModifyBackupDownloadRestrictionResponse(AbstractModel):
|
26430
|
+
"""ModifyBackupDownloadRestriction返回参数结构体
|
25470
26431
|
|
25471
26432
|
"""
|
25472
26433
|
|
@@ -25493,139 +26454,97 @@ class ModifyAuditServiceResponse(AbstractModel):
|
|
25493
26454
|
self._RequestId = params.get("RequestId")
|
25494
26455
|
|
25495
26456
|
|
25496
|
-
class
|
25497
|
-
"""
|
26457
|
+
class ModifyBackupDownloadUserRestrictionRequest(AbstractModel):
|
26458
|
+
"""ModifyBackupDownloadUserRestriction请求参数结构体
|
25498
26459
|
|
25499
26460
|
"""
|
25500
26461
|
|
25501
26462
|
def __init__(self):
|
25502
26463
|
r"""
|
25503
|
-
:param
|
25504
|
-
:type
|
25505
|
-
:param
|
25506
|
-
:type
|
25507
|
-
:param
|
25508
|
-
:type
|
25509
|
-
:param
|
25510
|
-
:type
|
25511
|
-
:param
|
25512
|
-
:type
|
25513
|
-
:param _BackupType: 该参数目前不支持修改,无需填写。
|
25514
|
-
:type BackupType: str
|
25515
|
-
:param _LogicBackupConfig: 逻辑备份配置
|
25516
|
-
:type LogicBackupConfig: :class:`tencentcloud.cynosdb.v20190107.models.LogicBackupConfigInfo`
|
25517
|
-
:param _DeleteAutoLogicBackup: 是否删除自动逻辑备份
|
25518
|
-
:type DeleteAutoLogicBackup: bool
|
26464
|
+
:param _LimitType: 下载限制类型,NoLimit-不限制,LimitOnlyIntranet-限制内网 ,Customize-自定义
|
26465
|
+
:type LimitType: str
|
26466
|
+
:param _VpcComparisonSymbol: 该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In
|
26467
|
+
:type VpcComparisonSymbol: str
|
26468
|
+
:param _IpComparisonSymbol: In: 指定的ip可以下载; NotIn: 指定的ip不可以下载
|
26469
|
+
:type IpComparisonSymbol: str
|
26470
|
+
:param _LimitVpcs: 限制下载的vpc设置
|
26471
|
+
:type LimitVpcs: list of BackupLimitVpcItem
|
26472
|
+
:param _LimitIps: 限制下载的ip设置
|
26473
|
+
:type LimitIps: list of str
|
25519
26474
|
"""
|
25520
|
-
self.
|
25521
|
-
self.
|
25522
|
-
self.
|
25523
|
-
self.
|
25524
|
-
self.
|
25525
|
-
self._BackupType = None
|
25526
|
-
self._LogicBackupConfig = None
|
25527
|
-
self._DeleteAutoLogicBackup = None
|
26475
|
+
self._LimitType = None
|
26476
|
+
self._VpcComparisonSymbol = None
|
26477
|
+
self._IpComparisonSymbol = None
|
26478
|
+
self._LimitVpcs = None
|
26479
|
+
self._LimitIps = None
|
25528
26480
|
|
25529
26481
|
@property
|
25530
|
-
def
|
25531
|
-
"""
|
26482
|
+
def LimitType(self):
|
26483
|
+
"""下载限制类型,NoLimit-不限制,LimitOnlyIntranet-限制内网 ,Customize-自定义
|
25532
26484
|
:rtype: str
|
25533
26485
|
"""
|
25534
|
-
return self.
|
25535
|
-
|
25536
|
-
@ClusterId.setter
|
25537
|
-
def ClusterId(self, ClusterId):
|
25538
|
-
self._ClusterId = ClusterId
|
25539
|
-
|
25540
|
-
@property
|
25541
|
-
def BackupTimeBeg(self):
|
25542
|
-
"""表示全备开始时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
25543
|
-
:rtype: int
|
25544
|
-
"""
|
25545
|
-
return self._BackupTimeBeg
|
25546
|
-
|
25547
|
-
@BackupTimeBeg.setter
|
25548
|
-
def BackupTimeBeg(self, BackupTimeBeg):
|
25549
|
-
self._BackupTimeBeg = BackupTimeBeg
|
25550
|
-
|
25551
|
-
@property
|
25552
|
-
def BackupTimeEnd(self):
|
25553
|
-
"""表示全备结束时间,[0-24*3600], 如0:00, 1:00, 2:00 分别为 0,3600, 7200
|
25554
|
-
:rtype: int
|
25555
|
-
"""
|
25556
|
-
return self._BackupTimeEnd
|
25557
|
-
|
25558
|
-
@BackupTimeEnd.setter
|
25559
|
-
def BackupTimeEnd(self, BackupTimeEnd):
|
25560
|
-
self._BackupTimeEnd = BackupTimeEnd
|
25561
|
-
|
25562
|
-
@property
|
25563
|
-
def ReserveDuration(self):
|
25564
|
-
"""表示保留备份时长, 单位秒,超过该时间将被清理, 七天表示为3600*24*7=604800,最大为158112000
|
25565
|
-
:rtype: int
|
25566
|
-
"""
|
25567
|
-
return self._ReserveDuration
|
26486
|
+
return self._LimitType
|
25568
26487
|
|
25569
|
-
@
|
25570
|
-
def
|
25571
|
-
self.
|
26488
|
+
@LimitType.setter
|
26489
|
+
def LimitType(self, LimitType):
|
26490
|
+
self._LimitType = LimitType
|
25572
26491
|
|
25573
26492
|
@property
|
25574
|
-
def
|
25575
|
-
"""
|
25576
|
-
:rtype:
|
26493
|
+
def VpcComparisonSymbol(self):
|
26494
|
+
"""该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In
|
26495
|
+
:rtype: str
|
25577
26496
|
"""
|
25578
|
-
return self.
|
26497
|
+
return self._VpcComparisonSymbol
|
25579
26498
|
|
25580
|
-
@
|
25581
|
-
def
|
25582
|
-
self.
|
26499
|
+
@VpcComparisonSymbol.setter
|
26500
|
+
def VpcComparisonSymbol(self, VpcComparisonSymbol):
|
26501
|
+
self._VpcComparisonSymbol = VpcComparisonSymbol
|
25583
26502
|
|
25584
26503
|
@property
|
25585
|
-
def
|
25586
|
-
"""
|
26504
|
+
def IpComparisonSymbol(self):
|
26505
|
+
"""In: 指定的ip可以下载; NotIn: 指定的ip不可以下载
|
25587
26506
|
:rtype: str
|
25588
26507
|
"""
|
25589
|
-
return self.
|
26508
|
+
return self._IpComparisonSymbol
|
25590
26509
|
|
25591
|
-
@
|
25592
|
-
def
|
25593
|
-
self.
|
26510
|
+
@IpComparisonSymbol.setter
|
26511
|
+
def IpComparisonSymbol(self, IpComparisonSymbol):
|
26512
|
+
self._IpComparisonSymbol = IpComparisonSymbol
|
25594
26513
|
|
25595
26514
|
@property
|
25596
|
-
def
|
25597
|
-
"""
|
25598
|
-
:rtype:
|
26515
|
+
def LimitVpcs(self):
|
26516
|
+
"""限制下载的vpc设置
|
26517
|
+
:rtype: list of BackupLimitVpcItem
|
25599
26518
|
"""
|
25600
|
-
return self.
|
26519
|
+
return self._LimitVpcs
|
25601
26520
|
|
25602
|
-
@
|
25603
|
-
def
|
25604
|
-
self.
|
26521
|
+
@LimitVpcs.setter
|
26522
|
+
def LimitVpcs(self, LimitVpcs):
|
26523
|
+
self._LimitVpcs = LimitVpcs
|
25605
26524
|
|
25606
26525
|
@property
|
25607
|
-
def
|
25608
|
-
"""
|
25609
|
-
:rtype:
|
26526
|
+
def LimitIps(self):
|
26527
|
+
"""限制下载的ip设置
|
26528
|
+
:rtype: list of str
|
25610
26529
|
"""
|
25611
|
-
return self.
|
26530
|
+
return self._LimitIps
|
25612
26531
|
|
25613
|
-
@
|
25614
|
-
def
|
25615
|
-
self.
|
26532
|
+
@LimitIps.setter
|
26533
|
+
def LimitIps(self, LimitIps):
|
26534
|
+
self._LimitIps = LimitIps
|
25616
26535
|
|
25617
26536
|
|
25618
26537
|
def _deserialize(self, params):
|
25619
|
-
self.
|
25620
|
-
self.
|
25621
|
-
self.
|
25622
|
-
|
25623
|
-
|
25624
|
-
|
25625
|
-
|
25626
|
-
|
25627
|
-
|
25628
|
-
self.
|
26538
|
+
self._LimitType = params.get("LimitType")
|
26539
|
+
self._VpcComparisonSymbol = params.get("VpcComparisonSymbol")
|
26540
|
+
self._IpComparisonSymbol = params.get("IpComparisonSymbol")
|
26541
|
+
if params.get("LimitVpcs") is not None:
|
26542
|
+
self._LimitVpcs = []
|
26543
|
+
for item in params.get("LimitVpcs"):
|
26544
|
+
obj = BackupLimitVpcItem()
|
26545
|
+
obj._deserialize(item)
|
26546
|
+
self._LimitVpcs.append(obj)
|
26547
|
+
self._LimitIps = params.get("LimitIps")
|
25629
26548
|
memeber_set = set(params.keys())
|
25630
26549
|
for name, value in vars(self).items():
|
25631
26550
|
property_name = name[1:]
|
@@ -25636,8 +26555,8 @@ class ModifyBackupConfigRequest(AbstractModel):
|
|
25636
26555
|
|
25637
26556
|
|
25638
26557
|
|
25639
|
-
class
|
25640
|
-
"""
|
26558
|
+
class ModifyBackupDownloadUserRestrictionResponse(AbstractModel):
|
26559
|
+
"""ModifyBackupDownloadUserRestriction返回参数结构体
|
25641
26560
|
|
25642
26561
|
"""
|
25643
26562
|
|
@@ -26414,6 +27333,120 @@ class ModifyClusterPasswordComplexityResponse(AbstractModel):
|
|
26414
27333
|
self._RequestId = params.get("RequestId")
|
26415
27334
|
|
26416
27335
|
|
27336
|
+
class ModifyClusterReadOnlyRequest(AbstractModel):
|
27337
|
+
"""ModifyClusterReadOnly请求参数结构体
|
27338
|
+
|
27339
|
+
"""
|
27340
|
+
|
27341
|
+
def __init__(self):
|
27342
|
+
r"""
|
27343
|
+
:param _ClusterIds: 集群ID列表
|
27344
|
+
:type ClusterIds: list of str
|
27345
|
+
:param _ReadOnlyOperation: 集群只读开关,可选值:ON,OFF
|
27346
|
+
:type ReadOnlyOperation: str
|
27347
|
+
:param _IsInMaintainPeriod: yes:在运维时间窗内修改,no:立即执行(默认值)
|
27348
|
+
:type IsInMaintainPeriod: str
|
27349
|
+
"""
|
27350
|
+
self._ClusterIds = None
|
27351
|
+
self._ReadOnlyOperation = None
|
27352
|
+
self._IsInMaintainPeriod = None
|
27353
|
+
|
27354
|
+
@property
|
27355
|
+
def ClusterIds(self):
|
27356
|
+
"""集群ID列表
|
27357
|
+
:rtype: list of str
|
27358
|
+
"""
|
27359
|
+
return self._ClusterIds
|
27360
|
+
|
27361
|
+
@ClusterIds.setter
|
27362
|
+
def ClusterIds(self, ClusterIds):
|
27363
|
+
self._ClusterIds = ClusterIds
|
27364
|
+
|
27365
|
+
@property
|
27366
|
+
def ReadOnlyOperation(self):
|
27367
|
+
"""集群只读开关,可选值:ON,OFF
|
27368
|
+
:rtype: str
|
27369
|
+
"""
|
27370
|
+
return self._ReadOnlyOperation
|
27371
|
+
|
27372
|
+
@ReadOnlyOperation.setter
|
27373
|
+
def ReadOnlyOperation(self, ReadOnlyOperation):
|
27374
|
+
self._ReadOnlyOperation = ReadOnlyOperation
|
27375
|
+
|
27376
|
+
@property
|
27377
|
+
def IsInMaintainPeriod(self):
|
27378
|
+
"""yes:在运维时间窗内修改,no:立即执行(默认值)
|
27379
|
+
:rtype: str
|
27380
|
+
"""
|
27381
|
+
return self._IsInMaintainPeriod
|
27382
|
+
|
27383
|
+
@IsInMaintainPeriod.setter
|
27384
|
+
def IsInMaintainPeriod(self, IsInMaintainPeriod):
|
27385
|
+
self._IsInMaintainPeriod = IsInMaintainPeriod
|
27386
|
+
|
27387
|
+
|
27388
|
+
def _deserialize(self, params):
|
27389
|
+
self._ClusterIds = params.get("ClusterIds")
|
27390
|
+
self._ReadOnlyOperation = params.get("ReadOnlyOperation")
|
27391
|
+
self._IsInMaintainPeriod = params.get("IsInMaintainPeriod")
|
27392
|
+
memeber_set = set(params.keys())
|
27393
|
+
for name, value in vars(self).items():
|
27394
|
+
property_name = name[1:]
|
27395
|
+
if property_name in memeber_set:
|
27396
|
+
memeber_set.remove(property_name)
|
27397
|
+
if len(memeber_set) > 0:
|
27398
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
27399
|
+
|
27400
|
+
|
27401
|
+
|
27402
|
+
class ModifyClusterReadOnlyResponse(AbstractModel):
|
27403
|
+
"""ModifyClusterReadOnly返回参数结构体
|
27404
|
+
|
27405
|
+
"""
|
27406
|
+
|
27407
|
+
def __init__(self):
|
27408
|
+
r"""
|
27409
|
+
:param _ClusterTaskIds: 集群任务ID列表
|
27410
|
+
:type ClusterTaskIds: list of ClusterTaskId
|
27411
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
27412
|
+
:type RequestId: str
|
27413
|
+
"""
|
27414
|
+
self._ClusterTaskIds = None
|
27415
|
+
self._RequestId = None
|
27416
|
+
|
27417
|
+
@property
|
27418
|
+
def ClusterTaskIds(self):
|
27419
|
+
"""集群任务ID列表
|
27420
|
+
:rtype: list of ClusterTaskId
|
27421
|
+
"""
|
27422
|
+
return self._ClusterTaskIds
|
27423
|
+
|
27424
|
+
@ClusterTaskIds.setter
|
27425
|
+
def ClusterTaskIds(self, ClusterTaskIds):
|
27426
|
+
self._ClusterTaskIds = ClusterTaskIds
|
27427
|
+
|
27428
|
+
@property
|
27429
|
+
def RequestId(self):
|
27430
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
27431
|
+
:rtype: str
|
27432
|
+
"""
|
27433
|
+
return self._RequestId
|
27434
|
+
|
27435
|
+
@RequestId.setter
|
27436
|
+
def RequestId(self, RequestId):
|
27437
|
+
self._RequestId = RequestId
|
27438
|
+
|
27439
|
+
|
27440
|
+
def _deserialize(self, params):
|
27441
|
+
if params.get("ClusterTaskIds") is not None:
|
27442
|
+
self._ClusterTaskIds = []
|
27443
|
+
for item in params.get("ClusterTaskIds"):
|
27444
|
+
obj = ClusterTaskId()
|
27445
|
+
obj._deserialize(item)
|
27446
|
+
self._ClusterTaskIds.append(obj)
|
27447
|
+
self._RequestId = params.get("RequestId")
|
27448
|
+
|
27449
|
+
|
26417
27450
|
class ModifyClusterSlaveZoneRequest(AbstractModel):
|
26418
27451
|
"""ModifyClusterSlaveZone请求参数结构体
|
26419
27452
|
|
@@ -33216,10 +34249,10 @@ class QueryFilter(AbstractModel):
|
|
33216
34249
|
|
33217
34250
|
def __init__(self):
|
33218
34251
|
r"""
|
33219
|
-
:param _Names: 搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip"
|
33220
|
-
:type Names: list of str
|
33221
34252
|
:param _Values: 搜索字符串
|
33222
34253
|
:type Values: list of str
|
34254
|
+
:param _Names: 搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip"
|
34255
|
+
:type Names: list of str
|
33223
34256
|
:param _ExactMatch: 是否精确匹配
|
33224
34257
|
:type ExactMatch: bool
|
33225
34258
|
:param _Name: 搜索字段
|
@@ -33227,23 +34260,12 @@ class QueryFilter(AbstractModel):
|
|
33227
34260
|
:param _Operator: 操作符
|
33228
34261
|
:type Operator: str
|
33229
34262
|
"""
|
33230
|
-
self._Names = None
|
33231
34263
|
self._Values = None
|
34264
|
+
self._Names = None
|
33232
34265
|
self._ExactMatch = None
|
33233
34266
|
self._Name = None
|
33234
34267
|
self._Operator = None
|
33235
34268
|
|
33236
|
-
@property
|
33237
|
-
def Names(self):
|
33238
|
-
"""搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip"
|
33239
|
-
:rtype: list of str
|
33240
|
-
"""
|
33241
|
-
return self._Names
|
33242
|
-
|
33243
|
-
@Names.setter
|
33244
|
-
def Names(self, Names):
|
33245
|
-
self._Names = Names
|
33246
|
-
|
33247
34269
|
@property
|
33248
34270
|
def Values(self):
|
33249
34271
|
"""搜索字符串
|
@@ -33255,6 +34277,17 @@ class QueryFilter(AbstractModel):
|
|
33255
34277
|
def Values(self, Values):
|
33256
34278
|
self._Values = Values
|
33257
34279
|
|
34280
|
+
@property
|
34281
|
+
def Names(self):
|
34282
|
+
"""搜索字段,目前支持:"InstanceId", "ProjectId", "InstanceName", "Vip"
|
34283
|
+
:rtype: list of str
|
34284
|
+
"""
|
34285
|
+
return self._Names
|
34286
|
+
|
34287
|
+
@Names.setter
|
34288
|
+
def Names(self, Names):
|
34289
|
+
self._Names = Names
|
34290
|
+
|
33258
34291
|
@property
|
33259
34292
|
def ExactMatch(self):
|
33260
34293
|
"""是否精确匹配
|
@@ -33290,8 +34323,8 @@ class QueryFilter(AbstractModel):
|
|
33290
34323
|
|
33291
34324
|
|
33292
34325
|
def _deserialize(self, params):
|
33293
|
-
self._Names = params.get("Names")
|
33294
34326
|
self._Values = params.get("Values")
|
34327
|
+
self._Names = params.get("Names")
|
33295
34328
|
self._ExactMatch = params.get("ExactMatch")
|
33296
34329
|
self._Name = params.get("Name")
|
33297
34330
|
self._Operator = params.get("Operator")
|