tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getKmsServiceStatus
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
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({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_kms_service_status()
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetKmsServiceStatus.Invoke();
});
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();
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getKmsServiceStatus
arguments: {}
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>
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]
func GetKmsServiceStatus(ctx *Context, args *GetKmsServiceStatusArgs, opts ...InvokeOption) (*GetKmsServiceStatusResult, error)
func GetKmsServiceStatusOutput(ctx *Context, args *GetKmsServiceStatusOutputArgs, opts ...InvokeOption) GetKmsServiceStatusResultOutput
> 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)
}
public static CompletableFuture<GetKmsServiceStatusResult> getKmsServiceStatus(GetKmsServiceStatusArgs args, InvokeOptions options)
public static Output<GetKmsServiceStatusResult> getKmsServiceStatus(GetKmsServiceStatusArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getKmsServiceStatus:getKmsServiceStatus
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getKmsServiceStatus Result
The following output properties are available:
- Cmk
Limit double - Return KMS user key specification quantity.
- Cmk
User doubleCount - Return the number of KMS user key usage.
- Exclusive
Hsm boolEnabled - Whether to activate Exclusive KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - Exclusive
Hsm List<GetLists Kms Service Status Exclusive Hsm List> - Return to Exclusive Cluster Group.
- Exclusive
Vsm boolEnabled - Whether to activate Managed KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - Id string
- Invalid
Type double - Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
- Pro
Expire doubleTime - 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 doubleFlag - 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 stringId - 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 string - KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
- User
Level double - 0: Basic Edition, 1: Ultimate Edition.
- Result
Output stringFile
- Cmk
Limit float64 - Return KMS user key specification quantity.
- Cmk
User float64Count - Return the number of KMS user key usage.
- Exclusive
Hsm boolEnabled - Whether to activate Exclusive KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - Exclusive
Hsm []GetLists Kms Service Status Exclusive Hsm List - Return to Exclusive Cluster Group.
- Exclusive
Vsm boolEnabled - Whether to activate Managed KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - Id string
- Invalid
Type float64 - Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
- Pro
Expire float64Time - 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 float64Flag - 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 stringId - 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 string - KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
- User
Level float64 - 0: Basic Edition, 1: Ultimate Edition.
- Result
Output stringFile
- cmk
Limit Double - Return KMS user key specification quantity.
- cmk
User DoubleCount - Return the number of KMS user key usage.
- exclusive
Hsm BooleanEnabled - Whether to activate Exclusive KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - exclusive
Hsm List<GetLists Kms Service Status Exclusive Hsm List> - Return to Exclusive Cluster Group.
- exclusive
Vsm BooleanEnabled - Whether to activate Managed KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - id String
- invalid
Type Double - Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
- pro
Expire DoubleTime - 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 DoubleFlag - 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 StringId - 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 Boolean - Whether the KMS service has been activated. true: activated.
- subscription
Info String - KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
- user
Level Double - 0: Basic Edition, 1: Ultimate Edition.
- result
Output StringFile
- cmk
Limit number - Return KMS user key specification quantity.
- cmk
User numberCount - Return the number of KMS user key usage.
- exclusive
Hsm booleanEnabled - Whether to activate Exclusive KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - exclusive
Hsm GetLists Kms Service Status Exclusive Hsm List[] - Return to Exclusive Cluster Group.
- exclusive
Vsm booleanEnabled - Whether to activate Managed KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - id string
- invalid
Type number - Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
- pro
Expire numberTime - 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 numberFlag - 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 stringId - 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 boolean - Whether the KMS service has been activated. true: activated.
- subscription
Info string - KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
- user
Level number - 0: Basic Edition, 1: Ultimate Edition.
- result
Output stringFile
- cmk_
limit float - Return KMS user key specification quantity.
- cmk_
user_ floatcount - Return the number of KMS user key usage.
- exclusive_
hsm_ boolenabled - Whether to activate Exclusive KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - exclusive_
hsm_ Sequence[Getlists Kms Service Status Exclusive Hsm List] - Return to Exclusive Cluster Group.
- exclusive_
vsm_ boolenabled - 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_ floattime - 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_ floatflag - 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_ strid - 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_ strfile
- cmk
Limit Number - Return KMS user key specification quantity.
- cmk
User NumberCount - Return the number of KMS user key usage.
- exclusive
Hsm BooleanEnabled - Whether to activate Exclusive KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - exclusive
Hsm List<Property Map>Lists - Return to Exclusive Cluster Group.
- exclusive
Vsm BooleanEnabled - Whether to activate Managed KMS
Note: This field may return
null
, indicating that no valid value can be obtained. - id String
- invalid
Type Number - Service unavailability type. 0: not purchased; 1: normal; 2: suspended due to arrears; 3: resource released.
- pro
Expire NumberTime - 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 NumberFlag - 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 StringId - 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 Boolean - Whether the KMS service has been activated. true: activated.
- subscription
Info String - KMS subscription information. Note: This field may return null, indicating that no valid values can be obtained.
- user
Level Number - 0: Basic Edition, 1: Ultimate Edition.
- result
Output StringFile
Supporting Types
GetKmsServiceStatusExclusiveHsmList
- Hsm
Cluster stringId - Hsm
Cluster stringName
- Hsm
Cluster stringId - Hsm
Cluster stringName
- hsm
Cluster StringId - hsm
Cluster StringName
- hsm
Cluster stringId - hsm
Cluster stringName
- hsm_
cluster_ strid - hsm_
cluster_ strname
- hsm
Cluster StringId - hsm
Cluster StringName
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack