Queries the details of an O&M item.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:GetOpsItem |
get |
*OpsItem
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| OpsItemId |
string |
Yes |
The O&M item ID. |
oi-d52b08695e2b46ae8413 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
8BED4C16-BD30-5E27-94D4-7EBCCECF70C1 |
| OpsItem |
object |
The O&M item details. |
|
| OpsItemId |
string |
The O&M item ID. |
oi-d52b08695e2b46ae8413 |
| CreateDate |
string |
The time when the O&M item was created. |
2023-04-10T06:15Z |
| UpdateDate |
string |
The time when the O&M item was updated. |
2023-04-10T06:15Z |
| Title |
string |
The title of the O&M item. |
test |
| Status |
string |
The status of the O&M item. |
Open |
| 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/appManager |
| Priority |
integer |
The priority of the O&M item. |
1 |
| Tags |
object |
The tags of the O&M item. |
{"K1":"V1"} |
| Solutions |
array<object> |
The solutions for the O&M item. |
|
|
object |
The solution. |
||
| Resources |
array |
The Alibaba Cloud Resource Names (ARNs) of the resources associated with the O&M item. |
|
|
string |
The ARN of the associated resource. |
[\"arn:acs:ecs:cn-hangzhou:1770150251620858:instance/i-bp12tnoea6nwofva06e8\"] |
|
| ResourceGroupId |
string |
The ID of the resource group. |
rg-aekzxkofnlxtn2i |
| Description |
string |
The description. |
test-update |
| CreateBy |
string |
The user who created the O&M item. |
root(130900000) |
| LastModifiedBy |
string |
The user who last modified the O&M item. |
modifiedBy |
| Attributes |
object |
The attributes of the O&M item. |
Examples
Success response
JSON format
{
"RequestId": "8BED4C16-BD30-5E27-94D4-7EBCCECF70C1",
"OpsItem": {
"OpsItemId": "oi-d52b08695e2b46ae8413\n",
"CreateDate": "2023-04-10T06:15Z",
"UpdateDate": "2023-04-10T06:15Z\n",
"Title": "test",
"Status": "Open",
"Severity": "Medium",
"Category": "Security",
"Source": "/aliyun/appManager",
"Priority": 1,
"Tags": {
"K1": "V1"
},
"Solutions": [
{
"test": "test",
"test2": 1
}
],
"Resources": [
"[\\\"arn:acs:ecs:cn-hangzhou:1770150251620858:instance/i-bp12tnoea6nwofva06e8\\\"]"
],
"ResourceGroupId": "rg-aekzxkofnlxtn2i",
"Description": "test-update",
"CreateBy": "root(130900000)\n",
"LastModifiedBy": "modifiedBy",
"Attributes": {
"test": "test",
"test2": 1
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.