1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getKmsServiceStatus
tencentcloud 1.81.187 published on Monday, Apr 28, 2025 by tencentcloudstack

tencentcloud.getKmsServiceStatus

Explore with Pulumi AI

Use this data source to query detailed information of KMS service_status

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const example = tencentcloud.getKmsServiceStatus({});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

example = tencentcloud.get_kms_service_status()
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := tencentcloud.GetKmsServiceStatus(ctx, &tencentcloud.GetKmsServiceStatusArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var example = Tencentcloud.GetKmsServiceStatus.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetKmsServiceStatusArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = TencentcloudFunctions.getKmsServiceStatus();

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: tencentcloud:getKmsServiceStatus
      arguments: {}
Copy

Using getKmsServiceStatus

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getKmsServiceStatus(args: GetKmsServiceStatusArgs, opts?: InvokeOptions): Promise<GetKmsServiceStatusResult>
function getKmsServiceStatusOutput(args: GetKmsServiceStatusOutputArgs, opts?: InvokeOptions): Output<GetKmsServiceStatusResult>
Copy
def get_kms_service_status(id: Optional[str] = None,
                           result_output_file: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetKmsServiceStatusResult
def get_kms_service_status_output(id: Optional[pulumi.Input[str]] = None,
                           result_output_file: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetKmsServiceStatusResult]
Copy
func GetKmsServiceStatus(ctx *Context, args *GetKmsServiceStatusArgs, opts ...InvokeOption) (*GetKmsServiceStatusResult, error)
func GetKmsServiceStatusOutput(ctx *Context, args *GetKmsServiceStatusOutputArgs, opts ...InvokeOption) GetKmsServiceStatusResultOutput
Copy

> Note: This function is named GetKmsServiceStatus in the Go SDK.

public static class GetKmsServiceStatus 
{
    public static Task<GetKmsServiceStatusResult> InvokeAsync(GetKmsServiceStatusArgs args, InvokeOptions? opts = null)
    public static Output<GetKmsServiceStatusResult> Invoke(GetKmsServiceStatusInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetKmsServiceStatusResult> getKmsServiceStatus(GetKmsServiceStatusArgs args, InvokeOptions options)
public static Output<GetKmsServiceStatusResult> getKmsServiceStatus(GetKmsServiceStatusArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getKmsServiceStatus:getKmsServiceStatus
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
ResultOutputFile string
Used to save results.
Id string
ResultOutputFile string
Used to save results.
id String
resultOutputFile String
Used to save results.
id string
resultOutputFile string
Used to save results.
id str
result_output_file str
Used to save results.
id String
resultOutputFile String
Used to save results.

getKmsServiceStatus Result

The following output properties are available:

CmkLimit double
Return KMS user key specification quantity.
CmkUserCount double
Return the number of KMS user key usage.
ExclusiveHsmEnabled bool
Whether to activate Exclusive KMS Note: This field may return null, indicating that no valid value can be obtained.
ExclusiveHsmLists List<GetKmsServiceStatusExclusiveHsmList>
Return to Exclusive Cluster Group.
ExclusiveVsmEnabled bool
Whether to activate Managed KMS Note: This field may return null, indicating that no valid value can be obtained.
Id string
InvalidType double
Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
ProExpireTime double
Expiration time of the KMS Ultimate edition. It's represented in a Unix Epoch timestamp. Note: This field may return null, indicating that no valid values can be obtained.
ProRenewFlag double
Whether to automatically renew Ultimate Edition. 0: no, 1: yes Note: this field may return null, indicating that no valid values can be obtained.
ProResourceId string
Unique ID of the Ultimate Edition purchase record. If the Ultimate Edition is not activated, the returned value will be null. Note: this field may return null, indicating that no valid values can be obtained.
ServiceEnabled bool
Whether the KMS service has been activated. true: activated.
SubscriptionInfo string
KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
UserLevel double
0: Basic Edition, 1: Ultimate Edition.
ResultOutputFile string
CmkLimit float64
Return KMS user key specification quantity.
CmkUserCount float64
Return the number of KMS user key usage.
ExclusiveHsmEnabled bool
Whether to activate Exclusive KMS Note: This field may return null, indicating that no valid value can be obtained.
ExclusiveHsmLists []GetKmsServiceStatusExclusiveHsmList
Return to Exclusive Cluster Group.
ExclusiveVsmEnabled bool
Whether to activate Managed KMS Note: This field may return null, indicating that no valid value can be obtained.
Id string
InvalidType float64
Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
ProExpireTime float64
Expiration time of the KMS Ultimate edition. It's represented in a Unix Epoch timestamp. Note: This field may return null, indicating that no valid values can be obtained.
ProRenewFlag float64
Whether to automatically renew Ultimate Edition. 0: no, 1: yes Note: this field may return null, indicating that no valid values can be obtained.
ProResourceId string
Unique ID of the Ultimate Edition purchase record. If the Ultimate Edition is not activated, the returned value will be null. Note: this field may return null, indicating that no valid values can be obtained.
ServiceEnabled bool
Whether the KMS service has been activated. true: activated.
SubscriptionInfo string
KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
UserLevel float64
0: Basic Edition, 1: Ultimate Edition.
ResultOutputFile string
cmkLimit Double
Return KMS user key specification quantity.
cmkUserCount Double
Return the number of KMS user key usage.
exclusiveHsmEnabled Boolean
Whether to activate Exclusive KMS Note: This field may return null, indicating that no valid value can be obtained.
exclusiveHsmLists List<GetKmsServiceStatusExclusiveHsmList>
Return to Exclusive Cluster Group.
exclusiveVsmEnabled Boolean
Whether to activate Managed KMS Note: This field may return null, indicating that no valid value can be obtained.
id String
invalidType Double
Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
proExpireTime Double
Expiration time of the KMS Ultimate edition. It's represented in a Unix Epoch timestamp. Note: This field may return null, indicating that no valid values can be obtained.
proRenewFlag Double
Whether to automatically renew Ultimate Edition. 0: no, 1: yes Note: this field may return null, indicating that no valid values can be obtained.
proResourceId String
Unique ID of the Ultimate Edition purchase record. If the Ultimate Edition is not activated, the returned value will be null. Note: this field may return null, indicating that no valid values can be obtained.
serviceEnabled Boolean
Whether the KMS service has been activated. true: activated.
subscriptionInfo String
KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
userLevel Double
0: Basic Edition, 1: Ultimate Edition.
resultOutputFile String
cmkLimit number
Return KMS user key specification quantity.
cmkUserCount number
Return the number of KMS user key usage.
exclusiveHsmEnabled boolean
Whether to activate Exclusive KMS Note: This field may return null, indicating that no valid value can be obtained.
exclusiveHsmLists GetKmsServiceStatusExclusiveHsmList[]
Return to Exclusive Cluster Group.
exclusiveVsmEnabled boolean
Whether to activate Managed KMS Note: This field may return null, indicating that no valid value can be obtained.
id string
invalidType number
Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
proExpireTime number
Expiration time of the KMS Ultimate edition. It's represented in a Unix Epoch timestamp. Note: This field may return null, indicating that no valid values can be obtained.
proRenewFlag number
Whether to automatically renew Ultimate Edition. 0: no, 1: yes Note: this field may return null, indicating that no valid values can be obtained.
proResourceId string
Unique ID of the Ultimate Edition purchase record. If the Ultimate Edition is not activated, the returned value will be null. Note: this field may return null, indicating that no valid values can be obtained.
serviceEnabled boolean
Whether the KMS service has been activated. true: activated.
subscriptionInfo string
KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
userLevel number
0: Basic Edition, 1: Ultimate Edition.
resultOutputFile string
cmk_limit float
Return KMS user key specification quantity.
cmk_user_count float
Return the number of KMS user key usage.
exclusive_hsm_enabled bool
Whether to activate Exclusive KMS Note: This field may return null, indicating that no valid value can be obtained.
exclusive_hsm_lists Sequence[GetKmsServiceStatusExclusiveHsmList]
Return to Exclusive Cluster Group.
exclusive_vsm_enabled bool
Whether to activate Managed KMS Note: This field may return null, indicating that no valid value can be obtained.
id str
invalid_type float
Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
pro_expire_time float
Expiration time of the KMS Ultimate edition. It's represented in a Unix Epoch timestamp. Note: This field may return null, indicating that no valid values can be obtained.
pro_renew_flag float
Whether to automatically renew Ultimate Edition. 0: no, 1: yes Note: this field may return null, indicating that no valid values can be obtained.
pro_resource_id str
Unique ID of the Ultimate Edition purchase record. If the Ultimate Edition is not activated, the returned value will be null. Note: this field may return null, indicating that no valid values can be obtained.
service_enabled bool
Whether the KMS service has been activated. true: activated.
subscription_info str
KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
user_level float
0: Basic Edition, 1: Ultimate Edition.
result_output_file str
cmkLimit Number
Return KMS user key specification quantity.
cmkUserCount Number
Return the number of KMS user key usage.
exclusiveHsmEnabled Boolean
Whether to activate Exclusive KMS Note: This field may return null, indicating that no valid value can be obtained.
exclusiveHsmLists List<Property Map>
Return to Exclusive Cluster Group.
exclusiveVsmEnabled Boolean
Whether to activate Managed KMS Note: This field may return null, indicating that no valid value can be obtained.
id String
invalidType Number
Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
proExpireTime Number
Expiration time of the KMS Ultimate edition. It's represented in a Unix Epoch timestamp. Note: This field may return null, indicating that no valid values can be obtained.
proRenewFlag Number
Whether to automatically renew Ultimate Edition. 0: no, 1: yes Note: this field may return null, indicating that no valid values can be obtained.
proResourceId String
Unique ID of the Ultimate Edition purchase record. If the Ultimate Edition is not activated, the returned value will be null. Note: this field may return null, indicating that no valid values can be obtained.
serviceEnabled Boolean
Whether the KMS service has been activated. true: activated.
subscriptionInfo String
KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
userLevel Number
0: Basic Edition, 1: Ultimate Edition.
resultOutputFile String

Supporting Types

GetKmsServiceStatusExclusiveHsmList

HsmClusterId This property is required. string
HsmClusterName This property is required. string
HsmClusterId This property is required. string
HsmClusterName This property is required. string
hsmClusterId This property is required. String
hsmClusterName This property is required. String
hsmClusterId This property is required. string
hsmClusterName This property is required. string
hsm_cluster_id This property is required. str
hsm_cluster_name This property is required. str
hsmClusterId This property is required. String
hsmClusterName This property is required. String

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.