edit-icon download-icon

DescribeVpcAccesses

Last Updated: Dec 19, 2017

Description

Queries the list of authorized VPCs.

Request parameters

Name Type Required or not Description
Action String Yes Operation interface name, which is a required parameter; value: DescribeVpcAccesses
PageSize Integer No Number of lines per page set at paging query; maximum value: 100; default value: 10
PageNumber Integer No Page number specified for query; default value: 1; starting number: 1

Return parameters

Name Type Description
RequestId String ID of the current request
TotalCount Integer Total number of returned results
PageNumber Integer Page number specified to be returned
PageSize Integer Specified total number of results returned per page
VpcAccessAttributes VpcAccessAttribute Information about VPC authorization returned in an array composed of VpcAccessAttributes

Example

Request example

  1. https://apigateway.cn-qingdao.aliyuncs.com/?Action=VpcDescribeAccesses
  2. &pageSize=10
  3. &pageNumber=1
  4. &<Public request parameters>

Return example

XML format

  1. <DescribeVpcAccessesResponse>
  2. <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BZ015</RequestId>
  3. <TotalCount>1</TotalCount>
  4. <PageSize>10</PageSize>
  5. <PageNumber>1</PageNumber>
  6. <VpcAccessAttributes>
  7. <VpcAccessAttribute>
  8. <VpcId>vpc-uf657qec7lx42paw3q123</VpcId>
  9. <InstanceId>i-uf6bzcg1pr4oh5jjm123</InstanceId>
  10. <Port>80</Port>
  11. <Name>test</Name>
  12. <CreatedTime>2017-01-30T04:10:19Z</CreatedTime>
  13. </VpcAccessAttribute>
  14. </VpcAccessAttributes>
  15. </DescribeVpcAccessesResponse>

JSON format

  1. {
  2. "TotalCount":1,
  3. "PageSize":10,
  4. "PageNumber":1,
  5. "RequestId":"8883AC74-259D-4C0B-99FC-0B7F9A588B2F",
  6. "VpcAccessAttributes":
  7. {
  8. "VpcAccessAttribute":
  9. [
  10. {
  11. "VpcId":vpc-uf657qec7lx42paw3q123,
  12. "InstanceId":"i-uf6bzcg1pr4oh5jjm123",
  13. "Port":80,
  14. "Name":"test",
  15. "CreatedTime":"2017-01-30T04:10:19Z"
  16. }
  17. ]
  18. }
  19. }
Thank you! We've received your feedback.