GetVpd

Updated at:

Queries the details of a Lingjun VPD, including the VPD status, CIDR block, service CIDR block, and the number of subnets and NCs.

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

get

*Vpd

acs:eflo:{#regionId}:{#accountId}:vpd/{#VpdId}

None None

Request parameters

Parameter

Type

Required

Description

Example

VpdId

string

Yes

The instance ID of the Lingjun VPD CIDR block.

vpd-ze3na***

RegionId

string

Yes

The region ID.

cn-wulanchabu

Response elements

Element

Type

Description

Example

object

The response object.

Code

integer

The response code.

0

Message

string

The response message.

success

RequestId

string

The ID of the request.

A88DFED5-24B7-5A3E-87DE-380BF06F3C90

Content

object

The response content.

RegionId

string

The region ID.

cn-wulanchabu

VpdId

string

The Lingjun CIDR block (VPD) instance ID.

vpd-fulie***

VpdName

string

The name of the Lingjun VPD instance.

vpd-1

Cidr

string

The CIDR block.

10.0.0.0/8

ServiceCidr

string

The internal service CIDR block.

169.254.252.0/23

Status

string

The instance status.

Valid values:

  • Not Available:不可用 :

    Not Available: Unavailable.

  • Available:正常 :

    Available: Normal.

  • Deleting:删除中 :

    Deleting: Deleting.

  • Executing:执行中 :

    Executing: Executing.

Available

Message

string

The error message. This parameter indicates the cause when the instance status is abnormal.

Available

NcCount

integer

The number of NCs.

16

NetworkInterfaceCount

integer

The number of Lingjun network interfaces.

1

SubnetCount

integer

The number of Lingjun subnets.

1

CreateTime

string

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

2023-10-25 15:57:16

GmtModified

string

The update time.

2023-10-25 15:57:16

TenantId

string

The tenant ID.

162093***166279

ErInfos

array<object>

The information about the associated Lingjun HUB (ER).

object

The information about the associated Lingjun HUB (ER).

CreateTime

string

The creation time.

2023-10-25 15:57:16

GmtModified

string

The update time.

2023-10-25 15:57:16

Message

string

The prompt message.

success

ErId

string

The Elastic Router (ER) instance ID for routing.

er-a7rqv1rq***

RegionId

string

The ID of the region to which the Elastic Router (ER) belongs.

cn-wulanchabu

TenantId

string

The tenant ID.

162093***166279

Status

string

The status.

Available

ErName

string

The name of the Elastic Router (ER) 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

AttachErStatus

boolean

Specifies whether a Lingjun HUB (ER) is associated. Valid values:

  • true: An ER is associated.

  • false: No ER is associated.

true

ResourceGroupId

string

The ID of the resource group.

rg-aek2l4sq6l7u***

Tags

array<object>

The tag information. You can specify up to 20 tags at a time.

object

The tag information of the resource.

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-subent-region

TagValue

string

The tag value of the resource. The tag value can be an empty string 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.

cn-wulanchabu

Quota

integer

The total quota information.

10

PrivateIpCount

integer

The total number of secondary private IP addresses.

10

SecondaryCidrBlocks

array

The list of secondary CIDR blocks.

string

The secondary CIDR block information.

10.0.0.0/8

AccessDeniedDetail

string

The detailed reason for access denial.

None

Examples

Success response

JSON format

{
  "Code": 0,
  "Message": "Available",
  "RequestId": "A88DFED5-24B7-5A3E-87DE-380BF06F3C90",
  "Content": {
    "RegionId": "cn-wulanchabu",
    "VpdId": "vpd-fuliephf",
    "VpdName": "vpd-1",
    "Cidr": "10.0.0.0/8",
    "ServiceCidr": "169.254.252.0/23",
    "Status": "Available",
    "Message": "success",
    "NcCount": 16,
    "NetworkInterfaceCount": 1,
    "SubnetCount": 1,
    "CreateTime": "1678273219000",
    "GmtModified": "2023-10-25 15:57:16",
    "TenantId": "1620939556166279",
    "ErInfos": [
      {
        "CreateTime": "1678273219000",
        "GmtModified": "1678273219000",
        "Message": "success",
        "ErId": "er-a7rqv1rq",
        "RegionId": "cn-wulanchabu",
        "TenantId": "t464p4fql1bog",
        "Status": "Available",
        "ErName": "er-1",
        "MasterZoneId": "cn-wulanchabu-b",
        "Description": "Description",
        "Connections": 2,
        "RouteMaps": 2
      }
    ],
    "AttachErStatus": true,
    "ResourceGroupId": "rg-aek2l4sq6l7unhi",
    "Tags": [
      {
        "TagKey": "tag-subent-region",
        "TagValue": "cn-wulanchabu"
      }
    ],
    "Quota": 10,
    "PrivateIpCount": 10,
    "SecondaryCidrBlocks": [
      "10.0.0.0/8\n"
    ]
  },
  "AccessDeniedDetail": "None"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.