Converts a service-based application to an instance-based application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:UpdateApp |
none |
*AppGroup
|
None | None |
Request syntax
POST /v4/openapi/app-groups/{appGroupIdentity}/actions/to-instance-typed HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The name of the application |
my_app |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| requestId |
string |
The request ID. |
AC5F78BA-66B9-545B-9CF1-8F542E682E1F |
| result |
object |
The returned result. |
{} |
| created |
integer |
The timestamp when the application was created. |
1588054131 |
| currentVersion |
string |
The ID of the current online version. |
100302903 |
| pendingSecondRankAlgoDeploymentId |
integer |
The ID of the fine sort expression that is being created. |
0 |
| type |
string |
The type of the application. |
- |
| chargingWay |
integer |
The billing type. Valid values:
|
1 |
| lockMode |
string |
The lock state. Valid values:
|
Unlock |
| status |
string |
The status of the application. |
normal |
| updated |
integer |
The timestamp when the application was updated. |
1581065904 |
| chargeType |
string |
The billing method. Valid values:
|
POSTPAY |
| id |
string |
The application ID. |
- |
| hasPendingQuotaReviewTask |
integer |
The approval state of the quotas. Valid values:
|
0 |
| projectId |
string |
The name of the A/B test group. |
- |
| secondRankAlgoDeploymentId |
integer |
The ID of the fine sort expression. |
0 |
| commodityCode |
string |
The code of the commodity. |
opensearch |
| switchedTime |
integer |
The timestamp when the current online version was published. |
1590486386 |
| expireOn |
string |
The expiration time. |
- |
| description |
string |
The description of the application. |
"" |
| firstRankAlgoDeploymentId |
integer |
The ID of the rough sort expression. |
0 |
| lockedByExpiration |
integer |
Indicates whether the instance is automatically locked after it expires. Valid values:
|
0 |
| produced |
integer |
Indicates whether the order is produced. |
0 |
| name |
string |
The name of the order. |
- |
| processingOrderId |
string |
The ID of the order that is in progress. |
- |
| instanceId |
string |
The instance ID. |
- |
| versions |
array |
The versions. |
|
|
string |
The version. |
- |
|
| quota |
object |
The configuration information. |
|
| spec |
string |
The specifications configured. |
- |
| docSize |
integer |
The storage capacity. |
1 |
| computeResource |
integer |
The number of computing resources configured. |
20 |
Examples
Success response
JSON format
{
"requestId": "AC5F78BA-66B9-545B-9CF1-8F542E682E1F",
"result": {
"created": 1588054131,
"currentVersion": "100302903",
"pendingSecondRankAlgoDeploymentId": 0,
"type": "-",
"chargingWay": 1,
"lockMode": "Unlock",
"status": "normal",
"updated": 1581065904,
"chargeType": "POSTPAY",
"id": "-",
"hasPendingQuotaReviewTask": 0,
"projectId": "-",
"secondRankAlgoDeploymentId": 0,
"commodityCode": "opensearch",
"switchedTime": 1590486386,
"expireOn": "-",
"description": "\"\"",
"firstRankAlgoDeploymentId": 0,
"lockedByExpiration": 0,
"produced": 0,
"name": "-",
"processingOrderId": "-",
"instanceId": "-",
"versions": [
"-"
],
"quota": {
"spec": "-",
"docSize": 1,
"computeResource": 20
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.