All Products
Search
Document Center

Lindorm:RenewLindormInstance

Last Updated:Mar 03, 2024

Renews a subscription Lindorm instance.

Operation description

You can call this operation to renew a subscription Lindorm instance for 1 to 9 months or 1 to 3 years.

Before you call this operation, make sure that you fully understand the billing methods and pricing of Lindorm.

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
RegionIdstringYes

The ID of the region in which the instance that you want to renew is located. You can call the DescribeRegions operation to query the region ID.

cn-shanghai
InstanceIdstringYes

The ID of the instance that you want to renew. You can call the GetLindormInstanceList operation to obtain the instance ID.

ld-bp1z3506imz2f****
PricingCyclestringYes

The period based on which you are charged for the instance. Valid values:

  • Month: You are charged for the instance based on months.
  • Year: You are charged for the instance based on years.
Month
DurationintegerYes

The subscription duration of the instance. The valid values of this parameter depend on the value of the PricingCycle parameter.

  • If PricingCycle is set to Month, set this parameter to an integer that ranges from 1 to 9.
  • If PricingCycle is set to Year, set this parameter to an integer that ranges from 1 to 3.
1

Response parameters

ParameterTypeDescriptionExample
object

The result of the request.

RequestIdstring

The ID of the request.

1556DCB0-043A-4444-8BD9-CF4A68E7EE64
InstanceIdstring

The ID of the instance.

ld-bp1z3506imz2f****
OrderIdlong

The ID of the order. You can obtain an order ID on the Orders page in Alibaba Cloud User Center.

213465921640411

Examples

Sample success responses

JSONformat

{
  "RequestId": "1556DCB0-043A-4444-8BD9-CF4A68E7EE64",
  "InstanceId": "ld-bp1z3506imz2f****",
  "OrderId": 213465921640411
}

Error codes

HTTP status codeError codeError message
400Lindorm.Errorcode.ParameterInvaildThe parameter is invalid.
400Lindorm.Errorcode.Order.CreateFailedCreate order failed.
403Lindorm.Errorcode.OperationDeniedYou are not authorized to operate on the specified resource.
404Lindorm.Errorcode.PayType.IsNotValidPay type is not valid.
404Lindorm.Errorcode.Commodity.NotFoundCommodity is not found.

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

Change history

Change timeSummary of changesOperation
No change history