Converts a service-oriented application to an application instance.
Debugging
Request headers
This operation uses only common request headers. For more information, see Common request parameters.
Request syntax
POST /v4/openapi/app-groups/[appGroupIdentity]/actions/to-instance-typed HTTP/1.1
Request parameters
Parameter | Type | Position | Required | Example | Description |
---|---|---|---|---|---|
appGroupIdentity | String | Path | Yes | my_app |
The name of the application. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
requestId | String | ABCDEFGH |
The ID of the request. |
result | Struct |
The result that was returned. |
|
chargeType | String | - | |
chargingWay | Integer | 1 | |
commodityCode | String | - | |
created | Integer | 1 | |
currentVersion | String | - | |
description | String | - | |
expireOn | String | - | |
firstRankAlgoDeploymentId | Integer | 0 | |
hasPendingQuotaReviewTask | Integer | 0 | |
id | String | - | |
instanceId | String | - | |
lockMode | String | - | |
lockedByExpiration | Integer | 0 | |
name | String | - | |
pendingSecondRankAlgoDeploymentId | Integer | 0 | |
processingOrderId | String | - | |
produced | Integer | 0 | |
projectId | String | - | |
quota | Struct |
The quota information. |
|
computeResource | Integer | 20 | |
docSize | Integer | 1 | |
spec | String | - | |
secondRankAlgoDeploymentId | Integer | 0 | |
status | String | - | |
switchedTime | Integer | 0 | |
type | String | - | |
updated | Integer | 0 | |
versions | List | - |
Examples
Sample requests
POST /v4/openapi/app-groups/my_app/actions/to-instance-typed
Sample success responses
XML
format
<result>
<expireOn>-</expireOn>
<pendingSecondRankAlgoDeploymentId>0</pendingSecondRankAlgoDeploymentId>
<chargeType>-</chargeType>
<description>-</description>
<type>-</type>
<secondRankAlgoDeploymentId>0</secondRankAlgoDeploymentId>
<instanceId>-</instanceId>
<quota>
<docSize>1</docSize>
<computeResource>20</computeResource>
<spec>-</spec>
</quota>
<commodityCode>-</commodityCode>
<id>-</id>
<lockedByExpiration>0</lockedByExpiration>
<switchedTime>0</switchedTime>
<lockMode>-</lockMode>
<created>1</created>
<currentVersion>-</currentVersion>
<produced>0</produced>
<hasPendingQuotaReviewTask>0</hasPendingQuotaReviewTask>
<versions>-</versions>
<chargingWay>1</chargingWay>
<firstRankAlgoDeploymentId>0</firstRankAlgoDeploymentId>
<processingOrderId>-</processingOrderId>
<name>-</name>
<updated>0</updated>
<projectId>-</projectId>
<status>-</status>
</result>
<requestId>ABCDEFGH</requestId>
JSON
format
{
"result": {
"expireOn": "-",
"pendingSecondRankAlgoDeploymentId": 0,
"chargeType": "-",
"description": "-",
"type": "-",
"secondRankAlgoDeploymentId": 0,
"instanceId": "-",
"quota": {
"docSize": 1,
"computeResource": 20,
"spec": "-"
},
"commodityCode": "-",
"id": "-",
"lockedByExpiration": 0,
"switchedTime": 0,
"lockMode": "-",
"created": 1,
"currentVersion": "-",
"produced": 0,
"hasPendingQuotaReviewTask": 0,
"versions": "-",
"chargingWay": 1,
"firstRankAlgoDeploymentId": 0,
"processingOrderId": "-",
"name": "-",
"updated": 0,
"projectId": "-",
"status": "-"
},
"requestId": "ABCDEFGH"
}
Error codes
For a list of error codes, visit the API Error Center.