CreateResourceGroup
Creates a resource group.
Operation description
The number of resource groups in each categorization is subject to the enterprise resource group quota limit. By default, a maximum of 20 resource groups are allowed per categorization, but the quota limit configured for your enterprise may vary. If the quota limit is reached, the ExceedNumberQuota error is returned. You can invoke the DescribeResourceGroups operation to query the number of existing resource groups in the corresponding categorization.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:CreateResourceGroup |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupName |
string |
No |
The name of the resource group. |
Department A resource group |
| ResourceGroupDescription |
string |
No |
The description of the resource group. This parameter is optional and can be up to 500 characters in length. The description is saved as-is. |
Department A resource group |
| IsResourceGroupWithOfficeSite |
integer |
No |
Note
This parameter is not publicly available. |
0 |
| Platform |
string |
No |
For Elastic Desktop Service Enterprise Edition, set the value to Valid values:
|
AliyunConsole |
| BusinessChannel |
string |
No |
The channel. |
ENTERPRISE |
| EnableAliyunResourceGroup |
boolean |
No |
Specifies whether to simultaneously create an Alibaba Cloud resource group. This is supported only for resource groups in the Default category. |
|
| ResourceClassification |
string |
No |
The category of the resource. Valid values:
|
Default |
| AgentType |
string |
No |
The agent subtype of the DesktopAgent resource group. Valid values: JVSClaw and HermesAgent. |
JVSClaw |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned information. |
||
| RequestId |
string |
The request ID. |
868B8926-2E7A-5BE7-9897-E811E994**** |
| ResourceGroupId |
string |
The resource group ID. |
rg-ckf3cx7isinhk*** |
Examples
Success response
JSON format
{
"RequestId": "868B8926-2E7A-5BE7-9897-E811E994****",
"ResourceGroupId": "rg-ckf3cx7isinhk***"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.