tencentcloud-sdk-python-intl-en 3.0.1194__py2.py3-none-any.whl → 3.0.1196__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/autoscaling/v20180419/models.py +73 -72
- tencentcloud/kms/v20190118/models.py +187 -90
- tencentcloud/ocr/v20181119/models.py +47 -2
- tencentcloud/tbaas/__init__.py +0 -0
- tencentcloud/tbaas/v20180416/__init__.py +0 -0
- tencentcloud/tbaas/v20180416/errorcodes.py +36 -0
- tencentcloud/tbaas/v20180416/models.py +915 -0
- tencentcloud/tbaas/v20180416/tbaas_client.py +118 -0
- tencentcloud/vod/v20180717/models.py +2 -2
- tencentcloud/wedata/v20210820/models.py +3381 -947
- tencentcloud/wedata/v20210820/wedata_client.py +175 -13
- {tencentcloud_sdk_python_intl_en-3.0.1194.dist-info → tencentcloud_sdk_python_intl_en-3.0.1196.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1194.dist-info → tencentcloud_sdk_python_intl_en-3.0.1196.dist-info}/RECORD +16 -11
- {tencentcloud_sdk_python_intl_en-3.0.1194.dist-info → tencentcloud_sdk_python_intl_en-3.0.1196.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1194.dist-info → tencentcloud_sdk_python_intl_en-3.0.1196.dist-info}/top_level.txt +0 -0
|
@@ -266,7 +266,7 @@ class AsymmetricSm2DecryptRequest(AbstractModel):
|
|
|
266
266
|
r"""
|
|
267
267
|
:param _KeyId: Unique CMK ID
|
|
268
268
|
:type KeyId: str
|
|
269
|
-
:param _Ciphertext:
|
|
269
|
+
:param _Ciphertext: Specifies that the ciphertext encrypted with PublicKey is Base64 encoded. the original ciphertext format needs to be C1C3C2_ASN1. the length of the original ciphertext cannot exceed 256 bytes.
|
|
270
270
|
:type Ciphertext: str
|
|
271
271
|
"""
|
|
272
272
|
self._KeyId = None
|
|
@@ -285,7 +285,7 @@ class AsymmetricSm2DecryptRequest(AbstractModel):
|
|
|
285
285
|
|
|
286
286
|
@property
|
|
287
287
|
def Ciphertext(self):
|
|
288
|
-
"""
|
|
288
|
+
"""Specifies that the ciphertext encrypted with PublicKey is Base64 encoded. the original ciphertext format needs to be C1C3C2_ASN1. the length of the original ciphertext cannot exceed 256 bytes.
|
|
289
289
|
:rtype: str
|
|
290
290
|
"""
|
|
291
291
|
return self._Ciphertext
|
|
@@ -377,7 +377,7 @@ class BindCloudResourceRequest(AbstractModel):
|
|
|
377
377
|
:type KeyId: str
|
|
378
378
|
:param _ProductId: Unique ID of a Tencent Cloud service
|
|
379
379
|
:type ProductId: str
|
|
380
|
-
:param _ResourceId: Resource/instance ID, which is stored as a string and defined by the caller based on the Tencent Cloud service
|
|
380
|
+
:param _ResourceId: Resource/instance ID, which is stored as a string and defined by the caller based on the Tencent Cloud service's features.
|
|
381
381
|
:type ResourceId: str
|
|
382
382
|
"""
|
|
383
383
|
self._KeyId = None
|
|
@@ -408,7 +408,7 @@ class BindCloudResourceRequest(AbstractModel):
|
|
|
408
408
|
|
|
409
409
|
@property
|
|
410
410
|
def ResourceId(self):
|
|
411
|
-
"""Resource/instance ID, which is stored as a string and defined by the caller based on the Tencent Cloud service
|
|
411
|
+
"""Resource/instance ID, which is stored as a string and defined by the caller based on the Tencent Cloud service's features.
|
|
412
412
|
:rtype: str
|
|
413
413
|
"""
|
|
414
414
|
return self._ResourceId
|
|
@@ -732,18 +732,17 @@ class CreateKeyResponse(AbstractModel):
|
|
|
732
732
|
:type Alias: str
|
|
733
733
|
:param _CreateTime: Key creation time in UNIX timestamp format
|
|
734
734
|
:type CreateTime: int
|
|
735
|
-
:param _Description:
|
|
735
|
+
:param _Description: Specifies the description of the CMK.
|
|
736
736
|
:type Description: str
|
|
737
737
|
:param _KeyState: CMK status
|
|
738
738
|
:type KeyState: str
|
|
739
739
|
:param _KeyUsage: CMK usage
|
|
740
740
|
:type KeyUsage: str
|
|
741
|
-
:param _TagCode: Tag operation
|
|
741
|
+
:param _TagCode: Return code of Tag operation. `0`: success; `1`: cls internal error; `2`: business processing error.
|
|
742
742
|
:type TagCode: int
|
|
743
|
-
:param _TagMsg: Tag operation
|
|
743
|
+
:param _TagMsg: Response information of Tag operation.
|
|
744
744
|
:type TagMsg: str
|
|
745
|
-
:param _HsmClusterId:
|
|
746
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
745
|
+
:param _HsmClusterId: HSM cluster ID (valid only for exclusive or managed version KMS service instances).
|
|
747
746
|
:type HsmClusterId: str
|
|
748
747
|
: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.
|
|
749
748
|
:type RequestId: str
|
|
@@ -794,7 +793,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
794
793
|
|
|
795
794
|
@property
|
|
796
795
|
def Description(self):
|
|
797
|
-
"""
|
|
796
|
+
"""Specifies the description of the CMK.
|
|
798
797
|
:rtype: str
|
|
799
798
|
"""
|
|
800
799
|
return self._Description
|
|
@@ -827,7 +826,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
827
826
|
|
|
828
827
|
@property
|
|
829
828
|
def TagCode(self):
|
|
830
|
-
"""Tag operation
|
|
829
|
+
"""Return code of Tag operation. `0`: success; `1`: cls internal error; `2`: business processing error.
|
|
831
830
|
:rtype: int
|
|
832
831
|
"""
|
|
833
832
|
return self._TagCode
|
|
@@ -838,7 +837,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
838
837
|
|
|
839
838
|
@property
|
|
840
839
|
def TagMsg(self):
|
|
841
|
-
"""Tag operation
|
|
840
|
+
"""Response information of Tag operation.
|
|
842
841
|
:rtype: str
|
|
843
842
|
"""
|
|
844
843
|
return self._TagMsg
|
|
@@ -849,8 +848,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
849
848
|
|
|
850
849
|
@property
|
|
851
850
|
def HsmClusterId(self):
|
|
852
|
-
"""
|
|
853
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
851
|
+
"""HSM cluster ID (valid only for exclusive or managed version KMS service instances).
|
|
854
852
|
:rtype: str
|
|
855
853
|
"""
|
|
856
854
|
return self._HsmClusterId
|
|
@@ -983,9 +981,9 @@ class CreateWhiteBoxKeyResponse(AbstractModel):
|
|
|
983
981
|
:type DecryptKey: str
|
|
984
982
|
:param _KeyId: Globally unique white-box key ID
|
|
985
983
|
:type KeyId: str
|
|
986
|
-
:param _TagCode: Tag operation
|
|
984
|
+
:param _TagCode: Return code of Tag operation. `0`: success; `1`: internal error; `2`: business processing error.
|
|
987
985
|
:type TagCode: int
|
|
988
|
-
:param _TagMsg: Tag operation
|
|
986
|
+
:param _TagMsg: Response information of Tag operation.
|
|
989
987
|
:type TagMsg: str
|
|
990
988
|
: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.
|
|
991
989
|
:type RequestId: str
|
|
@@ -1032,7 +1030,7 @@ class CreateWhiteBoxKeyResponse(AbstractModel):
|
|
|
1032
1030
|
|
|
1033
1031
|
@property
|
|
1034
1032
|
def TagCode(self):
|
|
1035
|
-
"""Tag operation
|
|
1033
|
+
"""Return code of Tag operation. `0`: success; `1`: internal error; `2`: business processing error.
|
|
1036
1034
|
:rtype: int
|
|
1037
1035
|
"""
|
|
1038
1036
|
return self._TagCode
|
|
@@ -1043,7 +1041,7 @@ class CreateWhiteBoxKeyResponse(AbstractModel):
|
|
|
1043
1041
|
|
|
1044
1042
|
@property
|
|
1045
1043
|
def TagMsg(self):
|
|
1046
|
-
"""Tag operation
|
|
1044
|
+
"""Response information of Tag operation.
|
|
1047
1045
|
:rtype: str
|
|
1048
1046
|
"""
|
|
1049
1047
|
return self._TagMsg
|
|
@@ -1385,8 +1383,7 @@ class DescribeKeyResponse(AbstractModel):
|
|
|
1385
1383
|
|
|
1386
1384
|
def __init__(self):
|
|
1387
1385
|
r"""
|
|
1388
|
-
:param _KeyMetadata:
|
|
1389
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1386
|
+
:param _KeyMetadata: Specifies the attribute information of the key.
|
|
1390
1387
|
:type KeyMetadata: :class:`tencentcloud.kms.v20190118.models.KeyMetadata`
|
|
1391
1388
|
: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.
|
|
1392
1389
|
:type RequestId: str
|
|
@@ -1396,8 +1393,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1396
1393
|
|
|
1397
1394
|
@property
|
|
1398
1395
|
def KeyMetadata(self):
|
|
1399
|
-
"""
|
|
1400
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1396
|
+
"""Specifies the attribute information of the key.
|
|
1401
1397
|
:rtype: :class:`tencentcloud.kms.v20190118.models.KeyMetadata`
|
|
1402
1398
|
"""
|
|
1403
1399
|
return self._KeyMetadata
|
|
@@ -1468,8 +1464,7 @@ class DescribeKeysResponse(AbstractModel):
|
|
|
1468
1464
|
|
|
1469
1465
|
def __init__(self):
|
|
1470
1466
|
r"""
|
|
1471
|
-
:param _KeyMetadatas:
|
|
1472
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1467
|
+
:param _KeyMetadatas: The attribute information list returned.
|
|
1473
1468
|
:type KeyMetadatas: list of KeyMetadata
|
|
1474
1469
|
: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.
|
|
1475
1470
|
:type RequestId: str
|
|
@@ -1479,8 +1474,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1479
1474
|
|
|
1480
1475
|
@property
|
|
1481
1476
|
def KeyMetadatas(self):
|
|
1482
|
-
"""
|
|
1483
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1477
|
+
"""The attribute information list returned.
|
|
1484
1478
|
:rtype: list of KeyMetadata
|
|
1485
1479
|
"""
|
|
1486
1480
|
return self._KeyMetadatas
|
|
@@ -1769,8 +1763,7 @@ class DescribeWhiteBoxKeyDetailsResponse(AbstractModel):
|
|
|
1769
1763
|
r"""
|
|
1770
1764
|
:param _KeyInfos: White-box key information list
|
|
1771
1765
|
:type KeyInfos: list of WhiteboxKeyInfo
|
|
1772
|
-
:param _TotalCount: Total white-box keys.
|
|
1773
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1766
|
+
:param _TotalCount: Total number of white-box keys.
|
|
1774
1767
|
:type TotalCount: int
|
|
1775
1768
|
: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.
|
|
1776
1769
|
:type RequestId: str
|
|
@@ -1792,8 +1785,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1792
1785
|
|
|
1793
1786
|
@property
|
|
1794
1787
|
def TotalCount(self):
|
|
1795
|
-
"""Total white-box keys.
|
|
1796
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1788
|
+
"""Total number of white-box keys.
|
|
1797
1789
|
:rtype: int
|
|
1798
1790
|
"""
|
|
1799
1791
|
return self._TotalCount
|
|
@@ -1964,8 +1956,7 @@ class DeviceFingerprint(AbstractModel):
|
|
|
1964
1956
|
r"""
|
|
1965
1957
|
:param _Identity: Fingerprint information collected by device fingerprint collector. Its format must be in the following regular expression: ^[0-9a-f]{8}[\-][0-9a-f]{14}[\-][0-9a-f]{14}[\-][0-9a-f]{14}[\-][0-9a-f]{16}$
|
|
1966
1958
|
:type Identity: str
|
|
1967
|
-
:param _Description: Description, such as IP and device name
|
|
1968
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1959
|
+
:param _Description: Description information, such as IP and device name, with a maximum of 1024 bytes.
|
|
1969
1960
|
:type Description: str
|
|
1970
1961
|
"""
|
|
1971
1962
|
self._Identity = None
|
|
@@ -1984,8 +1975,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1984
1975
|
|
|
1985
1976
|
@property
|
|
1986
1977
|
def Description(self):
|
|
1987
|
-
"""Description, such as IP and device name
|
|
1988
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1978
|
+
"""Description information, such as IP and device name, with a maximum of 1024 bytes.
|
|
1989
1979
|
:rtype: str
|
|
1990
1980
|
"""
|
|
1991
1981
|
return self._Description
|
|
@@ -2911,6 +2901,57 @@ class EncryptResponse(AbstractModel):
|
|
|
2911
2901
|
self._RequestId = params.get("RequestId")
|
|
2912
2902
|
|
|
2913
2903
|
|
|
2904
|
+
class ExclusiveHSM(AbstractModel):
|
|
2905
|
+
"""Exclusive edition cluster.
|
|
2906
|
+
|
|
2907
|
+
"""
|
|
2908
|
+
|
|
2909
|
+
def __init__(self):
|
|
2910
|
+
r"""
|
|
2911
|
+
:param _HsmClusterId: Dedicated cluster Id.
|
|
2912
|
+
:type HsmClusterId: str
|
|
2913
|
+
:param _HsmClusterName: Dedicated cluster name.
|
|
2914
|
+
:type HsmClusterName: str
|
|
2915
|
+
"""
|
|
2916
|
+
self._HsmClusterId = None
|
|
2917
|
+
self._HsmClusterName = None
|
|
2918
|
+
|
|
2919
|
+
@property
|
|
2920
|
+
def HsmClusterId(self):
|
|
2921
|
+
"""Dedicated cluster Id.
|
|
2922
|
+
:rtype: str
|
|
2923
|
+
"""
|
|
2924
|
+
return self._HsmClusterId
|
|
2925
|
+
|
|
2926
|
+
@HsmClusterId.setter
|
|
2927
|
+
def HsmClusterId(self, HsmClusterId):
|
|
2928
|
+
self._HsmClusterId = HsmClusterId
|
|
2929
|
+
|
|
2930
|
+
@property
|
|
2931
|
+
def HsmClusterName(self):
|
|
2932
|
+
"""Dedicated cluster name.
|
|
2933
|
+
:rtype: str
|
|
2934
|
+
"""
|
|
2935
|
+
return self._HsmClusterName
|
|
2936
|
+
|
|
2937
|
+
@HsmClusterName.setter
|
|
2938
|
+
def HsmClusterName(self, HsmClusterName):
|
|
2939
|
+
self._HsmClusterName = HsmClusterName
|
|
2940
|
+
|
|
2941
|
+
|
|
2942
|
+
def _deserialize(self, params):
|
|
2943
|
+
self._HsmClusterId = params.get("HsmClusterId")
|
|
2944
|
+
self._HsmClusterName = params.get("HsmClusterName")
|
|
2945
|
+
memeber_set = set(params.keys())
|
|
2946
|
+
for name, value in vars(self).items():
|
|
2947
|
+
property_name = name[1:]
|
|
2948
|
+
if property_name in memeber_set:
|
|
2949
|
+
memeber_set.remove(property_name)
|
|
2950
|
+
if len(memeber_set) > 0:
|
|
2951
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
|
|
2914
2955
|
class GenerateDataKeyRequest(AbstractModel):
|
|
2915
2956
|
"""GenerateDataKey request structure.
|
|
2916
2957
|
|
|
@@ -3531,8 +3572,7 @@ class GetRegionsResponse(AbstractModel):
|
|
|
3531
3572
|
|
|
3532
3573
|
def __init__(self):
|
|
3533
3574
|
r"""
|
|
3534
|
-
:param _Regions:
|
|
3535
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3575
|
+
:param _Regions: Available region list.
|
|
3536
3576
|
:type Regions: list of str
|
|
3537
3577
|
: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.
|
|
3538
3578
|
:type RequestId: str
|
|
@@ -3542,8 +3582,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3542
3582
|
|
|
3543
3583
|
@property
|
|
3544
3584
|
def Regions(self):
|
|
3545
|
-
"""
|
|
3546
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3585
|
+
"""Available region list.
|
|
3547
3586
|
:rtype: list of str
|
|
3548
3587
|
"""
|
|
3549
3588
|
return self._Regions
|
|
@@ -3584,28 +3623,28 @@ class GetServiceStatusResponse(AbstractModel):
|
|
|
3584
3623
|
r"""
|
|
3585
3624
|
:param _ServiceEnabled: Whether the KMS service has been activated. true: activated
|
|
3586
3625
|
:type ServiceEnabled: bool
|
|
3587
|
-
:param _InvalidType: Service unavailability type
|
|
3626
|
+
:param _InvalidType: Service unavailability type: 0-not purchased, 1-normal, 2-service suspended due to overdue payments, 3-resource release.
|
|
3588
3627
|
:type InvalidType: int
|
|
3589
3628
|
:param _UserLevel: 0: Basic Edition, 1: Ultimate Edition
|
|
3590
3629
|
:type UserLevel: int
|
|
3591
|
-
:param _ProExpireTime:
|
|
3592
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3630
|
+
:param _ProExpireTime: Specifies the expiry time (Epoch Unix Timestamp) of the flagship edition.
|
|
3593
3631
|
:type ProExpireTime: int
|
|
3594
|
-
:param _ProRenewFlag:
|
|
3595
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3632
|
+
:param _ProRenewFlag: Specifies whether the flagship edition is automatically renewed: 0 - no automatic renewal, 1 - automatic renewal.
|
|
3596
3633
|
:type ProRenewFlag: int
|
|
3597
|
-
:param _ProResourceId: Unique
|
|
3598
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3634
|
+
:param _ProResourceId: Unique identifier for the purchase record of the flagship edition. if the flagship edition is enabled, the return value is null.
|
|
3599
3635
|
:type ProResourceId: str
|
|
3600
|
-
:param _ExclusiveVSMEnabled: Whether to
|
|
3601
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
3636
|
+
:param _ExclusiveVSMEnabled: Whether to enable the KMS-managed version.
|
|
3602
3637
|
:type ExclusiveVSMEnabled: bool
|
|
3603
|
-
:param _ExclusiveHSMEnabled: Whether to
|
|
3604
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
3638
|
+
:param _ExclusiveHSMEnabled: Whether to enable the exclusive edition of KMS.
|
|
3605
3639
|
:type ExclusiveHSMEnabled: bool
|
|
3606
|
-
:param _SubscriptionInfo: KMS subscription information.
|
|
3607
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3640
|
+
:param _SubscriptionInfo: Specifies the KMS subscription information.
|
|
3608
3641
|
:type SubscriptionInfo: str
|
|
3642
|
+
:param _CmkUserCount: Returns the amount of KMS user secret keys used.
|
|
3643
|
+
:type CmkUserCount: int
|
|
3644
|
+
:param _CmkLimit: Returns the specification quantity of KMS user secret keys.
|
|
3645
|
+
:type CmkLimit: int
|
|
3646
|
+
:param _ExclusiveHSMList: Return dedicated cluster group.
|
|
3647
|
+
:type ExclusiveHSMList: list of ExclusiveHSM
|
|
3609
3648
|
: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.
|
|
3610
3649
|
:type RequestId: str
|
|
3611
3650
|
"""
|
|
@@ -3618,6 +3657,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3618
3657
|
self._ExclusiveVSMEnabled = None
|
|
3619
3658
|
self._ExclusiveHSMEnabled = None
|
|
3620
3659
|
self._SubscriptionInfo = None
|
|
3660
|
+
self._CmkUserCount = None
|
|
3661
|
+
self._CmkLimit = None
|
|
3662
|
+
self._ExclusiveHSMList = None
|
|
3621
3663
|
self._RequestId = None
|
|
3622
3664
|
|
|
3623
3665
|
@property
|
|
@@ -3633,7 +3675,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3633
3675
|
|
|
3634
3676
|
@property
|
|
3635
3677
|
def InvalidType(self):
|
|
3636
|
-
"""Service unavailability type
|
|
3678
|
+
"""Service unavailability type: 0-not purchased, 1-normal, 2-service suspended due to overdue payments, 3-resource release.
|
|
3637
3679
|
:rtype: int
|
|
3638
3680
|
"""
|
|
3639
3681
|
return self._InvalidType
|
|
@@ -3655,8 +3697,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3655
3697
|
|
|
3656
3698
|
@property
|
|
3657
3699
|
def ProExpireTime(self):
|
|
3658
|
-
"""
|
|
3659
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3700
|
+
"""Specifies the expiry time (Epoch Unix Timestamp) of the flagship edition.
|
|
3660
3701
|
:rtype: int
|
|
3661
3702
|
"""
|
|
3662
3703
|
return self._ProExpireTime
|
|
@@ -3667,8 +3708,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3667
3708
|
|
|
3668
3709
|
@property
|
|
3669
3710
|
def ProRenewFlag(self):
|
|
3670
|
-
"""
|
|
3671
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3711
|
+
"""Specifies whether the flagship edition is automatically renewed: 0 - no automatic renewal, 1 - automatic renewal.
|
|
3672
3712
|
:rtype: int
|
|
3673
3713
|
"""
|
|
3674
3714
|
return self._ProRenewFlag
|
|
@@ -3679,8 +3719,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3679
3719
|
|
|
3680
3720
|
@property
|
|
3681
3721
|
def ProResourceId(self):
|
|
3682
|
-
"""Unique
|
|
3683
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3722
|
+
"""Unique identifier for the purchase record of the flagship edition. if the flagship edition is enabled, the return value is null.
|
|
3684
3723
|
:rtype: str
|
|
3685
3724
|
"""
|
|
3686
3725
|
return self._ProResourceId
|
|
@@ -3691,8 +3730,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
3691
3730
|
|
|
3692
3731
|
@property
|
|
3693
3732
|
def ExclusiveVSMEnabled(self):
|
|
3694
|
-
"""Whether to
|
|
3695
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
3733
|
+
"""Whether to enable the KMS-managed version.
|
|
3696
3734
|
:rtype: bool
|
|
3697
3735
|
"""
|
|
3698
3736
|
return self._ExclusiveVSMEnabled
|
|
@@ -3703,8 +3741,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
3703
3741
|
|
|
3704
3742
|
@property
|
|
3705
3743
|
def ExclusiveHSMEnabled(self):
|
|
3706
|
-
"""Whether to
|
|
3707
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
3744
|
+
"""Whether to enable the exclusive edition of KMS.
|
|
3708
3745
|
:rtype: bool
|
|
3709
3746
|
"""
|
|
3710
3747
|
return self._ExclusiveHSMEnabled
|
|
@@ -3715,8 +3752,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
3715
3752
|
|
|
3716
3753
|
@property
|
|
3717
3754
|
def SubscriptionInfo(self):
|
|
3718
|
-
"""KMS subscription information.
|
|
3719
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3755
|
+
"""Specifies the KMS subscription information.
|
|
3720
3756
|
:rtype: str
|
|
3721
3757
|
"""
|
|
3722
3758
|
return self._SubscriptionInfo
|
|
@@ -3725,6 +3761,39 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3725
3761
|
def SubscriptionInfo(self, SubscriptionInfo):
|
|
3726
3762
|
self._SubscriptionInfo = SubscriptionInfo
|
|
3727
3763
|
|
|
3764
|
+
@property
|
|
3765
|
+
def CmkUserCount(self):
|
|
3766
|
+
"""Returns the amount of KMS user secret keys used.
|
|
3767
|
+
:rtype: int
|
|
3768
|
+
"""
|
|
3769
|
+
return self._CmkUserCount
|
|
3770
|
+
|
|
3771
|
+
@CmkUserCount.setter
|
|
3772
|
+
def CmkUserCount(self, CmkUserCount):
|
|
3773
|
+
self._CmkUserCount = CmkUserCount
|
|
3774
|
+
|
|
3775
|
+
@property
|
|
3776
|
+
def CmkLimit(self):
|
|
3777
|
+
"""Returns the specification quantity of KMS user secret keys.
|
|
3778
|
+
:rtype: int
|
|
3779
|
+
"""
|
|
3780
|
+
return self._CmkLimit
|
|
3781
|
+
|
|
3782
|
+
@CmkLimit.setter
|
|
3783
|
+
def CmkLimit(self, CmkLimit):
|
|
3784
|
+
self._CmkLimit = CmkLimit
|
|
3785
|
+
|
|
3786
|
+
@property
|
|
3787
|
+
def ExclusiveHSMList(self):
|
|
3788
|
+
"""Return dedicated cluster group.
|
|
3789
|
+
:rtype: list of ExclusiveHSM
|
|
3790
|
+
"""
|
|
3791
|
+
return self._ExclusiveHSMList
|
|
3792
|
+
|
|
3793
|
+
@ExclusiveHSMList.setter
|
|
3794
|
+
def ExclusiveHSMList(self, ExclusiveHSMList):
|
|
3795
|
+
self._ExclusiveHSMList = ExclusiveHSMList
|
|
3796
|
+
|
|
3728
3797
|
@property
|
|
3729
3798
|
def RequestId(self):
|
|
3730
3799
|
"""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.
|
|
@@ -3747,6 +3816,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3747
3816
|
self._ExclusiveVSMEnabled = params.get("ExclusiveVSMEnabled")
|
|
3748
3817
|
self._ExclusiveHSMEnabled = params.get("ExclusiveHSMEnabled")
|
|
3749
3818
|
self._SubscriptionInfo = params.get("SubscriptionInfo")
|
|
3819
|
+
self._CmkUserCount = params.get("CmkUserCount")
|
|
3820
|
+
self._CmkLimit = params.get("CmkLimit")
|
|
3821
|
+
if params.get("ExclusiveHSMList") is not None:
|
|
3822
|
+
self._ExclusiveHSMList = []
|
|
3823
|
+
for item in params.get("ExclusiveHSMList"):
|
|
3824
|
+
obj = ExclusiveHSM()
|
|
3825
|
+
obj._deserialize(item)
|
|
3826
|
+
self._ExclusiveHSMList.append(obj)
|
|
3750
3827
|
self._RequestId = params.get("RequestId")
|
|
3751
3828
|
|
|
3752
3829
|
|
|
@@ -3924,19 +4001,20 @@ class KeyMetadata(AbstractModel):
|
|
|
3924
4001
|
:type Owner: str
|
|
3925
4002
|
:param _NextRotateTime: Time of next rotation if key rotation is enabled
|
|
3926
4003
|
:type NextRotateTime: int
|
|
3927
|
-
:param _DeletionDate:
|
|
4004
|
+
:param _DeletionDate: The time when scheduled deletion occurs.
|
|
3928
4005
|
:type DeletionDate: int
|
|
3929
|
-
:param _Origin: CMK key material type.
|
|
3930
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4006
|
+
:param _Origin: CMK key material type. the type created by KMS is TENCENT_KMS. the user-imported type is EXTERNAL.
|
|
3931
4007
|
:type Origin: str
|
|
3932
|
-
:param _ValidTo:
|
|
3933
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4008
|
+
:param _ValidTo: Valid when Origin is EXTERNAL. indicates the validity date of the key material. 0 means no expiration.
|
|
3934
4009
|
:type ValidTo: int
|
|
3935
4010
|
:param _ResourceId: Resource ID in the format of `creatorUin/$creatorUin/$keyId`.
|
|
3936
4011
|
:type ResourceId: str
|
|
3937
|
-
:param _HsmClusterId:
|
|
3938
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
4012
|
+
:param _HsmClusterId: HSM cluster ID (valid only for exclusive or managed version KMS service instances).
|
|
3939
4013
|
:type HsmClusterId: str
|
|
4014
|
+
:param _RotateDays: Key rotation period (days).
|
|
4015
|
+
:type RotateDays: int
|
|
4016
|
+
:param _LastRotateTime: Last disorderly rotation time (Unix timestamp).
|
|
4017
|
+
:type LastRotateTime: int
|
|
3940
4018
|
"""
|
|
3941
4019
|
self._KeyId = None
|
|
3942
4020
|
self._Alias = None
|
|
@@ -3954,6 +4032,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
3954
4032
|
self._ValidTo = None
|
|
3955
4033
|
self._ResourceId = None
|
|
3956
4034
|
self._HsmClusterId = None
|
|
4035
|
+
self._RotateDays = None
|
|
4036
|
+
self._LastRotateTime = None
|
|
3957
4037
|
|
|
3958
4038
|
@property
|
|
3959
4039
|
def KeyId(self):
|
|
@@ -4078,7 +4158,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
4078
4158
|
|
|
4079
4159
|
@property
|
|
4080
4160
|
def DeletionDate(self):
|
|
4081
|
-
"""
|
|
4161
|
+
"""The time when scheduled deletion occurs.
|
|
4082
4162
|
:rtype: int
|
|
4083
4163
|
"""
|
|
4084
4164
|
return self._DeletionDate
|
|
@@ -4089,8 +4169,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
4089
4169
|
|
|
4090
4170
|
@property
|
|
4091
4171
|
def Origin(self):
|
|
4092
|
-
"""CMK key material type.
|
|
4093
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4172
|
+
"""CMK key material type. the type created by KMS is TENCENT_KMS. the user-imported type is EXTERNAL.
|
|
4094
4173
|
:rtype: str
|
|
4095
4174
|
"""
|
|
4096
4175
|
return self._Origin
|
|
@@ -4101,8 +4180,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4101
4180
|
|
|
4102
4181
|
@property
|
|
4103
4182
|
def ValidTo(self):
|
|
4104
|
-
"""
|
|
4105
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4183
|
+
"""Valid when Origin is EXTERNAL. indicates the validity date of the key material. 0 means no expiration.
|
|
4106
4184
|
:rtype: int
|
|
4107
4185
|
"""
|
|
4108
4186
|
return self._ValidTo
|
|
@@ -4124,8 +4202,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4124
4202
|
|
|
4125
4203
|
@property
|
|
4126
4204
|
def HsmClusterId(self):
|
|
4127
|
-
"""
|
|
4128
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
4205
|
+
"""HSM cluster ID (valid only for exclusive or managed version KMS service instances).
|
|
4129
4206
|
:rtype: str
|
|
4130
4207
|
"""
|
|
4131
4208
|
return self._HsmClusterId
|
|
@@ -4134,6 +4211,28 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
4134
4211
|
def HsmClusterId(self, HsmClusterId):
|
|
4135
4212
|
self._HsmClusterId = HsmClusterId
|
|
4136
4213
|
|
|
4214
|
+
@property
|
|
4215
|
+
def RotateDays(self):
|
|
4216
|
+
"""Key rotation period (days).
|
|
4217
|
+
:rtype: int
|
|
4218
|
+
"""
|
|
4219
|
+
return self._RotateDays
|
|
4220
|
+
|
|
4221
|
+
@RotateDays.setter
|
|
4222
|
+
def RotateDays(self, RotateDays):
|
|
4223
|
+
self._RotateDays = RotateDays
|
|
4224
|
+
|
|
4225
|
+
@property
|
|
4226
|
+
def LastRotateTime(self):
|
|
4227
|
+
"""Last disorderly rotation time (Unix timestamp).
|
|
4228
|
+
:rtype: int
|
|
4229
|
+
"""
|
|
4230
|
+
return self._LastRotateTime
|
|
4231
|
+
|
|
4232
|
+
@LastRotateTime.setter
|
|
4233
|
+
def LastRotateTime(self, LastRotateTime):
|
|
4234
|
+
self._LastRotateTime = LastRotateTime
|
|
4235
|
+
|
|
4137
4236
|
|
|
4138
4237
|
def _deserialize(self, params):
|
|
4139
4238
|
self._KeyId = params.get("KeyId")
|
|
@@ -4152,6 +4251,8 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
4152
4251
|
self._ValidTo = params.get("ValidTo")
|
|
4153
4252
|
self._ResourceId = params.get("ResourceId")
|
|
4154
4253
|
self._HsmClusterId = params.get("HsmClusterId")
|
|
4254
|
+
self._RotateDays = params.get("RotateDays")
|
|
4255
|
+
self._LastRotateTime = params.get("LastRotateTime")
|
|
4155
4256
|
memeber_set = set(params.keys())
|
|
4156
4257
|
for name, value in vars(self).items():
|
|
4157
4258
|
property_name = name[1:]
|
|
@@ -4441,8 +4542,7 @@ class ListKeyDetailResponse(AbstractModel):
|
|
|
4441
4542
|
r"""
|
|
4442
4543
|
:param _TotalCount: Total number of CMKs
|
|
4443
4544
|
:type TotalCount: int
|
|
4444
|
-
:param _KeyMetadatas:
|
|
4445
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
4545
|
+
:param _KeyMetadatas: Specifies the returned attribute information list.
|
|
4446
4546
|
:type KeyMetadatas: list of KeyMetadata
|
|
4447
4547
|
: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.
|
|
4448
4548
|
:type RequestId: str
|
|
@@ -4464,8 +4564,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
4464
4564
|
|
|
4465
4565
|
@property
|
|
4466
4566
|
def KeyMetadatas(self):
|
|
4467
|
-
"""
|
|
4468
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
4567
|
+
"""Specifies the returned attribute information list.
|
|
4469
4568
|
:rtype: list of KeyMetadata
|
|
4470
4569
|
"""
|
|
4471
4570
|
return self._KeyMetadatas
|
|
@@ -4585,7 +4684,7 @@ class ListKeysResponse(AbstractModel):
|
|
|
4585
4684
|
|
|
4586
4685
|
def __init__(self):
|
|
4587
4686
|
r"""
|
|
4588
|
-
:param _Keys: CMK list array
|
|
4687
|
+
:param _Keys: CMK list array.
|
|
4589
4688
|
:type Keys: list of Key
|
|
4590
4689
|
:param _TotalCount: Total number of CMKs
|
|
4591
4690
|
:type TotalCount: int
|
|
@@ -4598,7 +4697,7 @@ class ListKeysResponse(AbstractModel):
|
|
|
4598
4697
|
|
|
4599
4698
|
@property
|
|
4600
4699
|
def Keys(self):
|
|
4601
|
-
"""CMK list array
|
|
4700
|
+
"""CMK list array.
|
|
4602
4701
|
:rtype: list of Key
|
|
4603
4702
|
"""
|
|
4604
4703
|
return self._Keys
|
|
@@ -5678,7 +5777,7 @@ class UnbindCloudResourceRequest(AbstractModel):
|
|
|
5678
5777
|
:type KeyId: str
|
|
5679
5778
|
:param _ProductId: Unique ID of a Tencent Cloud service
|
|
5680
5779
|
:type ProductId: str
|
|
5681
|
-
:param _ResourceId: Resource/instance ID, which is stored as a string and defined by the caller based on the Tencent Cloud service
|
|
5780
|
+
:param _ResourceId: Resource/instance ID, which is stored as a string and defined by the caller based on the Tencent Cloud service's features.
|
|
5682
5781
|
:type ResourceId: str
|
|
5683
5782
|
"""
|
|
5684
5783
|
self._KeyId = None
|
|
@@ -5709,7 +5808,7 @@ class UnbindCloudResourceRequest(AbstractModel):
|
|
|
5709
5808
|
|
|
5710
5809
|
@property
|
|
5711
5810
|
def ResourceId(self):
|
|
5712
|
-
"""Resource/instance ID, which is stored as a string and defined by the caller based on the Tencent Cloud service
|
|
5811
|
+
"""Resource/instance ID, which is stored as a string and defined by the caller based on the Tencent Cloud service's features.
|
|
5713
5812
|
:rtype: str
|
|
5714
5813
|
"""
|
|
5715
5814
|
return self._ResourceId
|
|
@@ -6087,8 +6186,7 @@ class WhiteboxKeyInfo(AbstractModel):
|
|
|
6087
6186
|
:type DecryptKey: str
|
|
6088
6187
|
:param _ResourceId: Resource ID in the format of `creatorUin/$creatorUin/$keyId`
|
|
6089
6188
|
:type ResourceId: str
|
|
6090
|
-
:param _DeviceFingerprintBind:
|
|
6091
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
6189
|
+
:param _DeviceFingerprintBind: Specifies whether there is a device fingerprint bound to the current key.
|
|
6092
6190
|
:type DeviceFingerprintBind: bool
|
|
6093
6191
|
"""
|
|
6094
6192
|
self._KeyId = None
|
|
@@ -6227,8 +6325,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
6227
6325
|
|
|
6228
6326
|
@property
|
|
6229
6327
|
def DeviceFingerprintBind(self):
|
|
6230
|
-
"""
|
|
6231
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
6328
|
+
"""Specifies whether there is a device fingerprint bound to the current key.
|
|
6232
6329
|
:rtype: bool
|
|
6233
6330
|
"""
|
|
6234
6331
|
return self._DeviceFingerprintBind
|