GetOpsNotice

Updated at:

Retrieves the details of an O&M announcement.

Operation description

The service to be published must be an approved service.

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

computenestsupplier:GetOpsNotice

get

*OpsNotice

acs:computenestsupplier:{#regionId}:{#accountId}:opsnotice/{#OpsNoticeId}

None None

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 notice ID.

notice-2338d3835bxxxxx

Type

string

The notice type. Valid values:

  • ServiceInstanceUpgrade: Upgrade.

  • VulnerabilityFix: Vulnerability.

ServiceInstanceUpgrade

ServiceId

string

The service ID.

service-c2d118c9193e49xxxxxx

ServiceName

string

The service name.

WordPress Community Edition

Category

string

The category. Valid values:

  • Availability: Availability.

  • Cost: Cost.

  • Performance: Performance.

  • Recovery: Backup and recovery.

  • Security: Security.

Availability

Severity

string

The severity of the O&M item. Valid values:

  • Critical: Critical.

  • High: High.

  • Medium: Medium.

  • Low: Low.

Critical

Content

string

The message content.

message

Solutions

string

The solutions.

Solutions

Attributes

string

The non-common attributes 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 is successful. A value of true indicates success.

true

UserCount

string

The number of users who received the announcement.

1

ServiceInstanceCount

string

The number of service instances involved.

2

RequestId

string

The request ID.

1B3AD3CC-E938-5042-A771-7FD9A2FE03F3

ServiceVersions

array

The list of published service versions.

string

The list of published service versions.

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.