All Products
Search
Document Center

CloudOps Orchestration Service:CreateOpsItem

Last Updated:Aug 28, 2026

Creates 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:CreateOpsItem

create

*OpsItem

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

  • oos:TLSVersion
None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-hangzhou

Title

string

Yes

The title of the O&M item.

ECS reboot is scheduled

Description

string

No

The description of the O&M item.

OpsItem

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 that is used to ensure the idempotence of the request.

123e56767-e89b-12d3-a456-426655440000

Severity

string

Yes

The severity level.

Valid values:

  • High

  • Low

  • Medium

  • Critical

Valid values:

  • High :

    High

  • Low :

    Low

  • Medium :

    Medium

  • Critical :

    Critical

Medium

Source

string

Yes

The source business.

/aliyun/ecs

Category

string

Yes

The category.

Valid values:

  • Availability

  • Performance

  • Security

  • Cost

  • Recovery

Valid values:

  • Availability :

    Availability

  • Performance :

    Performance

  • Security :

    Security

  • Cost :

    Cost

  • Recovery :

    Recovery

Security

Priority

integer

No

The priority. Valid values: 1 to 5. 1 indicates the highest priority.

Valid values:

  • 1 :

    1

  • 2 :

    2

  • 3 :

    3

  • 4 :

    4

  • 5 :

    5

4

Solutions

string

No

The solutions.

[{\n \"priority\":3,\n \"type\":\"SingleAZEcs\",\n \"url\":\"http://ecs.consle.aliyuncs.com\",\n \"description\":\"Create ECS instances in different zones and import them into the application group\"\n}]

DedupString

string

No

The deduplication string.

ecs_instance_SystemMaintenance.Reboot

Resources

string

No

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

[\"acs:oos:cn-hangzhou:1563457855438522:application/test-33333/applicationgroup/default-cn-hangzhou-1\"]

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

DA4F08D4-DA54-5407-84B9-108C71D75B17

OpsItem

object

The information about the O&M item.

Tags

object

The tags of the O&M item.

{"k1": "v1"}

UpdateDate

string

The time when the O&M item was updated.

2023-03-24T03:55Z

Description

string

The description of the O&M item.

OpsItem

OpsItemId

string

The ID of the O&M item.

oi-dba9c6eec9254a4d87c1

CreateDate

string

The time when the O&M item was created.

2023-03-24T03:55Z

Title

string

The title of the O&M item.

ECS reboot is scheduled

Status

string

The status of the O&M item.

Running

Severity

string

The severity level of the O&M item.

Medium

Category

string

The category of the O&M item.

Security

Source

string

The source business of the O&M item.

/aliyun/ecs

Priority

integer

The priority of the O&M item.

2

Solutions

string

The solutions.

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

Resources

string

The ARNs of the associated resources.

[\"acs:oos:cn-hangzhou:1563457855438522:application/dingTest/applicationgroup/fltest\"]

Attributes

string

The attributes of the O&M item.

{\"regionId\":\"cn-zhangjiakou\",\"appId\":\"992BKO1X75GRQ4E8\",\"instanceId\":\"i-8vbcymxagqsyyyjppbr4\",\"instance_name\":\"cdae\"}

CreatedBy

string

The user who created the O&M item.

root(130900000)

LastModifiedBy

string

The user who last modified the O&M item.

root(130900000)

ResourceGroupId

string

The ID of the resource group.

rg-acfmxsn4m4******

Examples

Success response

JSON format

{
  "RequestId": "DA4F08D4-DA54-5407-84B9-108C71D75B17",
  "OpsItem": {
    "Tags": {
      "k1": "v1"
    },
    "UpdateDate": "2023-03-24T03:55Z",
    "Description": "OpsItem",
    "OpsItemId": "oi-dba9c6eec9254a4d87c1",
    "CreateDate": "2023-03-24T03:55Z",
    "Title": "ECS reboot is scheduled",
    "Status": "Running",
    "Severity": "Medium",
    "Category": "Security",
    "Source": "/aliyun/ecs",
    "Priority": 2,
    "Solutions": "[{\\n    \\\"priority\\\":3,\\n    \\\"type\\\":\\\"url\\\",\\n    \\\"url\\\":\\\"https://example.com\\\",\\n    \\\"description\\\":\\\"Set cross-zone high availability for the cluster.\\\"\\n}]",
    "Resources": "[\\\"acs:oos:cn-hangzhou:1563457855438522:application/dingTest/applicationgroup/fltest\\\"]",
    "Attributes": "{\\\"regionId\\\":\\\"cn-zhangjiakou\\\",\\\"appId\\\":\\\"992BKO1X75GRQ4E8\\\",\\\"instanceId\\\":\\\"i-8vbcymxagqsyyyjppbr4\\\",\\\"instance_name\\\":\\\"cdae\\\"}",
    "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.