Queries the free trial activation status and expiration time of a specified feature. Currently, only the free trial information of Tablestore backup can be queried.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FeatureType |
string |
Yes |
The feature type. Currently, only the free trial information of Tablestore backup can be queried. Valid values:
|
OTS_BACKUP |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| InTrialPeriod |
boolean |
Indicates whether the feature is within the free trial period. The value false is returned if the feature is not activated or the free trial has expired. |
|
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
|
| TrialExpireTime |
integer |
The expiration time of the free trial. The value is a UNIX timestamp, in seconds. The value 0 is returned if the feature is not activated. |
1584597600 |
| Code |
string |
The return code. The value 200 indicates success. |
200 |
| Message |
string |
The returned message. The value "successful" is returned upon success. An error message is returned upon failure. |
successful |
| FeatureEnabled |
boolean |
Indicates whether the feature is activated. The value false is returned if the feature is not activated. In this case, InTrialPeriod is false and TrialExpireTime is 0. |
Examples
Success response
JSON format
{
"InTrialPeriod": false,
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Success": false,
"TrialExpireTime": 1584597600,
"Code": "200",
"Message": "successful",
"FeatureEnabled": false
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.