edit-icon download-icon

DescribeAccessPoints

Last Updated: Apr 13, 2018

Description

Query the list of access points in a region.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value: DescribeAccessPoints

RegionId String Yes

The region of the access point.

You can obtain the region ID by calling the DescribeRegions API.

PageNumber Integer No The number of pages to return. The default value is 1.
PageSize Integer No The number of rows per page. The maximum value is 50 and the default value is 10.

Response parameters

Name Type Description
RequestId String The ID of the request.
AccessPointSet JSON String

An array of AccessPointTypes.

For more information, see AccessPointSetType.

TotalCount Integer The number of queried entries.
PageNumber Integer The current page number.
PageSize Integer The number of entries on the current page.

Error codes

See VPC API Error Center.

Examples

Request example

  1. http://vpc.aliyuncs.com/?&Action=DescribeAccessPoints
  2. &RegionId=cn-beijing
  3. &<CommonParameters>

Response example

  1. {
  2. "AccessPointSet": {
  3. "AccessPointType": [
  4. {
  5. "Name": "Beijing-FT-A",
  6. "Status": "recommended",
  7. "Description": "cn-beijing-ft-cxp32",
  8. "Type": "VPC",
  9. "Location": "",
  10. "HostOperator": "CINX",
  11. "AttachedRegionNo": "cn-beijing",
  12. "AccessPointId": "ap-cn-beijing-ft-A"
  13. },
  14. {
  15. "Name": "Beijing-YZ-A",
  16. "Status": "recommended",
  17. "Description": "cn-beijing-yz-ne203",
  18. "Type": "VPC",
  19. "Location": "",
  20. "HostOperator": "Vianet",
  21. "AttachedRegionNo": "cn-beijing",
  22. "AccessPointId": "ap-cn-beijing-yz-A"
  23. },
  24. {
  25. "Name": "Beijing-DX-B",
  26. "Status": "recommended",
  27. "Description": "cn-beijing-dx-nu16",
  28. "Type": "VPC",
  29. "Location": "",
  30. "HostOperator": "China Unicom",
  31. "AttachedRegionNo": "cn-beijing",
  32. "AccessPointId": "ap-cn-beijing-dx-B"
  33. },
  34. {
  35. "Name": "Beijing-CP-A",
  36. "Status": "recommended",
  37. "Description": "ap-cn-beijing-cp-CM12",
  38. "Type": "VPC",
  39. "Location": "",
  40. "HostOperator": "China Telecom",
  41. "AttachedRegionNo": "cn-beijing",
  42. "AccessPointId": "ap-cn-beijing-cp-A"
  43. },
  44. {
  45. "Name": "Beijing-DX-A",
  46. "Status": "recommended",
  47. "Description": "cn-beijing-dx-nu17-a",
  48. "Type": "VPC",
  49. "Location": "",
  50. "HostOperator": "GDS",
  51. "AttachedRegionNo": "cn-beijing",
  52. "AccessPointId": "ap-cn-beijing-dx-A"
  53. }
  54. ]
  55. },
  56. "PageNumber": 1,
  57. "TotalCount": 5,
  58. "PageSize": 10,
  59. "RequestId": "3E85D803-C7CF-4BCD-9CFE-6DBA1DFFA027"
  60. }
Thank you! We've received your feedback.