Clones a policy based on an existing global policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:CloneCenterPolicy |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Set the value to cn-shanghai. Valid values:
|
cn-shanghai |
| ResourceType |
string |
Yes |
The resource type. Valid values:
Valid values:
|
desktop |
| BusinessType |
integer |
Yes |
The business type. Valid values:
Valid values:
|
1 |
| PolicyGroupId |
string |
Yes |
The ID of the cloud computer policy that you want to clone. |
pg-gx2x1dhsmthe9**** |
| Name |
string |
Yes |
The name of the cloud computer policy that you want to clone. |
testPolicyGroupName |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PolicyGroupId |
string |
The ID of the duplicated cloud computer policy. |
pg-gx2x1dhsmthe9**** |
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
Examples
Success response
JSON format
{
"PolicyGroupId": "pg-gx2x1dhsmthe9****",
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.