All Products
Search
Document Center

CloudOps Orchestration Service:UpdateApplicationGroup

Last Updated:Dec 06, 2024

Updates the information of an application group. You can call this operation only for the application groups that reside in the China (Hangzhou) region. Use an endpoint of the China (Hangzhou) region.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • 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 Key: the condition key that is defined by the cloud service.
  • 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.
OperationAccess levelResource typeCondition keyAssociated operation
oos:UpdateApplicationGroupupdate
*ApplicationGroup
acs:oos:{#regionId}:{#AccountId}:application/{#applicationName}/applicationgroup/{#applicationGroupName}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID. 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 application name.

MyApplication
OperationNamestringNo

The name of the configuration update operation.

/business/v1/product/spus/{spu_id}
ParametersobjectNo

The JSON string that consists of a set of parameters. Default value: {}.

{"username": "xx"}

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

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

The information about 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 application name.

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

Examples

Sample success responses

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 Service error codes.

Change history

Change timeSummary of changesOperation
2024-08-08The request parameters of the API has changedView Change Details