GetVpcConfig

更新时间:
复制 MD 格式

Obtain the VPC configuration.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /dlf/v1/auth/vpc HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

object

trustedVpcs

array<object>

List of trusted VPCs.

array<object>

A trusted VPC.

vpcId

string

The ID of the VPC.

vpc-uf67xxxx

extendedOptions

object

List of configuration items.

string

A configuration item.

option

createdAt

integer

The time when the VPC was created, in UNIX timestamp milliseconds.

1744970111419

Examples

Success response

JSON format

{
  "trustedVpcs": [
    {
      "vpcId": "vpc-uf67xxxx",
      "extendedOptions": {
        "key": "option"
      },
      "createdAt": 1744970111419
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.