Replicating a Parameter Template
API Description
This API is used to replicate a parameter template.
Restrictions
- Only custom parameter templates can be replicated.
- The name of the parameter template cannot be the same as that of the default or an existing parameter template.
|
Parameter |
Type |
IN |
Mandatory |
Description |
|---|---|---|---|---|
|
project_id |
string |
path |
Yes |
Project ID of a tenant in a region. Obtain the project ID by following the instructions in Obtaining a Project ID. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
config_id |
Yes |
String |
ID of the parameter template to be replicated. |
Request Parameters
|
Parameter |
Type |
IN |
Mandatory |
Description |
|---|---|---|---|---|
|
X-Auth-Token |
string |
header |
Yes |
User token |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
name |
Yes |
String |
Name of the replicated parameter template. The parameter template name can contain 1 to 64 characters. It can contain only letters, digits, hyphens (-), underscores (_), and periods (.). |
|
description |
No |
String |
Parameter template description. The value is left blank by default. The description must consist of a maximum of 256 characters and cannot contain the carriage return character or the following special characters: >!<"&'= |
- Example request
{ "name" : "paramsGroup-2434", "description" : "Replicate a parameter template", }
Response Parameters
|
Name |
Type |
Description |
|---|---|---|
|
configuration_id |
String |
ID of the replicated parameter template. |
- Example response
{
"configuration_id": "7b4e07852bd54016906e89461b3182cdpr02"
}
Status Code
For details, see Status Code.
Error Code
For details, see Error Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot