GetEr

Updated at:

Queries a Lingjun HUB.

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

eflo:GetEr

get

*Er

acs:eflo:{#regionId}:{#accountId}:Er/{#ErId}

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

Yes

The region ID.

cn-wulanchabu

ErId

string

Yes

The Lingjun HUB ID.

er-kkopgtne

Response elements

Element

Type

Description

Example

object

The response information.

Code

integer

The business code. A value of 0 indicates success.

0

Message

string

The message returned when the call fails.

success

RequestId

string

The ID of the request.

308DE9D2-03A6-5B44-A369-67B75D1EE091

Content

object

The response content.

CreateTime

string

The creation time. The value is a 13-digit UNIX timestamp in milliseconds.

1644283112720

GmtModified

string

The update time.

1627545952000

Message

string

The message.

Success

ErId

string

The instance ID of the Lingjun HUB.

er-aueyxxsy

RegionId

string

The region ID.

cn-wulanchabu

TenantId

string

The tenant ID.

1620939556166277

Status

string

The status.

Available

ErName

string

The name of the Lingjun HUB instance.

er-heyuan-main

MasterZoneId

string

The primary zone.

cn-wulanchabu-b

Description

string

The description.

Description

ErAttachments

array<object>

The list of network instance information.

object

The network instance information.

Status

string

The status.

Available

Message

string

The message.

Available

ResourceGroupId

string

The instance ID of the resource group.

rg-acfmyoj5mg3w54y

InstanceId

string

The instance ID.

vpd-kkopgtne

CreateTime

string

The creation time. The value is a 13-digit UNIX timestamp in milliseconds.

1644283112720

GmtModified

string

The update time.

1649303733000

ErId

string

The instance ID of the Lingjun HUB.

er-kkopgtne

Across

boolean

Indicates whether the attachment is cross-account.

false

InstanceName

string

The instance name.

Lingjun VPD instance

TenantId

string

The tenant ID.

1620939556166277

ResourceTenantId

string

The ID of the tenant to which the resource belongs.

123456789012****

AutoReceiveAllRoute

boolean

Indicates whether all routes are automatically received.

true

ErAttachmentName

string

The network instance name.

ER network instance-vpd-kkopgtne

ErAttachmentId

string

The connection ID of the Lingjun HUB network instance.

er-attachment-f32hxfsu

RegionId

string

The region information.

cn-wulanchabu

InstanceType

string

The instance type. Valid values: VPD and VCC.

Valid values:

  • VCC :

    Lingjun connection.

  • VPD :

    Lingjun VPD.

VPD

ErRouteMaps

array<object>

The list of route map information.

object

The route map information.

Status

string

The status.

Available

TransmissionInstanceType

string

The source instance type.

VPD

Action

string

The policy action.

Valid values:

  • deny :

    Deny.

  • permit :

    Permit.

permit

Description

string

The policy description.

test

ReceptionInstanceType

string

The destination instance type.

VPD

Message

string

The message.

Success

ErRouteMapName

string

The routing policy name.

Route entry information

ReceptionInstanceId

string

The destination instance ID.

vpd-sdkd2gkx

ResourceGroupId

string

The resource group instance ID.

rg-1234567890

CreateTime

string

The creation time. The value is a 13-digit UNIX timestamp in milliseconds.

1645766599809

GmtModified

string

The update time.

1623899444000

ErId

string

The Lingjun HUB ID.

er-kkopgtne

TransmissionInstanceName

string

The name of the source instance.

Source instance

DestinationCidrBlock

string

The destination CIDR block.

10.0.0.0/8

ReceptionInstanceOwner

string

The tenant to which the destination instance belongs.

1620939556166277

TenantId

string

The tenant ID.

XXQGPROD-zh_CN

ReceptionInstanceName

string

The name of the destination instance.

Destination instance

ErRouteMapId

string

The ID of the route map.

er-rmap-xkslnmsr

TransmissionInstanceOwner

string

The tenant to which the source instance belongs.

1620939556166277

RegionId

string

The region ID.

cn-wulanchabu

TransmissionInstanceId

string

The source instance ID.

vpd-xmglsymg

RouteMapNum

integer

The sequence number of the route map. Valid values: 1001 to 2000.

1001

ErRouteEntrys

array<object>

The routing route entry information list.

object

The route entry.

Status

string

The status.

Available

NextHopType

string

The next hop instance type.

VCC

TenantId

string

The tenant ID.

1620939556166277

ResourceTenantId

string

The ID of the tenant to which the resource belongs.

1620939556166277

RouteType

string

The route type.

System

ErRouteEntryId

string

The ID of the route entry.

er-rte-xnmsd2kl

ResourceGroupId

string

The resource group instance ID.

rg-acfmyoj5mg3w54y

NextHopId

string

The next hop instance.

vcc-xxkmggkw

GmtModified

string

The update time.

1623317089000

ErId

string

The Lingjun hub instance ID.

er-kkopgtne

RegionId

string

The region.

cn-wulanchabu

DestinationCidrBlock

string

The destination CIDR block.

10.0.0.0/9

ResourceGroupId

string

The resource group instance ID.

rg-aek2l4sq6l7unhi

Tags

array<object>

The list of tags.

object

TagKey

string

The tag key.

key

TagValue

string

The tag value.

value

AccessDeniedDetail

string

The details of the permission check failure.

{}

Examples

Success response

JSON format

{
  "Code": 0,
  "Message": "success",
  "RequestId": "308DE9D2-03A6-5B44-A369-67B75D1EE091",
  "Content": {
    "CreateTime": "1644283112720",
    "GmtModified": "1627545952000",
    "Message": "Success",
    "ErId": "er-aueyxxsy",
    "RegionId": "cn-wulanchabu",
    "TenantId": "1620939556166277",
    "Status": "Available",
    "ErName": "er-heyuan-main",
    "MasterZoneId": "cn-wulanchabu-b",
    "Description": "Description",
    "ErAttachments": [
      {
        "Status": "Available",
        "Message": "Active",
        "ResourceGroupId": "rg-acfmyoj5mg3w54y",
        "InstanceId": "vpd-kkopgtne",
        "CreateTime": "1644283112720",
        "GmtModified": "1649303733000",
        "ErId": "er-kkopgtne",
        "Across": false,
        "InstanceName": "Lingjun network segment instance",
        "TenantId": "1620939556166277",
        "ResourceTenantId": "123456789012****",
        "AutoReceiveAllRoute": true,
        "ErAttachmentName": "ER network instance-vpd-kkopgtne",
        "ErAttachmentId": "er-attachment-f32hxfsu",
        "RegionId": "cn-wulanchabu",
        "InstanceType": "VPD"
      }
    ],
    "ErRouteMaps": [
      {
        "Status": "Available",
        "TransmissionInstanceType": "VPD",
        "Action": " permit",
        "Description": "test",
        "ReceptionInstanceType": "VPD",
        "Message": "Success",
        "ErRouteMapName": "Route entry information",
        "ReceptionInstanceId": "vpd-sdkd2gkx",
        "ResourceGroupId": "rg-1234567890",
        "CreateTime": "1645766599809",
        "GmtModified": "1623899444000",
        "ErId": "er-kkopgtne",
        "TransmissionInstanceName": "Sending instance",
        "DestinationCidrBlock": "10.0.0.0/8",
        "ReceptionInstanceOwner": "1620939556166277",
        "TenantId": "XXQGPROD-zh_CN",
        "ReceptionInstanceName": "Receiving instance",
        "ErRouteMapId": "er-rmap-xkslnmsr",
        "TransmissionInstanceOwner": "1620939556166277",
        "RegionId": "cn-wulanchabu",
        "TransmissionInstanceId": "vpd-xmglsymg",
        "RouteMapNum": 1001
      }
    ],
    "ErRouteEntrys": [
      {
        "Status": "Available",
        "NextHopType": "VCC",
        "TenantId": "1620939556166277",
        "ResourceTenantId": "1620939556166277",
        "RouteType": "System",
        "ErRouteEntryId": "er-rte-xnmsd2kl",
        "ResourceGroupId": "rg-acfmyoj5mg3w54y",
        "NextHopId": "vcc-xxkmggkw",
        "GmtModified": "1623317089000",
        "ErId": "er-kkopgtne",
        "RegionId": "cn-wulanchabu",
        "DestinationCidrBlock": "10.0.0.0/9"
      }
    ],
    "ResourceGroupId": "rg-aek2l4sq6l7unhi",
    "Tags": [
      {
        "TagKey": "key",
        "TagValue": "value"
      }
    ]
  },
  "AccessDeniedDetail": "{}"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.