All Products
Search
Document Center

ENS:RenewARMServerInstance

Last Updated:Mar 12, 2024

Renews a subscription Android in Container (AIC) instance.

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
InstanceIdstringYes

The ID of the instance that you want to renew.

yourInstance ID
PeriodintegerYes

The renewal period. By default, instances are renewed on a monthly basis. Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, and 12.

1
PeriodUnitstringYes

The unit of the renewal period. Valid values:

  • Month (default)
  • Year
Month

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

370E61E0-6E6E-50FE-9259-EE706C55ABF1

Examples

Sample success responses

JSONformat

{
  "RequestId": "370E61E0-6E6E-50FE-9259-EE706C55ABF1"
}

Error codes

HTTP status codeError codeError message
400NoPermissionPermission denied.
400InvalidParameter.%sThe specified field %s invalid. Please check it again.

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

Change history

Change timeSummary of changesOperation
2023-12-26The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: AutoRenew