All Products
Search
Document Center

Global Accelerator:DescribeAcceleratorAutoRenewAttribute

Last Updated:May 16, 2024

Queries the auto-renewal status of a Global Accelerator (GA) instance.

Debugging

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

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ga:DescribeAcceleratorAutoRenewAttributeRead
  • Accelerator
    acs:ga:{#regionId}:{#accountId}:ga/{#gaId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region where the GA instance is deployed. Set the value to cn-hangzhou.

cn-hangzhou
AcceleratorIdstringYes

The ID of the GA instance.

ga-bp17frjjh0udz4qz****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

AcceleratorIdstring

The ID of the GA instance.

ga-bp17frjjh0udz4qz****
AutoRenewboolean

Indicates whether auto-renewal is enabled. Valid values:

  • true
  • false
false
AutoRenewDurationinteger

The auto-renewal duration. Unit: month.

1
RenewalStatusstring

Indicates how the GA instance is renewed. Valid values:

  • AutoRenewal: The GA instance is automatically renewed.
  • Normal: You must manually renew the GA instance.
  • NotRenewal: The GA instance is not renewed after it expires. The system sends only a non-renewal reminder three days before the expiration date. The system no longer sends notifications to remind you to renew the GA instance.
Normal
RequestIdstring

The ID of the request.

F591955F-5CB5-4CCE-A75D-17CF2085CE22

Examples

Sample success responses

JSONformat

{
  "AcceleratorId": "ga-bp17frjjh0udz4qz****",
  "AutoRenew": false,
  "AutoRenewDuration": 1,
  "RenewalStatus": "Normal",
  "RequestId": "F591955F-5CB5-4CCE-A75D-17CF2085CE22"
}

Error codes

HTTP status codeError codeError messageDescription
500UnknownErrorAn error occurred while processing your request. Please try again. If the error persists, please submit a ticket.An error occurred while the request was being processed. Try again later.

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

Change history

Change timeSummary of changesOperation
No change history