GenerateAlgorithmCustomizationScript
Generates an algorithm customization script.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:GenerateAlgorithmCustomizationScript |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/algorithmcustomizations/{AlgorithmCustomizationId}/action/generatescript HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AlgorithmCustomizationId |
string |
No |
The algorithm customization ID. |
1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| InstanceId |
string |
No |
The instance ID. For information about how to obtain the instance ID, see ListInstances. |
pairec-test-xxx |
| ModuleFieldTypes |
object |
No |
The field types in the JSON configuration. |
{"item_table":"array"} |
| DeployMode |
string |
No |
Specifies whether to generate a deployment script or perform one-click deployment. Valid values:
|
EasyDeploy |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
6CF1E160-3F36-5E73-A170-C75504F05BBC |
| OssAddress |
string |
The OSS address of the generated package. |
oss:xxxx |
| LogId |
string |
The ID of the generated log. |
4 |
Examples
Success response
JSON format
{
"RequestId": "6CF1E160-3F36-5E73-A170-C75504F05BBC",
"OssAddress": "oss:xxxx",
"LogId": "4"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.