All Products
Search
Document Center

CloudOps Orchestration Service:UpdateOpsItem

Last Updated:Aug 28, 2026

Modifies an O&M item.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

oos:UpdateOpsItem

update

*OpsItem

acs:oos:{#regionId}:{#accountId}:opsitem/{#OpsItemId}

  • oos:TLSVersion
None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-hangzhou

Title

string

No

The title of the O&M item.

Test

Description

string

No

The description of the O&M item.

test-update

ResourceGroupId

string

No

The ID of the resource group.

rg-acfmxsn4m4******

Tags

object

No

The tags.

{ "k1": "v1", "k2": "v2" }

ClientToken

string

No

The client token used to ensure the idempotence of the request.

DASKJJLKADS-AHKLJHJSAKL-AJK

Severity

string

No

The severity level.

Valid values:

  • High :

    high

  • Low :

  • Medium :

  • Critical :

    严重

Medium

Source

string

No

The source of the O&M item.

/aliyun/ecs

Category

string

No

The category.

Valid values:

  • Availability :

    可用性

  • Performance :

    性能

  • Security :

    安全

  • Cost :

    成本

  • Recovery :

    备份恢复

Security

Priority

integer

No

The priority.

Valid values:

  • 1 :

    1

  • 2 :

    2

  • 3 :

    3

  • 4 :

    4

  • 5 :

    5

2

Solutions

string

No

The solutions.

[{\n \"priority\":3,\n \"type\":\"url\",\n \"url\":\"https://example.com\",\n \"description\":\"Set cross-zone high availability for the cluster.\"\n}]

DedupString

string

No

The deduplication string.

ecs_instance_SystemMaintenance.Reboot

Resources

string

No

The Alibaba Resource Names (ARNs) of the associated resources.

[\"arn:acs:ecs:cn-heyuan:1139354755361920:instance/i-f8z928h7aqotd3o65032\"]

OpsItemId

string

No

The ID of the O&M item.

oi-e2264dcf040c472598e9

Status

string

No

The status.

Valid values:

  • InProgress :

    处理中

  • Resolved :

    已解决

  • Open :

    待处理

Open

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

C996DECB-3D2B-5321-B359-BE7031B6399E

OpsItem

object

The information about the O&M item.

Tags

object

The tags.

{ "k1": "v1", "k2": "v2" }

UpdateDate

string

The time when the O&M item was updated.

2023-03-16T08:04Z

Description

string

The description.

test-update

OpsItemId

string

The ID of the O&M item.

oi-e2264dcf040c472598e9

CreateDate

string

The time when the O&M item was created.

2023-03-16T07:04Z

Title

string

The title of the O&M item.

Test

Status

string

The status.

Open

Severity

string

The severity level.

Medium

Category

string

The category.

Security

Source

string

The source of the O&M item.

/aliyun/ecs

Priority

integer

The priority.

2

Solutions

array

The solutions.

string

The solution.

[{\n \"priority\":2,\n \"type\":\"SlbNeedEcs\",\n \"url\":\"https://computenest.console.alibabacloud.com/app\",\n \"description\":\"请将SLBinstance下所有的ECSinstance导入到应用分组中\"\n}]

Resources

array

The ARNs of the associated resources.

string

The ARN of the associated resource.

[\"arn:acs:ecs:cn-heyuan:1139354755361920:instance/i-f8z928h7aqotd3o65032\"]

Attributes

string

The attributes of the O&M item.

[{'Attribute': {'Weight': 100}, 'RealServer': 'uaejc8hnqzqz5valyh8dibolpvza48ik.yundunwaf5.com'}]

CreatedBy

string

The user who created the O&M item.

root(130900000)

LastModifiedBy

string

The user who modified the O&M item.

root(130900000)

ResourceGroupId

string

The ID of the resource group.

rg-acfmxsn4m4******

Examples

Success response

JSON format

{
  "RequestId": "C996DECB-3D2B-5321-B359-BE7031B6399E",
  "OpsItem": {
    "Tags": {
      "k1": "v1",
      "k2": "v2"
    },
    "UpdateDate": "2023-03-16T08:04Z",
    "Description": "test-update",
    "OpsItemId": "oi-e2264dcf040c472598e9",
    "CreateDate": "2023-03-16T07:04Z",
    "Title": "Test",
    "Status": "Open",
    "Severity": "Medium",
    "Category": "Security",
    "Source": "/aliyun/ecs",
    "Priority": 2,
    "Solutions": [
      "[{\\n    \\\"priority\\\":2,\\n    \\\"type\\\":\\\"SlbNeedEcs\\\",\\n    \\\"url\\\":\\\"https://computenest.console.alibabacloud.com/app\\\",\\n    \\\"description\\\":\\\"请将SLBinstance下所有的ECSinstance导入到应用分组中\\\"\\n}]"
    ],
    "Resources": [
      "[\\\"arn:acs:ecs:cn-heyuan:1139354755361920:instance/i-f8z928h7aqotd3o65032\\\"]"
    ],
    "Attributes": "[{'Attribute': {'Weight': 100}, 'RealServer': 'uaejc8hnqzqz5valyh8dibolpvza48ik.yundunwaf5.com'}]",
    "CreatedBy": "root(130900000)\n",
    "LastModifiedBy": "root(130900000)\n",
    "ResourceGroupId": "rg-acfmxsn4m4******"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.