tencentcloud-sdk-python-kms 3.1.86__tar.gz → 3.1.145__tar.gz
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_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/setup.py +1 -1
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud/kms/v20190118/models.py +172 -112
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud_sdk_python_kms.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_kms-3.1.145/tencentcloud_sdk_python_kms.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_kms-3.1.86/tencentcloud_sdk_python_kms.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/README.rst +0 -0
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/setup.cfg +0 -0
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud/kms/__init__.py +0 -0
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud/kms/v20190118/__init__.py +0 -0
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud/kms/v20190118/errorcodes.py +0 -0
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud/kms/v20190118/kms_client.py +0 -0
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud/kms/v20190118/kms_client_async.py +0 -0
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud_sdk_python_kms.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud_sdk_python_kms.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_kms-3.1.86 → tencentcloud_sdk_python_kms-3.1.145}/tencentcloud_sdk_python_kms.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-kms
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.145
|
|
4
4
|
Summary: Tencent Cloud Kms SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-kms',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.145,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Kms SDK for Python',
|
|
@@ -1261,54 +1261,56 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1261
1261
|
|
|
1262
1262
|
def __init__(self):
|
|
1263
1263
|
r"""
|
|
1264
|
-
:param _DataKeyId: DataKey
|
|
1264
|
+
:param _DataKeyId: <p>DataKey的全局唯一标识</p>
|
|
1265
1265
|
:type DataKeyId: str
|
|
1266
|
-
:param _KeyId: CMK
|
|
1266
|
+
:param _KeyId: <p>CMK的全局唯一标识</p>
|
|
1267
1267
|
:type KeyId: str
|
|
1268
|
-
:param _KeyName: CMK
|
|
1268
|
+
:param _KeyName: <p>CMK的名称</p>
|
|
1269
1269
|
:type KeyName: str
|
|
1270
|
-
:param _DataKeyName:
|
|
1270
|
+
:param _DataKeyName: <p>作为密钥更容易辨识,更容易被人看懂的数据密钥名称</p>
|
|
1271
1271
|
:type DataKeyName: str
|
|
1272
|
-
:param _NumberOfBytes:
|
|
1272
|
+
:param _NumberOfBytes: <p>数据密钥的长度,单位字节</p>
|
|
1273
1273
|
:type NumberOfBytes: int
|
|
1274
|
-
:param _CreateTime:
|
|
1274
|
+
:param _CreateTime: <p>密钥创建时间</p>
|
|
1275
1275
|
:type CreateTime: int
|
|
1276
|
-
:param _Description: DataKey
|
|
1276
|
+
:param _Description: <p>DataKey的描述</p>
|
|
1277
1277
|
:type Description: str
|
|
1278
|
-
:param _KeyState: DataKey的状态, 取值为:Enabled | Disabled | PendingDelete
|
|
1278
|
+
:param _KeyState: <p>DataKey的状态, 取值为:Enabled | Disabled | PendingDelete</p>
|
|
1279
1279
|
:type KeyState: str
|
|
1280
|
-
:param _CreatorUin:
|
|
1280
|
+
:param _CreatorUin: <p>创建者</p>
|
|
1281
1281
|
:type CreatorUin: int
|
|
1282
|
-
:param _Owner:
|
|
1282
|
+
:param _Owner: <p>数据密钥的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名</p>
|
|
1283
1283
|
:type Owner: str
|
|
1284
|
-
:param _DeletionDate:
|
|
1284
|
+
:param _DeletionDate: <p>计划删除的时间</p>
|
|
1285
1285
|
:type DeletionDate: int
|
|
1286
|
-
:param _Origin: DataKey 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL
|
|
1286
|
+
:param _Origin: <p>DataKey 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL</p>
|
|
1287
1287
|
:type Origin: str
|
|
1288
|
-
:param _HsmClusterId: HSM 集群 ID(仅对 KMS
|
|
1288
|
+
:param _HsmClusterId: <p>HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)</p>
|
|
1289
1289
|
:type HsmClusterId: str
|
|
1290
|
-
:param _ResourceId:
|
|
1290
|
+
:param _ResourceId: <p>资源ID,格式:creatorUin/$creatorUin/$dataKeyId</p>
|
|
1291
1291
|
:type ResourceId: str
|
|
1292
|
-
:param _IsSyncReplica:
|
|
1292
|
+
:param _IsSyncReplica: <p>密钥是否是主副本。0:主本,1:同步副本。</p>
|
|
1293
1293
|
:type IsSyncReplica: int
|
|
1294
|
-
:param _SourceRegion:
|
|
1294
|
+
:param _SourceRegion: <p>同步的原始地域</p>
|
|
1295
1295
|
:type SourceRegion: str
|
|
1296
|
-
:param _SyncStatus:
|
|
1296
|
+
:param _SyncStatus: <p>密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。</p>
|
|
1297
1297
|
:type SyncStatus: int
|
|
1298
|
-
:param _SyncMessages:
|
|
1298
|
+
:param _SyncMessages: <p>同步的结果描述</p>
|
|
1299
1299
|
:type SyncMessages: str
|
|
1300
|
-
:param _SyncStartTime:
|
|
1300
|
+
:param _SyncStartTime: <p>同步的开始时间</p>
|
|
1301
1301
|
:type SyncStartTime: int
|
|
1302
|
-
:param _SyncEndTime:
|
|
1302
|
+
:param _SyncEndTime: <p>同步的结束时间</p>
|
|
1303
1303
|
:type SyncEndTime: int
|
|
1304
|
-
:param _SourceHsmClusterId:
|
|
1304
|
+
:param _SourceHsmClusterId: <p>同步的原始集群,如果为空,是公有云公共集群</p>
|
|
1305
1305
|
:type SourceHsmClusterId: str
|
|
1306
|
-
:param _AccountAppId:
|
|
1306
|
+
:param _AccountAppId: <p>成员账号appId</p>
|
|
1307
1307
|
:type AccountAppId: int
|
|
1308
|
-
:param _AccountUin:
|
|
1308
|
+
:param _AccountUin: <p>成员账号uin</p>
|
|
1309
1309
|
:type AccountUin: int
|
|
1310
|
-
:param _AccountName:
|
|
1310
|
+
:param _AccountName: <p>成员账号名称</p>
|
|
1311
1311
|
:type AccountName: str
|
|
1312
|
+
:param _CreatorUinString: <p>创建者UIN</p>
|
|
1313
|
+
:type CreatorUinString: str
|
|
1312
1314
|
"""
|
|
1313
1315
|
self._DataKeyId = None
|
|
1314
1316
|
self._KeyId = None
|
|
@@ -1334,10 +1336,11 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1334
1336
|
self._AccountAppId = None
|
|
1335
1337
|
self._AccountUin = None
|
|
1336
1338
|
self._AccountName = None
|
|
1339
|
+
self._CreatorUinString = None
|
|
1337
1340
|
|
|
1338
1341
|
@property
|
|
1339
1342
|
def DataKeyId(self):
|
|
1340
|
-
r"""DataKey
|
|
1343
|
+
r"""<p>DataKey的全局唯一标识</p>
|
|
1341
1344
|
:rtype: str
|
|
1342
1345
|
"""
|
|
1343
1346
|
return self._DataKeyId
|
|
@@ -1348,7 +1351,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1348
1351
|
|
|
1349
1352
|
@property
|
|
1350
1353
|
def KeyId(self):
|
|
1351
|
-
r"""CMK
|
|
1354
|
+
r"""<p>CMK的全局唯一标识</p>
|
|
1352
1355
|
:rtype: str
|
|
1353
1356
|
"""
|
|
1354
1357
|
return self._KeyId
|
|
@@ -1359,7 +1362,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1359
1362
|
|
|
1360
1363
|
@property
|
|
1361
1364
|
def KeyName(self):
|
|
1362
|
-
r"""CMK
|
|
1365
|
+
r"""<p>CMK的名称</p>
|
|
1363
1366
|
:rtype: str
|
|
1364
1367
|
"""
|
|
1365
1368
|
return self._KeyName
|
|
@@ -1370,7 +1373,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1370
1373
|
|
|
1371
1374
|
@property
|
|
1372
1375
|
def DataKeyName(self):
|
|
1373
|
-
r"""
|
|
1376
|
+
r"""<p>作为密钥更容易辨识,更容易被人看懂的数据密钥名称</p>
|
|
1374
1377
|
:rtype: str
|
|
1375
1378
|
"""
|
|
1376
1379
|
return self._DataKeyName
|
|
@@ -1381,7 +1384,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1381
1384
|
|
|
1382
1385
|
@property
|
|
1383
1386
|
def NumberOfBytes(self):
|
|
1384
|
-
r"""
|
|
1387
|
+
r"""<p>数据密钥的长度,单位字节</p>
|
|
1385
1388
|
:rtype: int
|
|
1386
1389
|
"""
|
|
1387
1390
|
return self._NumberOfBytes
|
|
@@ -1392,7 +1395,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1392
1395
|
|
|
1393
1396
|
@property
|
|
1394
1397
|
def CreateTime(self):
|
|
1395
|
-
r"""
|
|
1398
|
+
r"""<p>密钥创建时间</p>
|
|
1396
1399
|
:rtype: int
|
|
1397
1400
|
"""
|
|
1398
1401
|
return self._CreateTime
|
|
@@ -1403,7 +1406,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1403
1406
|
|
|
1404
1407
|
@property
|
|
1405
1408
|
def Description(self):
|
|
1406
|
-
r"""DataKey
|
|
1409
|
+
r"""<p>DataKey的描述</p>
|
|
1407
1410
|
:rtype: str
|
|
1408
1411
|
"""
|
|
1409
1412
|
return self._Description
|
|
@@ -1414,7 +1417,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1414
1417
|
|
|
1415
1418
|
@property
|
|
1416
1419
|
def KeyState(self):
|
|
1417
|
-
r"""DataKey的状态, 取值为:Enabled | Disabled | PendingDelete
|
|
1420
|
+
r"""<p>DataKey的状态, 取值为:Enabled | Disabled | PendingDelete</p>
|
|
1418
1421
|
:rtype: str
|
|
1419
1422
|
"""
|
|
1420
1423
|
return self._KeyState
|
|
@@ -1425,7 +1428,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1425
1428
|
|
|
1426
1429
|
@property
|
|
1427
1430
|
def CreatorUin(self):
|
|
1428
|
-
r"""
|
|
1431
|
+
r"""<p>创建者</p>
|
|
1429
1432
|
:rtype: int
|
|
1430
1433
|
"""
|
|
1431
1434
|
return self._CreatorUin
|
|
@@ -1436,7 +1439,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1436
1439
|
|
|
1437
1440
|
@property
|
|
1438
1441
|
def Owner(self):
|
|
1439
|
-
r"""
|
|
1442
|
+
r"""<p>数据密钥的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名</p>
|
|
1440
1443
|
:rtype: str
|
|
1441
1444
|
"""
|
|
1442
1445
|
return self._Owner
|
|
@@ -1447,7 +1450,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1447
1450
|
|
|
1448
1451
|
@property
|
|
1449
1452
|
def DeletionDate(self):
|
|
1450
|
-
r"""
|
|
1453
|
+
r"""<p>计划删除的时间</p>
|
|
1451
1454
|
:rtype: int
|
|
1452
1455
|
"""
|
|
1453
1456
|
return self._DeletionDate
|
|
@@ -1458,7 +1461,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1458
1461
|
|
|
1459
1462
|
@property
|
|
1460
1463
|
def Origin(self):
|
|
1461
|
-
r"""DataKey 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL
|
|
1464
|
+
r"""<p>DataKey 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL</p>
|
|
1462
1465
|
:rtype: str
|
|
1463
1466
|
"""
|
|
1464
1467
|
return self._Origin
|
|
@@ -1469,7 +1472,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1469
1472
|
|
|
1470
1473
|
@property
|
|
1471
1474
|
def HsmClusterId(self):
|
|
1472
|
-
r"""HSM 集群 ID(仅对 KMS
|
|
1475
|
+
r"""<p>HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)</p>
|
|
1473
1476
|
:rtype: str
|
|
1474
1477
|
"""
|
|
1475
1478
|
return self._HsmClusterId
|
|
@@ -1480,7 +1483,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1480
1483
|
|
|
1481
1484
|
@property
|
|
1482
1485
|
def ResourceId(self):
|
|
1483
|
-
r"""
|
|
1486
|
+
r"""<p>资源ID,格式:creatorUin/$creatorUin/$dataKeyId</p>
|
|
1484
1487
|
:rtype: str
|
|
1485
1488
|
"""
|
|
1486
1489
|
return self._ResourceId
|
|
@@ -1491,7 +1494,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1491
1494
|
|
|
1492
1495
|
@property
|
|
1493
1496
|
def IsSyncReplica(self):
|
|
1494
|
-
r"""
|
|
1497
|
+
r"""<p>密钥是否是主副本。0:主本,1:同步副本。</p>
|
|
1495
1498
|
:rtype: int
|
|
1496
1499
|
"""
|
|
1497
1500
|
return self._IsSyncReplica
|
|
@@ -1502,7 +1505,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1502
1505
|
|
|
1503
1506
|
@property
|
|
1504
1507
|
def SourceRegion(self):
|
|
1505
|
-
r"""
|
|
1508
|
+
r"""<p>同步的原始地域</p>
|
|
1506
1509
|
:rtype: str
|
|
1507
1510
|
"""
|
|
1508
1511
|
return self._SourceRegion
|
|
@@ -1513,7 +1516,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1513
1516
|
|
|
1514
1517
|
@property
|
|
1515
1518
|
def SyncStatus(self):
|
|
1516
|
-
r"""
|
|
1519
|
+
r"""<p>密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。</p>
|
|
1517
1520
|
:rtype: int
|
|
1518
1521
|
"""
|
|
1519
1522
|
return self._SyncStatus
|
|
@@ -1524,7 +1527,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1524
1527
|
|
|
1525
1528
|
@property
|
|
1526
1529
|
def SyncMessages(self):
|
|
1527
|
-
r"""
|
|
1530
|
+
r"""<p>同步的结果描述</p>
|
|
1528
1531
|
:rtype: str
|
|
1529
1532
|
"""
|
|
1530
1533
|
return self._SyncMessages
|
|
@@ -1535,7 +1538,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1535
1538
|
|
|
1536
1539
|
@property
|
|
1537
1540
|
def SyncStartTime(self):
|
|
1538
|
-
r"""
|
|
1541
|
+
r"""<p>同步的开始时间</p>
|
|
1539
1542
|
:rtype: int
|
|
1540
1543
|
"""
|
|
1541
1544
|
return self._SyncStartTime
|
|
@@ -1546,7 +1549,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1546
1549
|
|
|
1547
1550
|
@property
|
|
1548
1551
|
def SyncEndTime(self):
|
|
1549
|
-
r"""
|
|
1552
|
+
r"""<p>同步的结束时间</p>
|
|
1550
1553
|
:rtype: int
|
|
1551
1554
|
"""
|
|
1552
1555
|
return self._SyncEndTime
|
|
@@ -1557,7 +1560,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1557
1560
|
|
|
1558
1561
|
@property
|
|
1559
1562
|
def SourceHsmClusterId(self):
|
|
1560
|
-
r"""
|
|
1563
|
+
r"""<p>同步的原始集群,如果为空,是公有云公共集群</p>
|
|
1561
1564
|
:rtype: str
|
|
1562
1565
|
"""
|
|
1563
1566
|
return self._SourceHsmClusterId
|
|
@@ -1568,7 +1571,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1568
1571
|
|
|
1569
1572
|
@property
|
|
1570
1573
|
def AccountAppId(self):
|
|
1571
|
-
r"""
|
|
1574
|
+
r"""<p>成员账号appId</p>
|
|
1572
1575
|
:rtype: int
|
|
1573
1576
|
"""
|
|
1574
1577
|
return self._AccountAppId
|
|
@@ -1579,7 +1582,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1579
1582
|
|
|
1580
1583
|
@property
|
|
1581
1584
|
def AccountUin(self):
|
|
1582
|
-
r"""
|
|
1585
|
+
r"""<p>成员账号uin</p>
|
|
1583
1586
|
:rtype: int
|
|
1584
1587
|
"""
|
|
1585
1588
|
return self._AccountUin
|
|
@@ -1590,7 +1593,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1590
1593
|
|
|
1591
1594
|
@property
|
|
1592
1595
|
def AccountName(self):
|
|
1593
|
-
r"""
|
|
1596
|
+
r"""<p>成员账号名称</p>
|
|
1594
1597
|
:rtype: str
|
|
1595
1598
|
"""
|
|
1596
1599
|
return self._AccountName
|
|
@@ -1599,6 +1602,17 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1599
1602
|
def AccountName(self, AccountName):
|
|
1600
1603
|
self._AccountName = AccountName
|
|
1601
1604
|
|
|
1605
|
+
@property
|
|
1606
|
+
def CreatorUinString(self):
|
|
1607
|
+
r"""<p>创建者UIN</p>
|
|
1608
|
+
:rtype: str
|
|
1609
|
+
"""
|
|
1610
|
+
return self._CreatorUinString
|
|
1611
|
+
|
|
1612
|
+
@CreatorUinString.setter
|
|
1613
|
+
def CreatorUinString(self, CreatorUinString):
|
|
1614
|
+
self._CreatorUinString = CreatorUinString
|
|
1615
|
+
|
|
1602
1616
|
|
|
1603
1617
|
def _deserialize(self, params):
|
|
1604
1618
|
self._DataKeyId = params.get("DataKeyId")
|
|
@@ -1625,6 +1639,7 @@ class DataKeyMetadata(AbstractModel):
|
|
|
1625
1639
|
self._AccountAppId = params.get("AccountAppId")
|
|
1626
1640
|
self._AccountUin = params.get("AccountUin")
|
|
1627
1641
|
self._AccountName = params.get("AccountName")
|
|
1642
|
+
self._CreatorUinString = params.get("CreatorUinString")
|
|
1628
1643
|
memeber_set = set(params.keys())
|
|
1629
1644
|
for name, value in vars(self).items():
|
|
1630
1645
|
property_name = name[1:]
|
|
@@ -5284,6 +5299,10 @@ class GetServiceStatusResponse(AbstractModel):
|
|
|
5284
5299
|
:type QpsTotalLimit: int
|
|
5285
5300
|
:param _RegionsQps: <p>地域下的QPS</p>
|
|
5286
5301
|
:type RegionsQps: list of RegionQps
|
|
5302
|
+
:param _ResourceZone: <p>资源的地域信息</p>
|
|
5303
|
+
:type ResourceZone: int
|
|
5304
|
+
:param _ResourceRegion: <p>资源的地域可用区信息</p>
|
|
5305
|
+
:type ResourceRegion: int
|
|
5287
5306
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5288
5307
|
:type RequestId: str
|
|
5289
5308
|
"""
|
|
@@ -5308,6 +5327,8 @@ class GetServiceStatusResponse(AbstractModel):
|
|
|
5308
5327
|
self._QpsLimit = None
|
|
5309
5328
|
self._QpsTotalLimit = None
|
|
5310
5329
|
self._RegionsQps = None
|
|
5330
|
+
self._ResourceZone = None
|
|
5331
|
+
self._ResourceRegion = None
|
|
5311
5332
|
self._RequestId = None
|
|
5312
5333
|
|
|
5313
5334
|
@property
|
|
@@ -5541,6 +5562,28 @@ class GetServiceStatusResponse(AbstractModel):
|
|
|
5541
5562
|
def RegionsQps(self, RegionsQps):
|
|
5542
5563
|
self._RegionsQps = RegionsQps
|
|
5543
5564
|
|
|
5565
|
+
@property
|
|
5566
|
+
def ResourceZone(self):
|
|
5567
|
+
r"""<p>资源的地域信息</p>
|
|
5568
|
+
:rtype: int
|
|
5569
|
+
"""
|
|
5570
|
+
return self._ResourceZone
|
|
5571
|
+
|
|
5572
|
+
@ResourceZone.setter
|
|
5573
|
+
def ResourceZone(self, ResourceZone):
|
|
5574
|
+
self._ResourceZone = ResourceZone
|
|
5575
|
+
|
|
5576
|
+
@property
|
|
5577
|
+
def ResourceRegion(self):
|
|
5578
|
+
r"""<p>资源的地域可用区信息</p>
|
|
5579
|
+
:rtype: int
|
|
5580
|
+
"""
|
|
5581
|
+
return self._ResourceRegion
|
|
5582
|
+
|
|
5583
|
+
@ResourceRegion.setter
|
|
5584
|
+
def ResourceRegion(self, ResourceRegion):
|
|
5585
|
+
self._ResourceRegion = ResourceRegion
|
|
5586
|
+
|
|
5544
5587
|
@property
|
|
5545
5588
|
def RequestId(self):
|
|
5546
5589
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -5590,6 +5633,8 @@ class GetServiceStatusResponse(AbstractModel):
|
|
|
5590
5633
|
obj = RegionQps()
|
|
5591
5634
|
obj._deserialize(item)
|
|
5592
5635
|
self._RegionsQps.append(obj)
|
|
5636
|
+
self._ResourceZone = params.get("ResourceZone")
|
|
5637
|
+
self._ResourceRegion = params.get("ResourceRegion")
|
|
5593
5638
|
self._RequestId = params.get("RequestId")
|
|
5594
5639
|
|
|
5595
5640
|
|
|
@@ -5821,13 +5866,13 @@ class ImportKeyMaterialRequest(AbstractModel):
|
|
|
5821
5866
|
|
|
5822
5867
|
def __init__(self):
|
|
5823
5868
|
r"""
|
|
5824
|
-
:param _EncryptedKeyMaterial:
|
|
5869
|
+
:param _EncryptedKeyMaterial: <p>使用GetParametersForImport 返回的PublicKey加密后的密钥材料base64编码。对于国密版本region的KMS,导入的密钥材料长度要求为 128 bit,FIPS 140-2版本region的KMS, 导入的密钥材料长度要求为 256 bit。</p>
|
|
5825
5870
|
:type EncryptedKeyMaterial: str
|
|
5826
|
-
:param _ImportToken:
|
|
5871
|
+
:param _ImportToken: <p>通过调用GetParametersForImport获得的导入令牌。</p>
|
|
5827
5872
|
:type ImportToken: str
|
|
5828
|
-
:param _KeyId:
|
|
5873
|
+
:param _KeyId: <p>指定导入密钥材料的CMK,需要和GetParametersForImport 指定的CMK相同。</p>
|
|
5829
5874
|
:type KeyId: str
|
|
5830
|
-
:param _ValidTo:
|
|
5875
|
+
:param _ValidTo: <p>密钥材料过期时间 unix 时间戳,不指定或者 0 表示密钥材料不会过期,若指定过期时间,需要大于当前时间点,最大支持 2147443200。</p>
|
|
5831
5876
|
:type ValidTo: int
|
|
5832
5877
|
"""
|
|
5833
5878
|
self._EncryptedKeyMaterial = None
|
|
@@ -5837,7 +5882,7 @@ class ImportKeyMaterialRequest(AbstractModel):
|
|
|
5837
5882
|
|
|
5838
5883
|
@property
|
|
5839
5884
|
def EncryptedKeyMaterial(self):
|
|
5840
|
-
r"""
|
|
5885
|
+
r"""<p>使用GetParametersForImport 返回的PublicKey加密后的密钥材料base64编码。对于国密版本region的KMS,导入的密钥材料长度要求为 128 bit,FIPS 140-2版本region的KMS, 导入的密钥材料长度要求为 256 bit。</p>
|
|
5841
5886
|
:rtype: str
|
|
5842
5887
|
"""
|
|
5843
5888
|
return self._EncryptedKeyMaterial
|
|
@@ -5848,7 +5893,7 @@ class ImportKeyMaterialRequest(AbstractModel):
|
|
|
5848
5893
|
|
|
5849
5894
|
@property
|
|
5850
5895
|
def ImportToken(self):
|
|
5851
|
-
r"""
|
|
5896
|
+
r"""<p>通过调用GetParametersForImport获得的导入令牌。</p>
|
|
5852
5897
|
:rtype: str
|
|
5853
5898
|
"""
|
|
5854
5899
|
return self._ImportToken
|
|
@@ -5859,7 +5904,7 @@ class ImportKeyMaterialRequest(AbstractModel):
|
|
|
5859
5904
|
|
|
5860
5905
|
@property
|
|
5861
5906
|
def KeyId(self):
|
|
5862
|
-
r"""
|
|
5907
|
+
r"""<p>指定导入密钥材料的CMK,需要和GetParametersForImport 指定的CMK相同。</p>
|
|
5863
5908
|
:rtype: str
|
|
5864
5909
|
"""
|
|
5865
5910
|
return self._KeyId
|
|
@@ -5870,7 +5915,7 @@ class ImportKeyMaterialRequest(AbstractModel):
|
|
|
5870
5915
|
|
|
5871
5916
|
@property
|
|
5872
5917
|
def ValidTo(self):
|
|
5873
|
-
r"""
|
|
5918
|
+
r"""<p>密钥材料过期时间 unix 时间戳,不指定或者 0 表示密钥材料不会过期,若指定过期时间,需要大于当前时间点,最大支持 2147443200。</p>
|
|
5874
5919
|
:rtype: int
|
|
5875
5920
|
"""
|
|
5876
5921
|
return self._ValidTo
|
|
@@ -5966,62 +6011,64 @@ class KeyMetadata(AbstractModel):
|
|
|
5966
6011
|
|
|
5967
6012
|
def __init__(self):
|
|
5968
6013
|
r"""
|
|
5969
|
-
:param _KeyId: CMK
|
|
6014
|
+
:param _KeyId: <p>CMK的全局唯一标识</p>
|
|
5970
6015
|
:type KeyId: str
|
|
5971
|
-
:param _Alias:
|
|
6016
|
+
:param _Alias: <p>作为密钥更容易辨识,更容易被人看懂的别名</p>
|
|
5972
6017
|
:type Alias: str
|
|
5973
|
-
:param _CreateTime:
|
|
6018
|
+
:param _CreateTime: <p>密钥创建时间</p>
|
|
5974
6019
|
:type CreateTime: int
|
|
5975
|
-
:param _Description: CMK
|
|
6020
|
+
:param _Description: <p>CMK的描述</p>
|
|
5976
6021
|
:type Description: str
|
|
5977
|
-
:param _KeyState: CMK的状态, 取值为:Enabled | Disabled | PendingDelete | PendingImport | Archived
|
|
6022
|
+
:param _KeyState: <p>CMK的状态, 取值为:Enabled | Disabled | PendingDelete | PendingImport | Archived</p>
|
|
5978
6023
|
:type KeyState: str
|
|
5979
|
-
:param _KeyUsage: CMK用途,取值为: ENCRYPT_DECRYPT | ASYMMETRIC_DECRYPT_RSA_2048 | ASYMMETRIC_DECRYPT_SM2 | ASYMMETRIC_SIGN_VERIFY_SM2 | ASYMMETRIC_SIGN_VERIFY_RSA_2048 | ASYMMETRIC_SIGN_VERIFY_ECC
|
|
6024
|
+
:param _KeyUsage: <p>CMK用途,取值为: ENCRYPT_DECRYPT | ASYMMETRIC_DECRYPT_RSA_2048 | ASYMMETRIC_DECRYPT_SM2 | ASYMMETRIC_SIGN_VERIFY_SM2 | ASYMMETRIC_SIGN_VERIFY_RSA_2048 | ASYMMETRIC_SIGN_VERIFY_ECC</p>
|
|
5980
6025
|
:type KeyUsage: str
|
|
5981
|
-
:param _Type: CMK类型,2 表示符合FIPS标准,4
|
|
6026
|
+
:param _Type: <p>CMK类型,2 表示符合FIPS 140-2标准,4表示符合国密标准</p><p>枚举值:</p><ul><li>2: 表示符合FIPS 140-2标准</li><li>4: 表示符合国密标准</li></ul>
|
|
5982
6027
|
:type Type: int
|
|
5983
|
-
:param _CreatorUin:
|
|
6028
|
+
:param _CreatorUin: <p>创建者</p>
|
|
5984
6029
|
:type CreatorUin: int
|
|
5985
|
-
:param _KeyRotationEnabled:
|
|
6030
|
+
:param _KeyRotationEnabled: <p>是否开启了密钥轮换功能</p>
|
|
5986
6031
|
:type KeyRotationEnabled: bool
|
|
5987
|
-
:param _Owner: CMK的创建者,用户创建的为 user
|
|
6032
|
+
:param _Owner: <p>CMK的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名</p>
|
|
5988
6033
|
:type Owner: str
|
|
5989
|
-
:param _NextRotateTime:
|
|
6034
|
+
:param _NextRotateTime: <p>在密钥轮换开启状态下,下次轮换的时间</p>
|
|
5990
6035
|
:type NextRotateTime: int
|
|
5991
|
-
:param _DeletionDate:
|
|
6036
|
+
:param _DeletionDate: <p>计划删除的时间</p>
|
|
5992
6037
|
:type DeletionDate: int
|
|
5993
|
-
:param _Origin: CMK 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL
|
|
6038
|
+
:param _Origin: <p>CMK 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL</p>
|
|
5994
6039
|
:type Origin: str
|
|
5995
|
-
:param _ValidTo:
|
|
6040
|
+
:param _ValidTo: <p>在Origin为 EXTERNAL 时有效,表示密钥材料的有效日期, 0 表示不过期</p>
|
|
5996
6041
|
:type ValidTo: int
|
|
5997
|
-
:param _ResourceId:
|
|
6042
|
+
:param _ResourceId: <p>资源ID,格式:creatorUin/$creatorUin/$keyId</p>
|
|
5998
6043
|
:type ResourceId: str
|
|
5999
|
-
:param _HsmClusterId: HSM 集群 ID(仅对 KMS
|
|
6044
|
+
:param _HsmClusterId: <p>HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)</p>
|
|
6000
6045
|
:type HsmClusterId: str
|
|
6001
|
-
:param _RotateDays:
|
|
6046
|
+
:param _RotateDays: <p>密钥轮转周期(天)</p>
|
|
6002
6047
|
:type RotateDays: int
|
|
6003
|
-
:param _LastRotateTime:
|
|
6048
|
+
:param _LastRotateTime: <p>上次轮转时间(Unix timestamp)</p>
|
|
6004
6049
|
:type LastRotateTime: int
|
|
6005
|
-
:param _IsSyncReplica:
|
|
6050
|
+
:param _IsSyncReplica: <p>密钥是否是主副本。0:主本,1:同步副本。</p>
|
|
6006
6051
|
:type IsSyncReplica: int
|
|
6007
|
-
:param _SourceRegion:
|
|
6052
|
+
:param _SourceRegion: <p>同步的原始地域</p>
|
|
6008
6053
|
:type SourceRegion: str
|
|
6009
|
-
:param _SyncStatus:
|
|
6054
|
+
:param _SyncStatus: <p>密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。</p>
|
|
6010
6055
|
:type SyncStatus: int
|
|
6011
|
-
:param _SyncMessages:
|
|
6056
|
+
:param _SyncMessages: <p>同步的结果描述</p>
|
|
6012
6057
|
:type SyncMessages: str
|
|
6013
|
-
:param _SyncStartTime:
|
|
6058
|
+
:param _SyncStartTime: <p>同步的开始时间</p>
|
|
6014
6059
|
:type SyncStartTime: int
|
|
6015
|
-
:param _SyncEndTime:
|
|
6060
|
+
:param _SyncEndTime: <p>同步的结束时间</p>
|
|
6016
6061
|
:type SyncEndTime: int
|
|
6017
|
-
:param _SourceHsmClusterId:
|
|
6062
|
+
:param _SourceHsmClusterId: <p>同步的原始集群,如果为空,是公有云公共集群</p>
|
|
6018
6063
|
:type SourceHsmClusterId: str
|
|
6019
|
-
:param _AccountAppId:
|
|
6064
|
+
:param _AccountAppId: <p>成员账号appId</p>
|
|
6020
6065
|
:type AccountAppId: int
|
|
6021
|
-
:param _AccountUin:
|
|
6066
|
+
:param _AccountUin: <p>成员账号uin</p>
|
|
6022
6067
|
:type AccountUin: int
|
|
6023
|
-
:param _AccountName:
|
|
6068
|
+
:param _AccountName: <p>成员账号名称</p>
|
|
6024
6069
|
:type AccountName: str
|
|
6070
|
+
:param _CreatorUinString: <p>创建者UIN</p>
|
|
6071
|
+
:type CreatorUinString: str
|
|
6025
6072
|
"""
|
|
6026
6073
|
self._KeyId = None
|
|
6027
6074
|
self._Alias = None
|
|
@@ -6051,10 +6098,11 @@ class KeyMetadata(AbstractModel):
|
|
|
6051
6098
|
self._AccountAppId = None
|
|
6052
6099
|
self._AccountUin = None
|
|
6053
6100
|
self._AccountName = None
|
|
6101
|
+
self._CreatorUinString = None
|
|
6054
6102
|
|
|
6055
6103
|
@property
|
|
6056
6104
|
def KeyId(self):
|
|
6057
|
-
r"""CMK
|
|
6105
|
+
r"""<p>CMK的全局唯一标识</p>
|
|
6058
6106
|
:rtype: str
|
|
6059
6107
|
"""
|
|
6060
6108
|
return self._KeyId
|
|
@@ -6065,7 +6113,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6065
6113
|
|
|
6066
6114
|
@property
|
|
6067
6115
|
def Alias(self):
|
|
6068
|
-
r"""
|
|
6116
|
+
r"""<p>作为密钥更容易辨识,更容易被人看懂的别名</p>
|
|
6069
6117
|
:rtype: str
|
|
6070
6118
|
"""
|
|
6071
6119
|
return self._Alias
|
|
@@ -6076,7 +6124,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6076
6124
|
|
|
6077
6125
|
@property
|
|
6078
6126
|
def CreateTime(self):
|
|
6079
|
-
r"""
|
|
6127
|
+
r"""<p>密钥创建时间</p>
|
|
6080
6128
|
:rtype: int
|
|
6081
6129
|
"""
|
|
6082
6130
|
return self._CreateTime
|
|
@@ -6087,7 +6135,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6087
6135
|
|
|
6088
6136
|
@property
|
|
6089
6137
|
def Description(self):
|
|
6090
|
-
r"""CMK
|
|
6138
|
+
r"""<p>CMK的描述</p>
|
|
6091
6139
|
:rtype: str
|
|
6092
6140
|
"""
|
|
6093
6141
|
return self._Description
|
|
@@ -6098,7 +6146,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6098
6146
|
|
|
6099
6147
|
@property
|
|
6100
6148
|
def KeyState(self):
|
|
6101
|
-
r"""CMK的状态, 取值为:Enabled | Disabled | PendingDelete | PendingImport | Archived
|
|
6149
|
+
r"""<p>CMK的状态, 取值为:Enabled | Disabled | PendingDelete | PendingImport | Archived</p>
|
|
6102
6150
|
:rtype: str
|
|
6103
6151
|
"""
|
|
6104
6152
|
return self._KeyState
|
|
@@ -6109,7 +6157,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6109
6157
|
|
|
6110
6158
|
@property
|
|
6111
6159
|
def KeyUsage(self):
|
|
6112
|
-
r"""CMK用途,取值为: ENCRYPT_DECRYPT | ASYMMETRIC_DECRYPT_RSA_2048 | ASYMMETRIC_DECRYPT_SM2 | ASYMMETRIC_SIGN_VERIFY_SM2 | ASYMMETRIC_SIGN_VERIFY_RSA_2048 | ASYMMETRIC_SIGN_VERIFY_ECC
|
|
6160
|
+
r"""<p>CMK用途,取值为: ENCRYPT_DECRYPT | ASYMMETRIC_DECRYPT_RSA_2048 | ASYMMETRIC_DECRYPT_SM2 | ASYMMETRIC_SIGN_VERIFY_SM2 | ASYMMETRIC_SIGN_VERIFY_RSA_2048 | ASYMMETRIC_SIGN_VERIFY_ECC</p>
|
|
6113
6161
|
:rtype: str
|
|
6114
6162
|
"""
|
|
6115
6163
|
return self._KeyUsage
|
|
@@ -6120,7 +6168,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6120
6168
|
|
|
6121
6169
|
@property
|
|
6122
6170
|
def Type(self):
|
|
6123
|
-
r"""CMK类型,2 表示符合FIPS标准,4
|
|
6171
|
+
r"""<p>CMK类型,2 表示符合FIPS 140-2标准,4表示符合国密标准</p><p>枚举值:</p><ul><li>2: 表示符合FIPS 140-2标准</li><li>4: 表示符合国密标准</li></ul>
|
|
6124
6172
|
:rtype: int
|
|
6125
6173
|
"""
|
|
6126
6174
|
return self._Type
|
|
@@ -6131,7 +6179,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6131
6179
|
|
|
6132
6180
|
@property
|
|
6133
6181
|
def CreatorUin(self):
|
|
6134
|
-
r"""
|
|
6182
|
+
r"""<p>创建者</p>
|
|
6135
6183
|
:rtype: int
|
|
6136
6184
|
"""
|
|
6137
6185
|
return self._CreatorUin
|
|
@@ -6142,7 +6190,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6142
6190
|
|
|
6143
6191
|
@property
|
|
6144
6192
|
def KeyRotationEnabled(self):
|
|
6145
|
-
r"""
|
|
6193
|
+
r"""<p>是否开启了密钥轮换功能</p>
|
|
6146
6194
|
:rtype: bool
|
|
6147
6195
|
"""
|
|
6148
6196
|
return self._KeyRotationEnabled
|
|
@@ -6153,7 +6201,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6153
6201
|
|
|
6154
6202
|
@property
|
|
6155
6203
|
def Owner(self):
|
|
6156
|
-
r"""CMK的创建者,用户创建的为 user
|
|
6204
|
+
r"""<p>CMK的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名</p>
|
|
6157
6205
|
:rtype: str
|
|
6158
6206
|
"""
|
|
6159
6207
|
return self._Owner
|
|
@@ -6164,7 +6212,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6164
6212
|
|
|
6165
6213
|
@property
|
|
6166
6214
|
def NextRotateTime(self):
|
|
6167
|
-
r"""
|
|
6215
|
+
r"""<p>在密钥轮换开启状态下,下次轮换的时间</p>
|
|
6168
6216
|
:rtype: int
|
|
6169
6217
|
"""
|
|
6170
6218
|
return self._NextRotateTime
|
|
@@ -6175,7 +6223,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6175
6223
|
|
|
6176
6224
|
@property
|
|
6177
6225
|
def DeletionDate(self):
|
|
6178
|
-
r"""
|
|
6226
|
+
r"""<p>计划删除的时间</p>
|
|
6179
6227
|
:rtype: int
|
|
6180
6228
|
"""
|
|
6181
6229
|
return self._DeletionDate
|
|
@@ -6186,7 +6234,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6186
6234
|
|
|
6187
6235
|
@property
|
|
6188
6236
|
def Origin(self):
|
|
6189
|
-
r"""CMK 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL
|
|
6237
|
+
r"""<p>CMK 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL</p>
|
|
6190
6238
|
:rtype: str
|
|
6191
6239
|
"""
|
|
6192
6240
|
return self._Origin
|
|
@@ -6197,7 +6245,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6197
6245
|
|
|
6198
6246
|
@property
|
|
6199
6247
|
def ValidTo(self):
|
|
6200
|
-
r"""
|
|
6248
|
+
r"""<p>在Origin为 EXTERNAL 时有效,表示密钥材料的有效日期, 0 表示不过期</p>
|
|
6201
6249
|
:rtype: int
|
|
6202
6250
|
"""
|
|
6203
6251
|
return self._ValidTo
|
|
@@ -6208,7 +6256,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6208
6256
|
|
|
6209
6257
|
@property
|
|
6210
6258
|
def ResourceId(self):
|
|
6211
|
-
r"""
|
|
6259
|
+
r"""<p>资源ID,格式:creatorUin/$creatorUin/$keyId</p>
|
|
6212
6260
|
:rtype: str
|
|
6213
6261
|
"""
|
|
6214
6262
|
return self._ResourceId
|
|
@@ -6219,7 +6267,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6219
6267
|
|
|
6220
6268
|
@property
|
|
6221
6269
|
def HsmClusterId(self):
|
|
6222
|
-
r"""HSM 集群 ID(仅对 KMS
|
|
6270
|
+
r"""<p>HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)</p>
|
|
6223
6271
|
:rtype: str
|
|
6224
6272
|
"""
|
|
6225
6273
|
return self._HsmClusterId
|
|
@@ -6230,7 +6278,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6230
6278
|
|
|
6231
6279
|
@property
|
|
6232
6280
|
def RotateDays(self):
|
|
6233
|
-
r"""
|
|
6281
|
+
r"""<p>密钥轮转周期(天)</p>
|
|
6234
6282
|
:rtype: int
|
|
6235
6283
|
"""
|
|
6236
6284
|
return self._RotateDays
|
|
@@ -6241,7 +6289,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6241
6289
|
|
|
6242
6290
|
@property
|
|
6243
6291
|
def LastRotateTime(self):
|
|
6244
|
-
r"""
|
|
6292
|
+
r"""<p>上次轮转时间(Unix timestamp)</p>
|
|
6245
6293
|
:rtype: int
|
|
6246
6294
|
"""
|
|
6247
6295
|
return self._LastRotateTime
|
|
@@ -6252,7 +6300,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6252
6300
|
|
|
6253
6301
|
@property
|
|
6254
6302
|
def IsSyncReplica(self):
|
|
6255
|
-
r"""
|
|
6303
|
+
r"""<p>密钥是否是主副本。0:主本,1:同步副本。</p>
|
|
6256
6304
|
:rtype: int
|
|
6257
6305
|
"""
|
|
6258
6306
|
return self._IsSyncReplica
|
|
@@ -6263,7 +6311,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6263
6311
|
|
|
6264
6312
|
@property
|
|
6265
6313
|
def SourceRegion(self):
|
|
6266
|
-
r"""
|
|
6314
|
+
r"""<p>同步的原始地域</p>
|
|
6267
6315
|
:rtype: str
|
|
6268
6316
|
"""
|
|
6269
6317
|
return self._SourceRegion
|
|
@@ -6274,7 +6322,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6274
6322
|
|
|
6275
6323
|
@property
|
|
6276
6324
|
def SyncStatus(self):
|
|
6277
|
-
r"""
|
|
6325
|
+
r"""<p>密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。</p>
|
|
6278
6326
|
:rtype: int
|
|
6279
6327
|
"""
|
|
6280
6328
|
return self._SyncStatus
|
|
@@ -6285,7 +6333,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6285
6333
|
|
|
6286
6334
|
@property
|
|
6287
6335
|
def SyncMessages(self):
|
|
6288
|
-
r"""
|
|
6336
|
+
r"""<p>同步的结果描述</p>
|
|
6289
6337
|
:rtype: str
|
|
6290
6338
|
"""
|
|
6291
6339
|
return self._SyncMessages
|
|
@@ -6296,7 +6344,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6296
6344
|
|
|
6297
6345
|
@property
|
|
6298
6346
|
def SyncStartTime(self):
|
|
6299
|
-
r"""
|
|
6347
|
+
r"""<p>同步的开始时间</p>
|
|
6300
6348
|
:rtype: int
|
|
6301
6349
|
"""
|
|
6302
6350
|
return self._SyncStartTime
|
|
@@ -6307,7 +6355,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6307
6355
|
|
|
6308
6356
|
@property
|
|
6309
6357
|
def SyncEndTime(self):
|
|
6310
|
-
r"""
|
|
6358
|
+
r"""<p>同步的结束时间</p>
|
|
6311
6359
|
:rtype: int
|
|
6312
6360
|
"""
|
|
6313
6361
|
return self._SyncEndTime
|
|
@@ -6318,7 +6366,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6318
6366
|
|
|
6319
6367
|
@property
|
|
6320
6368
|
def SourceHsmClusterId(self):
|
|
6321
|
-
r"""
|
|
6369
|
+
r"""<p>同步的原始集群,如果为空,是公有云公共集群</p>
|
|
6322
6370
|
:rtype: str
|
|
6323
6371
|
"""
|
|
6324
6372
|
return self._SourceHsmClusterId
|
|
@@ -6329,7 +6377,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6329
6377
|
|
|
6330
6378
|
@property
|
|
6331
6379
|
def AccountAppId(self):
|
|
6332
|
-
r"""
|
|
6380
|
+
r"""<p>成员账号appId</p>
|
|
6333
6381
|
:rtype: int
|
|
6334
6382
|
"""
|
|
6335
6383
|
return self._AccountAppId
|
|
@@ -6340,7 +6388,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6340
6388
|
|
|
6341
6389
|
@property
|
|
6342
6390
|
def AccountUin(self):
|
|
6343
|
-
r"""
|
|
6391
|
+
r"""<p>成员账号uin</p>
|
|
6344
6392
|
:rtype: int
|
|
6345
6393
|
"""
|
|
6346
6394
|
return self._AccountUin
|
|
@@ -6351,7 +6399,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6351
6399
|
|
|
6352
6400
|
@property
|
|
6353
6401
|
def AccountName(self):
|
|
6354
|
-
r"""
|
|
6402
|
+
r"""<p>成员账号名称</p>
|
|
6355
6403
|
:rtype: str
|
|
6356
6404
|
"""
|
|
6357
6405
|
return self._AccountName
|
|
@@ -6360,6 +6408,17 @@ class KeyMetadata(AbstractModel):
|
|
|
6360
6408
|
def AccountName(self, AccountName):
|
|
6361
6409
|
self._AccountName = AccountName
|
|
6362
6410
|
|
|
6411
|
+
@property
|
|
6412
|
+
def CreatorUinString(self):
|
|
6413
|
+
r"""<p>创建者UIN</p>
|
|
6414
|
+
:rtype: str
|
|
6415
|
+
"""
|
|
6416
|
+
return self._CreatorUinString
|
|
6417
|
+
|
|
6418
|
+
@CreatorUinString.setter
|
|
6419
|
+
def CreatorUinString(self, CreatorUinString):
|
|
6420
|
+
self._CreatorUinString = CreatorUinString
|
|
6421
|
+
|
|
6363
6422
|
|
|
6364
6423
|
def _deserialize(self, params):
|
|
6365
6424
|
self._KeyId = params.get("KeyId")
|
|
@@ -6390,6 +6449,7 @@ class KeyMetadata(AbstractModel):
|
|
|
6390
6449
|
self._AccountAppId = params.get("AccountAppId")
|
|
6391
6450
|
self._AccountUin = params.get("AccountUin")
|
|
6392
6451
|
self._AccountName = params.get("AccountName")
|
|
6452
|
+
self._CreatorUinString = params.get("CreatorUinString")
|
|
6393
6453
|
memeber_set = set(params.keys())
|
|
6394
6454
|
for name, value in vars(self).items():
|
|
6395
6455
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-kms
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.145
|
|
4
4
|
Summary: Tencent Cloud Kms SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.145
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.86
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|