Retrieves the details of an operations and maintenance (O&M) notice.
Operation description
The service must be approved before it can be published.
Try it now
RAM authorization
The following table describes the RAM authorization required to call this API. To grant permissions, define a Resource Access Management (RAM) policy using the information below.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| computenestsupplier:GetOpsNotice | get | *All Resource * |
None | None |
Column descriptions:
-
Action: The action to include in the
Actionelement of a RAM policy statement. -
Access level: The predefined access level for the API. Valid values: create, list, get, update, and delete.
-
Resource type: The resource type that supports authorization. An asterisk (*) marks required resource types — specify the corresponding Alibaba Cloud Resource Name (ARN) in the
Resourceelement. If shown as All Resource, use an asterisk (*) in theResourceelement. -
Condition key: The condition keys defined by the service, used for granular access control. In addition to service-specific condition keys, Alibaba Cloud provides common condition keys that apply across all RAM-supported services.
-
Dependent action: Additional actions the RAM user or role must have permission to perform before this action can succeed.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | No | The region ID. | cn-hangzhou |
| NoticeId | string | Yes | The notice ID. | notice-2338dxxxxxx |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | |||
| NoticeId | string | The ID of the notice. | notice-2338d3835bxxxxx |
| Type | string | The type of the notice. Valid values:
|
ServiceInstanceUpgrade |
| ServiceId | string | The service ID. | service-c2d118c9193e49xxxxxx |
| ServiceName | string | The service name. | Wordpress Community Edition |
| Category | string | The category of the O&M item. Valid values:
|
Availability |
| Severity | string | The severity of the O&M item. Valid values:
|
Critical |
| Content | string | The message content. | message |
| Solutions | string | The solutions. | Solutions |
| Attributes | string | The non-public properties of the O&M item. | {\"cveId\":\"CVE-2021-4034\"} |
| StartTime | string | The start time. | 2024-11-18T02:05:00Z |
| Success | string | Indicates whether the operation was successful. A value of true indicates success. | true |
| UserCount | string | The number of users who received the notice. | 1 |
| ServiceInstanceCount | string | The number of service instances involved. | 2 |
| RequestId | string | The request ID. | 1B3AD3CC-E938-5042-A771-7FD9A2FE03F3 |
| ServiceVersions | array | The published service versions. | |
| string | A published service version. | 1 |
Examples
Success response
JSON format
{
"NoticeId": "notice-2338d3835bxxxxx",
"Type": "ServiceInstanceUpgrade",
"ServiceId": "service-c2d118c9193e49xxxxxx",
"ServiceName": "Wordpress Community Edition",
"Category": "Availability",
"Severity": "Critical",
"Content": "message",
"Solutions": "Solutions",
"Attributes": "{\\\"cveId\\\":\\\"CVE-2021-4034\\\"}",
"StartTime": "2024-11-18T02:05:00Z",
"Success": "true",
"UserCount": "1",
"ServiceInstanceCount": "2",
"RequestId": "1B3AD3CC-E938-5042-A771-7FD9A2FE03F3",
"ServiceVersions": [
"1"
]
}
Error codes
See Error codes for a complete list.
Release notes
See Release notes for a complete list.