tencentcloud-sdk-python-intl-en 3.0.1207__py2.py3-none-any.whl → 3.0.1209__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/billing/v20180709/billing_client.py +299 -0
- tencentcloud/billing/v20180709/errorcodes.py +9 -0
- tencentcloud/billing/v20180709/models.py +7989 -5855
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +138 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +9 -0
- tencentcloud/cynosdb/v20190107/models.py +1037 -0
- tencentcloud/lke/__init__.py +0 -0
- tencentcloud/lke/v20231130/__init__.py +0 -0
- tencentcloud/lke/v20231130/errorcodes.py +54 -0
- tencentcloud/lke/v20231130/lke_client.py +1252 -0
- tencentcloud/lke/v20231130/models.py +15873 -0
- tencentcloud/ses/v20201002/models.py +432 -0
- tencentcloud/ses/v20201002/ses_client.py +92 -0
- {tencentcloud_sdk_python_intl_en-3.0.1207.dist-info → tencentcloud_sdk_python_intl_en-3.0.1209.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1207.dist-info → tencentcloud_sdk_python_intl_en-3.0.1209.dist-info}/RECORD +18 -13
- {tencentcloud_sdk_python_intl_en-3.0.1207.dist-info → tencentcloud_sdk_python_intl_en-3.0.1209.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1207.dist-info → tencentcloud_sdk_python_intl_en-3.0.1209.dist-info}/top_level.txt +0 -0
|
@@ -1287,6 +1287,215 @@ class BackupFileInfo(AbstractModel):
|
|
|
1287
1287
|
|
|
1288
1288
|
|
|
1289
1289
|
|
|
1290
|
+
class BackupLimitClusterRestriction(AbstractModel):
|
|
1291
|
+
"""Specifies the backup download cluster restrictions parameter.
|
|
1292
|
+
|
|
1293
|
+
"""
|
|
1294
|
+
|
|
1295
|
+
def __init__(self):
|
|
1296
|
+
r"""
|
|
1297
|
+
:param _ClusterId: Cluster ID
|
|
1298
|
+
:type ClusterId: str
|
|
1299
|
+
:param _BackupLimitRestriction: Download limit configuration.
|
|
1300
|
+
:type BackupLimitRestriction: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
|
1301
|
+
"""
|
|
1302
|
+
self._ClusterId = None
|
|
1303
|
+
self._BackupLimitRestriction = None
|
|
1304
|
+
|
|
1305
|
+
@property
|
|
1306
|
+
def ClusterId(self):
|
|
1307
|
+
"""Cluster ID
|
|
1308
|
+
:rtype: str
|
|
1309
|
+
"""
|
|
1310
|
+
return self._ClusterId
|
|
1311
|
+
|
|
1312
|
+
@ClusterId.setter
|
|
1313
|
+
def ClusterId(self, ClusterId):
|
|
1314
|
+
self._ClusterId = ClusterId
|
|
1315
|
+
|
|
1316
|
+
@property
|
|
1317
|
+
def BackupLimitRestriction(self):
|
|
1318
|
+
"""Download limit configuration.
|
|
1319
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
|
1320
|
+
"""
|
|
1321
|
+
return self._BackupLimitRestriction
|
|
1322
|
+
|
|
1323
|
+
@BackupLimitRestriction.setter
|
|
1324
|
+
def BackupLimitRestriction(self, BackupLimitRestriction):
|
|
1325
|
+
self._BackupLimitRestriction = BackupLimitRestriction
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
def _deserialize(self, params):
|
|
1329
|
+
self._ClusterId = params.get("ClusterId")
|
|
1330
|
+
if params.get("BackupLimitRestriction") is not None:
|
|
1331
|
+
self._BackupLimitRestriction = BackupLimitRestriction()
|
|
1332
|
+
self._BackupLimitRestriction._deserialize(params.get("BackupLimitRestriction"))
|
|
1333
|
+
memeber_set = set(params.keys())
|
|
1334
|
+
for name, value in vars(self).items():
|
|
1335
|
+
property_name = name[1:]
|
|
1336
|
+
if property_name in memeber_set:
|
|
1337
|
+
memeber_set.remove(property_name)
|
|
1338
|
+
if len(memeber_set) > 0:
|
|
1339
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
class BackupLimitRestriction(AbstractModel):
|
|
1344
|
+
"""Specifies the backup download limit parameter.
|
|
1345
|
+
|
|
1346
|
+
"""
|
|
1347
|
+
|
|
1348
|
+
def __init__(self):
|
|
1349
|
+
r"""
|
|
1350
|
+
:param _LimitType: Restriction type.
|
|
1351
|
+
:type LimitType: str
|
|
1352
|
+
:param _VpcComparisonSymbol: This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
|
|
1353
|
+
:type VpcComparisonSymbol: str
|
|
1354
|
+
:param _IpComparisonSymbol: Specified ips can download; specified ips are not allowed to download.
|
|
1355
|
+
:type IpComparisonSymbol: str
|
|
1356
|
+
:param _LimitVpcs: Specifies the vpc setting for download restrictions.
|
|
1357
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1358
|
+
:type LimitVpcs: list of BackupLimitVpcItem
|
|
1359
|
+
:param _LimitIps: Specifies the ip settings for limiting downloads.
|
|
1360
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1361
|
+
:type LimitIps: list of str
|
|
1362
|
+
"""
|
|
1363
|
+
self._LimitType = None
|
|
1364
|
+
self._VpcComparisonSymbol = None
|
|
1365
|
+
self._IpComparisonSymbol = None
|
|
1366
|
+
self._LimitVpcs = None
|
|
1367
|
+
self._LimitIps = None
|
|
1368
|
+
|
|
1369
|
+
@property
|
|
1370
|
+
def LimitType(self):
|
|
1371
|
+
"""Restriction type.
|
|
1372
|
+
:rtype: str
|
|
1373
|
+
"""
|
|
1374
|
+
return self._LimitType
|
|
1375
|
+
|
|
1376
|
+
@LimitType.setter
|
|
1377
|
+
def LimitType(self, LimitType):
|
|
1378
|
+
self._LimitType = LimitType
|
|
1379
|
+
|
|
1380
|
+
@property
|
|
1381
|
+
def VpcComparisonSymbol(self):
|
|
1382
|
+
"""This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
|
|
1383
|
+
:rtype: str
|
|
1384
|
+
"""
|
|
1385
|
+
return self._VpcComparisonSymbol
|
|
1386
|
+
|
|
1387
|
+
@VpcComparisonSymbol.setter
|
|
1388
|
+
def VpcComparisonSymbol(self, VpcComparisonSymbol):
|
|
1389
|
+
self._VpcComparisonSymbol = VpcComparisonSymbol
|
|
1390
|
+
|
|
1391
|
+
@property
|
|
1392
|
+
def IpComparisonSymbol(self):
|
|
1393
|
+
"""Specified ips can download; specified ips are not allowed to download.
|
|
1394
|
+
:rtype: str
|
|
1395
|
+
"""
|
|
1396
|
+
return self._IpComparisonSymbol
|
|
1397
|
+
|
|
1398
|
+
@IpComparisonSymbol.setter
|
|
1399
|
+
def IpComparisonSymbol(self, IpComparisonSymbol):
|
|
1400
|
+
self._IpComparisonSymbol = IpComparisonSymbol
|
|
1401
|
+
|
|
1402
|
+
@property
|
|
1403
|
+
def LimitVpcs(self):
|
|
1404
|
+
"""Specifies the vpc setting for download restrictions.
|
|
1405
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1406
|
+
:rtype: list of BackupLimitVpcItem
|
|
1407
|
+
"""
|
|
1408
|
+
return self._LimitVpcs
|
|
1409
|
+
|
|
1410
|
+
@LimitVpcs.setter
|
|
1411
|
+
def LimitVpcs(self, LimitVpcs):
|
|
1412
|
+
self._LimitVpcs = LimitVpcs
|
|
1413
|
+
|
|
1414
|
+
@property
|
|
1415
|
+
def LimitIps(self):
|
|
1416
|
+
"""Specifies the ip settings for limiting downloads.
|
|
1417
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1418
|
+
:rtype: list of str
|
|
1419
|
+
"""
|
|
1420
|
+
return self._LimitIps
|
|
1421
|
+
|
|
1422
|
+
@LimitIps.setter
|
|
1423
|
+
def LimitIps(self, LimitIps):
|
|
1424
|
+
self._LimitIps = LimitIps
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
def _deserialize(self, params):
|
|
1428
|
+
self._LimitType = params.get("LimitType")
|
|
1429
|
+
self._VpcComparisonSymbol = params.get("VpcComparisonSymbol")
|
|
1430
|
+
self._IpComparisonSymbol = params.get("IpComparisonSymbol")
|
|
1431
|
+
if params.get("LimitVpcs") is not None:
|
|
1432
|
+
self._LimitVpcs = []
|
|
1433
|
+
for item in params.get("LimitVpcs"):
|
|
1434
|
+
obj = BackupLimitVpcItem()
|
|
1435
|
+
obj._deserialize(item)
|
|
1436
|
+
self._LimitVpcs.append(obj)
|
|
1437
|
+
self._LimitIps = params.get("LimitIps")
|
|
1438
|
+
memeber_set = set(params.keys())
|
|
1439
|
+
for name, value in vars(self).items():
|
|
1440
|
+
property_name = name[1:]
|
|
1441
|
+
if property_name in memeber_set:
|
|
1442
|
+
memeber_set.remove(property_name)
|
|
1443
|
+
if len(memeber_set) > 0:
|
|
1444
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
class BackupLimitVpcItem(AbstractModel):
|
|
1449
|
+
"""VPC settings for restricting backup download sources.
|
|
1450
|
+
|
|
1451
|
+
"""
|
|
1452
|
+
|
|
1453
|
+
def __init__(self):
|
|
1454
|
+
r"""
|
|
1455
|
+
:param _Region: Specifies the region for limiting download sources. currently only supports the current region.
|
|
1456
|
+
:type Region: str
|
|
1457
|
+
:param _VpcList: Limit the vpc list for downloads.
|
|
1458
|
+
:type VpcList: list of str
|
|
1459
|
+
"""
|
|
1460
|
+
self._Region = None
|
|
1461
|
+
self._VpcList = None
|
|
1462
|
+
|
|
1463
|
+
@property
|
|
1464
|
+
def Region(self):
|
|
1465
|
+
"""Specifies the region for limiting download sources. currently only supports the current region.
|
|
1466
|
+
:rtype: str
|
|
1467
|
+
"""
|
|
1468
|
+
return self._Region
|
|
1469
|
+
|
|
1470
|
+
@Region.setter
|
|
1471
|
+
def Region(self, Region):
|
|
1472
|
+
self._Region = Region
|
|
1473
|
+
|
|
1474
|
+
@property
|
|
1475
|
+
def VpcList(self):
|
|
1476
|
+
"""Limit the vpc list for downloads.
|
|
1477
|
+
:rtype: list of str
|
|
1478
|
+
"""
|
|
1479
|
+
return self._VpcList
|
|
1480
|
+
|
|
1481
|
+
@VpcList.setter
|
|
1482
|
+
def VpcList(self, VpcList):
|
|
1483
|
+
self._VpcList = VpcList
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
def _deserialize(self, params):
|
|
1487
|
+
self._Region = params.get("Region")
|
|
1488
|
+
self._VpcList = params.get("VpcList")
|
|
1489
|
+
memeber_set = set(params.keys())
|
|
1490
|
+
for name, value in vars(self).items():
|
|
1491
|
+
property_name = name[1:]
|
|
1492
|
+
if property_name in memeber_set:
|
|
1493
|
+
memeber_set.remove(property_name)
|
|
1494
|
+
if len(memeber_set) > 0:
|
|
1495
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
|
|
1290
1499
|
class BillingResourceInfo(AbstractModel):
|
|
1291
1500
|
"""Billable resource information
|
|
1292
1501
|
|
|
@@ -2549,6 +2758,108 @@ class ClusterInstanceDetail(AbstractModel):
|
|
|
2549
2758
|
|
|
2550
2759
|
|
|
2551
2760
|
|
|
2761
|
+
class ClusterReadOnlyValue(AbstractModel):
|
|
2762
|
+
"""Cluster read-only switch list.
|
|
2763
|
+
|
|
2764
|
+
"""
|
|
2765
|
+
|
|
2766
|
+
def __init__(self):
|
|
2767
|
+
r"""
|
|
2768
|
+
:param _ClusterId: Cluster ID
|
|
2769
|
+
:type ClusterId: str
|
|
2770
|
+
:param _ReadOnlyValue: Specifies the value of the read-only switch.
|
|
2771
|
+
:type ReadOnlyValue: str
|
|
2772
|
+
"""
|
|
2773
|
+
self._ClusterId = None
|
|
2774
|
+
self._ReadOnlyValue = None
|
|
2775
|
+
|
|
2776
|
+
@property
|
|
2777
|
+
def ClusterId(self):
|
|
2778
|
+
"""Cluster ID
|
|
2779
|
+
:rtype: str
|
|
2780
|
+
"""
|
|
2781
|
+
return self._ClusterId
|
|
2782
|
+
|
|
2783
|
+
@ClusterId.setter
|
|
2784
|
+
def ClusterId(self, ClusterId):
|
|
2785
|
+
self._ClusterId = ClusterId
|
|
2786
|
+
|
|
2787
|
+
@property
|
|
2788
|
+
def ReadOnlyValue(self):
|
|
2789
|
+
"""Specifies the value of the read-only switch.
|
|
2790
|
+
:rtype: str
|
|
2791
|
+
"""
|
|
2792
|
+
return self._ReadOnlyValue
|
|
2793
|
+
|
|
2794
|
+
@ReadOnlyValue.setter
|
|
2795
|
+
def ReadOnlyValue(self, ReadOnlyValue):
|
|
2796
|
+
self._ReadOnlyValue = ReadOnlyValue
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
def _deserialize(self, params):
|
|
2800
|
+
self._ClusterId = params.get("ClusterId")
|
|
2801
|
+
self._ReadOnlyValue = params.get("ReadOnlyValue")
|
|
2802
|
+
memeber_set = set(params.keys())
|
|
2803
|
+
for name, value in vars(self).items():
|
|
2804
|
+
property_name = name[1:]
|
|
2805
|
+
if property_name in memeber_set:
|
|
2806
|
+
memeber_set.remove(property_name)
|
|
2807
|
+
if len(memeber_set) > 0:
|
|
2808
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
class ClusterTaskId(AbstractModel):
|
|
2813
|
+
"""Cluster task ID.
|
|
2814
|
+
|
|
2815
|
+
"""
|
|
2816
|
+
|
|
2817
|
+
def __init__(self):
|
|
2818
|
+
r"""
|
|
2819
|
+
:param _ClusterId: Cluster ID
|
|
2820
|
+
:type ClusterId: str
|
|
2821
|
+
:param _TaskId: Task ID
|
|
2822
|
+
:type TaskId: str
|
|
2823
|
+
"""
|
|
2824
|
+
self._ClusterId = None
|
|
2825
|
+
self._TaskId = None
|
|
2826
|
+
|
|
2827
|
+
@property
|
|
2828
|
+
def ClusterId(self):
|
|
2829
|
+
"""Cluster ID
|
|
2830
|
+
:rtype: str
|
|
2831
|
+
"""
|
|
2832
|
+
return self._ClusterId
|
|
2833
|
+
|
|
2834
|
+
@ClusterId.setter
|
|
2835
|
+
def ClusterId(self, ClusterId):
|
|
2836
|
+
self._ClusterId = ClusterId
|
|
2837
|
+
|
|
2838
|
+
@property
|
|
2839
|
+
def TaskId(self):
|
|
2840
|
+
"""Task ID
|
|
2841
|
+
:rtype: str
|
|
2842
|
+
"""
|
|
2843
|
+
return self._TaskId
|
|
2844
|
+
|
|
2845
|
+
@TaskId.setter
|
|
2846
|
+
def TaskId(self, TaskId):
|
|
2847
|
+
self._TaskId = TaskId
|
|
2848
|
+
|
|
2849
|
+
|
|
2850
|
+
def _deserialize(self, params):
|
|
2851
|
+
self._ClusterId = params.get("ClusterId")
|
|
2852
|
+
self._TaskId = params.get("TaskId")
|
|
2853
|
+
memeber_set = set(params.keys())
|
|
2854
|
+
for name, value in vars(self).items():
|
|
2855
|
+
property_name = name[1:]
|
|
2856
|
+
if property_name in memeber_set:
|
|
2857
|
+
memeber_set.remove(property_name)
|
|
2858
|
+
if len(memeber_set) > 0:
|
|
2859
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
|
|
2552
2863
|
class CopyClusterPasswordComplexityRequest(AbstractModel):
|
|
2553
2864
|
"""CopyClusterPasswordComplexity request structure.
|
|
2554
2865
|
|
|
@@ -9826,6 +10137,92 @@ class DescribeBackupConfigResponse(AbstractModel):
|
|
|
9826
10137
|
self._RequestId = params.get("RequestId")
|
|
9827
10138
|
|
|
9828
10139
|
|
|
10140
|
+
class DescribeBackupDownloadRestrictionRequest(AbstractModel):
|
|
10141
|
+
"""DescribeBackupDownloadRestriction request structure.
|
|
10142
|
+
|
|
10143
|
+
"""
|
|
10144
|
+
|
|
10145
|
+
def __init__(self):
|
|
10146
|
+
r"""
|
|
10147
|
+
:param _ClusterIds: Cluster ID
|
|
10148
|
+
:type ClusterIds: list of str
|
|
10149
|
+
"""
|
|
10150
|
+
self._ClusterIds = None
|
|
10151
|
+
|
|
10152
|
+
@property
|
|
10153
|
+
def ClusterIds(self):
|
|
10154
|
+
"""Cluster ID
|
|
10155
|
+
:rtype: list of str
|
|
10156
|
+
"""
|
|
10157
|
+
return self._ClusterIds
|
|
10158
|
+
|
|
10159
|
+
@ClusterIds.setter
|
|
10160
|
+
def ClusterIds(self, ClusterIds):
|
|
10161
|
+
self._ClusterIds = ClusterIds
|
|
10162
|
+
|
|
10163
|
+
|
|
10164
|
+
def _deserialize(self, params):
|
|
10165
|
+
self._ClusterIds = params.get("ClusterIds")
|
|
10166
|
+
memeber_set = set(params.keys())
|
|
10167
|
+
for name, value in vars(self).items():
|
|
10168
|
+
property_name = name[1:]
|
|
10169
|
+
if property_name in memeber_set:
|
|
10170
|
+
memeber_set.remove(property_name)
|
|
10171
|
+
if len(memeber_set) > 0:
|
|
10172
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10173
|
+
|
|
10174
|
+
|
|
10175
|
+
|
|
10176
|
+
class DescribeBackupDownloadRestrictionResponse(AbstractModel):
|
|
10177
|
+
"""DescribeBackupDownloadRestriction response structure.
|
|
10178
|
+
|
|
10179
|
+
"""
|
|
10180
|
+
|
|
10181
|
+
def __init__(self):
|
|
10182
|
+
r"""
|
|
10183
|
+
:param _BackupLimitClusterRestrictions: Cluster backup download limit.
|
|
10184
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10185
|
+
:type BackupLimitClusterRestrictions: list of BackupLimitClusterRestriction
|
|
10186
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10187
|
+
:type RequestId: str
|
|
10188
|
+
"""
|
|
10189
|
+
self._BackupLimitClusterRestrictions = None
|
|
10190
|
+
self._RequestId = None
|
|
10191
|
+
|
|
10192
|
+
@property
|
|
10193
|
+
def BackupLimitClusterRestrictions(self):
|
|
10194
|
+
"""Cluster backup download limit.
|
|
10195
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10196
|
+
:rtype: list of BackupLimitClusterRestriction
|
|
10197
|
+
"""
|
|
10198
|
+
return self._BackupLimitClusterRestrictions
|
|
10199
|
+
|
|
10200
|
+
@BackupLimitClusterRestrictions.setter
|
|
10201
|
+
def BackupLimitClusterRestrictions(self, BackupLimitClusterRestrictions):
|
|
10202
|
+
self._BackupLimitClusterRestrictions = BackupLimitClusterRestrictions
|
|
10203
|
+
|
|
10204
|
+
@property
|
|
10205
|
+
def RequestId(self):
|
|
10206
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10207
|
+
:rtype: str
|
|
10208
|
+
"""
|
|
10209
|
+
return self._RequestId
|
|
10210
|
+
|
|
10211
|
+
@RequestId.setter
|
|
10212
|
+
def RequestId(self, RequestId):
|
|
10213
|
+
self._RequestId = RequestId
|
|
10214
|
+
|
|
10215
|
+
|
|
10216
|
+
def _deserialize(self, params):
|
|
10217
|
+
if params.get("BackupLimitClusterRestrictions") is not None:
|
|
10218
|
+
self._BackupLimitClusterRestrictions = []
|
|
10219
|
+
for item in params.get("BackupLimitClusterRestrictions"):
|
|
10220
|
+
obj = BackupLimitClusterRestriction()
|
|
10221
|
+
obj._deserialize(item)
|
|
10222
|
+
self._BackupLimitClusterRestrictions.append(obj)
|
|
10223
|
+
self._RequestId = params.get("RequestId")
|
|
10224
|
+
|
|
10225
|
+
|
|
9829
10226
|
class DescribeBackupDownloadUrlRequest(AbstractModel):
|
|
9830
10227
|
"""DescribeBackupDownloadUrl request structure.
|
|
9831
10228
|
|
|
@@ -9837,9 +10234,12 @@ class DescribeBackupDownloadUrlRequest(AbstractModel):
|
|
|
9837
10234
|
:type ClusterId: str
|
|
9838
10235
|
:param _BackupId: Backup ID
|
|
9839
10236
|
:type BackupId: int
|
|
10237
|
+
:param _DownloadRestriction: Backup download source restriction condition.
|
|
10238
|
+
:type DownloadRestriction: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
|
9840
10239
|
"""
|
|
9841
10240
|
self._ClusterId = None
|
|
9842
10241
|
self._BackupId = None
|
|
10242
|
+
self._DownloadRestriction = None
|
|
9843
10243
|
|
|
9844
10244
|
@property
|
|
9845
10245
|
def ClusterId(self):
|
|
@@ -9863,10 +10263,24 @@ class DescribeBackupDownloadUrlRequest(AbstractModel):
|
|
|
9863
10263
|
def BackupId(self, BackupId):
|
|
9864
10264
|
self._BackupId = BackupId
|
|
9865
10265
|
|
|
10266
|
+
@property
|
|
10267
|
+
def DownloadRestriction(self):
|
|
10268
|
+
"""Backup download source restriction condition.
|
|
10269
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
|
10270
|
+
"""
|
|
10271
|
+
return self._DownloadRestriction
|
|
10272
|
+
|
|
10273
|
+
@DownloadRestriction.setter
|
|
10274
|
+
def DownloadRestriction(self, DownloadRestriction):
|
|
10275
|
+
self._DownloadRestriction = DownloadRestriction
|
|
10276
|
+
|
|
9866
10277
|
|
|
9867
10278
|
def _deserialize(self, params):
|
|
9868
10279
|
self._ClusterId = params.get("ClusterId")
|
|
9869
10280
|
self._BackupId = params.get("BackupId")
|
|
10281
|
+
if params.get("DownloadRestriction") is not None:
|
|
10282
|
+
self._DownloadRestriction = BackupLimitRestriction()
|
|
10283
|
+
self._DownloadRestriction._deserialize(params.get("DownloadRestriction"))
|
|
9870
10284
|
memeber_set = set(params.keys())
|
|
9871
10285
|
for name, value in vars(self).items():
|
|
9872
10286
|
property_name = name[1:]
|
|
@@ -9920,6 +10334,137 @@ class DescribeBackupDownloadUrlResponse(AbstractModel):
|
|
|
9920
10334
|
self._RequestId = params.get("RequestId")
|
|
9921
10335
|
|
|
9922
10336
|
|
|
10337
|
+
class DescribeBackupDownloadUserRestrictionRequest(AbstractModel):
|
|
10338
|
+
"""DescribeBackupDownloadUserRestriction request structure.
|
|
10339
|
+
|
|
10340
|
+
"""
|
|
10341
|
+
|
|
10342
|
+
def __init__(self):
|
|
10343
|
+
r"""
|
|
10344
|
+
:param _Limit: Pagination size
|
|
10345
|
+
:type Limit: int
|
|
10346
|
+
:param _Offset: Offset.
|
|
10347
|
+
:type Offset: int
|
|
10348
|
+
:param _OnlyUserRestriction: Specifies whether to query only user-level download limits. true - yes, false - no.
|
|
10349
|
+
:type OnlyUserRestriction: bool
|
|
10350
|
+
"""
|
|
10351
|
+
self._Limit = None
|
|
10352
|
+
self._Offset = None
|
|
10353
|
+
self._OnlyUserRestriction = None
|
|
10354
|
+
|
|
10355
|
+
@property
|
|
10356
|
+
def Limit(self):
|
|
10357
|
+
"""Pagination size
|
|
10358
|
+
:rtype: int
|
|
10359
|
+
"""
|
|
10360
|
+
return self._Limit
|
|
10361
|
+
|
|
10362
|
+
@Limit.setter
|
|
10363
|
+
def Limit(self, Limit):
|
|
10364
|
+
self._Limit = Limit
|
|
10365
|
+
|
|
10366
|
+
@property
|
|
10367
|
+
def Offset(self):
|
|
10368
|
+
"""Offset.
|
|
10369
|
+
:rtype: int
|
|
10370
|
+
"""
|
|
10371
|
+
return self._Offset
|
|
10372
|
+
|
|
10373
|
+
@Offset.setter
|
|
10374
|
+
def Offset(self, Offset):
|
|
10375
|
+
self._Offset = Offset
|
|
10376
|
+
|
|
10377
|
+
@property
|
|
10378
|
+
def OnlyUserRestriction(self):
|
|
10379
|
+
"""Specifies whether to query only user-level download limits. true - yes, false - no.
|
|
10380
|
+
:rtype: bool
|
|
10381
|
+
"""
|
|
10382
|
+
return self._OnlyUserRestriction
|
|
10383
|
+
|
|
10384
|
+
@OnlyUserRestriction.setter
|
|
10385
|
+
def OnlyUserRestriction(self, OnlyUserRestriction):
|
|
10386
|
+
self._OnlyUserRestriction = OnlyUserRestriction
|
|
10387
|
+
|
|
10388
|
+
|
|
10389
|
+
def _deserialize(self, params):
|
|
10390
|
+
self._Limit = params.get("Limit")
|
|
10391
|
+
self._Offset = params.get("Offset")
|
|
10392
|
+
self._OnlyUserRestriction = params.get("OnlyUserRestriction")
|
|
10393
|
+
memeber_set = set(params.keys())
|
|
10394
|
+
for name, value in vars(self).items():
|
|
10395
|
+
property_name = name[1:]
|
|
10396
|
+
if property_name in memeber_set:
|
|
10397
|
+
memeber_set.remove(property_name)
|
|
10398
|
+
if len(memeber_set) > 0:
|
|
10399
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10400
|
+
|
|
10401
|
+
|
|
10402
|
+
|
|
10403
|
+
class DescribeBackupDownloadUserRestrictionResponse(AbstractModel):
|
|
10404
|
+
"""DescribeBackupDownloadUserRestriction response structure.
|
|
10405
|
+
|
|
10406
|
+
"""
|
|
10407
|
+
|
|
10408
|
+
def __init__(self):
|
|
10409
|
+
r"""
|
|
10410
|
+
:param _BackupLimitClusterRestrictions: Cluster backup download limit information.
|
|
10411
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10412
|
+
:type BackupLimitClusterRestrictions: list of BackupLimitClusterRestriction
|
|
10413
|
+
:param _TotalCount: Total number of entries
|
|
10414
|
+
:type TotalCount: int
|
|
10415
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10416
|
+
:type RequestId: str
|
|
10417
|
+
"""
|
|
10418
|
+
self._BackupLimitClusterRestrictions = None
|
|
10419
|
+
self._TotalCount = None
|
|
10420
|
+
self._RequestId = None
|
|
10421
|
+
|
|
10422
|
+
@property
|
|
10423
|
+
def BackupLimitClusterRestrictions(self):
|
|
10424
|
+
"""Cluster backup download limit information.
|
|
10425
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10426
|
+
:rtype: list of BackupLimitClusterRestriction
|
|
10427
|
+
"""
|
|
10428
|
+
return self._BackupLimitClusterRestrictions
|
|
10429
|
+
|
|
10430
|
+
@BackupLimitClusterRestrictions.setter
|
|
10431
|
+
def BackupLimitClusterRestrictions(self, BackupLimitClusterRestrictions):
|
|
10432
|
+
self._BackupLimitClusterRestrictions = BackupLimitClusterRestrictions
|
|
10433
|
+
|
|
10434
|
+
@property
|
|
10435
|
+
def TotalCount(self):
|
|
10436
|
+
"""Total number of entries
|
|
10437
|
+
:rtype: int
|
|
10438
|
+
"""
|
|
10439
|
+
return self._TotalCount
|
|
10440
|
+
|
|
10441
|
+
@TotalCount.setter
|
|
10442
|
+
def TotalCount(self, TotalCount):
|
|
10443
|
+
self._TotalCount = TotalCount
|
|
10444
|
+
|
|
10445
|
+
@property
|
|
10446
|
+
def RequestId(self):
|
|
10447
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10448
|
+
:rtype: str
|
|
10449
|
+
"""
|
|
10450
|
+
return self._RequestId
|
|
10451
|
+
|
|
10452
|
+
@RequestId.setter
|
|
10453
|
+
def RequestId(self, RequestId):
|
|
10454
|
+
self._RequestId = RequestId
|
|
10455
|
+
|
|
10456
|
+
|
|
10457
|
+
def _deserialize(self, params):
|
|
10458
|
+
if params.get("BackupLimitClusterRestrictions") is not None:
|
|
10459
|
+
self._BackupLimitClusterRestrictions = []
|
|
10460
|
+
for item in params.get("BackupLimitClusterRestrictions"):
|
|
10461
|
+
obj = BackupLimitClusterRestriction()
|
|
10462
|
+
obj._deserialize(item)
|
|
10463
|
+
self._BackupLimitClusterRestrictions.append(obj)
|
|
10464
|
+
self._TotalCount = params.get("TotalCount")
|
|
10465
|
+
self._RequestId = params.get("RequestId")
|
|
10466
|
+
|
|
10467
|
+
|
|
9923
10468
|
class DescribeBackupListRequest(AbstractModel):
|
|
9924
10469
|
"""DescribeBackupList request structure.
|
|
9925
10470
|
|
|
@@ -10308,9 +10853,12 @@ class DescribeBinlogDownloadUrlRequest(AbstractModel):
|
|
|
10308
10853
|
:type ClusterId: str
|
|
10309
10854
|
:param _BinlogId: Binlog file ID
|
|
10310
10855
|
:type BinlogId: int
|
|
10856
|
+
:param _DownloadRestriction: Backup download source restriction condition.
|
|
10857
|
+
:type DownloadRestriction: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
|
10311
10858
|
"""
|
|
10312
10859
|
self._ClusterId = None
|
|
10313
10860
|
self._BinlogId = None
|
|
10861
|
+
self._DownloadRestriction = None
|
|
10314
10862
|
|
|
10315
10863
|
@property
|
|
10316
10864
|
def ClusterId(self):
|
|
@@ -10334,10 +10882,24 @@ class DescribeBinlogDownloadUrlRequest(AbstractModel):
|
|
|
10334
10882
|
def BinlogId(self, BinlogId):
|
|
10335
10883
|
self._BinlogId = BinlogId
|
|
10336
10884
|
|
|
10885
|
+
@property
|
|
10886
|
+
def DownloadRestriction(self):
|
|
10887
|
+
"""Backup download source restriction condition.
|
|
10888
|
+
:rtype: :class:`tencentcloud.cynosdb.v20190107.models.BackupLimitRestriction`
|
|
10889
|
+
"""
|
|
10890
|
+
return self._DownloadRestriction
|
|
10891
|
+
|
|
10892
|
+
@DownloadRestriction.setter
|
|
10893
|
+
def DownloadRestriction(self, DownloadRestriction):
|
|
10894
|
+
self._DownloadRestriction = DownloadRestriction
|
|
10895
|
+
|
|
10337
10896
|
|
|
10338
10897
|
def _deserialize(self, params):
|
|
10339
10898
|
self._ClusterId = params.get("ClusterId")
|
|
10340
10899
|
self._BinlogId = params.get("BinlogId")
|
|
10900
|
+
if params.get("DownloadRestriction") is not None:
|
|
10901
|
+
self._DownloadRestriction = BackupLimitRestriction()
|
|
10902
|
+
self._DownloadRestriction._deserialize(params.get("DownloadRestriction"))
|
|
10341
10903
|
memeber_set = set(params.keys())
|
|
10342
10904
|
for name, value in vars(self).items():
|
|
10343
10905
|
property_name = name[1:]
|
|
@@ -11423,6 +11985,90 @@ class DescribeClusterPasswordComplexityResponse(AbstractModel):
|
|
|
11423
11985
|
self._RequestId = params.get("RequestId")
|
|
11424
11986
|
|
|
11425
11987
|
|
|
11988
|
+
class DescribeClusterReadOnlyRequest(AbstractModel):
|
|
11989
|
+
"""DescribeClusterReadOnly request structure.
|
|
11990
|
+
|
|
11991
|
+
"""
|
|
11992
|
+
|
|
11993
|
+
def __init__(self):
|
|
11994
|
+
r"""
|
|
11995
|
+
:param _ClusterIds: List of cluster IDs
|
|
11996
|
+
:type ClusterIds: list of str
|
|
11997
|
+
"""
|
|
11998
|
+
self._ClusterIds = None
|
|
11999
|
+
|
|
12000
|
+
@property
|
|
12001
|
+
def ClusterIds(self):
|
|
12002
|
+
"""List of cluster IDs
|
|
12003
|
+
:rtype: list of str
|
|
12004
|
+
"""
|
|
12005
|
+
return self._ClusterIds
|
|
12006
|
+
|
|
12007
|
+
@ClusterIds.setter
|
|
12008
|
+
def ClusterIds(self, ClusterIds):
|
|
12009
|
+
self._ClusterIds = ClusterIds
|
|
12010
|
+
|
|
12011
|
+
|
|
12012
|
+
def _deserialize(self, params):
|
|
12013
|
+
self._ClusterIds = params.get("ClusterIds")
|
|
12014
|
+
memeber_set = set(params.keys())
|
|
12015
|
+
for name, value in vars(self).items():
|
|
12016
|
+
property_name = name[1:]
|
|
12017
|
+
if property_name in memeber_set:
|
|
12018
|
+
memeber_set.remove(property_name)
|
|
12019
|
+
if len(memeber_set) > 0:
|
|
12020
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12021
|
+
|
|
12022
|
+
|
|
12023
|
+
|
|
12024
|
+
class DescribeClusterReadOnlyResponse(AbstractModel):
|
|
12025
|
+
"""DescribeClusterReadOnly response structure.
|
|
12026
|
+
|
|
12027
|
+
"""
|
|
12028
|
+
|
|
12029
|
+
def __init__(self):
|
|
12030
|
+
r"""
|
|
12031
|
+
:param _ClusterReadOnlyValues: List of cluster read-only switches.
|
|
12032
|
+
:type ClusterReadOnlyValues: list of ClusterReadOnlyValue
|
|
12033
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12034
|
+
:type RequestId: str
|
|
12035
|
+
"""
|
|
12036
|
+
self._ClusterReadOnlyValues = None
|
|
12037
|
+
self._RequestId = None
|
|
12038
|
+
|
|
12039
|
+
@property
|
|
12040
|
+
def ClusterReadOnlyValues(self):
|
|
12041
|
+
"""List of cluster read-only switches.
|
|
12042
|
+
:rtype: list of ClusterReadOnlyValue
|
|
12043
|
+
"""
|
|
12044
|
+
return self._ClusterReadOnlyValues
|
|
12045
|
+
|
|
12046
|
+
@ClusterReadOnlyValues.setter
|
|
12047
|
+
def ClusterReadOnlyValues(self, ClusterReadOnlyValues):
|
|
12048
|
+
self._ClusterReadOnlyValues = ClusterReadOnlyValues
|
|
12049
|
+
|
|
12050
|
+
@property
|
|
12051
|
+
def RequestId(self):
|
|
12052
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12053
|
+
:rtype: str
|
|
12054
|
+
"""
|
|
12055
|
+
return self._RequestId
|
|
12056
|
+
|
|
12057
|
+
@RequestId.setter
|
|
12058
|
+
def RequestId(self, RequestId):
|
|
12059
|
+
self._RequestId = RequestId
|
|
12060
|
+
|
|
12061
|
+
|
|
12062
|
+
def _deserialize(self, params):
|
|
12063
|
+
if params.get("ClusterReadOnlyValues") is not None:
|
|
12064
|
+
self._ClusterReadOnlyValues = []
|
|
12065
|
+
for item in params.get("ClusterReadOnlyValues"):
|
|
12066
|
+
obj = ClusterReadOnlyValue()
|
|
12067
|
+
obj._deserialize(item)
|
|
12068
|
+
self._ClusterReadOnlyValues.append(obj)
|
|
12069
|
+
self._RequestId = params.get("RequestId")
|
|
12070
|
+
|
|
12071
|
+
|
|
11426
12072
|
class DescribeClusterTransparentEncryptInfoRequest(AbstractModel):
|
|
11427
12073
|
"""DescribeClusterTransparentEncryptInfo request structure.
|
|
11428
12074
|
|
|
@@ -18925,6 +19571,279 @@ class ModifyBackupConfigResponse(AbstractModel):
|
|
|
18925
19571
|
self._RequestId = params.get("RequestId")
|
|
18926
19572
|
|
|
18927
19573
|
|
|
19574
|
+
class ModifyBackupDownloadRestrictionRequest(AbstractModel):
|
|
19575
|
+
"""ModifyBackupDownloadRestriction request structure.
|
|
19576
|
+
|
|
19577
|
+
"""
|
|
19578
|
+
|
|
19579
|
+
def __init__(self):
|
|
19580
|
+
r"""
|
|
19581
|
+
:param _ClusterIds: Cluster ID
|
|
19582
|
+
:type ClusterIds: list of str
|
|
19583
|
+
:param _LimitType: Download limit type. valid values: NoLimit (unlimited), LimitOnlyIntranet (limited to private network), Customize (custom).
|
|
19584
|
+
:type LimitType: str
|
|
19585
|
+
:param _VpcComparisonSymbol: This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
|
|
19586
|
+
:type VpcComparisonSymbol: str
|
|
19587
|
+
:param _IpComparisonSymbol: Specified ips can download; specified ips are not allowed to download.
|
|
19588
|
+
:type IpComparisonSymbol: str
|
|
19589
|
+
:param _LimitVpcs: Limit the vpc settings for downloads.
|
|
19590
|
+
:type LimitVpcs: list of BackupLimitVpcItem
|
|
19591
|
+
:param _LimitIps: Specifies the ip settings for limiting downloads.
|
|
19592
|
+
:type LimitIps: list of str
|
|
19593
|
+
"""
|
|
19594
|
+
self._ClusterIds = None
|
|
19595
|
+
self._LimitType = None
|
|
19596
|
+
self._VpcComparisonSymbol = None
|
|
19597
|
+
self._IpComparisonSymbol = None
|
|
19598
|
+
self._LimitVpcs = None
|
|
19599
|
+
self._LimitIps = None
|
|
19600
|
+
|
|
19601
|
+
@property
|
|
19602
|
+
def ClusterIds(self):
|
|
19603
|
+
"""Cluster ID
|
|
19604
|
+
:rtype: list of str
|
|
19605
|
+
"""
|
|
19606
|
+
return self._ClusterIds
|
|
19607
|
+
|
|
19608
|
+
@ClusterIds.setter
|
|
19609
|
+
def ClusterIds(self, ClusterIds):
|
|
19610
|
+
self._ClusterIds = ClusterIds
|
|
19611
|
+
|
|
19612
|
+
@property
|
|
19613
|
+
def LimitType(self):
|
|
19614
|
+
"""Download limit type. valid values: NoLimit (unlimited), LimitOnlyIntranet (limited to private network), Customize (custom).
|
|
19615
|
+
:rtype: str
|
|
19616
|
+
"""
|
|
19617
|
+
return self._LimitType
|
|
19618
|
+
|
|
19619
|
+
@LimitType.setter
|
|
19620
|
+
def LimitType(self, LimitType):
|
|
19621
|
+
self._LimitType = LimitType
|
|
19622
|
+
|
|
19623
|
+
@property
|
|
19624
|
+
def VpcComparisonSymbol(self):
|
|
19625
|
+
"""This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
|
|
19626
|
+
:rtype: str
|
|
19627
|
+
"""
|
|
19628
|
+
return self._VpcComparisonSymbol
|
|
19629
|
+
|
|
19630
|
+
@VpcComparisonSymbol.setter
|
|
19631
|
+
def VpcComparisonSymbol(self, VpcComparisonSymbol):
|
|
19632
|
+
self._VpcComparisonSymbol = VpcComparisonSymbol
|
|
19633
|
+
|
|
19634
|
+
@property
|
|
19635
|
+
def IpComparisonSymbol(self):
|
|
19636
|
+
"""Specified ips can download; specified ips are not allowed to download.
|
|
19637
|
+
:rtype: str
|
|
19638
|
+
"""
|
|
19639
|
+
return self._IpComparisonSymbol
|
|
19640
|
+
|
|
19641
|
+
@IpComparisonSymbol.setter
|
|
19642
|
+
def IpComparisonSymbol(self, IpComparisonSymbol):
|
|
19643
|
+
self._IpComparisonSymbol = IpComparisonSymbol
|
|
19644
|
+
|
|
19645
|
+
@property
|
|
19646
|
+
def LimitVpcs(self):
|
|
19647
|
+
"""Limit the vpc settings for downloads.
|
|
19648
|
+
:rtype: list of BackupLimitVpcItem
|
|
19649
|
+
"""
|
|
19650
|
+
return self._LimitVpcs
|
|
19651
|
+
|
|
19652
|
+
@LimitVpcs.setter
|
|
19653
|
+
def LimitVpcs(self, LimitVpcs):
|
|
19654
|
+
self._LimitVpcs = LimitVpcs
|
|
19655
|
+
|
|
19656
|
+
@property
|
|
19657
|
+
def LimitIps(self):
|
|
19658
|
+
"""Specifies the ip settings for limiting downloads.
|
|
19659
|
+
:rtype: list of str
|
|
19660
|
+
"""
|
|
19661
|
+
return self._LimitIps
|
|
19662
|
+
|
|
19663
|
+
@LimitIps.setter
|
|
19664
|
+
def LimitIps(self, LimitIps):
|
|
19665
|
+
self._LimitIps = LimitIps
|
|
19666
|
+
|
|
19667
|
+
|
|
19668
|
+
def _deserialize(self, params):
|
|
19669
|
+
self._ClusterIds = params.get("ClusterIds")
|
|
19670
|
+
self._LimitType = params.get("LimitType")
|
|
19671
|
+
self._VpcComparisonSymbol = params.get("VpcComparisonSymbol")
|
|
19672
|
+
self._IpComparisonSymbol = params.get("IpComparisonSymbol")
|
|
19673
|
+
if params.get("LimitVpcs") is not None:
|
|
19674
|
+
self._LimitVpcs = []
|
|
19675
|
+
for item in params.get("LimitVpcs"):
|
|
19676
|
+
obj = BackupLimitVpcItem()
|
|
19677
|
+
obj._deserialize(item)
|
|
19678
|
+
self._LimitVpcs.append(obj)
|
|
19679
|
+
self._LimitIps = params.get("LimitIps")
|
|
19680
|
+
memeber_set = set(params.keys())
|
|
19681
|
+
for name, value in vars(self).items():
|
|
19682
|
+
property_name = name[1:]
|
|
19683
|
+
if property_name in memeber_set:
|
|
19684
|
+
memeber_set.remove(property_name)
|
|
19685
|
+
if len(memeber_set) > 0:
|
|
19686
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19687
|
+
|
|
19688
|
+
|
|
19689
|
+
|
|
19690
|
+
class ModifyBackupDownloadRestrictionResponse(AbstractModel):
|
|
19691
|
+
"""ModifyBackupDownloadRestriction response structure.
|
|
19692
|
+
|
|
19693
|
+
"""
|
|
19694
|
+
|
|
19695
|
+
def __init__(self):
|
|
19696
|
+
r"""
|
|
19697
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
19698
|
+
:type RequestId: str
|
|
19699
|
+
"""
|
|
19700
|
+
self._RequestId = None
|
|
19701
|
+
|
|
19702
|
+
@property
|
|
19703
|
+
def RequestId(self):
|
|
19704
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
19705
|
+
:rtype: str
|
|
19706
|
+
"""
|
|
19707
|
+
return self._RequestId
|
|
19708
|
+
|
|
19709
|
+
@RequestId.setter
|
|
19710
|
+
def RequestId(self, RequestId):
|
|
19711
|
+
self._RequestId = RequestId
|
|
19712
|
+
|
|
19713
|
+
|
|
19714
|
+
def _deserialize(self, params):
|
|
19715
|
+
self._RequestId = params.get("RequestId")
|
|
19716
|
+
|
|
19717
|
+
|
|
19718
|
+
class ModifyBackupDownloadUserRestrictionRequest(AbstractModel):
|
|
19719
|
+
"""ModifyBackupDownloadUserRestriction request structure.
|
|
19720
|
+
|
|
19721
|
+
"""
|
|
19722
|
+
|
|
19723
|
+
def __init__(self):
|
|
19724
|
+
r"""
|
|
19725
|
+
:param _LimitType: Download limit type. valid values: NoLimit (unlimited), LimitOnlyIntranet (limited to private network), Customize (custom).
|
|
19726
|
+
:type LimitType: str
|
|
19727
|
+
:param _VpcComparisonSymbol: This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
|
|
19728
|
+
:type VpcComparisonSymbol: str
|
|
19729
|
+
:param _IpComparisonSymbol: Specified ips can download; specified ips are not allowed to download.
|
|
19730
|
+
:type IpComparisonSymbol: str
|
|
19731
|
+
:param _LimitVpcs: Limit the vpc settings for downloads.
|
|
19732
|
+
:type LimitVpcs: list of BackupLimitVpcItem
|
|
19733
|
+
:param _LimitIps: Specifies the ip settings for limiting downloads.
|
|
19734
|
+
:type LimitIps: list of str
|
|
19735
|
+
"""
|
|
19736
|
+
self._LimitType = None
|
|
19737
|
+
self._VpcComparisonSymbol = None
|
|
19738
|
+
self._IpComparisonSymbol = None
|
|
19739
|
+
self._LimitVpcs = None
|
|
19740
|
+
self._LimitIps = None
|
|
19741
|
+
|
|
19742
|
+
@property
|
|
19743
|
+
def LimitType(self):
|
|
19744
|
+
"""Download limit type. valid values: NoLimit (unlimited), LimitOnlyIntranet (limited to private network), Customize (custom).
|
|
19745
|
+
:rtype: str
|
|
19746
|
+
"""
|
|
19747
|
+
return self._LimitType
|
|
19748
|
+
|
|
19749
|
+
@LimitType.setter
|
|
19750
|
+
def LimitType(self, LimitType):
|
|
19751
|
+
self._LimitType = LimitType
|
|
19752
|
+
|
|
19753
|
+
@property
|
|
19754
|
+
def VpcComparisonSymbol(self):
|
|
19755
|
+
"""This parameter only supports In, which indicates that the vpc specified by LimitVpc can be downloaded. the default is In.
|
|
19756
|
+
:rtype: str
|
|
19757
|
+
"""
|
|
19758
|
+
return self._VpcComparisonSymbol
|
|
19759
|
+
|
|
19760
|
+
@VpcComparisonSymbol.setter
|
|
19761
|
+
def VpcComparisonSymbol(self, VpcComparisonSymbol):
|
|
19762
|
+
self._VpcComparisonSymbol = VpcComparisonSymbol
|
|
19763
|
+
|
|
19764
|
+
@property
|
|
19765
|
+
def IpComparisonSymbol(self):
|
|
19766
|
+
"""Specified ips can download; specified ips are not allowed to download.
|
|
19767
|
+
:rtype: str
|
|
19768
|
+
"""
|
|
19769
|
+
return self._IpComparisonSymbol
|
|
19770
|
+
|
|
19771
|
+
@IpComparisonSymbol.setter
|
|
19772
|
+
def IpComparisonSymbol(self, IpComparisonSymbol):
|
|
19773
|
+
self._IpComparisonSymbol = IpComparisonSymbol
|
|
19774
|
+
|
|
19775
|
+
@property
|
|
19776
|
+
def LimitVpcs(self):
|
|
19777
|
+
"""Limit the vpc settings for downloads.
|
|
19778
|
+
:rtype: list of BackupLimitVpcItem
|
|
19779
|
+
"""
|
|
19780
|
+
return self._LimitVpcs
|
|
19781
|
+
|
|
19782
|
+
@LimitVpcs.setter
|
|
19783
|
+
def LimitVpcs(self, LimitVpcs):
|
|
19784
|
+
self._LimitVpcs = LimitVpcs
|
|
19785
|
+
|
|
19786
|
+
@property
|
|
19787
|
+
def LimitIps(self):
|
|
19788
|
+
"""Specifies the ip settings for limiting downloads.
|
|
19789
|
+
:rtype: list of str
|
|
19790
|
+
"""
|
|
19791
|
+
return self._LimitIps
|
|
19792
|
+
|
|
19793
|
+
@LimitIps.setter
|
|
19794
|
+
def LimitIps(self, LimitIps):
|
|
19795
|
+
self._LimitIps = LimitIps
|
|
19796
|
+
|
|
19797
|
+
|
|
19798
|
+
def _deserialize(self, params):
|
|
19799
|
+
self._LimitType = params.get("LimitType")
|
|
19800
|
+
self._VpcComparisonSymbol = params.get("VpcComparisonSymbol")
|
|
19801
|
+
self._IpComparisonSymbol = params.get("IpComparisonSymbol")
|
|
19802
|
+
if params.get("LimitVpcs") is not None:
|
|
19803
|
+
self._LimitVpcs = []
|
|
19804
|
+
for item in params.get("LimitVpcs"):
|
|
19805
|
+
obj = BackupLimitVpcItem()
|
|
19806
|
+
obj._deserialize(item)
|
|
19807
|
+
self._LimitVpcs.append(obj)
|
|
19808
|
+
self._LimitIps = params.get("LimitIps")
|
|
19809
|
+
memeber_set = set(params.keys())
|
|
19810
|
+
for name, value in vars(self).items():
|
|
19811
|
+
property_name = name[1:]
|
|
19812
|
+
if property_name in memeber_set:
|
|
19813
|
+
memeber_set.remove(property_name)
|
|
19814
|
+
if len(memeber_set) > 0:
|
|
19815
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19816
|
+
|
|
19817
|
+
|
|
19818
|
+
|
|
19819
|
+
class ModifyBackupDownloadUserRestrictionResponse(AbstractModel):
|
|
19820
|
+
"""ModifyBackupDownloadUserRestriction response structure.
|
|
19821
|
+
|
|
19822
|
+
"""
|
|
19823
|
+
|
|
19824
|
+
def __init__(self):
|
|
19825
|
+
r"""
|
|
19826
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
19827
|
+
:type RequestId: str
|
|
19828
|
+
"""
|
|
19829
|
+
self._RequestId = None
|
|
19830
|
+
|
|
19831
|
+
@property
|
|
19832
|
+
def RequestId(self):
|
|
19833
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
19834
|
+
:rtype: str
|
|
19835
|
+
"""
|
|
19836
|
+
return self._RequestId
|
|
19837
|
+
|
|
19838
|
+
@RequestId.setter
|
|
19839
|
+
def RequestId(self, RequestId):
|
|
19840
|
+
self._RequestId = RequestId
|
|
19841
|
+
|
|
19842
|
+
|
|
19843
|
+
def _deserialize(self, params):
|
|
19844
|
+
self._RequestId = params.get("RequestId")
|
|
19845
|
+
|
|
19846
|
+
|
|
18928
19847
|
class ModifyBackupNameRequest(AbstractModel):
|
|
18929
19848
|
"""ModifyBackupName request structure.
|
|
18930
19849
|
|
|
@@ -19675,6 +20594,120 @@ class ModifyClusterPasswordComplexityResponse(AbstractModel):
|
|
|
19675
20594
|
self._RequestId = params.get("RequestId")
|
|
19676
20595
|
|
|
19677
20596
|
|
|
20597
|
+
class ModifyClusterReadOnlyRequest(AbstractModel):
|
|
20598
|
+
"""ModifyClusterReadOnly request structure.
|
|
20599
|
+
|
|
20600
|
+
"""
|
|
20601
|
+
|
|
20602
|
+
def __init__(self):
|
|
20603
|
+
r"""
|
|
20604
|
+
:param _ClusterIds: List of cluster IDs
|
|
20605
|
+
:type ClusterIds: list of str
|
|
20606
|
+
:param _ReadOnlyOperation: Cluster read-only switch, valid values: ON, OFF.
|
|
20607
|
+
:type ReadOnlyOperation: str
|
|
20608
|
+
:param _IsInMaintainPeriod: Valid values: `yes` (modify in maintenance window), `no` (execute now by default).
|
|
20609
|
+
:type IsInMaintainPeriod: str
|
|
20610
|
+
"""
|
|
20611
|
+
self._ClusterIds = None
|
|
20612
|
+
self._ReadOnlyOperation = None
|
|
20613
|
+
self._IsInMaintainPeriod = None
|
|
20614
|
+
|
|
20615
|
+
@property
|
|
20616
|
+
def ClusterIds(self):
|
|
20617
|
+
"""List of cluster IDs
|
|
20618
|
+
:rtype: list of str
|
|
20619
|
+
"""
|
|
20620
|
+
return self._ClusterIds
|
|
20621
|
+
|
|
20622
|
+
@ClusterIds.setter
|
|
20623
|
+
def ClusterIds(self, ClusterIds):
|
|
20624
|
+
self._ClusterIds = ClusterIds
|
|
20625
|
+
|
|
20626
|
+
@property
|
|
20627
|
+
def ReadOnlyOperation(self):
|
|
20628
|
+
"""Cluster read-only switch, valid values: ON, OFF.
|
|
20629
|
+
:rtype: str
|
|
20630
|
+
"""
|
|
20631
|
+
return self._ReadOnlyOperation
|
|
20632
|
+
|
|
20633
|
+
@ReadOnlyOperation.setter
|
|
20634
|
+
def ReadOnlyOperation(self, ReadOnlyOperation):
|
|
20635
|
+
self._ReadOnlyOperation = ReadOnlyOperation
|
|
20636
|
+
|
|
20637
|
+
@property
|
|
20638
|
+
def IsInMaintainPeriod(self):
|
|
20639
|
+
"""Valid values: `yes` (modify in maintenance window), `no` (execute now by default).
|
|
20640
|
+
:rtype: str
|
|
20641
|
+
"""
|
|
20642
|
+
return self._IsInMaintainPeriod
|
|
20643
|
+
|
|
20644
|
+
@IsInMaintainPeriod.setter
|
|
20645
|
+
def IsInMaintainPeriod(self, IsInMaintainPeriod):
|
|
20646
|
+
self._IsInMaintainPeriod = IsInMaintainPeriod
|
|
20647
|
+
|
|
20648
|
+
|
|
20649
|
+
def _deserialize(self, params):
|
|
20650
|
+
self._ClusterIds = params.get("ClusterIds")
|
|
20651
|
+
self._ReadOnlyOperation = params.get("ReadOnlyOperation")
|
|
20652
|
+
self._IsInMaintainPeriod = params.get("IsInMaintainPeriod")
|
|
20653
|
+
memeber_set = set(params.keys())
|
|
20654
|
+
for name, value in vars(self).items():
|
|
20655
|
+
property_name = name[1:]
|
|
20656
|
+
if property_name in memeber_set:
|
|
20657
|
+
memeber_set.remove(property_name)
|
|
20658
|
+
if len(memeber_set) > 0:
|
|
20659
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20660
|
+
|
|
20661
|
+
|
|
20662
|
+
|
|
20663
|
+
class ModifyClusterReadOnlyResponse(AbstractModel):
|
|
20664
|
+
"""ModifyClusterReadOnly response structure.
|
|
20665
|
+
|
|
20666
|
+
"""
|
|
20667
|
+
|
|
20668
|
+
def __init__(self):
|
|
20669
|
+
r"""
|
|
20670
|
+
:param _ClusterTaskIds: List of cluster task ids.
|
|
20671
|
+
:type ClusterTaskIds: list of ClusterTaskId
|
|
20672
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
20673
|
+
:type RequestId: str
|
|
20674
|
+
"""
|
|
20675
|
+
self._ClusterTaskIds = None
|
|
20676
|
+
self._RequestId = None
|
|
20677
|
+
|
|
20678
|
+
@property
|
|
20679
|
+
def ClusterTaskIds(self):
|
|
20680
|
+
"""List of cluster task ids.
|
|
20681
|
+
:rtype: list of ClusterTaskId
|
|
20682
|
+
"""
|
|
20683
|
+
return self._ClusterTaskIds
|
|
20684
|
+
|
|
20685
|
+
@ClusterTaskIds.setter
|
|
20686
|
+
def ClusterTaskIds(self, ClusterTaskIds):
|
|
20687
|
+
self._ClusterTaskIds = ClusterTaskIds
|
|
20688
|
+
|
|
20689
|
+
@property
|
|
20690
|
+
def RequestId(self):
|
|
20691
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
20692
|
+
:rtype: str
|
|
20693
|
+
"""
|
|
20694
|
+
return self._RequestId
|
|
20695
|
+
|
|
20696
|
+
@RequestId.setter
|
|
20697
|
+
def RequestId(self, RequestId):
|
|
20698
|
+
self._RequestId = RequestId
|
|
20699
|
+
|
|
20700
|
+
|
|
20701
|
+
def _deserialize(self, params):
|
|
20702
|
+
if params.get("ClusterTaskIds") is not None:
|
|
20703
|
+
self._ClusterTaskIds = []
|
|
20704
|
+
for item in params.get("ClusterTaskIds"):
|
|
20705
|
+
obj = ClusterTaskId()
|
|
20706
|
+
obj._deserialize(item)
|
|
20707
|
+
self._ClusterTaskIds.append(obj)
|
|
20708
|
+
self._RequestId = params.get("RequestId")
|
|
20709
|
+
|
|
20710
|
+
|
|
19678
20711
|
class ModifyClusterSlaveZoneRequest(AbstractModel):
|
|
19679
20712
|
"""ModifyClusterSlaveZone request structure.
|
|
19680
20713
|
|
|
@@ -22228,6 +23261,8 @@ class OpenAuditServiceRequest(AbstractModel):
|
|
|
22228
23261
|
|
|
22229
23262
|
@property
|
|
22230
23263
|
def AuditRuleFilters(self):
|
|
23264
|
+
warnings.warn("parameter `AuditRuleFilters` is deprecated", DeprecationWarning)
|
|
23265
|
+
|
|
22231
23266
|
"""Audit rule. If both this parameter and `RuleTemplateIds` are left empty, full audit will be applied.
|
|
22232
23267
|
:rtype: list of AuditRuleFilters
|
|
22233
23268
|
"""
|
|
@@ -22235,6 +23270,8 @@ class OpenAuditServiceRequest(AbstractModel):
|
|
|
22235
23270
|
|
|
22236
23271
|
@AuditRuleFilters.setter
|
|
22237
23272
|
def AuditRuleFilters(self, AuditRuleFilters):
|
|
23273
|
+
warnings.warn("parameter `AuditRuleFilters` is deprecated", DeprecationWarning)
|
|
23274
|
+
|
|
22238
23275
|
self._AuditRuleFilters = AuditRuleFilters
|
|
22239
23276
|
|
|
22240
23277
|
@property
|