Modifies an O&M item.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:UpdateOpsItem |
update |
*OpsItem
|
|
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:
|
Medium |
| Source |
string |
No |
The source of the O&M item. |
/aliyun/ecs |
| Category |
string |
No |
The category. Valid values:
|
Security |
| Priority |
integer |
No |
The priority. Valid values:
|
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:
|
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.