tencentcloud-sdk-python 3.0.1390__py2.py3-none-any.whl → 3.0.1391__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 +2 -2
- tencentcloud/batch/v20170312/models.py +10 -6
- 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 +1068 -35
- tencentcloud/emr/v20190103/emr_client.py +6 -2
- tencentcloud/lighthouse/v20200324/models.py +2 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +5 -0
- 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.1391.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1390.dist-info → tencentcloud_sdk_python-3.0.1391.dist-info}/RECORD +23 -23
- {tencentcloud_sdk_python-3.0.1390.dist-info → tencentcloud_sdk_python-3.0.1391.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1390.dist-info → tencentcloud_sdk_python-3.0.1391.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1390.dist-info → tencentcloud_sdk_python-3.0.1391.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,6 +16916,90 @@ class DescribeClusterPasswordComplexityResponse(AbstractModel):
|
|
16354
16916
|
self._RequestId = params.get("RequestId")
|
16355
16917
|
|
16356
16918
|
|
16919
|
+
class DescribeClusterReadOnlyRequest(AbstractModel):
|
16920
|
+
"""DescribeClusterReadOnly请求参数结构体
|
16921
|
+
|
16922
|
+
"""
|
16923
|
+
|
16924
|
+
def __init__(self):
|
16925
|
+
r"""
|
16926
|
+
:param _ClusterIds: 集群ID列表
|
16927
|
+
:type ClusterIds: list of str
|
16928
|
+
"""
|
16929
|
+
self._ClusterIds = None
|
16930
|
+
|
16931
|
+
@property
|
16932
|
+
def ClusterIds(self):
|
16933
|
+
"""集群ID列表
|
16934
|
+
:rtype: list of str
|
16935
|
+
"""
|
16936
|
+
return self._ClusterIds
|
16937
|
+
|
16938
|
+
@ClusterIds.setter
|
16939
|
+
def ClusterIds(self, ClusterIds):
|
16940
|
+
self._ClusterIds = ClusterIds
|
16941
|
+
|
16942
|
+
|
16943
|
+
def _deserialize(self, params):
|
16944
|
+
self._ClusterIds = params.get("ClusterIds")
|
16945
|
+
memeber_set = set(params.keys())
|
16946
|
+
for name, value in vars(self).items():
|
16947
|
+
property_name = name[1:]
|
16948
|
+
if property_name in memeber_set:
|
16949
|
+
memeber_set.remove(property_name)
|
16950
|
+
if len(memeber_set) > 0:
|
16951
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16952
|
+
|
16953
|
+
|
16954
|
+
|
16955
|
+
class DescribeClusterReadOnlyResponse(AbstractModel):
|
16956
|
+
"""DescribeClusterReadOnly返回参数结构体
|
16957
|
+
|
16958
|
+
"""
|
16959
|
+
|
16960
|
+
def __init__(self):
|
16961
|
+
r"""
|
16962
|
+
:param _ClusterReadOnlyValues: 集群只读开关列表
|
16963
|
+
:type ClusterReadOnlyValues: list of ClusterReadOnlyValue
|
16964
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16965
|
+
:type RequestId: str
|
16966
|
+
"""
|
16967
|
+
self._ClusterReadOnlyValues = None
|
16968
|
+
self._RequestId = None
|
16969
|
+
|
16970
|
+
@property
|
16971
|
+
def ClusterReadOnlyValues(self):
|
16972
|
+
"""集群只读开关列表
|
16973
|
+
:rtype: list of ClusterReadOnlyValue
|
16974
|
+
"""
|
16975
|
+
return self._ClusterReadOnlyValues
|
16976
|
+
|
16977
|
+
@ClusterReadOnlyValues.setter
|
16978
|
+
def ClusterReadOnlyValues(self, ClusterReadOnlyValues):
|
16979
|
+
self._ClusterReadOnlyValues = ClusterReadOnlyValues
|
16980
|
+
|
16981
|
+
@property
|
16982
|
+
def RequestId(self):
|
16983
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16984
|
+
:rtype: str
|
16985
|
+
"""
|
16986
|
+
return self._RequestId
|
16987
|
+
|
16988
|
+
@RequestId.setter
|
16989
|
+
def RequestId(self, RequestId):
|
16990
|
+
self._RequestId = RequestId
|
16991
|
+
|
16992
|
+
|
16993
|
+
def _deserialize(self, params):
|
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)
|
17000
|
+
self._RequestId = params.get("RequestId")
|
17001
|
+
|
17002
|
+
|
16357
17003
|
class DescribeClusterTransparentEncryptInfoRequest(AbstractModel):
|
16358
17004
|
"""DescribeClusterTransparentEncryptInfo请求参数结构体
|
16359
17005
|
|
@@ -25664,6 +26310,279 @@ class ModifyBackupConfigResponse(AbstractModel):
|
|
25664
26310
|
self._RequestId = params.get("RequestId")
|
25665
26311
|
|
25666
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
|
26377
|
+
"""
|
26378
|
+
return self._IpComparisonSymbol
|
26379
|
+
|
26380
|
+
@IpComparisonSymbol.setter
|
26381
|
+
def IpComparisonSymbol(self, IpComparisonSymbol):
|
26382
|
+
self._IpComparisonSymbol = IpComparisonSymbol
|
26383
|
+
|
26384
|
+
@property
|
26385
|
+
def LimitVpcs(self):
|
26386
|
+
"""限制下载的vpc设置
|
26387
|
+
:rtype: list of BackupLimitVpcItem
|
26388
|
+
"""
|
26389
|
+
return self._LimitVpcs
|
26390
|
+
|
26391
|
+
@LimitVpcs.setter
|
26392
|
+
def LimitVpcs(self, LimitVpcs):
|
26393
|
+
self._LimitVpcs = LimitVpcs
|
26394
|
+
|
26395
|
+
@property
|
26396
|
+
def LimitIps(self):
|
26397
|
+
"""限制下载的ip设置
|
26398
|
+
:rtype: list of str
|
26399
|
+
"""
|
26400
|
+
return self._LimitIps
|
26401
|
+
|
26402
|
+
@LimitIps.setter
|
26403
|
+
def LimitIps(self, LimitIps):
|
26404
|
+
self._LimitIps = LimitIps
|
26405
|
+
|
26406
|
+
|
26407
|
+
def _deserialize(self, params):
|
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()
|
26416
|
+
obj._deserialize(item)
|
26417
|
+
self._LimitVpcs.append(obj)
|
26418
|
+
self._LimitIps = params.get("LimitIps")
|
26419
|
+
memeber_set = set(params.keys())
|
26420
|
+
for name, value in vars(self).items():
|
26421
|
+
property_name = name[1:]
|
26422
|
+
if property_name in memeber_set:
|
26423
|
+
memeber_set.remove(property_name)
|
26424
|
+
if len(memeber_set) > 0:
|
26425
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26426
|
+
|
26427
|
+
|
26428
|
+
|
26429
|
+
class ModifyBackupDownloadRestrictionResponse(AbstractModel):
|
26430
|
+
"""ModifyBackupDownloadRestriction返回参数结构体
|
26431
|
+
|
26432
|
+
"""
|
26433
|
+
|
26434
|
+
def __init__(self):
|
26435
|
+
r"""
|
26436
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26437
|
+
:type RequestId: str
|
26438
|
+
"""
|
26439
|
+
self._RequestId = None
|
26440
|
+
|
26441
|
+
@property
|
26442
|
+
def RequestId(self):
|
26443
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26444
|
+
:rtype: str
|
26445
|
+
"""
|
26446
|
+
return self._RequestId
|
26447
|
+
|
26448
|
+
@RequestId.setter
|
26449
|
+
def RequestId(self, RequestId):
|
26450
|
+
self._RequestId = RequestId
|
26451
|
+
|
26452
|
+
|
26453
|
+
def _deserialize(self, params):
|
26454
|
+
self._RequestId = params.get("RequestId")
|
26455
|
+
|
26456
|
+
|
26457
|
+
class ModifyBackupDownloadUserRestrictionRequest(AbstractModel):
|
26458
|
+
"""ModifyBackupDownloadUserRestriction请求参数结构体
|
26459
|
+
|
26460
|
+
"""
|
26461
|
+
|
26462
|
+
def __init__(self):
|
26463
|
+
r"""
|
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
|
26474
|
+
"""
|
26475
|
+
self._LimitType = None
|
26476
|
+
self._VpcComparisonSymbol = None
|
26477
|
+
self._IpComparisonSymbol = None
|
26478
|
+
self._LimitVpcs = None
|
26479
|
+
self._LimitIps = None
|
26480
|
+
|
26481
|
+
@property
|
26482
|
+
def LimitType(self):
|
26483
|
+
"""下载限制类型,NoLimit-不限制,LimitOnlyIntranet-限制内网 ,Customize-自定义
|
26484
|
+
:rtype: str
|
26485
|
+
"""
|
26486
|
+
return self._LimitType
|
26487
|
+
|
26488
|
+
@LimitType.setter
|
26489
|
+
def LimitType(self, LimitType):
|
26490
|
+
self._LimitType = LimitType
|
26491
|
+
|
26492
|
+
@property
|
26493
|
+
def VpcComparisonSymbol(self):
|
26494
|
+
"""该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In
|
26495
|
+
:rtype: str
|
26496
|
+
"""
|
26497
|
+
return self._VpcComparisonSymbol
|
26498
|
+
|
26499
|
+
@VpcComparisonSymbol.setter
|
26500
|
+
def VpcComparisonSymbol(self, VpcComparisonSymbol):
|
26501
|
+
self._VpcComparisonSymbol = VpcComparisonSymbol
|
26502
|
+
|
26503
|
+
@property
|
26504
|
+
def IpComparisonSymbol(self):
|
26505
|
+
"""In: 指定的ip可以下载; NotIn: 指定的ip不可以下载
|
26506
|
+
:rtype: str
|
26507
|
+
"""
|
26508
|
+
return self._IpComparisonSymbol
|
26509
|
+
|
26510
|
+
@IpComparisonSymbol.setter
|
26511
|
+
def IpComparisonSymbol(self, IpComparisonSymbol):
|
26512
|
+
self._IpComparisonSymbol = IpComparisonSymbol
|
26513
|
+
|
26514
|
+
@property
|
26515
|
+
def LimitVpcs(self):
|
26516
|
+
"""限制下载的vpc设置
|
26517
|
+
:rtype: list of BackupLimitVpcItem
|
26518
|
+
"""
|
26519
|
+
return self._LimitVpcs
|
26520
|
+
|
26521
|
+
@LimitVpcs.setter
|
26522
|
+
def LimitVpcs(self, LimitVpcs):
|
26523
|
+
self._LimitVpcs = LimitVpcs
|
26524
|
+
|
26525
|
+
@property
|
26526
|
+
def LimitIps(self):
|
26527
|
+
"""限制下载的ip设置
|
26528
|
+
:rtype: list of str
|
26529
|
+
"""
|
26530
|
+
return self._LimitIps
|
26531
|
+
|
26532
|
+
@LimitIps.setter
|
26533
|
+
def LimitIps(self, LimitIps):
|
26534
|
+
self._LimitIps = LimitIps
|
26535
|
+
|
26536
|
+
|
26537
|
+
def _deserialize(self, params):
|
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")
|
26548
|
+
memeber_set = set(params.keys())
|
26549
|
+
for name, value in vars(self).items():
|
26550
|
+
property_name = name[1:]
|
26551
|
+
if property_name in memeber_set:
|
26552
|
+
memeber_set.remove(property_name)
|
26553
|
+
if len(memeber_set) > 0:
|
26554
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26555
|
+
|
26556
|
+
|
26557
|
+
|
26558
|
+
class ModifyBackupDownloadUserRestrictionResponse(AbstractModel):
|
26559
|
+
"""ModifyBackupDownloadUserRestriction返回参数结构体
|
26560
|
+
|
26561
|
+
"""
|
26562
|
+
|
26563
|
+
def __init__(self):
|
26564
|
+
r"""
|
26565
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26566
|
+
:type RequestId: str
|
26567
|
+
"""
|
26568
|
+
self._RequestId = None
|
26569
|
+
|
26570
|
+
@property
|
26571
|
+
def RequestId(self):
|
26572
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26573
|
+
:rtype: str
|
26574
|
+
"""
|
26575
|
+
return self._RequestId
|
26576
|
+
|
26577
|
+
@RequestId.setter
|
26578
|
+
def RequestId(self, RequestId):
|
26579
|
+
self._RequestId = RequestId
|
26580
|
+
|
26581
|
+
|
26582
|
+
def _deserialize(self, params):
|
26583
|
+
self._RequestId = params.get("RequestId")
|
26584
|
+
|
26585
|
+
|
25667
26586
|
class ModifyBackupNameRequest(AbstractModel):
|
25668
26587
|
"""ModifyBackupName请求参数结构体
|
25669
26588
|
|
@@ -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
|
|