tencentcloud-sdk-python-intl-en 3.0.1075__py2.py3-none-any.whl → 3.0.1077__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/advisor/v20200721/models.py +120 -0
- tencentcloud/aiart/v20221229/models.py +95 -0
- tencentcloud/ams/v20201229/models.py +432 -0
- tencentcloud/antiddos/v20200309/models.py +2806 -0
- tencentcloud/apigateway/v20180808/models.py +3945 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +16 -10
- tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +2472 -7
- tencentcloud/batch/v20170312/models.py +1566 -0
- tencentcloud/billing/v20180709/models.py +2418 -0
- tencentcloud/cam/v20190116/models.py +1697 -0
- tencentcloud/captcha/v20190722/models.py +70 -0
- tencentcloud/car/v20220110/models.py +803 -0
- tencentcloud/cbs/v20170312/models.py +1245 -0
- tencentcloud/ccc/v20200210/models.py +1949 -1
- tencentcloud/cdb/v20170320/models.py +4821 -0
- tencentcloud/cdn/v20180606/models.py +4870 -8
- tencentcloud/cdwdoris/v20211228/models.py +3337 -0
- tencentcloud/cfg/v20210820/models.py +1194 -0
- tencentcloud/cfs/v20190719/models.py +1178 -0
- tencentcloud/cfw/v20190904/models.py +2378 -0
- tencentcloud/chdfs/v20201112/models.py +513 -0
- tencentcloud/ciam/v20210420/models.py +49 -0
- tencentcloud/ciam/v20220331/models.py +789 -0
- tencentcloud/ckafka/v20190819/models.py +2576 -0
- tencentcloud/clb/v20180317/models.py +3220 -1
- tencentcloud/cloudaudit/v20190319/models.py +519 -0
- tencentcloud/cls/v20201016/models.py +3652 -1
- tencentcloud/cmq/v20190304/models.py +571 -0
- tencentcloud/controlcenter/v20230110/models.py +15 -0
- tencentcloud/csip/v20221121/models.py +2881 -2
- tencentcloud/cvm/v20170312/models.py +2827 -0
- tencentcloud/cwp/v20180228/models.py +16412 -0
- tencentcloud/cynosdb/v20190107/models.py +4263 -0
- tencentcloud/dataintegration/v20220613/models.py +18 -0
- tencentcloud/dayu/v20180709/models.py +3541 -12
- tencentcloud/dbbrain/v20191016/models.py +1056 -0
- tencentcloud/dbbrain/v20210527/models.py +1763 -0
- tencentcloud/dc/v20180410/models.py +767 -0
- tencentcloud/dcdb/v20180411/models.py +2335 -0
- tencentcloud/dlc/v20210125/models.py +3985 -5
- tencentcloud/dms/v20200819/models.py +51 -0
- tencentcloud/dnspod/v20210323/models.py +1286 -0
- tencentcloud/domain/v20180808/models.py +855 -0
- tencentcloud/dts/v20180330/models.py +791 -0
- tencentcloud/dts/v20211206/models.py +2317 -1
- tencentcloud/eb/v20210416/models.py +858 -0
- tencentcloud/ecdn/v20191012/models.py +811 -0
- tencentcloud/ecm/v20190719/models.py +3972 -1
- tencentcloud/eiam/v20210420/models.py +1265 -0
- tencentcloud/emr/v20190103/models.py +2926 -7
- tencentcloud/es/v20180416/models.py +1523 -0
- tencentcloud/facefusion/v20220927/models.py +211 -0
- tencentcloud/faceid/v20180301/models.py +2071 -0
- tencentcloud/gaap/v20180529/models.py +3103 -8
- tencentcloud/gme/v20180711/models.py +388 -0
- tencentcloud/gpm/v20200820/models.py +674 -0
- tencentcloud/gse/v20191112/models.py +972 -0
- tencentcloud/iai/v20200303/models.py +1430 -0
- tencentcloud/ims/v20201229/models.py +329 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +988 -0
- tencentcloud/iotcloud/v20210408/models.py +585 -0
- tencentcloud/ip/v20210409/models.py +178 -0
- tencentcloud/kms/v20190118/models.py +869 -0
- tencentcloud/lcic/v20220817/models.py +1658 -0
- tencentcloud/lighthouse/v20200324/models.py +2088 -0
- tencentcloud/live/v20180801/models.py +4287 -0
- tencentcloud/mariadb/v20170312/models.py +1905 -0
- tencentcloud/mdc/v20200828/models.py +1104 -0
- tencentcloud/mdl/v20200326/models.py +1911 -1
- tencentcloud/mdp/v20200527/models.py +452 -0
- tencentcloud/mongodb/v20190725/models.py +1234 -0
- tencentcloud/monitor/v20180724/models.py +5798 -2
- tencentcloud/mps/v20190612/models.py +8135 -0
- tencentcloud/msp/v20180319/models.py +183 -0
- tencentcloud/ocr/v20181119/models.py +3160 -1
- tencentcloud/omics/v20221128/models.py +1086 -0
- tencentcloud/organization/v20181225/models.py +285 -0
- tencentcloud/organization/v20210331/models.py +2267 -0
- tencentcloud/postgres/v20170312/models.py +3248 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +34 -1
- tencentcloud/privatedns/v20201028/models.py +1700 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +115 -0
- tencentcloud/redis/v20180412/models.py +3298 -3
- tencentcloud/rum/v20210622/models.py +2114 -0
- tencentcloud/scf/v20180416/models.py +1561 -0
- tencentcloud/ses/v20201002/models.py +649 -0
- tencentcloud/sms/v20190711/models.py +575 -0
- tencentcloud/sms/v20210111/models.py +593 -0
- tencentcloud/sqlserver/v20180328/models.py +2780 -0
- tencentcloud/ssl/v20191205/models.py +2267 -0
- tencentcloud/ssm/v20190923/models.py +675 -11
- tencentcloud/sts/v20180813/models.py +161 -0
- tencentcloud/tag/v20180813/models.py +784 -0
- tencentcloud/tat/v20201028/models.py +806 -0
- tencentcloud/tcaplusdb/v20190823/models.py +1860 -0
- tencentcloud/tchd/v20230306/models.py +41 -0
- tencentcloud/tcmpp/v20240801/models.py +3761 -1
- tencentcloud/tcr/v20190924/models.py +1851 -0
- tencentcloud/tcss/v20201101/models.py +12523 -0
- tencentcloud/tdid/v20210519/models.py +1258 -0
- tencentcloud/tdmq/v20200217/models.py +3495 -0
- tencentcloud/tem/v20201221/models.py +803 -0
- tencentcloud/tem/v20210701/models.py +2551 -1
- tencentcloud/teo/v20220106/models.py +4731 -0
- tencentcloud/teo/v20220901/models.py +6066 -0
- tencentcloud/tiw/v20190919/models.py +1678 -1
- tencentcloud/tke/v20180525/models.py +3662 -0
- tencentcloud/tms/v20201229/models.py +176 -0
- tencentcloud/tmt/v20180321/models.py +65 -0
- tencentcloud/trtc/v20190722/models.py +1698 -8
- tencentcloud/tts/v20190823/models.py +72 -0
- tencentcloud/vm/v20201229/models.py +568 -0
- tencentcloud/vm/v20210922/models.py +636 -0
- tencentcloud/vod/v20180717/models.py +13490 -1
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +6622 -1
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/waf/v20180125/models.py +4814 -0
- tencentcloud/wedata/v20210820/models.py +12594 -0
- tencentcloud/yunjing/v20180228/models.py +1867 -0
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/RECORD +126 -126
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1075.dist-info → tencentcloud_sdk_python_intl_en-3.0.1077.dist-info}/top_level.txt +0 -0
|
@@ -77,6 +77,9 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
77
77
|
|
|
78
78
|
@property
|
|
79
79
|
def SecretName(self):
|
|
80
|
+
"""Credential name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens, and underscores and must begin with a letter or digit.
|
|
81
|
+
:rtype: str
|
|
82
|
+
"""
|
|
80
83
|
return self._SecretName
|
|
81
84
|
|
|
82
85
|
@SecretName.setter
|
|
@@ -85,6 +88,15 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
85
88
|
|
|
86
89
|
@property
|
|
87
90
|
def UserNamePrefix(self):
|
|
91
|
+
"""Prefix of the user account name, which is specified by you and can contain up to 8 characters.
|
|
92
|
+
Supported character sets include:
|
|
93
|
+
Digits: [0, 9].
|
|
94
|
+
Lowercase letters: [a, z].
|
|
95
|
+
Uppercase letters: [A, Z].
|
|
96
|
+
Special symbols: underscore.
|
|
97
|
+
The prefix must begin with a letter.
|
|
98
|
+
:rtype: str
|
|
99
|
+
"""
|
|
88
100
|
return self._UserNamePrefix
|
|
89
101
|
|
|
90
102
|
@UserNamePrefix.setter
|
|
@@ -93,6 +105,9 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
93
105
|
|
|
94
106
|
@property
|
|
95
107
|
def ProductName(self):
|
|
108
|
+
"""Name of the Tencent Cloud service bound to the credential, such as `Mysql`. The `DescribeSupportedProducts` API can be used to get the names of the supported Tencent Cloud services.
|
|
109
|
+
:rtype: str
|
|
110
|
+
"""
|
|
96
111
|
return self._ProductName
|
|
97
112
|
|
|
98
113
|
@ProductName.setter
|
|
@@ -101,6 +116,9 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
101
116
|
|
|
102
117
|
@property
|
|
103
118
|
def InstanceID(self):
|
|
119
|
+
"""Tencent Cloud service instance ID.
|
|
120
|
+
:rtype: str
|
|
121
|
+
"""
|
|
104
122
|
return self._InstanceID
|
|
105
123
|
|
|
106
124
|
@InstanceID.setter
|
|
@@ -109,6 +127,9 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
109
127
|
|
|
110
128
|
@property
|
|
111
129
|
def Domains(self):
|
|
130
|
+
"""Domain name of the account in the form of IP. You can enter `%`.
|
|
131
|
+
:rtype: list of str
|
|
132
|
+
"""
|
|
112
133
|
return self._Domains
|
|
113
134
|
|
|
114
135
|
@Domains.setter
|
|
@@ -117,6 +138,9 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
117
138
|
|
|
118
139
|
@property
|
|
119
140
|
def PrivilegesList(self):
|
|
141
|
+
"""List of permissions that need to be granted when the credential is bound to a Tencent Cloud service.
|
|
142
|
+
:rtype: list of ProductPrivilegeUnit
|
|
143
|
+
"""
|
|
120
144
|
return self._PrivilegesList
|
|
121
145
|
|
|
122
146
|
@PrivilegesList.setter
|
|
@@ -125,6 +149,9 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
125
149
|
|
|
126
150
|
@property
|
|
127
151
|
def Description(self):
|
|
152
|
+
"""Description, which is used to describe the purpose in detail and can contain up to 2,048 bytes.
|
|
153
|
+
:rtype: str
|
|
154
|
+
"""
|
|
128
155
|
return self._Description
|
|
129
156
|
|
|
130
157
|
@Description.setter
|
|
@@ -133,6 +160,11 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
133
160
|
|
|
134
161
|
@property
|
|
135
162
|
def KmsKeyId(self):
|
|
163
|
+
"""Specifies the KMS CMK that encrypts the credential.
|
|
164
|
+
If this parameter is left empty, the CMK created by Secrets Manager by default will be used for encryption.
|
|
165
|
+
You can also specify a custom KMS CMK created in the same region for encryption.
|
|
166
|
+
:rtype: str
|
|
167
|
+
"""
|
|
136
168
|
return self._KmsKeyId
|
|
137
169
|
|
|
138
170
|
@KmsKeyId.setter
|
|
@@ -141,6 +173,9 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
141
173
|
|
|
142
174
|
@property
|
|
143
175
|
def Tags(self):
|
|
176
|
+
"""List of tags.
|
|
177
|
+
:rtype: list of Tag
|
|
178
|
+
"""
|
|
144
179
|
return self._Tags
|
|
145
180
|
|
|
146
181
|
@Tags.setter
|
|
@@ -149,6 +184,10 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
149
184
|
|
|
150
185
|
@property
|
|
151
186
|
def RotationBeginTime(self):
|
|
187
|
+
"""User-Defined rotation start time in the format of 2006-01-02 15:04:05.
|
|
188
|
+
When `EnableRotation` is `True`, this parameter is required.
|
|
189
|
+
:rtype: str
|
|
190
|
+
"""
|
|
152
191
|
return self._RotationBeginTime
|
|
153
192
|
|
|
154
193
|
@RotationBeginTime.setter
|
|
@@ -157,6 +196,12 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
157
196
|
|
|
158
197
|
@property
|
|
159
198
|
def EnableRotation(self):
|
|
199
|
+
"""Specifies whether to enable rotation
|
|
200
|
+
True - enable
|
|
201
|
+
False - do not enable
|
|
202
|
+
If this parameter is not specified, `False` will be used by default.
|
|
203
|
+
:rtype: bool
|
|
204
|
+
"""
|
|
160
205
|
return self._EnableRotation
|
|
161
206
|
|
|
162
207
|
@EnableRotation.setter
|
|
@@ -165,6 +210,9 @@ If this parameter is not specified, `False` will be used by default.
|
|
|
165
210
|
|
|
166
211
|
@property
|
|
167
212
|
def RotationFrequency(self):
|
|
213
|
+
"""Rotation frequency in days. Default value: 1 day.
|
|
214
|
+
:rtype: int
|
|
215
|
+
"""
|
|
168
216
|
return self._RotationFrequency
|
|
169
217
|
|
|
170
218
|
@RotationFrequency.setter
|
|
@@ -234,6 +282,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
234
282
|
|
|
235
283
|
@property
|
|
236
284
|
def SecretName(self):
|
|
285
|
+
"""Name of the created credential.
|
|
286
|
+
:rtype: str
|
|
287
|
+
"""
|
|
237
288
|
return self._SecretName
|
|
238
289
|
|
|
239
290
|
@SecretName.setter
|
|
@@ -242,6 +293,11 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
242
293
|
|
|
243
294
|
@property
|
|
244
295
|
def TagCode(self):
|
|
296
|
+
"""Tag operation return code. 0: success; 1: internal error; 2: business processing error.
|
|
297
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
298
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
299
|
+
:rtype: int
|
|
300
|
+
"""
|
|
245
301
|
return self._TagCode
|
|
246
302
|
|
|
247
303
|
@TagCode.setter
|
|
@@ -250,6 +306,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
250
306
|
|
|
251
307
|
@property
|
|
252
308
|
def TagMsg(self):
|
|
309
|
+
"""Tag operation return message.
|
|
310
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
311
|
+
:rtype: str
|
|
312
|
+
"""
|
|
253
313
|
return self._TagMsg
|
|
254
314
|
|
|
255
315
|
@TagMsg.setter
|
|
@@ -258,6 +318,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
258
318
|
|
|
259
319
|
@property
|
|
260
320
|
def FlowID(self):
|
|
321
|
+
"""ID of the created Tencent Cloud service credential async task.
|
|
322
|
+
:rtype: int
|
|
323
|
+
"""
|
|
261
324
|
return self._FlowID
|
|
262
325
|
|
|
263
326
|
@FlowID.setter
|
|
@@ -266,6 +329,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
266
329
|
|
|
267
330
|
@property
|
|
268
331
|
def RequestId(self):
|
|
332
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
333
|
+
:rtype: str
|
|
334
|
+
"""
|
|
269
335
|
return self._RequestId
|
|
270
336
|
|
|
271
337
|
@RequestId.setter
|
|
@@ -312,6 +378,9 @@ You can also specify a custom KMS CMK created in the same region for encryption.
|
|
|
312
378
|
|
|
313
379
|
@property
|
|
314
380
|
def SecretName(self):
|
|
381
|
+
"""Secret name, which must be unique in the same region. It can contain 128 bytes of letters, digits, hyphens and underscores and must begin with a letter or digit.
|
|
382
|
+
:rtype: str
|
|
383
|
+
"""
|
|
315
384
|
return self._SecretName
|
|
316
385
|
|
|
317
386
|
@SecretName.setter
|
|
@@ -320,6 +389,9 @@ You can also specify a custom KMS CMK created in the same region for encryption.
|
|
|
320
389
|
|
|
321
390
|
@property
|
|
322
391
|
def ProjectId(self):
|
|
392
|
+
"""ID of the project to which the created SSH key belongs.
|
|
393
|
+
:rtype: int
|
|
394
|
+
"""
|
|
323
395
|
return self._ProjectId
|
|
324
396
|
|
|
325
397
|
@ProjectId.setter
|
|
@@ -328,6 +400,9 @@ You can also specify a custom KMS CMK created in the same region for encryption.
|
|
|
328
400
|
|
|
329
401
|
@property
|
|
330
402
|
def Description(self):
|
|
403
|
+
"""Description, such as what it is used for. It contains up to 2,048 bytes.
|
|
404
|
+
:rtype: str
|
|
405
|
+
"""
|
|
331
406
|
return self._Description
|
|
332
407
|
|
|
333
408
|
@Description.setter
|
|
@@ -336,6 +411,11 @@ You can also specify a custom KMS CMK created in the same region for encryption.
|
|
|
336
411
|
|
|
337
412
|
@property
|
|
338
413
|
def KmsKeyId(self):
|
|
414
|
+
"""Specifies a KMS CMK to encrypt the secret.
|
|
415
|
+
If this parameter is left empty, the CMK created by Secrets Manager by default will be used for encryption.
|
|
416
|
+
You can also specify a custom KMS CMK created in the same region for encryption.
|
|
417
|
+
:rtype: str
|
|
418
|
+
"""
|
|
339
419
|
return self._KmsKeyId
|
|
340
420
|
|
|
341
421
|
@KmsKeyId.setter
|
|
@@ -344,6 +424,9 @@ You can also specify a custom KMS CMK created in the same region for encryption.
|
|
|
344
424
|
|
|
345
425
|
@property
|
|
346
426
|
def Tags(self):
|
|
427
|
+
"""List of tags.
|
|
428
|
+
:rtype: list of Tag
|
|
429
|
+
"""
|
|
347
430
|
return self._Tags
|
|
348
431
|
|
|
349
432
|
@Tags.setter
|
|
@@ -352,6 +435,9 @@ You can also specify a custom KMS CMK created in the same region for encryption.
|
|
|
352
435
|
|
|
353
436
|
@property
|
|
354
437
|
def SSHKeyName(self):
|
|
438
|
+
"""Name of the SSH key pair, which only contains digits, letters and underscores and must start with a digit or letter. The maximum length is 25 characters.
|
|
439
|
+
:rtype: str
|
|
440
|
+
"""
|
|
355
441
|
return self._SSHKeyName
|
|
356
442
|
|
|
357
443
|
@SSHKeyName.setter
|
|
@@ -412,6 +498,9 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
412
498
|
|
|
413
499
|
@property
|
|
414
500
|
def SecretName(self):
|
|
501
|
+
"""Name of the created secret.
|
|
502
|
+
:rtype: str
|
|
503
|
+
"""
|
|
415
504
|
return self._SecretName
|
|
416
505
|
|
|
417
506
|
@SecretName.setter
|
|
@@ -420,6 +509,9 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
420
509
|
|
|
421
510
|
@property
|
|
422
511
|
def SSHKeyID(self):
|
|
512
|
+
"""ID of the created SSH key.
|
|
513
|
+
:rtype: str
|
|
514
|
+
"""
|
|
423
515
|
return self._SSHKeyID
|
|
424
516
|
|
|
425
517
|
@SSHKeyID.setter
|
|
@@ -428,6 +520,9 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
428
520
|
|
|
429
521
|
@property
|
|
430
522
|
def SSHKeyName(self):
|
|
523
|
+
"""Name of the created SSH key.
|
|
524
|
+
:rtype: str
|
|
525
|
+
"""
|
|
431
526
|
return self._SSHKeyName
|
|
432
527
|
|
|
433
528
|
@SSHKeyName.setter
|
|
@@ -436,6 +531,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
436
531
|
|
|
437
532
|
@property
|
|
438
533
|
def TagCode(self):
|
|
534
|
+
"""Tag return code. `0`: success; `1`: internal error; `2`: business processing error.
|
|
535
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
536
|
+
:rtype: int
|
|
537
|
+
"""
|
|
439
538
|
return self._TagCode
|
|
440
539
|
|
|
441
540
|
@TagCode.setter
|
|
@@ -444,6 +543,10 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
444
543
|
|
|
445
544
|
@property
|
|
446
545
|
def TagMsg(self):
|
|
546
|
+
"""Tag return message.
|
|
547
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
548
|
+
:rtype: str
|
|
549
|
+
"""
|
|
447
550
|
return self._TagMsg
|
|
448
551
|
|
|
449
552
|
@TagMsg.setter
|
|
@@ -452,6 +555,9 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
452
555
|
|
|
453
556
|
@property
|
|
454
557
|
def RequestId(self):
|
|
558
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
559
|
+
:rtype: str
|
|
560
|
+
"""
|
|
455
561
|
return self._RequestId
|
|
456
562
|
|
|
457
563
|
@RequestId.setter
|
|
@@ -506,6 +612,9 @@ class CreateSecretRequest(AbstractModel):
|
|
|
506
612
|
|
|
507
613
|
@property
|
|
508
614
|
def SecretName(self):
|
|
615
|
+
"""Secret name, which must be unique in the same region. It can contain 128 bytes ([a-z], [A-Z], [0-9], [-_]). It must begin with a letter or digit. Note that it cannot be modified once created.
|
|
616
|
+
:rtype: str
|
|
617
|
+
"""
|
|
509
618
|
return self._SecretName
|
|
510
619
|
|
|
511
620
|
@SecretName.setter
|
|
@@ -514,6 +623,9 @@ class CreateSecretRequest(AbstractModel):
|
|
|
514
623
|
|
|
515
624
|
@property
|
|
516
625
|
def VersionId(self):
|
|
626
|
+
"""Secret version. It can contain up to 64 bytes ([a-z], [A-Z], [0-9], [-_.]). It must begin with a letter or digit. `SecretName` and `VersionId` are used to query the Secret information. If it is left empty, the initial Secret version number is used by default.
|
|
627
|
+
:rtype: str
|
|
628
|
+
"""
|
|
517
629
|
return self._VersionId
|
|
518
630
|
|
|
519
631
|
@VersionId.setter
|
|
@@ -522,6 +634,9 @@ class CreateSecretRequest(AbstractModel):
|
|
|
522
634
|
|
|
523
635
|
@property
|
|
524
636
|
def Description(self):
|
|
637
|
+
"""Description information, such as the detailed use cases. It can be up to 2048 bytes.
|
|
638
|
+
:rtype: str
|
|
639
|
+
"""
|
|
525
640
|
return self._Description
|
|
526
641
|
|
|
527
642
|
@Description.setter
|
|
@@ -530,6 +645,9 @@ class CreateSecretRequest(AbstractModel):
|
|
|
530
645
|
|
|
531
646
|
@property
|
|
532
647
|
def KmsKeyId(self):
|
|
648
|
+
"""KMS CMK used for Secret encryption. If this parameter is left empty, SecretsManager will create a CMK by default. You can also specify a KMS CMK that is created in the same region.
|
|
649
|
+
:rtype: str
|
|
650
|
+
"""
|
|
533
651
|
return self._KmsKeyId
|
|
534
652
|
|
|
535
653
|
@KmsKeyId.setter
|
|
@@ -538,6 +656,9 @@ class CreateSecretRequest(AbstractModel):
|
|
|
538
656
|
|
|
539
657
|
@property
|
|
540
658
|
def SecretType(self):
|
|
659
|
+
"""Secret type. It defaults to `custom`.
|
|
660
|
+
:rtype: int
|
|
661
|
+
"""
|
|
541
662
|
return self._SecretType
|
|
542
663
|
|
|
543
664
|
@SecretType.setter
|
|
@@ -546,6 +667,9 @@ class CreateSecretRequest(AbstractModel):
|
|
|
546
667
|
|
|
547
668
|
@property
|
|
548
669
|
def SecretBinary(self):
|
|
670
|
+
"""Base64-encoded plaintext of a binary Secret. Either `SecretBinary` or `SecretString` must be set. A maximum of 4096 bytes is supported.
|
|
671
|
+
:rtype: str
|
|
672
|
+
"""
|
|
549
673
|
return self._SecretBinary
|
|
550
674
|
|
|
551
675
|
@SecretBinary.setter
|
|
@@ -554,6 +678,9 @@ class CreateSecretRequest(AbstractModel):
|
|
|
554
678
|
|
|
555
679
|
@property
|
|
556
680
|
def SecretString(self):
|
|
681
|
+
"""Plaintext of a Secret, in text format. Base64 encoding is not required. Either `SecretBinary` or `SecretString` must be set. A maximum of 4096 bytes is supported.
|
|
682
|
+
:rtype: str
|
|
683
|
+
"""
|
|
557
684
|
return self._SecretString
|
|
558
685
|
|
|
559
686
|
@SecretString.setter
|
|
@@ -562,6 +689,9 @@ class CreateSecretRequest(AbstractModel):
|
|
|
562
689
|
|
|
563
690
|
@property
|
|
564
691
|
def AdditionalConfig(self):
|
|
692
|
+
"""Additional configuration of the Secret in JSON format
|
|
693
|
+
:rtype: str
|
|
694
|
+
"""
|
|
565
695
|
return self._AdditionalConfig
|
|
566
696
|
|
|
567
697
|
@AdditionalConfig.setter
|
|
@@ -570,6 +700,9 @@ class CreateSecretRequest(AbstractModel):
|
|
|
570
700
|
|
|
571
701
|
@property
|
|
572
702
|
def Tags(self):
|
|
703
|
+
"""List of tags.
|
|
704
|
+
:rtype: list of Tag
|
|
705
|
+
"""
|
|
573
706
|
return self._Tags
|
|
574
707
|
|
|
575
708
|
@Tags.setter
|
|
@@ -630,6 +763,9 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
630
763
|
|
|
631
764
|
@property
|
|
632
765
|
def SecretName(self):
|
|
766
|
+
"""Name of the new Secret.
|
|
767
|
+
:rtype: str
|
|
768
|
+
"""
|
|
633
769
|
return self._SecretName
|
|
634
770
|
|
|
635
771
|
@SecretName.setter
|
|
@@ -638,6 +774,9 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
638
774
|
|
|
639
775
|
@property
|
|
640
776
|
def VersionId(self):
|
|
777
|
+
"""ID of the new Secret version.
|
|
778
|
+
:rtype: str
|
|
779
|
+
"""
|
|
641
780
|
return self._VersionId
|
|
642
781
|
|
|
643
782
|
@VersionId.setter
|
|
@@ -646,6 +785,10 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
646
785
|
|
|
647
786
|
@property
|
|
648
787
|
def TagCode(self):
|
|
788
|
+
"""Return code of tag operation. `0`: success; `1`: internal error; `2`: business processing error
|
|
789
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
790
|
+
:rtype: int
|
|
791
|
+
"""
|
|
649
792
|
return self._TagCode
|
|
650
793
|
|
|
651
794
|
@TagCode.setter
|
|
@@ -654,6 +797,10 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
654
797
|
|
|
655
798
|
@property
|
|
656
799
|
def TagMsg(self):
|
|
800
|
+
"""Return message of tag operation.
|
|
801
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
802
|
+
:rtype: str
|
|
803
|
+
"""
|
|
657
804
|
return self._TagMsg
|
|
658
805
|
|
|
659
806
|
@TagMsg.setter
|
|
@@ -662,6 +809,9 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
662
809
|
|
|
663
810
|
@property
|
|
664
811
|
def RequestId(self):
|
|
812
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
813
|
+
:rtype: str
|
|
814
|
+
"""
|
|
665
815
|
return self._RequestId
|
|
666
816
|
|
|
667
817
|
@RequestId.setter
|
|
@@ -700,6 +850,9 @@ For an SSH key secret, this field can only be `0`.
|
|
|
700
850
|
|
|
701
851
|
@property
|
|
702
852
|
def SecretName(self):
|
|
853
|
+
"""Name of the Secret to be deleted.
|
|
854
|
+
:rtype: str
|
|
855
|
+
"""
|
|
703
856
|
return self._SecretName
|
|
704
857
|
|
|
705
858
|
@SecretName.setter
|
|
@@ -708,6 +861,10 @@ For an SSH key secret, this field can only be `0`.
|
|
|
708
861
|
|
|
709
862
|
@property
|
|
710
863
|
def RecoveryWindowInDays(self):
|
|
864
|
+
"""Scheduled deletion time (in days), indicating the number of retention days for the secret. Value range: 0-30. If it is `0`, the secret is deleted immediately.
|
|
865
|
+
For an SSH key secret, this field can only be `0`.
|
|
866
|
+
:rtype: int
|
|
867
|
+
"""
|
|
711
868
|
return self._RecoveryWindowInDays
|
|
712
869
|
|
|
713
870
|
@RecoveryWindowInDays.setter
|
|
@@ -716,6 +873,11 @@ For an SSH key secret, this field can only be `0`.
|
|
|
716
873
|
|
|
717
874
|
@property
|
|
718
875
|
def CleanSSHKey(self):
|
|
876
|
+
"""Specifies whether to delete the SSH key from both the secret and the SSH key list in the CVM console. This field is only valid for SSH key secrets. Valid values:
|
|
877
|
+
`True`: deletes SSH key from both the secret and SSH key list in the CVM console. Note that the deletion will fail if the SSH key is already bound to a CVM instance.
|
|
878
|
+
`False`: only deletes the SSH key information in the secret.
|
|
879
|
+
:rtype: bool
|
|
880
|
+
"""
|
|
719
881
|
return self._CleanSSHKey
|
|
720
882
|
|
|
721
883
|
@CleanSSHKey.setter
|
|
@@ -757,6 +919,9 @@ class DeleteSecretResponse(AbstractModel):
|
|
|
757
919
|
|
|
758
920
|
@property
|
|
759
921
|
def SecretName(self):
|
|
922
|
+
"""Name of deleted Secret.
|
|
923
|
+
:rtype: str
|
|
924
|
+
"""
|
|
760
925
|
return self._SecretName
|
|
761
926
|
|
|
762
927
|
@SecretName.setter
|
|
@@ -765,6 +930,9 @@ class DeleteSecretResponse(AbstractModel):
|
|
|
765
930
|
|
|
766
931
|
@property
|
|
767
932
|
def DeleteTime(self):
|
|
933
|
+
"""Secret deletion time, formatted as a Unix timestamp.
|
|
934
|
+
:rtype: int
|
|
935
|
+
"""
|
|
768
936
|
return self._DeleteTime
|
|
769
937
|
|
|
770
938
|
@DeleteTime.setter
|
|
@@ -773,6 +941,9 @@ class DeleteSecretResponse(AbstractModel):
|
|
|
773
941
|
|
|
774
942
|
@property
|
|
775
943
|
def RequestId(self):
|
|
944
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
945
|
+
:rtype: str
|
|
946
|
+
"""
|
|
776
947
|
return self._RequestId
|
|
777
948
|
|
|
778
949
|
@RequestId.setter
|
|
@@ -803,6 +974,9 @@ class DeleteSecretVersionRequest(AbstractModel):
|
|
|
803
974
|
|
|
804
975
|
@property
|
|
805
976
|
def SecretName(self):
|
|
977
|
+
"""Name of the Secret.
|
|
978
|
+
:rtype: str
|
|
979
|
+
"""
|
|
806
980
|
return self._SecretName
|
|
807
981
|
|
|
808
982
|
@SecretName.setter
|
|
@@ -811,6 +985,9 @@ class DeleteSecretVersionRequest(AbstractModel):
|
|
|
811
985
|
|
|
812
986
|
@property
|
|
813
987
|
def VersionId(self):
|
|
988
|
+
"""ID of the Secret version to be deleted.
|
|
989
|
+
:rtype: str
|
|
990
|
+
"""
|
|
814
991
|
return self._VersionId
|
|
815
992
|
|
|
816
993
|
@VersionId.setter
|
|
@@ -851,6 +1028,9 @@ class DeleteSecretVersionResponse(AbstractModel):
|
|
|
851
1028
|
|
|
852
1029
|
@property
|
|
853
1030
|
def SecretName(self):
|
|
1031
|
+
"""Name of the Secret.
|
|
1032
|
+
:rtype: str
|
|
1033
|
+
"""
|
|
854
1034
|
return self._SecretName
|
|
855
1035
|
|
|
856
1036
|
@SecretName.setter
|
|
@@ -859,6 +1039,9 @@ class DeleteSecretVersionResponse(AbstractModel):
|
|
|
859
1039
|
|
|
860
1040
|
@property
|
|
861
1041
|
def VersionId(self):
|
|
1042
|
+
"""Version ID of the Secret.
|
|
1043
|
+
:rtype: str
|
|
1044
|
+
"""
|
|
862
1045
|
return self._VersionId
|
|
863
1046
|
|
|
864
1047
|
@VersionId.setter
|
|
@@ -867,6 +1050,9 @@ class DeleteSecretVersionResponse(AbstractModel):
|
|
|
867
1050
|
|
|
868
1051
|
@property
|
|
869
1052
|
def RequestId(self):
|
|
1053
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1054
|
+
:rtype: str
|
|
1055
|
+
"""
|
|
870
1056
|
return self._RequestId
|
|
871
1057
|
|
|
872
1058
|
@RequestId.setter
|
|
@@ -894,6 +1080,9 @@ class DescribeAsyncRequestInfoRequest(AbstractModel):
|
|
|
894
1080
|
|
|
895
1081
|
@property
|
|
896
1082
|
def FlowID(self):
|
|
1083
|
+
"""Async task ID.
|
|
1084
|
+
:rtype: int
|
|
1085
|
+
"""
|
|
897
1086
|
return self._FlowID
|
|
898
1087
|
|
|
899
1088
|
@FlowID.setter
|
|
@@ -933,6 +1122,9 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
|
|
|
933
1122
|
|
|
934
1123
|
@property
|
|
935
1124
|
def TaskStatus(self):
|
|
1125
|
+
"""0: processing, 1: processing succeeded, 2: processing failed
|
|
1126
|
+
:rtype: int
|
|
1127
|
+
"""
|
|
936
1128
|
return self._TaskStatus
|
|
937
1129
|
|
|
938
1130
|
@TaskStatus.setter
|
|
@@ -941,6 +1133,9 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
|
|
|
941
1133
|
|
|
942
1134
|
@property
|
|
943
1135
|
def Description(self):
|
|
1136
|
+
"""Task description.
|
|
1137
|
+
:rtype: str
|
|
1138
|
+
"""
|
|
944
1139
|
return self._Description
|
|
945
1140
|
|
|
946
1141
|
@Description.setter
|
|
@@ -949,6 +1144,9 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
|
|
|
949
1144
|
|
|
950
1145
|
@property
|
|
951
1146
|
def RequestId(self):
|
|
1147
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1148
|
+
:rtype: str
|
|
1149
|
+
"""
|
|
952
1150
|
return self._RequestId
|
|
953
1151
|
|
|
954
1152
|
@RequestId.setter
|
|
@@ -976,6 +1174,9 @@ class DescribeRotationDetailRequest(AbstractModel):
|
|
|
976
1174
|
|
|
977
1175
|
@property
|
|
978
1176
|
def SecretName(self):
|
|
1177
|
+
"""Specifies the name of the credential for which to get the credential rotation details.
|
|
1178
|
+
:rtype: str
|
|
1179
|
+
"""
|
|
979
1180
|
return self._SecretName
|
|
980
1181
|
|
|
981
1182
|
@SecretName.setter
|
|
@@ -1024,6 +1225,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1024
1225
|
|
|
1025
1226
|
@property
|
|
1026
1227
|
def EnableRotation(self):
|
|
1228
|
+
"""Whether to enable rotation. `true`: enabled; `false`: disabled.
|
|
1229
|
+
:rtype: bool
|
|
1230
|
+
"""
|
|
1027
1231
|
return self._EnableRotation
|
|
1028
1232
|
|
|
1029
1233
|
@EnableRotation.setter
|
|
@@ -1032,6 +1236,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1032
1236
|
|
|
1033
1237
|
@property
|
|
1034
1238
|
def Frequency(self):
|
|
1239
|
+
"""Rotation frequency in days. Default value: 1 day.
|
|
1240
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1241
|
+
:rtype: int
|
|
1242
|
+
"""
|
|
1035
1243
|
return self._Frequency
|
|
1036
1244
|
|
|
1037
1245
|
@Frequency.setter
|
|
@@ -1040,6 +1248,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1040
1248
|
|
|
1041
1249
|
@property
|
|
1042
1250
|
def LatestRotateTime(self):
|
|
1251
|
+
"""Last rotation time, which is an explicitly visible time string in the format of 2006-01-02 15:04:05.
|
|
1252
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1253
|
+
:rtype: str
|
|
1254
|
+
"""
|
|
1043
1255
|
return self._LatestRotateTime
|
|
1044
1256
|
|
|
1045
1257
|
@LatestRotateTime.setter
|
|
@@ -1048,6 +1260,10 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1048
1260
|
|
|
1049
1261
|
@property
|
|
1050
1262
|
def NextRotateBeginTime(self):
|
|
1263
|
+
"""Next rotation start time, which is an explicitly visible time string in the format of 2006-01-02 15:04:05.
|
|
1264
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1265
|
+
:rtype: str
|
|
1266
|
+
"""
|
|
1051
1267
|
return self._NextRotateBeginTime
|
|
1052
1268
|
|
|
1053
1269
|
@NextRotateBeginTime.setter
|
|
@@ -1056,6 +1272,9 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
1056
1272
|
|
|
1057
1273
|
@property
|
|
1058
1274
|
def RequestId(self):
|
|
1275
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1276
|
+
:rtype: str
|
|
1277
|
+
"""
|
|
1059
1278
|
return self._RequestId
|
|
1060
1279
|
|
|
1061
1280
|
@RequestId.setter
|
|
@@ -1085,6 +1304,9 @@ class DescribeRotationHistoryRequest(AbstractModel):
|
|
|
1085
1304
|
|
|
1086
1305
|
@property
|
|
1087
1306
|
def SecretName(self):
|
|
1307
|
+
"""Specifies the name of the credential for which to get the credential rotation records.
|
|
1308
|
+
:rtype: str
|
|
1309
|
+
"""
|
|
1088
1310
|
return self._SecretName
|
|
1089
1311
|
|
|
1090
1312
|
@SecretName.setter
|
|
@@ -1124,6 +1346,9 @@ class DescribeRotationHistoryResponse(AbstractModel):
|
|
|
1124
1346
|
|
|
1125
1347
|
@property
|
|
1126
1348
|
def VersionIDs(self):
|
|
1349
|
+
"""List of version numbers.
|
|
1350
|
+
:rtype: list of str
|
|
1351
|
+
"""
|
|
1127
1352
|
return self._VersionIDs
|
|
1128
1353
|
|
|
1129
1354
|
@VersionIDs.setter
|
|
@@ -1132,6 +1357,9 @@ class DescribeRotationHistoryResponse(AbstractModel):
|
|
|
1132
1357
|
|
|
1133
1358
|
@property
|
|
1134
1359
|
def TotalCount(self):
|
|
1360
|
+
"""Number of version numbers. The maximum number of version numbers that can be shown to users is 10.
|
|
1361
|
+
:rtype: int
|
|
1362
|
+
"""
|
|
1135
1363
|
return self._TotalCount
|
|
1136
1364
|
|
|
1137
1365
|
@TotalCount.setter
|
|
@@ -1140,6 +1368,9 @@ class DescribeRotationHistoryResponse(AbstractModel):
|
|
|
1140
1368
|
|
|
1141
1369
|
@property
|
|
1142
1370
|
def RequestId(self):
|
|
1371
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1372
|
+
:rtype: str
|
|
1373
|
+
"""
|
|
1143
1374
|
return self._RequestId
|
|
1144
1375
|
|
|
1145
1376
|
@RequestId.setter
|
|
@@ -1167,6 +1398,9 @@ class DescribeSecretRequest(AbstractModel):
|
|
|
1167
1398
|
|
|
1168
1399
|
@property
|
|
1169
1400
|
def SecretName(self):
|
|
1401
|
+
"""Name of a Secret whose detailed information is to be obtained.
|
|
1402
|
+
:rtype: str
|
|
1403
|
+
"""
|
|
1170
1404
|
return self._SecretName
|
|
1171
1405
|
|
|
1172
1406
|
@SecretName.setter
|
|
@@ -1261,6 +1495,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1261
1495
|
|
|
1262
1496
|
@property
|
|
1263
1497
|
def SecretName(self):
|
|
1498
|
+
"""Name of the Secret.
|
|
1499
|
+
:rtype: str
|
|
1500
|
+
"""
|
|
1264
1501
|
return self._SecretName
|
|
1265
1502
|
|
|
1266
1503
|
@SecretName.setter
|
|
@@ -1269,6 +1506,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1269
1506
|
|
|
1270
1507
|
@property
|
|
1271
1508
|
def Description(self):
|
|
1509
|
+
"""Description of the Secret.
|
|
1510
|
+
:rtype: str
|
|
1511
|
+
"""
|
|
1272
1512
|
return self._Description
|
|
1273
1513
|
|
|
1274
1514
|
@Description.setter
|
|
@@ -1277,6 +1517,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1277
1517
|
|
|
1278
1518
|
@property
|
|
1279
1519
|
def KmsKeyId(self):
|
|
1520
|
+
"""ID of the KMS CMK used for encryption.
|
|
1521
|
+
:rtype: str
|
|
1522
|
+
"""
|
|
1280
1523
|
return self._KmsKeyId
|
|
1281
1524
|
|
|
1282
1525
|
@KmsKeyId.setter
|
|
@@ -1285,6 +1528,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1285
1528
|
|
|
1286
1529
|
@property
|
|
1287
1530
|
def CreateUin(self):
|
|
1531
|
+
"""Creator UIN.
|
|
1532
|
+
:rtype: int
|
|
1533
|
+
"""
|
|
1288
1534
|
return self._CreateUin
|
|
1289
1535
|
|
|
1290
1536
|
@CreateUin.setter
|
|
@@ -1293,6 +1539,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1293
1539
|
|
|
1294
1540
|
@property
|
|
1295
1541
|
def Status(self):
|
|
1542
|
+
"""Credential status: Enabled, Disabled, PendingDelete, Creating, Failed.
|
|
1543
|
+
:rtype: str
|
|
1544
|
+
"""
|
|
1296
1545
|
return self._Status
|
|
1297
1546
|
|
|
1298
1547
|
@Status.setter
|
|
@@ -1301,6 +1550,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1301
1550
|
|
|
1302
1551
|
@property
|
|
1303
1552
|
def DeleteTime(self):
|
|
1553
|
+
"""Deletion time, formatted as a Unix timestamp. For a Secret that is not in `PendingDelete` status, this value is 0.
|
|
1554
|
+
:rtype: int
|
|
1555
|
+
"""
|
|
1304
1556
|
return self._DeleteTime
|
|
1305
1557
|
|
|
1306
1558
|
@DeleteTime.setter
|
|
@@ -1309,6 +1561,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1309
1561
|
|
|
1310
1562
|
@property
|
|
1311
1563
|
def CreateTime(self):
|
|
1564
|
+
"""Creation time.
|
|
1565
|
+
:rtype: int
|
|
1566
|
+
"""
|
|
1312
1567
|
return self._CreateTime
|
|
1313
1568
|
|
|
1314
1569
|
@CreateTime.setter
|
|
@@ -1317,6 +1572,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1317
1572
|
|
|
1318
1573
|
@property
|
|
1319
1574
|
def SecretType(self):
|
|
1575
|
+
"""`0`: user-defined secret; `1`: database credential; `2`: SSH key secret.
|
|
1576
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1577
|
+
:rtype: int
|
|
1578
|
+
"""
|
|
1320
1579
|
return self._SecretType
|
|
1321
1580
|
|
|
1322
1581
|
@SecretType.setter
|
|
@@ -1325,6 +1584,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1325
1584
|
|
|
1326
1585
|
@property
|
|
1327
1586
|
def ProductName(self):
|
|
1587
|
+
"""Tencent Cloud service name.
|
|
1588
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1589
|
+
:rtype: str
|
|
1590
|
+
"""
|
|
1328
1591
|
return self._ProductName
|
|
1329
1592
|
|
|
1330
1593
|
@ProductName.setter
|
|
@@ -1333,6 +1596,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1333
1596
|
|
|
1334
1597
|
@property
|
|
1335
1598
|
def ResourceID(self):
|
|
1599
|
+
"""Tencent Cloud service instance ID.
|
|
1600
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1601
|
+
:rtype: str
|
|
1602
|
+
"""
|
|
1336
1603
|
return self._ResourceID
|
|
1337
1604
|
|
|
1338
1605
|
@ResourceID.setter
|
|
@@ -1341,6 +1608,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1341
1608
|
|
|
1342
1609
|
@property
|
|
1343
1610
|
def RotationStatus(self):
|
|
1611
|
+
"""Whether to enable rotation. `True`: enable rotation; `False`: disable rotation.
|
|
1612
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1613
|
+
:rtype: bool
|
|
1614
|
+
"""
|
|
1344
1615
|
return self._RotationStatus
|
|
1345
1616
|
|
|
1346
1617
|
@RotationStatus.setter
|
|
@@ -1349,6 +1620,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1349
1620
|
|
|
1350
1621
|
@property
|
|
1351
1622
|
def RotationFrequency(self):
|
|
1623
|
+
"""Rotation frequency in days by default.
|
|
1624
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1625
|
+
:rtype: int
|
|
1626
|
+
"""
|
|
1352
1627
|
return self._RotationFrequency
|
|
1353
1628
|
|
|
1354
1629
|
@RotationFrequency.setter
|
|
@@ -1357,6 +1632,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1357
1632
|
|
|
1358
1633
|
@property
|
|
1359
1634
|
def ResourceName(self):
|
|
1635
|
+
"""Secret name. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
|
|
1636
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1637
|
+
:rtype: str
|
|
1638
|
+
"""
|
|
1360
1639
|
return self._ResourceName
|
|
1361
1640
|
|
|
1362
1641
|
@ResourceName.setter
|
|
@@ -1365,6 +1644,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1365
1644
|
|
|
1366
1645
|
@property
|
|
1367
1646
|
def ProjectID(self):
|
|
1647
|
+
"""Project ID. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
|
|
1648
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1649
|
+
:rtype: int
|
|
1650
|
+
"""
|
|
1368
1651
|
return self._ProjectID
|
|
1369
1652
|
|
|
1370
1653
|
@ProjectID.setter
|
|
@@ -1373,6 +1656,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1373
1656
|
|
|
1374
1657
|
@property
|
|
1375
1658
|
def AssociatedInstanceIDs(self):
|
|
1659
|
+
"""ID of the CVM instance associated with the SSH key. ID. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
|
|
1660
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1661
|
+
:rtype: list of str
|
|
1662
|
+
"""
|
|
1376
1663
|
return self._AssociatedInstanceIDs
|
|
1377
1664
|
|
|
1378
1665
|
@AssociatedInstanceIDs.setter
|
|
@@ -1381,6 +1668,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1381
1668
|
|
|
1382
1669
|
@property
|
|
1383
1670
|
def TargetUin(self):
|
|
1671
|
+
"""UIN of the Tencent Cloud API key. This field is valid when the secret type is Tencent Cloud API key secret.
|
|
1672
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
1673
|
+
:rtype: int
|
|
1674
|
+
"""
|
|
1384
1675
|
return self._TargetUin
|
|
1385
1676
|
|
|
1386
1677
|
@TargetUin.setter
|
|
@@ -1389,6 +1680,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1389
1680
|
|
|
1390
1681
|
@property
|
|
1391
1682
|
def AdditionalConfig(self):
|
|
1683
|
+
"""Additional configuration of the Secret
|
|
1684
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1685
|
+
:rtype: str
|
|
1686
|
+
"""
|
|
1392
1687
|
return self._AdditionalConfig
|
|
1393
1688
|
|
|
1394
1689
|
@AdditionalConfig.setter
|
|
@@ -1397,6 +1692,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1397
1692
|
|
|
1398
1693
|
@property
|
|
1399
1694
|
def RequestId(self):
|
|
1695
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1696
|
+
:rtype: str
|
|
1697
|
+
"""
|
|
1400
1698
|
return self._RequestId
|
|
1401
1699
|
|
|
1402
1700
|
@RequestId.setter
|
|
@@ -1451,6 +1749,9 @@ class DescribeSupportedProductsResponse(AbstractModel):
|
|
|
1451
1749
|
|
|
1452
1750
|
@property
|
|
1453
1751
|
def Products(self):
|
|
1752
|
+
"""List of supported services.
|
|
1753
|
+
:rtype: list of str
|
|
1754
|
+
"""
|
|
1454
1755
|
return self._Products
|
|
1455
1756
|
|
|
1456
1757
|
@Products.setter
|
|
@@ -1459,6 +1760,9 @@ class DescribeSupportedProductsResponse(AbstractModel):
|
|
|
1459
1760
|
|
|
1460
1761
|
@property
|
|
1461
1762
|
def TotalCount(self):
|
|
1763
|
+
"""Number of supported services
|
|
1764
|
+
:rtype: int
|
|
1765
|
+
"""
|
|
1462
1766
|
return self._TotalCount
|
|
1463
1767
|
|
|
1464
1768
|
@TotalCount.setter
|
|
@@ -1467,6 +1771,9 @@ class DescribeSupportedProductsResponse(AbstractModel):
|
|
|
1467
1771
|
|
|
1468
1772
|
@property
|
|
1469
1773
|
def RequestId(self):
|
|
1774
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1775
|
+
:rtype: str
|
|
1776
|
+
"""
|
|
1470
1777
|
return self._RequestId
|
|
1471
1778
|
|
|
1472
1779
|
@RequestId.setter
|
|
@@ -1494,6 +1801,9 @@ class DisableSecretRequest(AbstractModel):
|
|
|
1494
1801
|
|
|
1495
1802
|
@property
|
|
1496
1803
|
def SecretName(self):
|
|
1804
|
+
"""Name of the Secret to be disabled.
|
|
1805
|
+
:rtype: str
|
|
1806
|
+
"""
|
|
1497
1807
|
return self._SecretName
|
|
1498
1808
|
|
|
1499
1809
|
@SecretName.setter
|
|
@@ -1530,6 +1840,9 @@ class DisableSecretResponse(AbstractModel):
|
|
|
1530
1840
|
|
|
1531
1841
|
@property
|
|
1532
1842
|
def SecretName(self):
|
|
1843
|
+
"""Name of the disabled Secret.
|
|
1844
|
+
:rtype: str
|
|
1845
|
+
"""
|
|
1533
1846
|
return self._SecretName
|
|
1534
1847
|
|
|
1535
1848
|
@SecretName.setter
|
|
@@ -1538,6 +1851,9 @@ class DisableSecretResponse(AbstractModel):
|
|
|
1538
1851
|
|
|
1539
1852
|
@property
|
|
1540
1853
|
def RequestId(self):
|
|
1854
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1855
|
+
:rtype: str
|
|
1856
|
+
"""
|
|
1541
1857
|
return self._RequestId
|
|
1542
1858
|
|
|
1543
1859
|
@RequestId.setter
|
|
@@ -1564,6 +1880,9 @@ class EnableSecretRequest(AbstractModel):
|
|
|
1564
1880
|
|
|
1565
1881
|
@property
|
|
1566
1882
|
def SecretName(self):
|
|
1883
|
+
"""Name of the Secret to be enabled.
|
|
1884
|
+
:rtype: str
|
|
1885
|
+
"""
|
|
1567
1886
|
return self._SecretName
|
|
1568
1887
|
|
|
1569
1888
|
@SecretName.setter
|
|
@@ -1600,6 +1919,9 @@ class EnableSecretResponse(AbstractModel):
|
|
|
1600
1919
|
|
|
1601
1920
|
@property
|
|
1602
1921
|
def SecretName(self):
|
|
1922
|
+
"""Name of the enabled Secret.
|
|
1923
|
+
:rtype: str
|
|
1924
|
+
"""
|
|
1603
1925
|
return self._SecretName
|
|
1604
1926
|
|
|
1605
1927
|
@SecretName.setter
|
|
@@ -1608,6 +1930,9 @@ class EnableSecretResponse(AbstractModel):
|
|
|
1608
1930
|
|
|
1609
1931
|
@property
|
|
1610
1932
|
def RequestId(self):
|
|
1933
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1934
|
+
:rtype: str
|
|
1935
|
+
"""
|
|
1611
1936
|
return self._RequestId
|
|
1612
1937
|
|
|
1613
1938
|
@RequestId.setter
|
|
@@ -1643,6 +1968,9 @@ class GetRegionsResponse(AbstractModel):
|
|
|
1643
1968
|
|
|
1644
1969
|
@property
|
|
1645
1970
|
def Regions(self):
|
|
1971
|
+
"""List of regions.
|
|
1972
|
+
:rtype: list of str
|
|
1973
|
+
"""
|
|
1646
1974
|
return self._Regions
|
|
1647
1975
|
|
|
1648
1976
|
@Regions.setter
|
|
@@ -1651,6 +1979,9 @@ class GetRegionsResponse(AbstractModel):
|
|
|
1651
1979
|
|
|
1652
1980
|
@property
|
|
1653
1981
|
def RequestId(self):
|
|
1982
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
1983
|
+
:rtype: str
|
|
1984
|
+
"""
|
|
1654
1985
|
return self._RequestId
|
|
1655
1986
|
|
|
1656
1987
|
@RequestId.setter
|
|
@@ -1680,6 +2011,9 @@ class GetSSHKeyPairValueRequest(AbstractModel):
|
|
|
1680
2011
|
|
|
1681
2012
|
@property
|
|
1682
2013
|
def SecretName(self):
|
|
2014
|
+
"""Secret name. This field is only valid for SSH key secrets.
|
|
2015
|
+
:rtype: str
|
|
2016
|
+
"""
|
|
1683
2017
|
return self._SecretName
|
|
1684
2018
|
|
|
1685
2019
|
@SecretName.setter
|
|
@@ -1688,6 +2022,9 @@ class GetSSHKeyPairValueRequest(AbstractModel):
|
|
|
1688
2022
|
|
|
1689
2023
|
@property
|
|
1690
2024
|
def SSHKeyId(self):
|
|
2025
|
+
"""ID of the key pair, which is the unique identifier of the key pair in the CVM.
|
|
2026
|
+
:rtype: str
|
|
2027
|
+
"""
|
|
1691
2028
|
return self._SSHKeyId
|
|
1692
2029
|
|
|
1693
2030
|
@SSHKeyId.setter
|
|
@@ -1742,6 +2079,9 @@ The name can be modified in the CVM console.
|
|
|
1742
2079
|
|
|
1743
2080
|
@property
|
|
1744
2081
|
def SSHKeyID(self):
|
|
2082
|
+
"""ID of the SSH key.
|
|
2083
|
+
:rtype: str
|
|
2084
|
+
"""
|
|
1745
2085
|
return self._SSHKeyID
|
|
1746
2086
|
|
|
1747
2087
|
@SSHKeyID.setter
|
|
@@ -1750,6 +2090,9 @@ The name can be modified in the CVM console.
|
|
|
1750
2090
|
|
|
1751
2091
|
@property
|
|
1752
2092
|
def PublicKey(self):
|
|
2093
|
+
"""Plaintext value of the Base64-encoded public key.
|
|
2094
|
+
:rtype: str
|
|
2095
|
+
"""
|
|
1753
2096
|
return self._PublicKey
|
|
1754
2097
|
|
|
1755
2098
|
@PublicKey.setter
|
|
@@ -1758,6 +2101,9 @@ The name can be modified in the CVM console.
|
|
|
1758
2101
|
|
|
1759
2102
|
@property
|
|
1760
2103
|
def PrivateKey(self):
|
|
2104
|
+
"""Plaintext value of the Base64-encoded private key.
|
|
2105
|
+
:rtype: str
|
|
2106
|
+
"""
|
|
1761
2107
|
return self._PrivateKey
|
|
1762
2108
|
|
|
1763
2109
|
@PrivateKey.setter
|
|
@@ -1766,6 +2112,9 @@ The name can be modified in the CVM console.
|
|
|
1766
2112
|
|
|
1767
2113
|
@property
|
|
1768
2114
|
def ProjectID(self):
|
|
2115
|
+
"""ID of the project to which the SSH key belongs.
|
|
2116
|
+
:rtype: int
|
|
2117
|
+
"""
|
|
1769
2118
|
return self._ProjectID
|
|
1770
2119
|
|
|
1771
2120
|
@ProjectID.setter
|
|
@@ -1774,6 +2123,10 @@ The name can be modified in the CVM console.
|
|
|
1774
2123
|
|
|
1775
2124
|
@property
|
|
1776
2125
|
def SSHKeyDescription(self):
|
|
2126
|
+
"""Description of the SSH key.
|
|
2127
|
+
The description can be modified in the CVM console.
|
|
2128
|
+
:rtype: str
|
|
2129
|
+
"""
|
|
1777
2130
|
return self._SSHKeyDescription
|
|
1778
2131
|
|
|
1779
2132
|
@SSHKeyDescription.setter
|
|
@@ -1782,6 +2135,10 @@ The name can be modified in the CVM console.
|
|
|
1782
2135
|
|
|
1783
2136
|
@property
|
|
1784
2137
|
def SSHKeyName(self):
|
|
2138
|
+
"""Name of the SSH key.
|
|
2139
|
+
The name can be modified in the CVM console.
|
|
2140
|
+
:rtype: str
|
|
2141
|
+
"""
|
|
1785
2142
|
return self._SSHKeyName
|
|
1786
2143
|
|
|
1787
2144
|
@SSHKeyName.setter
|
|
@@ -1790,6 +2147,9 @@ The name can be modified in the CVM console.
|
|
|
1790
2147
|
|
|
1791
2148
|
@property
|
|
1792
2149
|
def RequestId(self):
|
|
2150
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2151
|
+
:rtype: str
|
|
2152
|
+
"""
|
|
1793
2153
|
return self._RequestId
|
|
1794
2154
|
|
|
1795
2155
|
@RequestId.setter
|
|
@@ -1825,6 +2185,9 @@ For Tencent Cloud service credentials such as MySQL credentials, this API is use
|
|
|
1825
2185
|
|
|
1826
2186
|
@property
|
|
1827
2187
|
def SecretName(self):
|
|
2188
|
+
"""Name of a Secret.
|
|
2189
|
+
:rtype: str
|
|
2190
|
+
"""
|
|
1828
2191
|
return self._SecretName
|
|
1829
2192
|
|
|
1830
2193
|
@SecretName.setter
|
|
@@ -1833,6 +2196,10 @@ For Tencent Cloud service credentials such as MySQL credentials, this API is use
|
|
|
1833
2196
|
|
|
1834
2197
|
@property
|
|
1835
2198
|
def VersionId(self):
|
|
2199
|
+
"""Specifies the version number of the corresponding credential.
|
|
2200
|
+
For Tencent Cloud service credentials such as MySQL credentials, this API is used to get the plaintext information of a previously rotated credential by specifying the credential name and historical version number. If you want to get the plaintext of the credential version currently in use, you need to specify the version number as `SSM_Current`.
|
|
2201
|
+
:rtype: str
|
|
2202
|
+
"""
|
|
1836
2203
|
return self._VersionId
|
|
1837
2204
|
|
|
1838
2205
|
@VersionId.setter
|
|
@@ -1881,6 +2248,9 @@ Either `SecretBinary` or `SecretString` cannot be empty.
|
|
|
1881
2248
|
|
|
1882
2249
|
@property
|
|
1883
2250
|
def SecretName(self):
|
|
2251
|
+
"""Name of the Secret.
|
|
2252
|
+
:rtype: str
|
|
2253
|
+
"""
|
|
1884
2254
|
return self._SecretName
|
|
1885
2255
|
|
|
1886
2256
|
@SecretName.setter
|
|
@@ -1889,6 +2259,9 @@ Either `SecretBinary` or `SecretString` cannot be empty.
|
|
|
1889
2259
|
|
|
1890
2260
|
@property
|
|
1891
2261
|
def VersionId(self):
|
|
2262
|
+
"""ID of the Secret version.
|
|
2263
|
+
:rtype: str
|
|
2264
|
+
"""
|
|
1892
2265
|
return self._VersionId
|
|
1893
2266
|
|
|
1894
2267
|
@VersionId.setter
|
|
@@ -1897,6 +2270,10 @@ Either `SecretBinary` or `SecretString` cannot be empty.
|
|
|
1897
2270
|
|
|
1898
2271
|
@property
|
|
1899
2272
|
def SecretBinary(self):
|
|
2273
|
+
"""When creating a credential (CreateSecret), if you specify binary data, this field will be the Base64-encoded returned result. The application needs to Base64-decode the result to get the original data.
|
|
2274
|
+
Either `SecretBinary` or `SecretString` cannot be empty.
|
|
2275
|
+
:rtype: str
|
|
2276
|
+
"""
|
|
1900
2277
|
return self._SecretBinary
|
|
1901
2278
|
|
|
1902
2279
|
@SecretBinary.setter
|
|
@@ -1905,6 +2282,10 @@ Either `SecretBinary` or `SecretString` cannot be empty.
|
|
|
1905
2282
|
|
|
1906
2283
|
@property
|
|
1907
2284
|
def SecretString(self):
|
|
2285
|
+
"""When creating a credential (CreateSecret), if you specify general text data, this field will be the returned result.
|
|
2286
|
+
Either `SecretBinary` or `SecretString` cannot be empty.
|
|
2287
|
+
:rtype: str
|
|
2288
|
+
"""
|
|
1908
2289
|
return self._SecretString
|
|
1909
2290
|
|
|
1910
2291
|
@SecretString.setter
|
|
@@ -1913,6 +2294,9 @@ Either `SecretBinary` or `SecretString` cannot be empty.
|
|
|
1913
2294
|
|
|
1914
2295
|
@property
|
|
1915
2296
|
def RequestId(self):
|
|
2297
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2298
|
+
:rtype: str
|
|
2299
|
+
"""
|
|
1916
2300
|
return self._RequestId
|
|
1917
2301
|
|
|
1918
2302
|
@RequestId.setter
|
|
@@ -1958,6 +2342,9 @@ class GetServiceStatusResponse(AbstractModel):
|
|
|
1958
2342
|
|
|
1959
2343
|
@property
|
|
1960
2344
|
def ServiceEnabled(self):
|
|
2345
|
+
"""`true`: The service is activated; `false`: The service is not activated.
|
|
2346
|
+
:rtype: bool
|
|
2347
|
+
"""
|
|
1961
2348
|
return self._ServiceEnabled
|
|
1962
2349
|
|
|
1963
2350
|
@ServiceEnabled.setter
|
|
@@ -1966,6 +2353,9 @@ class GetServiceStatusResponse(AbstractModel):
|
|
|
1966
2353
|
|
|
1967
2354
|
@property
|
|
1968
2355
|
def InvalidType(self):
|
|
2356
|
+
"""Invalid service type. `0`: not purchased; `1`: normal; `2`: suspended due to arrears; `3`: resource released
|
|
2357
|
+
:rtype: int
|
|
2358
|
+
"""
|
|
1969
2359
|
return self._InvalidType
|
|
1970
2360
|
|
|
1971
2361
|
@InvalidType.setter
|
|
@@ -1974,6 +2364,10 @@ class GetServiceStatusResponse(AbstractModel):
|
|
|
1974
2364
|
|
|
1975
2365
|
@property
|
|
1976
2366
|
def AccessKeyEscrowEnabled(self):
|
|
2367
|
+
"""`true`: Allow SSM to manage Tencent Cloud API key secrets.
|
|
2368
|
+
`false`: Forbid SSM to manage Tencent Cloud API key secrets.
|
|
2369
|
+
:rtype: bool
|
|
2370
|
+
"""
|
|
1977
2371
|
return self._AccessKeyEscrowEnabled
|
|
1978
2372
|
|
|
1979
2373
|
@AccessKeyEscrowEnabled.setter
|
|
@@ -1982,6 +2376,9 @@ class GetServiceStatusResponse(AbstractModel):
|
|
|
1982
2376
|
|
|
1983
2377
|
@property
|
|
1984
2378
|
def RequestId(self):
|
|
2379
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2380
|
+
:rtype: str
|
|
2381
|
+
"""
|
|
1985
2382
|
return self._RequestId
|
|
1986
2383
|
|
|
1987
2384
|
@RequestId.setter
|
|
@@ -2010,6 +2407,9 @@ class ListSecretVersionIdsRequest(AbstractModel):
|
|
|
2010
2407
|
|
|
2011
2408
|
@property
|
|
2012
2409
|
def SecretName(self):
|
|
2410
|
+
"""Name of the Secret.
|
|
2411
|
+
:rtype: str
|
|
2412
|
+
"""
|
|
2013
2413
|
return self._SecretName
|
|
2014
2414
|
|
|
2015
2415
|
@SecretName.setter
|
|
@@ -2050,6 +2450,9 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
2050
2450
|
|
|
2051
2451
|
@property
|
|
2052
2452
|
def SecretName(self):
|
|
2453
|
+
"""Name of the Secret.
|
|
2454
|
+
:rtype: str
|
|
2455
|
+
"""
|
|
2053
2456
|
return self._SecretName
|
|
2054
2457
|
|
|
2055
2458
|
@SecretName.setter
|
|
@@ -2058,6 +2461,10 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
2058
2461
|
|
|
2059
2462
|
@property
|
|
2060
2463
|
def Versions(self):
|
|
2464
|
+
"""`VersionId` list.
|
|
2465
|
+
Note: This field may return `null`, indicating that no valid value was found.
|
|
2466
|
+
:rtype: list of VersionInfo
|
|
2467
|
+
"""
|
|
2061
2468
|
return self._Versions
|
|
2062
2469
|
|
|
2063
2470
|
@Versions.setter
|
|
@@ -2066,6 +2473,9 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
2066
2473
|
|
|
2067
2474
|
@property
|
|
2068
2475
|
def RequestId(self):
|
|
2476
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
2477
|
+
:rtype: str
|
|
2478
|
+
"""
|
|
2069
2479
|
return self._RequestId
|
|
2070
2480
|
|
|
2071
2481
|
@RequestId.setter
|
|
@@ -2115,11 +2525,8 @@ The `PendingCreate` and `CreateFailed` status only take effect when `SecretType`
|
|
|
2115
2525
|
`2`: SSH key secret.
|
|
2116
2526
|
`3`: Tencent Cloud API key secret.
|
|
2117
2527
|
:type SecretType: int
|
|
2118
|
-
:param _ProductName: This parameter
|
|
2119
|
-
|
|
2120
|
-
An empty value indicates querying all types of Tencent Cloud service secrets.
|
|
2121
|
-
`Mysql`: queries MySQL database credentials.
|
|
2122
|
-
`Tdsql-mysql`: queries TDSQL MySQL database credentials.
|
|
2528
|
+
:param _ProductName: This parameter only takes effect when the value of the SecretType parameter is 1.\nWhen the value of SecretType is `1`:
|
|
2529
|
+
If the ProductName value is empty, it means querying all types of Tencent Cloud product secrets;If the ProductName value is a specific cloud product value such as MySQL, it means querying MySQL database credential;If the ProductName value is multiple cloud product values, such as: Mysql, Tdsql-mysql, Tdsql_C_Mysql (multiple values are separated by commas in English), it means querying the secrets of three cloud product types;To query the list of supported cloud products, use the interface: `DescribeSupportedProducts`.
|
|
2123
2530
|
:type ProductName: str
|
|
2124
2531
|
"""
|
|
2125
2532
|
self._Offset = None
|
|
@@ -2133,6 +2540,9 @@ An empty value indicates querying all types of Tencent Cloud service secrets.
|
|
|
2133
2540
|
|
|
2134
2541
|
@property
|
|
2135
2542
|
def Offset(self):
|
|
2543
|
+
"""Starting position of the list, starting at 0. If not specified, 0 is used by default.
|
|
2544
|
+
:rtype: int
|
|
2545
|
+
"""
|
|
2136
2546
|
return self._Offset
|
|
2137
2547
|
|
|
2138
2548
|
@Offset.setter
|
|
@@ -2141,6 +2551,9 @@ An empty value indicates querying all types of Tencent Cloud service secrets.
|
|
|
2141
2551
|
|
|
2142
2552
|
@property
|
|
2143
2553
|
def Limit(self):
|
|
2554
|
+
"""Maximum number of returned Secrets in a query. If not set or set to 0, 20 is used by default.
|
|
2555
|
+
:rtype: int
|
|
2556
|
+
"""
|
|
2144
2557
|
return self._Limit
|
|
2145
2558
|
|
|
2146
2559
|
@Limit.setter
|
|
@@ -2149,6 +2562,9 @@ An empty value indicates querying all types of Tencent Cloud service secrets.
|
|
|
2149
2562
|
|
|
2150
2563
|
@property
|
|
2151
2564
|
def OrderType(self):
|
|
2565
|
+
"""Sorting order according to the creation time. If not set or set to 0, descending order is used; if set to 1, ascending order is used.
|
|
2566
|
+
:rtype: int
|
|
2567
|
+
"""
|
|
2152
2568
|
return self._OrderType
|
|
2153
2569
|
|
|
2154
2570
|
@OrderType.setter
|
|
@@ -2157,6 +2573,16 @@ An empty value indicates querying all types of Tencent Cloud service secrets.
|
|
|
2157
2573
|
|
|
2158
2574
|
@property
|
|
2159
2575
|
def State(self):
|
|
2576
|
+
"""Filter based on credential status.
|
|
2577
|
+
The default value is 0, indicating to query all.
|
|
2578
|
+
1: query the list of credentials in `Enabled` status.
|
|
2579
|
+
2: query the list of credentials in `Disabled` status.
|
|
2580
|
+
3: query the list of credentials in `PendingDelete` status.
|
|
2581
|
+
4: query the list of credentials in `PendingCreate` status.
|
|
2582
|
+
5: query the list of credentials in `CreateFailed` status.
|
|
2583
|
+
The `PendingCreate` and `CreateFailed` status only take effect when `SecretType` is Tencent Cloud service credential
|
|
2584
|
+
:rtype: int
|
|
2585
|
+
"""
|
|
2160
2586
|
return self._State
|
|
2161
2587
|
|
|
2162
2588
|
@State.setter
|
|
@@ -2165,6 +2591,9 @@ An empty value indicates querying all types of Tencent Cloud service secrets.
|
|
|
2165
2591
|
|
|
2166
2592
|
@property
|
|
2167
2593
|
def SearchSecretName(self):
|
|
2594
|
+
"""Filter according to Secret names. If left empty, this filter is not applied.
|
|
2595
|
+
:rtype: str
|
|
2596
|
+
"""
|
|
2168
2597
|
return self._SearchSecretName
|
|
2169
2598
|
|
|
2170
2599
|
@SearchSecretName.setter
|
|
@@ -2173,6 +2602,9 @@ An empty value indicates querying all types of Tencent Cloud service secrets.
|
|
|
2173
2602
|
|
|
2174
2603
|
@property
|
|
2175
2604
|
def TagFilters(self):
|
|
2605
|
+
"""Tag filter.
|
|
2606
|
+
:rtype: list of TagFilter
|
|
2607
|
+
"""
|
|
2176
2608
|
return self._TagFilters
|
|
2177
2609
|
|
|
2178
2610
|
@TagFilters.setter
|
|
@@ -2181,6 +2613,12 @@ An empty value indicates querying all types of Tencent Cloud service secrets.
|
|
|
2181
2613
|
|
|
2182
2614
|
@property
|
|
2183
2615
|
def SecretType(self):
|
|
2616
|
+
"""`0` (default): user-defined secret.
|
|
2617
|
+
`1`: Tencent Cloud services secret.
|
|
2618
|
+
`2`: SSH key secret.
|
|
2619
|
+
`3`: Tencent Cloud API key secret.
|
|
2620
|
+
:rtype: int
|
|
2621
|
+
"""
|
|
2184
2622
|
return self._SecretType
|
|
2185
2623
|
|
|
2186
2624
|
@SecretType.setter
|
|
@@ -2189,6 +2627,10 @@ An empty value indicates querying all types of Tencent Cloud service secrets.
|
|
|
2189
2627
|
|
|
2190
2628
|
@property
|
|
2191
2629
|
def ProductName(self):
|
|
2630
|
+
"""This parameter only takes effect when the value of the SecretType parameter is 1.\nWhen the value of SecretType is `1`:
|
|
2631
|
+
If the ProductName value is empty, it means querying all types of Tencent Cloud product secrets;If the ProductName value is a specific cloud product value such as MySQL, it means querying MySQL database credential;If the ProductName value is multiple cloud product values, such as: Mysql, Tdsql-mysql, Tdsql_C_Mysql (multiple values are separated by commas in English), it means querying the secrets of three cloud product types;To query the list of supported cloud products, use the interface: `DescribeSupportedProducts`.
|
|
2632
|
+
:rtype: str
|
|
2633
|
+
"""
|
|
2192
2634
|
return self._ProductName
|
|
2193
2635
|
|
|
2194
2636
|
@ProductName.setter
|
|
@@ -2231,7 +2673,7 @@ class ListSecretsResponse(AbstractModel):
|
|
|
2231
2673
|
:type TotalCount: int
|
|
2232
2674
|
:param _SecretMetadatas: List of Secret information.
|
|
2233
2675
|
:type SecretMetadatas: list of SecretMetadata
|
|
2234
|
-
:param _RequestId: The unique request ID,
|
|
2676
|
+
: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.
|
|
2235
2677
|
:type RequestId: str
|
|
2236
2678
|
"""
|
|
2237
2679
|
self._TotalCount = None
|
|
@@ -2240,6 +2682,9 @@ class ListSecretsResponse(AbstractModel):
|
|
|
2240
2682
|
|
|
2241
2683
|
@property
|
|
2242
2684
|
def TotalCount(self):
|
|
2685
|
+
"""Number of filtered Secrets according to `State` and `SearchSecretName`.
|
|
2686
|
+
:rtype: int
|
|
2687
|
+
"""
|
|
2243
2688
|
return self._TotalCount
|
|
2244
2689
|
|
|
2245
2690
|
@TotalCount.setter
|
|
@@ -2248,6 +2693,9 @@ class ListSecretsResponse(AbstractModel):
|
|
|
2248
2693
|
|
|
2249
2694
|
@property
|
|
2250
2695
|
def SecretMetadatas(self):
|
|
2696
|
+
"""List of Secret information.
|
|
2697
|
+
:rtype: list of SecretMetadata
|
|
2698
|
+
"""
|
|
2251
2699
|
return self._SecretMetadatas
|
|
2252
2700
|
|
|
2253
2701
|
@SecretMetadatas.setter
|
|
@@ -2256,6 +2704,9 @@ class ListSecretsResponse(AbstractModel):
|
|
|
2256
2704
|
|
|
2257
2705
|
@property
|
|
2258
2706
|
def RequestId(self):
|
|
2707
|
+
"""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.
|
|
2708
|
+
:rtype: str
|
|
2709
|
+
"""
|
|
2259
2710
|
return self._RequestId
|
|
2260
2711
|
|
|
2261
2712
|
@RequestId.setter
|
|
@@ -2325,6 +2776,19 @@ TableName: explicitly indicate the table
|
|
|
2325
2776
|
|
|
2326
2777
|
@property
|
|
2327
2778
|
def PrivilegeName(self):
|
|
2779
|
+
"""Permission name. Valid values:
|
|
2780
|
+
GlobalPrivileges
|
|
2781
|
+
DatabasePrivileges
|
|
2782
|
+
TablePrivileges
|
|
2783
|
+
ColumnPrivileges
|
|
2784
|
+
|
|
2785
|
+
When the permission is `DatabasePrivileges`, the database name must be specified by the `Database` parameter;
|
|
2786
|
+
|
|
2787
|
+
When the permission is `TablePrivileges`, the database name and the table name in the database must be specified by the `Database` and `TableName` parameters;
|
|
2788
|
+
|
|
2789
|
+
When the permission is `ColumnPrivileges`, the database name, table name in the database, and column name in the table must be specified by the `Database`, `TableName`, and `ColumnName` parameters.
|
|
2790
|
+
:rtype: str
|
|
2791
|
+
"""
|
|
2328
2792
|
return self._PrivilegeName
|
|
2329
2793
|
|
|
2330
2794
|
@PrivilegeName.setter
|
|
@@ -2333,6 +2797,22 @@ TableName: explicitly indicate the table
|
|
|
2333
2797
|
|
|
2334
2798
|
@property
|
|
2335
2799
|
def Privileges(self):
|
|
2800
|
+
"""Permission list.
|
|
2801
|
+
For the `Mysql` service, optional permission values are:
|
|
2802
|
+
|
|
2803
|
+
1. Valid values of `GlobalPrivileges`: "SELECT","INSERT","UPDATE","DELETE","CREATE", "PROCESS", "DROP","REFERENCES","INDEX","ALTER","SHOW DATABASES","CREATE TEMPORARY TABLES","LOCK TABLES","EXECUTE","CREATE VIEW","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EVENT","TRIGGER".
|
|
2804
|
+
Note: if this parameter is not passed in, it means to clear the permission.
|
|
2805
|
+
|
|
2806
|
+
2. Valid values of `DatabasePrivileges`: "SELECT","INSERT","UPDATE","DELETE","CREATE", "DROP","REFERENCES","INDEX","ALTER","CREATE TEMPORARY TABLES","LOCK TABLES","EXECUTE","CREATE VIEW","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EVENT","TRIGGER".
|
|
2807
|
+
Note: if this parameter is not passed in, it means to clear the permission.
|
|
2808
|
+
|
|
2809
|
+
3. Valid values of `TablePrivileges`: "SELECT","INSERT","UPDATE","DELETE","CREATE", "DROP","REFERENCES","INDEX","ALTER","CREATE VIEW","SHOW VIEW", "TRIGGER".
|
|
2810
|
+
Note: if this parameter is not passed in, it means to clear the permission.
|
|
2811
|
+
|
|
2812
|
+
4. Valid values of `ColumnPrivileges`: "SELECT","INSERT","UPDATE","REFERENCES".
|
|
2813
|
+
Note: if this parameter is not passed in, it means to clear the permission.
|
|
2814
|
+
:rtype: list of str
|
|
2815
|
+
"""
|
|
2336
2816
|
return self._Privileges
|
|
2337
2817
|
|
|
2338
2818
|
@Privileges.setter
|
|
@@ -2341,6 +2821,9 @@ TableName: explicitly indicate the table
|
|
|
2341
2821
|
|
|
2342
2822
|
@property
|
|
2343
2823
|
def Database(self):
|
|
2824
|
+
"""This value takes effect only when `PrivilegeName` is `DatabasePrivileges`.
|
|
2825
|
+
:rtype: str
|
|
2826
|
+
"""
|
|
2344
2827
|
return self._Database
|
|
2345
2828
|
|
|
2346
2829
|
@Database.setter
|
|
@@ -2349,6 +2832,9 @@ TableName: explicitly indicate the table
|
|
|
2349
2832
|
|
|
2350
2833
|
@property
|
|
2351
2834
|
def TableName(self):
|
|
2835
|
+
"""This value takes effect only when `PrivilegeName` is `TablePrivileges`, and the `Database` parameter is required in this case to explicitly indicate the database instance.
|
|
2836
|
+
:rtype: str
|
|
2837
|
+
"""
|
|
2352
2838
|
return self._TableName
|
|
2353
2839
|
|
|
2354
2840
|
@TableName.setter
|
|
@@ -2357,6 +2843,11 @@ TableName: explicitly indicate the table
|
|
|
2357
2843
|
|
|
2358
2844
|
@property
|
|
2359
2845
|
def ColumnName(self):
|
|
2846
|
+
"""This value takes effect only when `PrivilegeName` is `ColumnPrivileges`, and the following parameters are required in this case:
|
|
2847
|
+
Database: explicitly indicate the database instance.
|
|
2848
|
+
TableName: explicitly indicate the table
|
|
2849
|
+
:rtype: str
|
|
2850
|
+
"""
|
|
2360
2851
|
return self._ColumnName
|
|
2361
2852
|
|
|
2362
2853
|
@ColumnName.setter
|
|
@@ -2404,6 +2895,9 @@ Either `SecretBinary` or `SecretString` must be set.
|
|
|
2404
2895
|
|
|
2405
2896
|
@property
|
|
2406
2897
|
def SecretName(self):
|
|
2898
|
+
"""Name of a Secret where the version is added to.
|
|
2899
|
+
:rtype: str
|
|
2900
|
+
"""
|
|
2407
2901
|
return self._SecretName
|
|
2408
2902
|
|
|
2409
2903
|
@SecretName.setter
|
|
@@ -2412,6 +2906,9 @@ Either `SecretBinary` or `SecretString` must be set.
|
|
|
2412
2906
|
|
|
2413
2907
|
@property
|
|
2414
2908
|
def VersionId(self):
|
|
2909
|
+
"""ID of the new Secret version. It can be up to 64 bytes, contain letters, digits, hyphens (-), and underscores (_), and must begin with a letter or digit.
|
|
2910
|
+
:rtype: str
|
|
2911
|
+
"""
|
|
2415
2912
|
return self._VersionId
|
|
2416
2913
|
|
|
2417
2914
|
@VersionId.setter
|
|
@@ -2420,6 +2917,10 @@ Either `SecretBinary` or `SecretString` must be set.
|
|
|
2420
2917
|
|
|
2421
2918
|
@property
|
|
2422
2919
|
def SecretBinary(self):
|
|
2920
|
+
"""Base64-encoded binary credential information.
|
|
2921
|
+
Either `SecretBinary` or `SecretString` must be set.
|
|
2922
|
+
:rtype: str
|
|
2923
|
+
"""
|
|
2423
2924
|
return self._SecretBinary
|
|
2424
2925
|
|
|
2425
2926
|
@SecretBinary.setter
|
|
@@ -2428,6 +2929,9 @@ Either `SecretBinary` or `SecretString` must be set.
|
|
|
2428
2929
|
|
|
2429
2930
|
@property
|
|
2430
2931
|
def SecretString(self):
|
|
2932
|
+
"""Secret information plaintext in text format, base64 encoding is not needed. Either `SecretBinary` or `SecretString` must be set.
|
|
2933
|
+
:rtype: str
|
|
2934
|
+
"""
|
|
2431
2935
|
return self._SecretString
|
|
2432
2936
|
|
|
2433
2937
|
@SecretString.setter
|
|
@@ -2470,6 +2974,9 @@ class PutSecretValueResponse(AbstractModel):
|
|
|
2470
2974
|
|
|
2471
2975
|
@property
|
|
2472
2976
|
def SecretName(self):
|
|
2977
|
+
"""Name of the Secret.
|
|
2978
|
+
:rtype: str
|
|
2979
|
+
"""
|
|
2473
2980
|
return self._SecretName
|
|
2474
2981
|
|
|
2475
2982
|
@SecretName.setter
|
|
@@ -2478,6 +2985,9 @@ class PutSecretValueResponse(AbstractModel):
|
|
|
2478
2985
|
|
|
2479
2986
|
@property
|
|
2480
2987
|
def VersionId(self):
|
|
2988
|
+
"""Version ID that is newly added.
|
|
2989
|
+
:rtype: str
|
|
2990
|
+
"""
|
|
2481
2991
|
return self._VersionId
|
|
2482
2992
|
|
|
2483
2993
|
@VersionId.setter
|
|
@@ -2486,6 +2996,9 @@ class PutSecretValueResponse(AbstractModel):
|
|
|
2486
2996
|
|
|
2487
2997
|
@property
|
|
2488
2998
|
def RequestId(self):
|
|
2999
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3000
|
+
:rtype: str
|
|
3001
|
+
"""
|
|
2489
3002
|
return self._RequestId
|
|
2490
3003
|
|
|
2491
3004
|
@RequestId.setter
|
|
@@ -2513,6 +3026,9 @@ class RestoreSecretRequest(AbstractModel):
|
|
|
2513
3026
|
|
|
2514
3027
|
@property
|
|
2515
3028
|
def SecretName(self):
|
|
3029
|
+
"""Name of the Secret to be restored.
|
|
3030
|
+
:rtype: str
|
|
3031
|
+
"""
|
|
2516
3032
|
return self._SecretName
|
|
2517
3033
|
|
|
2518
3034
|
@SecretName.setter
|
|
@@ -2549,6 +3065,9 @@ class RestoreSecretResponse(AbstractModel):
|
|
|
2549
3065
|
|
|
2550
3066
|
@property
|
|
2551
3067
|
def SecretName(self):
|
|
3068
|
+
"""Name of the Secret.
|
|
3069
|
+
:rtype: str
|
|
3070
|
+
"""
|
|
2552
3071
|
return self._SecretName
|
|
2553
3072
|
|
|
2554
3073
|
@SecretName.setter
|
|
@@ -2557,6 +3076,9 @@ class RestoreSecretResponse(AbstractModel):
|
|
|
2557
3076
|
|
|
2558
3077
|
@property
|
|
2559
3078
|
def RequestId(self):
|
|
3079
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3080
|
+
:rtype: str
|
|
3081
|
+
"""
|
|
2560
3082
|
return self._RequestId
|
|
2561
3083
|
|
|
2562
3084
|
@RequestId.setter
|
|
@@ -2583,6 +3105,9 @@ class RotateProductSecretRequest(AbstractModel):
|
|
|
2583
3105
|
|
|
2584
3106
|
@property
|
|
2585
3107
|
def SecretName(self):
|
|
3108
|
+
"""Name of the credential to be rotated.
|
|
3109
|
+
:rtype: str
|
|
3110
|
+
"""
|
|
2586
3111
|
return self._SecretName
|
|
2587
3112
|
|
|
2588
3113
|
@SecretName.setter
|
|
@@ -2619,6 +3144,9 @@ class RotateProductSecretResponse(AbstractModel):
|
|
|
2619
3144
|
|
|
2620
3145
|
@property
|
|
2621
3146
|
def FlowID(self):
|
|
3147
|
+
"""Asynchronous rotation task ID. This field is valid when `SecretType` is `1` (i.e., the secret type is Tencent Cloud services secret, such as MySQL/TDSQL credentials).
|
|
3148
|
+
:rtype: int
|
|
3149
|
+
"""
|
|
2622
3150
|
return self._FlowID
|
|
2623
3151
|
|
|
2624
3152
|
@FlowID.setter
|
|
@@ -2627,6 +3155,9 @@ class RotateProductSecretResponse(AbstractModel):
|
|
|
2627
3155
|
|
|
2628
3156
|
@property
|
|
2629
3157
|
def RequestId(self):
|
|
3158
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3159
|
+
:rtype: str
|
|
3160
|
+
"""
|
|
2630
3161
|
return self._RequestId
|
|
2631
3162
|
|
|
2632
3163
|
@RequestId.setter
|
|
@@ -2668,11 +3199,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2668
3199
|
:param _NextRotationTime: Start time of the next rotation in UNIX timestamp format
|
|
2669
3200
|
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2670
3201
|
:type NextRotationTime: int
|
|
2671
|
-
:param _SecretType:
|
|
2672
|
-
`1`: Tencent Cloud services secret.
|
|
2673
|
-
`2`: SSH key secret.
|
|
2674
|
-
`3`: Tencent Cloud API key secret.
|
|
2675
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3202
|
+
:param _SecretType: 0: custom secret;1: database credential;2: SSH key secret;3: cloud API key secret;4: Redis secret;Note: This field may return `null`, indicating no valid value can be obtained.
|
|
2676
3203
|
:type SecretType: int
|
|
2677
3204
|
:param _ProductName: Tencent Cloud service name, which takes effect only when `SecretType` is 1 (Tencent Cloud service credential)
|
|
2678
3205
|
Note: this field may return null, indicating that no valid values can be obtained.
|
|
@@ -2721,6 +3248,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2721
3248
|
|
|
2722
3249
|
@property
|
|
2723
3250
|
def SecretName(self):
|
|
3251
|
+
"""Credential name
|
|
3252
|
+
:rtype: str
|
|
3253
|
+
"""
|
|
2724
3254
|
return self._SecretName
|
|
2725
3255
|
|
|
2726
3256
|
@SecretName.setter
|
|
@@ -2729,6 +3259,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2729
3259
|
|
|
2730
3260
|
@property
|
|
2731
3261
|
def Description(self):
|
|
3262
|
+
"""Credential description
|
|
3263
|
+
:rtype: str
|
|
3264
|
+
"""
|
|
2732
3265
|
return self._Description
|
|
2733
3266
|
|
|
2734
3267
|
@Description.setter
|
|
@@ -2737,6 +3270,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2737
3270
|
|
|
2738
3271
|
@property
|
|
2739
3272
|
def KmsKeyId(self):
|
|
3273
|
+
"""KMS `KeyId` used to encrypt the credential
|
|
3274
|
+
:rtype: str
|
|
3275
|
+
"""
|
|
2740
3276
|
return self._KmsKeyId
|
|
2741
3277
|
|
|
2742
3278
|
@KmsKeyId.setter
|
|
@@ -2745,6 +3281,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2745
3281
|
|
|
2746
3282
|
@property
|
|
2747
3283
|
def CreateUin(self):
|
|
3284
|
+
"""Creator UIN
|
|
3285
|
+
:rtype: int
|
|
3286
|
+
"""
|
|
2748
3287
|
return self._CreateUin
|
|
2749
3288
|
|
|
2750
3289
|
@CreateUin.setter
|
|
@@ -2753,6 +3292,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2753
3292
|
|
|
2754
3293
|
@property
|
|
2755
3294
|
def Status(self):
|
|
3295
|
+
"""Credential status: Enabled, Disabled, PendingDelete, Creating, Failed.
|
|
3296
|
+
:rtype: str
|
|
3297
|
+
"""
|
|
2756
3298
|
return self._Status
|
|
2757
3299
|
|
|
2758
3300
|
@Status.setter
|
|
@@ -2761,6 +3303,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2761
3303
|
|
|
2762
3304
|
@property
|
|
2763
3305
|
def DeleteTime(self):
|
|
3306
|
+
"""Credential deletion date, which takes effect for credentials in `PendingDelete` status and is in UNIX timestamp format
|
|
3307
|
+
:rtype: int
|
|
3308
|
+
"""
|
|
2764
3309
|
return self._DeleteTime
|
|
2765
3310
|
|
|
2766
3311
|
@DeleteTime.setter
|
|
@@ -2769,6 +3314,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2769
3314
|
|
|
2770
3315
|
@property
|
|
2771
3316
|
def CreateTime(self):
|
|
3317
|
+
"""Credential creation time in UNIX timestamp format
|
|
3318
|
+
:rtype: int
|
|
3319
|
+
"""
|
|
2772
3320
|
return self._CreateTime
|
|
2773
3321
|
|
|
2774
3322
|
@CreateTime.setter
|
|
@@ -2777,6 +3325,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2777
3325
|
|
|
2778
3326
|
@property
|
|
2779
3327
|
def KmsKeyType(self):
|
|
3328
|
+
"""Type of the KMS CMK used to encrypt the credential. `DEFAULT` represents the default key created by Secrets Manager, and `CUSTOMER` represents the user-specified key
|
|
3329
|
+
:rtype: str
|
|
3330
|
+
"""
|
|
2780
3331
|
return self._KmsKeyType
|
|
2781
3332
|
|
|
2782
3333
|
@KmsKeyType.setter
|
|
@@ -2785,6 +3336,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2785
3336
|
|
|
2786
3337
|
@property
|
|
2787
3338
|
def RotationStatus(self):
|
|
3339
|
+
"""1: enable rotation; 0: disable rotation
|
|
3340
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3341
|
+
:rtype: int
|
|
3342
|
+
"""
|
|
2788
3343
|
return self._RotationStatus
|
|
2789
3344
|
|
|
2790
3345
|
@RotationStatus.setter
|
|
@@ -2793,6 +3348,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2793
3348
|
|
|
2794
3349
|
@property
|
|
2795
3350
|
def NextRotationTime(self):
|
|
3351
|
+
"""Start time of the next rotation in UNIX timestamp format
|
|
3352
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3353
|
+
:rtype: int
|
|
3354
|
+
"""
|
|
2796
3355
|
return self._NextRotationTime
|
|
2797
3356
|
|
|
2798
3357
|
@NextRotationTime.setter
|
|
@@ -2801,6 +3360,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2801
3360
|
|
|
2802
3361
|
@property
|
|
2803
3362
|
def SecretType(self):
|
|
3363
|
+
"""0: custom secret;1: database credential;2: SSH key secret;3: cloud API key secret;4: Redis secret;Note: This field may return `null`, indicating no valid value can be obtained.
|
|
3364
|
+
:rtype: int
|
|
3365
|
+
"""
|
|
2804
3366
|
return self._SecretType
|
|
2805
3367
|
|
|
2806
3368
|
@SecretType.setter
|
|
@@ -2809,6 +3371,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2809
3371
|
|
|
2810
3372
|
@property
|
|
2811
3373
|
def ProductName(self):
|
|
3374
|
+
"""Tencent Cloud service name, which takes effect only when `SecretType` is 1 (Tencent Cloud service credential)
|
|
3375
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
3376
|
+
:rtype: str
|
|
3377
|
+
"""
|
|
2812
3378
|
return self._ProductName
|
|
2813
3379
|
|
|
2814
3380
|
@ProductName.setter
|
|
@@ -2817,6 +3383,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2817
3383
|
|
|
2818
3384
|
@property
|
|
2819
3385
|
def ResourceName(self):
|
|
3386
|
+
"""Secret name. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
|
|
3387
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3388
|
+
:rtype: str
|
|
3389
|
+
"""
|
|
2820
3390
|
return self._ResourceName
|
|
2821
3391
|
|
|
2822
3392
|
@ResourceName.setter
|
|
@@ -2825,6 +3395,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2825
3395
|
|
|
2826
3396
|
@property
|
|
2827
3397
|
def ProjectID(self):
|
|
3398
|
+
"""Project ID. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
|
|
3399
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3400
|
+
:rtype: int
|
|
3401
|
+
"""
|
|
2828
3402
|
return self._ProjectID
|
|
2829
3403
|
|
|
2830
3404
|
@ProjectID.setter
|
|
@@ -2833,6 +3407,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2833
3407
|
|
|
2834
3408
|
@property
|
|
2835
3409
|
def AssociatedInstanceIDs(self):
|
|
3410
|
+
"""ID of the CVM instance associated with the SSH key. ID. This field is only valid when the `SecretType` is set to `2` (SSH key secret).
|
|
3411
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3412
|
+
:rtype: list of str
|
|
3413
|
+
"""
|
|
2836
3414
|
return self._AssociatedInstanceIDs
|
|
2837
3415
|
|
|
2838
3416
|
@AssociatedInstanceIDs.setter
|
|
@@ -2841,6 +3419,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2841
3419
|
|
|
2842
3420
|
@property
|
|
2843
3421
|
def TargetUin(self):
|
|
3422
|
+
"""UIN of the Tencent Cloud API key. This field is valid when the secret type is Tencent Cloud API key secret.
|
|
3423
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
3424
|
+
:rtype: int
|
|
3425
|
+
"""
|
|
2844
3426
|
return self._TargetUin
|
|
2845
3427
|
|
|
2846
3428
|
@TargetUin.setter
|
|
@@ -2849,6 +3431,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2849
3431
|
|
|
2850
3432
|
@property
|
|
2851
3433
|
def RotationFrequency(self):
|
|
3434
|
+
"""Rotation frequency in days. It takes effect when the rotation feature is enabled.
|
|
3435
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3436
|
+
:rtype: int
|
|
3437
|
+
"""
|
|
2852
3438
|
return self._RotationFrequency
|
|
2853
3439
|
|
|
2854
3440
|
@RotationFrequency.setter
|
|
@@ -2857,6 +3443,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2857
3443
|
|
|
2858
3444
|
@property
|
|
2859
3445
|
def ResourceID(self):
|
|
3446
|
+
"""ID of Tencent Cloud resource corresponding with the Secret.
|
|
3447
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3448
|
+
:rtype: str
|
|
3449
|
+
"""
|
|
2860
3450
|
return self._ResourceID
|
|
2861
3451
|
|
|
2862
3452
|
@ResourceID.setter
|
|
@@ -2865,6 +3455,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2865
3455
|
|
|
2866
3456
|
@property
|
|
2867
3457
|
def RotationBeginTime(self):
|
|
3458
|
+
"""The rotation start time.
|
|
3459
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3460
|
+
:rtype: str
|
|
3461
|
+
"""
|
|
2868
3462
|
return self._RotationBeginTime
|
|
2869
3463
|
|
|
2870
3464
|
@RotationBeginTime.setter
|
|
@@ -2919,6 +3513,9 @@ class Tag(AbstractModel):
|
|
|
2919
3513
|
|
|
2920
3514
|
@property
|
|
2921
3515
|
def TagKey(self):
|
|
3516
|
+
"""Tag key
|
|
3517
|
+
:rtype: str
|
|
3518
|
+
"""
|
|
2922
3519
|
return self._TagKey
|
|
2923
3520
|
|
|
2924
3521
|
@TagKey.setter
|
|
@@ -2927,6 +3524,9 @@ class Tag(AbstractModel):
|
|
|
2927
3524
|
|
|
2928
3525
|
@property
|
|
2929
3526
|
def TagValue(self):
|
|
3527
|
+
"""Tag value
|
|
3528
|
+
:rtype: str
|
|
3529
|
+
"""
|
|
2930
3530
|
return self._TagValue
|
|
2931
3531
|
|
|
2932
3532
|
@TagValue.setter
|
|
@@ -2964,6 +3564,9 @@ class TagFilter(AbstractModel):
|
|
|
2964
3564
|
|
|
2965
3565
|
@property
|
|
2966
3566
|
def TagKey(self):
|
|
3567
|
+
"""Tag key
|
|
3568
|
+
:rtype: str
|
|
3569
|
+
"""
|
|
2967
3570
|
return self._TagKey
|
|
2968
3571
|
|
|
2969
3572
|
@TagKey.setter
|
|
@@ -2972,6 +3575,9 @@ class TagFilter(AbstractModel):
|
|
|
2972
3575
|
|
|
2973
3576
|
@property
|
|
2974
3577
|
def TagValue(self):
|
|
3578
|
+
"""Tag value
|
|
3579
|
+
:rtype: list of str
|
|
3580
|
+
"""
|
|
2975
3581
|
return self._TagValue
|
|
2976
3582
|
|
|
2977
3583
|
@TagValue.setter
|
|
@@ -3009,6 +3615,9 @@ class UpdateDescriptionRequest(AbstractModel):
|
|
|
3009
3615
|
|
|
3010
3616
|
@property
|
|
3011
3617
|
def SecretName(self):
|
|
3618
|
+
"""Name of a Secret whose description is to be updated.
|
|
3619
|
+
:rtype: str
|
|
3620
|
+
"""
|
|
3012
3621
|
return self._SecretName
|
|
3013
3622
|
|
|
3014
3623
|
@SecretName.setter
|
|
@@ -3017,6 +3626,9 @@ class UpdateDescriptionRequest(AbstractModel):
|
|
|
3017
3626
|
|
|
3018
3627
|
@property
|
|
3019
3628
|
def Description(self):
|
|
3629
|
+
"""New description information, which can be up to 2048 bytes.
|
|
3630
|
+
:rtype: str
|
|
3631
|
+
"""
|
|
3020
3632
|
return self._Description
|
|
3021
3633
|
|
|
3022
3634
|
@Description.setter
|
|
@@ -3054,6 +3666,9 @@ class UpdateDescriptionResponse(AbstractModel):
|
|
|
3054
3666
|
|
|
3055
3667
|
@property
|
|
3056
3668
|
def SecretName(self):
|
|
3669
|
+
"""Name of the Secret.
|
|
3670
|
+
:rtype: str
|
|
3671
|
+
"""
|
|
3057
3672
|
return self._SecretName
|
|
3058
3673
|
|
|
3059
3674
|
@SecretName.setter
|
|
@@ -3062,6 +3677,9 @@ class UpdateDescriptionResponse(AbstractModel):
|
|
|
3062
3677
|
|
|
3063
3678
|
@property
|
|
3064
3679
|
def RequestId(self):
|
|
3680
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3681
|
+
:rtype: str
|
|
3682
|
+
"""
|
|
3065
3683
|
return self._RequestId
|
|
3066
3684
|
|
|
3067
3685
|
@RequestId.setter
|
|
@@ -3100,6 +3718,9 @@ When `EnableRotation` is `true` and `RotationBeginTime` is left empty, the curre
|
|
|
3100
3718
|
|
|
3101
3719
|
@property
|
|
3102
3720
|
def SecretName(self):
|
|
3721
|
+
"""Tencent Cloud service credential name.
|
|
3722
|
+
:rtype: str
|
|
3723
|
+
"""
|
|
3103
3724
|
return self._SecretName
|
|
3104
3725
|
|
|
3105
3726
|
@SecretName.setter
|
|
@@ -3108,6 +3729,11 @@ When `EnableRotation` is `true` and `RotationBeginTime` is left empty, the curre
|
|
|
3108
3729
|
|
|
3109
3730
|
@property
|
|
3110
3731
|
def EnableRotation(self):
|
|
3732
|
+
"""Specifies whether to enable rotation.
|
|
3733
|
+
`true`: enables rotation.
|
|
3734
|
+
`false`: disables rotation.
|
|
3735
|
+
:rtype: bool
|
|
3736
|
+
"""
|
|
3111
3737
|
return self._EnableRotation
|
|
3112
3738
|
|
|
3113
3739
|
@EnableRotation.setter
|
|
@@ -3116,6 +3742,9 @@ When `EnableRotation` is `true` and `RotationBeginTime` is left empty, the curre
|
|
|
3116
3742
|
|
|
3117
3743
|
@property
|
|
3118
3744
|
def Frequency(self):
|
|
3745
|
+
"""Rotation frequency in days. Value range: 30–365.
|
|
3746
|
+
:rtype: int
|
|
3747
|
+
"""
|
|
3119
3748
|
return self._Frequency
|
|
3120
3749
|
|
|
3121
3750
|
@Frequency.setter
|
|
@@ -3124,6 +3753,10 @@ When `EnableRotation` is `true` and `RotationBeginTime` is left empty, the curre
|
|
|
3124
3753
|
|
|
3125
3754
|
@property
|
|
3126
3755
|
def RotationBeginTime(self):
|
|
3756
|
+
"""User-defined rotation start time in the format of 2006-01-02 15:04:05.
|
|
3757
|
+
When `EnableRotation` is `true` and `RotationBeginTime` is left empty, the current time will be entered by default.
|
|
3758
|
+
:rtype: str
|
|
3759
|
+
"""
|
|
3127
3760
|
return self._RotationBeginTime
|
|
3128
3761
|
|
|
3129
3762
|
@RotationBeginTime.setter
|
|
@@ -3160,6 +3793,9 @@ class UpdateRotationStatusResponse(AbstractModel):
|
|
|
3160
3793
|
|
|
3161
3794
|
@property
|
|
3162
3795
|
def RequestId(self):
|
|
3796
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3797
|
+
:rtype: str
|
|
3798
|
+
"""
|
|
3163
3799
|
return self._RequestId
|
|
3164
3800
|
|
|
3165
3801
|
@RequestId.setter
|
|
@@ -3195,6 +3831,9 @@ Either `SecretBinary` or `SecretString` cannot be empty.
|
|
|
3195
3831
|
|
|
3196
3832
|
@property
|
|
3197
3833
|
def SecretName(self):
|
|
3834
|
+
"""Name of a Secret whose content is to be updated.
|
|
3835
|
+
:rtype: str
|
|
3836
|
+
"""
|
|
3198
3837
|
return self._SecretName
|
|
3199
3838
|
|
|
3200
3839
|
@SecretName.setter
|
|
@@ -3203,6 +3842,9 @@ Either `SecretBinary` or `SecretString` cannot be empty.
|
|
|
3203
3842
|
|
|
3204
3843
|
@property
|
|
3205
3844
|
def VersionId(self):
|
|
3845
|
+
"""ID of the Secret version whose content is to be updated.
|
|
3846
|
+
:rtype: str
|
|
3847
|
+
"""
|
|
3206
3848
|
return self._VersionId
|
|
3207
3849
|
|
|
3208
3850
|
@VersionId.setter
|
|
@@ -3211,6 +3853,10 @@ Either `SecretBinary` or `SecretString` cannot be empty.
|
|
|
3211
3853
|
|
|
3212
3854
|
@property
|
|
3213
3855
|
def SecretBinary(self):
|
|
3856
|
+
"""This field should be used and Base64-encoded if the content of the new credential is binary.
|
|
3857
|
+
Either `SecretBinary` or `SecretString` cannot be empty.
|
|
3858
|
+
:rtype: str
|
|
3859
|
+
"""
|
|
3214
3860
|
return self._SecretBinary
|
|
3215
3861
|
|
|
3216
3862
|
@SecretBinary.setter
|
|
@@ -3219,6 +3865,9 @@ Either `SecretBinary` or `SecretString` cannot be empty.
|
|
|
3219
3865
|
|
|
3220
3866
|
@property
|
|
3221
3867
|
def SecretString(self):
|
|
3868
|
+
"""This field should be used without being Base64-encoded if the content of the new credential is text. Either `SecretBinary` or `SecretString` cannot be empty.
|
|
3869
|
+
:rtype: str
|
|
3870
|
+
"""
|
|
3222
3871
|
return self._SecretString
|
|
3223
3872
|
|
|
3224
3873
|
@SecretString.setter
|
|
@@ -3261,6 +3910,9 @@ class UpdateSecretResponse(AbstractModel):
|
|
|
3261
3910
|
|
|
3262
3911
|
@property
|
|
3263
3912
|
def SecretName(self):
|
|
3913
|
+
"""Name of the Secret.
|
|
3914
|
+
:rtype: str
|
|
3915
|
+
"""
|
|
3264
3916
|
return self._SecretName
|
|
3265
3917
|
|
|
3266
3918
|
@SecretName.setter
|
|
@@ -3269,6 +3921,9 @@ class UpdateSecretResponse(AbstractModel):
|
|
|
3269
3921
|
|
|
3270
3922
|
@property
|
|
3271
3923
|
def VersionId(self):
|
|
3924
|
+
"""Version ID of the Secret.
|
|
3925
|
+
:rtype: str
|
|
3926
|
+
"""
|
|
3272
3927
|
return self._VersionId
|
|
3273
3928
|
|
|
3274
3929
|
@VersionId.setter
|
|
@@ -3277,6 +3932,9 @@ class UpdateSecretResponse(AbstractModel):
|
|
|
3277
3932
|
|
|
3278
3933
|
@property
|
|
3279
3934
|
def RequestId(self):
|
|
3935
|
+
"""The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3936
|
+
:rtype: str
|
|
3937
|
+
"""
|
|
3280
3938
|
return self._RequestId
|
|
3281
3939
|
|
|
3282
3940
|
@RequestId.setter
|
|
@@ -3307,6 +3965,9 @@ class VersionInfo(AbstractModel):
|
|
|
3307
3965
|
|
|
3308
3966
|
@property
|
|
3309
3967
|
def VersionId(self):
|
|
3968
|
+
"""Version ID.
|
|
3969
|
+
:rtype: str
|
|
3970
|
+
"""
|
|
3310
3971
|
return self._VersionId
|
|
3311
3972
|
|
|
3312
3973
|
@VersionId.setter
|
|
@@ -3315,6 +3976,9 @@ class VersionInfo(AbstractModel):
|
|
|
3315
3976
|
|
|
3316
3977
|
@property
|
|
3317
3978
|
def CreateTime(self):
|
|
3979
|
+
"""Creation time, formatted as a Unix timestamp.
|
|
3980
|
+
:rtype: int
|
|
3981
|
+
"""
|
|
3318
3982
|
return self._CreateTime
|
|
3319
3983
|
|
|
3320
3984
|
@CreateTime.setter
|