GetEscalationPlan

Updated at:

Retrieves the details of a specified dynamic lookup table.

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

gemp:GetEscalationPlan

get

*All Resource

*

None None

Request syntax

POST /escalationPlan/detail HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

body

object

No

A short description of struct

escalationPlanId

integer

Yes

The ID of the upgrade plan.

345

clientToken

string

No

The idempotency token.

A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST

Response elements

Element

Type

Description

Example

object

Schema of Response

requestId

string

Id of the request

A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST

data

object

data

escalationPlanId

integer

The ID of the upgrade plan.

2345

escalationPlanName

string

The name of the upgrade plan.

Upgrade plan 234

escalationPlanDescription

string

The description of the upgrade plan.

Description 1234

escalationPlanScopeObjects

array<object>

The list of scope objects for the upgrade plan.

object

object

scopeObjectId

integer

The ID of the scope object.

234

scope

string

The object type.

SERVICE

scopeObjectName

string

The name of the scope object.

XX service

escalationPlanScopeObjects

integer

The service deletion field. Valid values: 1: Normal. 0: Deleted.

1

scopeObjectDeletedType

integer

The service deletion field. Valid values: 1: Normal. 0: Deleted.

1

escalationPlanRules

array<object>

The list of rules for the upgrade plan.

array<object>

object

escalationPlanRuleId

integer

The ID of the upgrade plan.

345

escalationPlanConditions

array<object>

The conditions for the upgrade plan.

object

object

level

string

The event level.

P1

effection

string

The impact level.

LOW

escalationPlanStrategies

array<object>

The strategies for the upgrade plan.

array<object>

object

noticeTime

integer

The notification time.

40

escalationPlanType

string

The type of the upgrade plan.

UN_ACKNOWLEDGE

noticeObjectList

array<object>

The list of notification recipients.

object

object

noticeObjectId

integer

The ID of the notification recipient.

234

noticeObjectName

string

The name of the notification recipient.

John Doe

noticeChannels

string

The channels of the notification recipient.

SMS

enableWebhook

boolean

Specifies whether group notifications are supported.

true

serviceGroups

array<object>

The list of service groups.

object

The content of the service group.

id

integer

The ID of the service group.

343

serviceGroupName

string

The name of the service group.

VCD service

noticeObjects

array

The notification recipients.

integer

The ID of the notification recipient.

111

noticeRoleList

array

The list of role IDs.

integer

The list of role IDs.

222

noticeRoleObjectList

array<object>

The list of role objects.

object

The list of role objects.

id

integer

The ID of the notification recipient.

111

name

string

The name of the notification recipient.

XX service group

createTime

string

The creation time. The format is YYYY-MM-DD HH:mm:ss.

2021-09-09 09:09:09

isGlobal

boolean

Specifies whether the policy is a global policy. Valid values:

  • true: Yes.

  • false: No.

true

Examples

Success response

JSON format

{
  "requestId": "A5A1FEAE-9C47-011C-9C73-A376BC2REQUEST",
  "data": {
    "escalationPlanId": 2345,
    "escalationPlanName": "升级计划234",
    "escalationPlanDescription": "描述1234",
    "escalationPlanScopeObjects": [
      {
        "scopeObjectId": 234,
        "scope": "SERVICE",
        "scopeObjectName": "xx服务",
        "escalationPlanScopeObjects": 1,
        "scopeObjectDeletedType": 1
      }
    ],
    "escalationPlanRules": [
      {
        "escalationPlanRuleId": 345,
        "escalationPlanConditions": [
          {
            "level": "P1",
            "effection": "LOW"
          }
        ],
        "escalationPlanStrategies": [
          {
            "noticeTime": 40,
            "escalationPlanType": "UN_ACKNOWLEDGE",
            "noticeObjectList": [
              {
                "noticeObjectId": 234,
                "noticeObjectName": "张老三"
              }
            ],
            "noticeChannels": "SMS",
            "enableWebhook": true,
            "serviceGroups": [
              {
                "id": 343,
                "serviceGroupName": "VCD是"
              }
            ],
            "noticeObjects": [
              111
            ],
            "noticeRoleList": [
              222
            ],
            "noticeRoleObjectList": [
              {
                "id": 111,
                "name": "XX服务组"
              }
            ]
          }
        ]
      }
    ],
    "createTime": "2021-09-09 09:09:09",
    "isGlobal": true
  }
}

Error codes

HTTP status code

Error code

Error message

Description

404 EscalationPlanNotExists The specified escalation plan does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.