All Products
Search
Document Center

Security Center:GetAuthVersionStatistic

Last Updated:Feb 20, 2024

Queries the statistics about the numbers of assets protected by each edition of Security Center.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

2CA2BDF6-F3BD-51A4-BAAC-30B02F7A3FBB
Statisticsobject []

The statistics about the numbers of assets protected by each edition of Security Center.

AuthVersioninteger

The edition of Security Center. Valid values:

  • 1: Basic edition (Unauthorized)
  • 6: Anti-virus edition
  • 5: Advanced edition
  • 3: Enterprise edition
  • 7: Ultimate edition
  • 10: Value-added Plan edition
6
Countinteger

The number of authorized servers.

1

Examples

Sample success responses

JSONformat

{
  "RequestId": "2CA2BDF6-F3BD-51A4-BAAC-30B02F7A3FBB",
  "Statistics": [
    {
      "AuthVersion": 6,
      "Count": 1
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.