Skip to content

Commit b8a77b0

Browse files
committed
add
1 parent e704a37 commit b8a77b0

File tree

4 files changed

+54
-0
lines changed

4 files changed

+54
-0
lines changed

tencentcloud/provider.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,7 @@ func Provider() *schema.Provider {
890890
"tencentcloud_kms_white_box_decrypt_key": kms.DataSourceTencentCloudKmsWhiteBoxDecryptKey(),
891891
"tencentcloud_kms_white_box_device_fingerprints": kms.DataSourceTencentCloudKmsWhiteBoxDeviceFingerprints(),
892892
"tencentcloud_kms_list_algorithms": kms.DataSourceTencentCloudKmsListAlgorithms(),
893+
"tencentcloud_kms_service_status": kms.DataSourceTencentCloudKmsServiceStatus(),
893894
"tencentcloud_ssm_products": ssm.DataSourceTencentCloudSsmProducts(),
894895
"tencentcloud_ssm_secrets": ssm.DataSourceTencentCloudSsmSecrets(),
895896
"tencentcloud_ssm_secret_versions": ssm.DataSourceTencentCloudSsmSecretVersions(),

tencentcloud/provider.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ tencentcloud_kms_list_keys
664664
tencentcloud_kms_white_box_decrypt_key
665665
tencentcloud_kms_white_box_device_fingerprints
666666
tencentcloud_kms_list_algorithms
667+
tencentcloud_kms_service_status
667668

668669
Resource
669670
tencentcloud_kms_key
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
subcategory: "Key Management Service(KMS)"
3+
layout: "tencentcloud"
4+
page_title: "TencentCloud: tencentcloud_kms_service_status"
5+
sidebar_current: "docs-tencentcloud-datasource-kms_service_status"
6+
description: |-
7+
Use this data source to query detailed information of KMS service_status
8+
---
9+
10+
# tencentcloud_kms_service_status
11+
12+
Use this data source to query detailed information of KMS service_status
13+
14+
## Example Usage
15+
16+
```hcl
17+
data "tencentcloud_kms_service_status" "example" {}
18+
```
19+
20+
## Argument Reference
21+
22+
The following arguments are supported:
23+
24+
* `result_output_file` - (Optional, String) Used to save results.
25+
26+
## Attributes Reference
27+
28+
In addition to all arguments above, the following attributes are exported:
29+
30+
* `cmk_limit` - Return KMS user key specification quantity.
31+
* `cmk_user_count` - Return the number of KMS user key usage.
32+
* `exclusive_hsm_enabled` - Whether to activate Exclusive KMS
33+
Note: This field may return `null`, indicating that no valid value can be obtained.
34+
* `exclusive_hsm_list` - Return to Exclusive Cluster Group.
35+
* `exclusive_vsm_enabled` - Whether to activate Managed KMS
36+
Note: This field may return `null`, indicating that no valid value can be obtained.
37+
* `invalid_type` - Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
38+
* `pro_expire_time` - Expiration time of the KMS Ultimate edition. It's represented in a Unix Epoch timestamp.
39+
Note: This field may return null, indicating that no valid values can be obtained.
40+
* `pro_renew_flag` - Whether to automatically renew Ultimate Edition. 0: no, 1: yes
41+
Note: this field may return null, indicating that no valid values can be obtained.
42+
* `pro_resource_id` - Unique ID of the Ultimate Edition purchase record. If the Ultimate Edition is not activated, the returned value will be null.
43+
Note: this field may return null, indicating that no valid values can be obtained.
44+
* `service_enabled` - Whether the KMS service has been activated. true: activated.
45+
* `subscription_info` - KMS subscription information.
46+
Note: This field may return null, indicating that no valid values can be obtained.
47+
* `user_level` - 0: Basic Edition, 1: Ultimate Edition.
48+
49+

website/tencentcloud.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2845,6 +2845,9 @@
28452845
<li>
28462846
<a href="/docs/providers/tencentcloud/d/kms_public_key.html">tencentcloud_kms_public_key</a>
28472847
</li>
2848+
<li>
2849+
<a href="/docs/providers/tencentcloud/d/kms_service_status.html">tencentcloud_kms_service_status</a>
2850+
</li>
28482851
<li>
28492852
<a href="/docs/providers/tencentcloud/d/kms_white_box_decrypt_key.html">tencentcloud_kms_white_box_decrypt_key</a>
28502853
</li>

0 commit comments

Comments
 (0)