All Products
Search
Document Center

Operation Orchestration Service:UpdateApplicationGroup

Last Updated:Feb 07, 2023

Updates the information of an application group.

Operation Description

**

Authorization information

The following table is the authorization information corresponding to the API, which can be found in the RAM permission policy statement.Action Used in the element to grant the RAM user or RAM role permission to call this API. The specific instructions are as follows:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All resources is used in the Resource type column of the operation.
  • Condition keyword: refers to the condition keyword defined by the cloud product itself.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operateaccess levelResource typeconditional keywordAssociation operation
oos:UpdateApplicationGroupWrite
  • OOS
    acs:oos:{#regionId}:{#accountId}:application/{#ApplicationName}
    without
without

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The ID of the region. Set the value to cn-hangzhou.

cn-hangzhou
NamestringYes

The name of the application group.

MyApplicationGroup
NewNamestringNo

The new name of the application group.

UpdateMyApplicationGroup
ApplicationNamestringYes

The name of the application.

MyApplication

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

AA9FA778-AE4B-55EC-81CC-C46BAF08A166
ApplicationGroupobject

The details of the application group.

DeployRegionIdstring

The ID of the region in which the related resources reside.

cn-hangzhou
Descriptionstring

The description of the application group.

ApplicationGroup
ImportTagKeystring

The key of the tag.

k1
UpdatedDatestring

The time when the application group was updated.

2021-09-08T03:01:53Z
ApplicationNamestring

The name of the application.

MyApplication
CreatedDatestring

The time when the application group was created.

2021-09-07T10:28:25Z
ImportTagValuestring

The value of the tag.

v1
Namestring

The name of the application group.

UpdateMyApplicationGroup

Example

Normal return example

JSONFormat

{
  "RequestId": "AA9FA778-AE4B-55EC-81CC-C46BAF08A166",
  "ApplicationGroup": {
    "DeployRegionId": "cn-hangzhou",
    "Description": "ApplicationGroup",
    "ImportTagKey": "k1",
    "UpdatedDate": "2021-09-08T03:01:53Z",
    "ApplicationName": "MyApplication",
    "CreatedDate": "2021-09-07T10:28:25Z",
    "ImportTagValue": "v1",
    "Name": "UpdateMyApplicationGroup"
  }
}

Error codes

For a list of error codes, visit the API error center.