After a user renews a service, Alibaba Cloud Marketplace calls this Service Provider Interface (SPI) to update the instance expiration date.
Parameters
|
Parameter |
Required |
Type and Scope |
Description |
|
action |
true |
String |
Static value: renewInstance |
|
instanceId |
true |
String |
The instance ID provided by the service provider. |
|
ecsInstanceId |
false |
String |
The ECS instance ID. Required for runtime image instances. |
|
orderId |
true |
String |
The Alibaba Cloud Marketplace order ID. |
|
expiredOn |
true |
DateTime |
The expiration time. Format: yyyy-MM-dd HH:mm:ss |
|
token |
true |
String |
The security token. |
Response parameters
|
Parameter |
Description |
Required |
Type and Scope |
Key name |
Key description |
|
success |
Whether the call succeeded. |
true |
Boolean |
- |
- |
|
appInfo |
Application information shown on the Purchased Services details page in the buyer's console. |
false |
JSON |
frontEndUrl |
The frontend URL. |
|
adminUrl |
The management URL. |
||||
|
username |
The administrator account. |
||||
|
password |
The administrator password. |
||||
|
authUrl |
The single sign-on (SSO) URL. |
||||
|
licenseId |
The license ID. |
||||
|
licenseValidPeriod |
The validity period of the license. |
||||
|
licenseForUserGuide |
The URL for the user guide. |
Request example
http://example.aliyundoc.com?token=9b7dfb7b363fb2380896f24a34a9d6c9&action=renewInstance&instanceId=1&orderId=205060317920890&expiredOn=2013-01-01 01:01:01
Response example
{
"success": "true"
}