GetVcc

Updated at:

Queries the details of a specified Lingjun connection, including the specifications, Express Connect circuit access port type, instance status, bandwidth, and BGP CIDR blocks.

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:GetVcc

get

*Vcc

acs:eflo:{#regionId}:{#accountId}:vcc/{#VccId}

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-wulanchabu

VccId

string

Yes

The Lingjun Connect instance ID.

vcc-cn-zvp2w222***

PageNumber

integer

No

The pagination parameter. This parameter is deprecated.

1

PageSize

integer

No

The pagination parameter. This parameter is deprecated.

20

EnablePage

boolean

No

The pagination parameter. This parameter is deprecated.

false

ClientToken

string

No

The client token used to ensure idempotence for POP API calls. This parameter is not ignored by default.

c5e3130a-d02f-11ec-a7d3-0242ac110005

Response elements

Element

Type

Description

Example

object

The response information.

Code

integer

The response status code.

0

Message

string

The error message. If the instance status is abnormal, this field indicates the cause of the exception.

Success

RequestId

string

The ID of the request.

CAD09E47-B651-5206-B2DC-3AB78C8EB446

Content

object

The response content.

TenantId

string

The tenant ID.

1620939556166279

RegionId

string

The region ID.

cn-wulanchabu

ZoneId

string

The zone ID.

cn-wulanchabu-b

VccId

string

The Lingjun Connect instance ID.

vcc-cn-cqf2xh40101

VpdId

string

The instance ID of the Lingjun CIDR block.

vpd-d3isyds4

VpcId

string

The ID of the virtual private cloud (VPC). You can call the DescribeVpcs operation to query the specified VPC.

vpc-j6ctp4n75306phv5tmpsm

VSwitchId

string

The instance ID of the vSwitch. You can invoke the DescribeVSwitches operation to query created vSwitches.

vsw-uf6u8473r84e6n1n19he5

CenId

string

The ID of the Cloud Enterprise Network (CEN) instance. You can call the DescribeCens operation to query the CEN instances under the current Alibaba Cloud account.

cen-m2iskbojlvda5w65fp

VccName

string

The name of the Lingjun connection instance.

vcc-heyuan-backup

AccessPointId

string

The ID of the access point for the Express Connect circuit. Valid values:

  • ap-cn-wulanchabu-jn-ts-A: Ulanqab-Jining-A

  • ap-cn-heyuan-yc-ts-SA127: Heyuan-Yuancheng-A

Valid values:

  • ap-cn-heyuan-yc-ts-SA127 :

    Heyuan-Yuancheng-A.

  • ap-cn-wulanchabu-jn-ts-A :

    Ulanqab-Jining-A.

ap-cn-wulanchabu-jn-ts-A

LineOperator

string

The Internet service provider (ISP) of the physical connection. Valid values: CO: Other ISPs in China.

Valid values:

  • CO :

    Other ISPs in China.

CO

Spec

string

The specification. Valid values: Large: Large.

Large

PortType

string

The port type of the physical connection. Valid values: 100GBase-LR: 100GBase-LR single-mode optical port (10 km).

Valid values:

  • 100GBase-LR :

    100G

100GBase-LR

PricingCycle

string

The billing cycle. Valid values:

  • Month: Monthly.

  • Year: Yearly.

Month

PayType

string

The billing method of the instance. Valid values:

  • PREPAY: Subscription.

  • POSTPAY: Pay-as-you-go.

PrePay

Duration

string

The renewal cycle.

1

Status

string

The instance status. Valid values:

  • Available: Normal.

  • Not Available: Unavailable.

  • Executing: Executing.

  • Deleting: Deleting.

Available

CurrentNode

string

The current node.

Create Express Connect circuit 1

InternetChargeType

string

The network billing method. Valid values:

  • PayByTraffic: Pay-by-data-transfer.

  • PayByBandwidth: Pay-by-bandwidth.

PayByBandwidth

BandwidthStr

string

The bandwidth.

1G

Message

string

The error message. If the instance status is abnormal, this field indicates the cause of the exception.

Success

CreateTime

string

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

1648085472000

GmtModified

string

The update time.

1648085472000

CommodityCode

string

The commodity code.

bccluster_cloudconnectionpre_public_cn

BgpCidr

string

The BGP CIDR block.

10.4.0.0/24

ExpirationDate

string

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

1678379917000

VpdBaseInfo

object

The Lingjun VPD information. This field applies to scenarios where a legacy Lingjun connection is directly associated with a Lingjun VPD.

VpdId

string

The instance ID of the Lingjun CIDR block.

vpd-ppdunxzc

VpdName

string

The name of the Lingjun VPD instance.

yzp-rg-test3

Cidr

string

The CIDR block.

172.18.0.0/24

CreateTime

string

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

1678379917000

AttachErStatus

boolean

Indicates whether the Lingjun HUB is associated with a network instance. Valid values:

  • true: Associated.

  • false: Not associated.

true

ErInfos

array<object>

The list of associated Lingjun HUBs.

object

The associated Lingjun HUB information.

CreateTime

string

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

1678379917000

GmtModified

string

The update time.

1678379917000

Message

string

The message.

Success

ErId

string

The Lingjun hub ID.

er-p68b0jwn

RegionId

string

The region of the Lingjun hub.

cn-wulanchabu

TenantId

string

The tenant ID.

1620939556166277

Status

string

The status.

Available

ErName

string

The name of the Lingjun hub instance.

er-1

MasterZoneId

string

The primary zone.

cn-wulanchabu-b

Description

string

The description.

Description

Connections

integer

The number of connections.

2

RouteMaps

integer

The number of route maps.

2

AliyunRouterInfo

array<object>

The list of Alibaba Cloud routing information.

object

The Alibaba Cloud routing information.

PcId

string

The ID of the physical connection.

pc-0jlof4bphlsnxbdztkvad

VbrId

string

The ID of the virtual border router (VBR) instance.

vbr-2ze4i85p6vb9nwcan5xt0

LocalGatewayIp

string

The IPv4 address on the Alibaba Cloud side for interconnection.

169.254.248.30

PeerGatewayIp

string

The IPv4 address on the Lingjun side for interconnection.

169.254.248.28

Mask

string

The mask.

255.255.255.248

VlanId

string

The VLAN ID of the VBR instance.

1042

CisRouterInfo

array<object>

The list of Lingjun network routing information.

array<object>

The Lingjun network routing information.

CcrId

string

The ID of the cloud router instance.

ccr-1ms84am0

CcInfos

array<object>

The list of physical connection information.

object

The physical connection information.

CcId

string

The ID of the physical connection.

cc-73aeex5o

VlanId

string

The VLAN ID of the physical connection.

Ethernet1042

LocalGatewayIp

string

The IPv4 address on the Lingjun side for interconnection.

169.254.248.26

RemoteGatewayIp

string

The IPv4 address on the Lingjun side for interconnection.

169.254.248.30

SubnetMask

string

The subnet mask.

255.255.255.248

Status

string

The instance status.

Established

ResourceGroupId

string

The ID of the resource group.

rg-aek2l4sq6l7unhi

Tags

array<object>

The tag information.

You can specify up to 20 tags at a time.

object

The tag information.

TagKey

string

The tag key of the resource.

The tag key cannot be an empty string. It can be up to 64 characters in length, and cannot start with aliyun or acs:. It cannot contain http:// or https://.

You can specify up to 20 tag keys at a time.

tag-vcc

TagValue

string

The tag value of the resource.

The tag value can be empty or a string of up to 128 characters. It cannot start with aliyun or acs:, and cannot contain http:// or https://.

Each tag key corresponds to a tag value. You can specify up to 20 tag values at a time.

vcc-group-1

ConnectionType

string

The connection type. Valid values:

  • VPC

  • CENTR

Valid values:

  • VPC :

    VPC

  • CENTR :

    CENTR

CENTR

CenOwnerId

string

The account to which the Cloud Enterprise Network (CEN) instance belongs.

1620939556166279

VbrInfos

array<object>

The list of VBR information.

array<object>

The VBR information.

VbrId

string

The ID of the VBR.

vbr-wz96agu9h3d50z****

CenId

string

The ID of the CEN instance.

cen-cx0qua8q6cm4z9****

Status

string

The VBR status. Valid values:

  • unconfirmed: Pending confirmation.

  • active: Normal.

  • terminating: Terminating.

  • terminated: Terminated.

  • recovering: Recovering.

  • deleting: Deleting.

  • Available: Available.

Available

GmtCreate

string

The creation time.

1683250981000

GmtModified

string

The update time.

1673578603000

VbrBgpPeers

array<object>

The list of BGP peer information.

object

The BGP peer information.

BgpGroupId

string

The ID of the BGP group.

bgpg-2ze2sit2vakrkapvy****

BgpPeerId

string

The ID of the BGP peer.

bgp-uf6heugif9enu48rj****

PeerIpAddress

string

The IP address of the BGP peer.

169.254.****

PeerAsn

string

The peer ASN.

98765****

Status

string

The status of the BGP peer. Valid values:

  • Pending: Pending.

  • Available: Available.

  • Modifying: Modifying.

  • Deleting: Deleting.

  • Deleted: Deleted.

  • Not Available: Unavailable.

Available

BgpAsn

string

The BGP ASN.

45644

Bandwidth

integer

The bandwidth.

100

AccessDeniedDetail

string

The detailed reason for access denial.

None

Examples

Success response

JSON format

{
  "Code": 0,
  "Message": "Succeeded",
  "RequestId": "CAD09E47-B651-5206-B2DC-3AB78C8EB446",
  "Content": {
    "TenantId": "1620939556166279",
    "RegionId": "cn-wulanchabu",
    "ZoneId": "cn-wulanchabu-b",
    "VccId": "vcc-cn-cqf2xh40101",
    "VpdId": "vpd-d3isyds4",
    "VpcId": "vpc-j6ctp4n75306phv5tmpsm",
    "VSwitchId": "vsw-uf6u8473r84e6n1n19he5",
    "CenId": "cen-m2iskbojlvda5w65fp",
    "VccName": "vcc-heyuan-backup",
    "AccessPointId": "ap-cn-wulanchabu-jn-ts-A",
    "LineOperator": "CO",
    "Spec": "Large",
    "PortType": "100GBase-LR",
    "PricingCycle": "Month",
    "PayType": "PrePay",
    "Duration": "1",
    "Status": "Available",
    "CurrentNode": "task-xxx-node-x",
    "InternetChargeType": "PayByBandwidth",
    "BandwidthStr": "1G",
    "Message": "You don't have the permission of this operation, action=eflo:GetVcc, arn=acs:eflo:cn-heyuan:1263399219805497:vcc/vcc-cn-fhh3yxjwe01, resourceGroup=null",
    "CreateTime": "1648085472000",
    "GmtModified": "1648085472000",
    "CommodityCode": "bccluster_cloudconnectionpre_public_cn",
    "BgpCidr": "10.4.0.0/24",
    "ExpirationDate": "1678379917000",
    "VpdBaseInfo": {
      "VpdId": "vpd-ppdunxzc",
      "VpdName": "yzp-rg-test3",
      "Cidr": "172.18.0.0/24",
      "CreateTime": "1678379917000"
    },
    "AttachErStatus": true,
    "ErInfos": [
      {
        "CreateTime": "1678379917000",
        "GmtModified": "1678379917000",
        "Message": "test message",
        "ErId": "er-p68b0jwn",
        "RegionId": "cn-wulanchabu",
        "TenantId": "1620939556166277",
        "Status": "Available",
        "ErName": "er-1",
        "MasterZoneId": "cn-wulanchabu-b",
        "Description": "Description",
        "Connections": 2,
        "RouteMaps": 2
      }
    ],
    "AliyunRouterInfo": [
      {
        "PcId": "pc-0jlof4bphlsnxbdztkvad",
        "VbrId": "vbr-2ze4i85p6vb9nwcan5xt0",
        "LocalGatewayIp": "169.254.248.30",
        "PeerGatewayIp": "169.254.248.28",
        "Mask": "255.255.255.248",
        "VlanId": "1042"
      }
    ],
    "CisRouterInfo": [
      {
        "CcrId": "ccr-1ms84am0",
        "CcInfos": [
          {
            "CcId": "cc-73aeex5o",
            "VlanId": "Ethernet1042",
            "LocalGatewayIp": "169.254.248.26",
            "RemoteGatewayIp": "169.254.248.30\n",
            "SubnetMask": "255.255.255.248",
            "Status": "Established"
          }
        ]
      }
    ],
    "ResourceGroupId": "rg-aek2l4sq6l7unhi",
    "Tags": [
      {
        "TagKey": "tag-vcc",
        "TagValue": "vcc-group-1"
      }
    ],
    "ConnectionType": "CENTR",
    "CenOwnerId": "1620939556166279",
    "VbrInfos": [
      {
        "VbrId": "vbr-wz96agu9h3d50z****",
        "CenId": "cen-cx0qua8q6cm4z9****",
        "Status": "Available",
        "GmtCreate": "1683250981000",
        "GmtModified": "1673578603000",
        "VbrBgpPeers": [
          {
            "BgpGroupId": "bgpg-2ze2sit2vakrkapvy****",
            "BgpPeerId": "bgp-uf6heugif9enu48rj****",
            "PeerIpAddress": "169.254.****",
            "PeerAsn": "98765****",
            "Status": "Available"
          }
        ]
      }
    ],
    "BgpAsn": "45644",
    "Bandwidth": 20
  },
  "AccessDeniedDetail": "None"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.