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.
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. |
| 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 |
| 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. |
This example shows you how to get the SSM service activation status.
POST / HTTP/1.1
Host: ssm.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: GetServiceStatus
<Common request parameters>
{}
{
"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
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
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. |
피드백