Obtain the VPC configuration.
Try it now
Test
RAM authorization
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.
该文章对您有帮助吗?