tencent cloud

APIs

GetServiceStatus

Baixar
Modo Foco
Tamanho da Fonte
Última atualização: 2026-11-30 19:10:26

1. API Description

Domain name for API request: ssm.intl.tencentcloudapi.com.

This API is used to obtain the user's SecretsManager service activation status.

A maximum of 50 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: GetServiceStatus.
Version Yes String Common Params. The value used for this API: 2019-09-23.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.

3. Output Parameters

Parameter Name Type Description
ServiceEnabled Boolean

true indicates that the service is activated, and false indicates that the service is not activated.

InvalidType Integer

Service unavailability type. Valid values: 0 - not purchased; 1 - normal; 2 - service suspended due to overdue payment; 3 - resource released.

AccessKeyEscrowEnabled Boolean

true indicates that the user can use the key escrow feature, and
false indicates that the user cannot use the key escrow feature for the time being.

ExpireTime String

Expiration time.

QPSLimit Integer

Computing performance limit.

SecretLimit Integer

Credential quantity limit.

PayModel String

Billing mode.

RenewFlag Integer

Auto-renewal flag. Valid values: 0 - Manual renewal; 1 - Auto-renewal; 2 - No renewal upon expiration.

ResourceId String

Resource ID.

TotalCount Integer

Number of managed credentials.

ResourceRegion Integer

Region ID of the prepaid SSM resource.

RequestId String 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.

4. Example

Example1 Getting the SSM Service Activation Status

This example shows you how to get the SSM service activation status.

Input Example

POST / HTTP/1.1
Host: ssm.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: GetServiceStatus
<Common request parameters>

{}

Output Example

{
    "Response": {
        "AccessKeyEscrowEnabled": true,
        "ExpireTime": "2027-02-01 19:30:31",
        "InvalidType": 1,
        "PayModel": "Prepaid_SSM",
        "QPSLimit": 1000,
        "RenewFlag": 1,
        "RequestId": "9a405d03-5cff-452b-bf0a-8576e2c1e1be",
        "ResourceId": "SSM-Prepaid-rt64sffg",
        "SecretLimit": 5900,
        "ServiceEnabled": true,
        "TotalCount": 5541
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error.
UnauthorizedOperation Unauthorized operation.

Ajuda e Suporte

Esta página foi útil?

comentários