DescribeUserBuyVersion
Retrieves the version information of a user.
Operation description
This operation is typically used to query and retrieve Cloud Firewall instance information for a user.
QPS limits
The QPS limit per user is 10 calls per second. If you exceed this limit, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeUserBuyVersion |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The instance ID. If you specify an instance ID, the system queries the instance based on the ID. If you do not specify an instance ID, the system queries the latest instance by default. |
cfw_elasticity_public_cn-******* |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AliUid |
integer |
The AliUid of the Cloud Firewall account. |
119898001566xxxx |
| InstanceId |
string |
The ID of the purchased Cloud Firewall instance. Note
This field is not applicable to the trial edition. |
vipcloudfw-cn-xxxxx |
| StartTime |
integer |
The activation time of the Cloud Firewall instance. Note
The value is a UNIX timestamp in milliseconds. |
1692504764000 |
| RequestId |
string |
The ID of the request. |
F71B03EE-xxxxx-91D79CC6AA1A |
| Version |
integer |
The edition of the Cloud Firewall instance. Valid values:
|
2 |
| UserStatus |
boolean |
The status of the Cloud Firewall instance. Valid values:
|
true |
| Expire |
integer |
The expiration time of the Cloud Firewall instance. Note
The value is a UNIX timestamp in milliseconds. Note
This field is not applicable to the pay-as-you-go edition. |
1726934400000 |
| LogStatus |
boolean |
The enabling status of log delivery. Valid values:
|
true |
| InstanceStatus |
string |
The production status of the Cloud Firewall instance. Valid values:
|
normal |
| MaxOverflow |
integer |
Specifies whether burstable elastic billing is enabled. Valid values:
Note
This field is applicable only to subscription users. |
0 |
| VpcNumber |
integer |
The purchased quota for VPC firewalls. Note
This field is applicable only to subscription users. |
21 |
| IpNumber |
integer |
The purchased quota for the Internet Border protection. Note
This field is applicable only to subscription users. |
63 |
| LogStorage |
integer |
The purchased log storage capacity. Note
This field is applicable only to subscription users. |
3000 |
| InternetBandwidth |
integer |
The purchased traffic processing capacity of the Internet firewall. |
3000 |
| VpcBandwidth |
integer |
The purchased traffic processing capacity of the VPC firewall. |
3000 |
| NatBandwidth |
integer |
The purchased traffic processing capacity of the NAT firewall. |
3000 |
| MajorVersion |
integer |
The major version. |
1 |
| DefaultBandwidth |
integer |
The default bandwidth for the edition. |
1000 |
| ExtensionBandwidth |
integer |
The extended bandwidth. |
1000 |
| TemporaryBandwidth |
integer |
The temporary bandwidth upgrade. |
1000 |
| GeneralInstance |
integer |
The quota for general-purpose instances. |
10 |
| ThreatIntelligence |
integer |
The enabling status of threat intelligence. |
1 |
| Sdl |
integer |
The enabling status of sensitive data leak detection. In the Resource parameter, true indicates enabled and false indicates disabled. In the API response, 1 indicates enabled and 0 indicates disabled. |
1 |
| PrivateDnsConnectorQuota |
integer |
The quota for private DNS connectors. |
5 |
| AckClusterConnectorQuota |
integer |
The quota for ACK cluster connectors. |
5 |
| Agentic |
integer |
Specifies whether Agentic 2.0 is enabled. |
1 |
Examples
Success response
JSON format
{
"AliUid": 0,
"InstanceId": "vipcloudfw-cn-xxxxx",
"StartTime": 1692504764000,
"RequestId": "F71B03EE-xxxxx-91D79CC6AA1A",
"Version": 2,
"UserStatus": true,
"Expire": 1726934400000,
"LogStatus": true,
"InstanceStatus": "normal",
"MaxOverflow": 0,
"VpcNumber": 21,
"IpNumber": 63,
"LogStorage": 3000,
"InternetBandwidth": 3000,
"VpcBandwidth": 3000,
"NatBandwidth": 3000,
"MajorVersion": 1,
"DefaultBandwidth": 1000,
"ExtensionBandwidth": 1000,
"TemporaryBandwidth": 1000,
"GeneralInstance": 10,
"ThreatIntelligence": 1,
"Sdl": 1,
"PrivateDnsConnectorQuota": 5,
"AckClusterConnectorQuota": 5,
"Agentic": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.