Creates an application group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:CreateApplicationGroup |
create |
*ApplicationGroup
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
Region ID. Set to cn-hangzhou. |
cn-hangzhou |
| Description |
string |
No |
Application group description. |
ApplicationGroup |
| DeployRegionId |
string |
Yes |
Region ID where the related sources reside. |
cn-hangzhou |
| ImportTagKey |
string |
No |
Tag key. Set both ImportTagKey and ImportTagValue, or leave both empty. Defaults to the application name if unspecified. |
k1 |
| ImportTagValue |
string |
No |
Tag value. Set both ImportTagKey and ImportTagValue, or leave both empty. Defaults to the application group name if unspecified. |
v1 |
| Name |
string |
Yes |
Application group name. |
MyApplicationGroup |
| ClientToken |
string |
No |
Client token for request idempotency. |
- |
| ApplicationName |
string |
Yes |
Application name. |
MyApplication |
| CmsGroupId |
string |
No |
Application group ID in CloudMonitor. |
218026174 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
0E6BEBD3-7F9E-5878-834B-097633AB5F33 |
| ApplicationGroup |
object |
Application group details. |
|
| CmsGroupId |
string |
Application group ID in CloudMonitor. |
1245768 |
| DeployRegionId |
string |
Region ID where the related sources reside. |
cn-hangzhou |
| Description |
string |
Application group description. |
ApplicationGroup |
| UpdateDate |
string |
Last update time. |
2021-09-07T10:28:25Z |
| ImportTagKey |
string |
Tag key. |
k1 |
| ApplicationName |
string |
Application name. |
MyApplication |
| ImportTagValue |
string |
Tag value. |
v1 |
| Name |
string |
Application group name. |
MyApplicationGroup |
| CreateDate |
string |
Creation time. |
2021-09-07T10:28:25Z |
Examples
Success response
JSON format
{
"RequestId": "0E6BEBD3-7F9E-5878-834B-097633AB5F33",
"ApplicationGroup": {
"CmsGroupId": "1245768",
"DeployRegionId": "cn-hangzhou",
"Description": "ApplicationGroup",
"UpdateDate": "2021-09-07T10:28:25Z",
"ImportTagKey": "k1",
"ApplicationName": "MyApplication",
"ImportTagValue": "v1",
"Name": "MyApplicationGroup",
"CreateDate": "2021-09-07T10:28:25Z"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.