Creates an edition.
Operation description
Before you call this operation, call CreateTemplate to create a template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicecatalog:CreateProductVersion |
create |
*Product
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductVersionName |
string |
Yes |
The edition name. The name must be 1 to 128 characters in length. |
1.0 |
| TemplateType |
string |
Yes |
The product templatetype. Valid values:
|
RosTerraformTemplate |
| TemplateUrl |
string |
Yes |
The URL of the template. For more information about how to obtain the template URL, see CreateTemplate. |
oss://servicecatalog-cn-hangzhou/146611588617****/terraform/template/tpl-bp1217we23****/template.json |
| Description |
string |
No |
The edition description. The description must be 1 to 128 characters in length. |
This is a product version description. |
| Guidance |
string |
No |
The recommendation information. Valid values:
|
Default |
| Active |
boolean |
No |
Specifies whether to enable the product version. Valid values:
|
true |
| ProductId |
string |
Yes |
The ID of the product to which the edition belongs. |
prod-bp18r7q127**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
0FEEF92D-4052-5202-87D0-3D8EC16F81BF |
| ProductVersionId |
string |
The edition ID. |
pv-bp15e79d26**** |
Examples
Success response
JSON format
{
"RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
"ProductVersionId": "pv-bp15e79d26****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | A system error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.