1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getDcAccessPoints
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getDcAccessPoints

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of dc access_points

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const accessPoints = tencentcloud.getDcAccessPoints({
        regionId: "ap-guangzhou",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    access_points = tencentcloud.get_dc_access_points(region_id="ap-guangzhou")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetDcAccessPoints(ctx, &tencentcloud.GetDcAccessPointsArgs{
    			RegionId: pulumi.StringRef("ap-guangzhou"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var accessPoints = Tencentcloud.GetDcAccessPoints.Invoke(new()
        {
            RegionId = "ap-guangzhou",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetDcAccessPointsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var accessPoints = TencentcloudFunctions.getDcAccessPoints(GetDcAccessPointsArgs.builder()
                .regionId("ap-guangzhou")
                .build());
    
        }
    }
    
    variables:
      accessPoints:
        fn::invoke:
          function: tencentcloud:getDcAccessPoints
          arguments:
            regionId: ap-guangzhou
    

    Using getDcAccessPoints

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDcAccessPoints(args: GetDcAccessPointsArgs, opts?: InvokeOptions): Promise<GetDcAccessPointsResult>
    function getDcAccessPointsOutput(args: GetDcAccessPointsOutputArgs, opts?: InvokeOptions): Output<GetDcAccessPointsResult>
    def get_dc_access_points(id: Optional[str] = None,
                             region_id: Optional[str] = None,
                             result_output_file: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetDcAccessPointsResult
    def get_dc_access_points_output(id: Optional[pulumi.Input[str]] = None,
                             region_id: Optional[pulumi.Input[str]] = None,
                             result_output_file: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetDcAccessPointsResult]
    func GetDcAccessPoints(ctx *Context, args *GetDcAccessPointsArgs, opts ...InvokeOption) (*GetDcAccessPointsResult, error)
    func GetDcAccessPointsOutput(ctx *Context, args *GetDcAccessPointsOutputArgs, opts ...InvokeOption) GetDcAccessPointsResultOutput

    > Note: This function is named GetDcAccessPoints in the Go SDK.

    public static class GetDcAccessPoints 
    {
        public static Task<GetDcAccessPointsResult> InvokeAsync(GetDcAccessPointsArgs args, InvokeOptions? opts = null)
        public static Output<GetDcAccessPointsResult> Invoke(GetDcAccessPointsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDcAccessPointsResult> getDcAccessPoints(GetDcAccessPointsArgs args, InvokeOptions options)
    public static Output<GetDcAccessPointsResult> getDcAccessPoints(GetDcAccessPointsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDcAccessPoints:getDcAccessPoints
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    RegionId string
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    ResultOutputFile string
    Used to save results.
    Id string
    RegionId string
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    ResultOutputFile string
    Used to save results.
    id String
    regionId String
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    resultOutputFile String
    Used to save results.
    id string
    regionId string
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    resultOutputFile string
    Used to save results.
    id str
    region_id str
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    result_output_file str
    Used to save results.
    id String
    regionId String
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    resultOutputFile String
    Used to save results.

    getDcAccessPoints Result

    The following output properties are available:

    AccessPointSets List<GetDcAccessPointsAccessPointSet>
    Access point information.
    Id string
    RegionId string
    ID of the region that manages the access point.
    ResultOutputFile string
    AccessPointSets []GetDcAccessPointsAccessPointSet
    Access point information.
    Id string
    RegionId string
    ID of the region that manages the access point.
    ResultOutputFile string
    accessPointSets List<GetDcAccessPointsAccessPointSet>
    Access point information.
    id String
    regionId String
    ID of the region that manages the access point.
    resultOutputFile String
    accessPointSets GetDcAccessPointsAccessPointSet[]
    Access point information.
    id string
    regionId string
    ID of the region that manages the access point.
    resultOutputFile string
    access_point_sets Sequence[GetDcAccessPointsAccessPointSet]
    Access point information.
    id str
    region_id str
    ID of the region that manages the access point.
    result_output_file str
    accessPointSets List<Property Map>
    Access point information.
    id String
    regionId String
    ID of the region that manages the access point.
    resultOutputFile String

    Supporting Types

    GetDcAccessPointsAccessPointSet

    AccessPointId string
    Unique access point ID.
    AccessPointName string
    Access point name.
    AccessPointType string
    Access point type. Valid values: VXLAN, QCPL, and QCAR.Note: this field may return null, indicating that no valid values can be obtained.
    Area string
    Access point regionNote: this field may return null, indicating that no valid values can be obtained.
    AvailablePortTypes List<string>
    Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return null, indicating that no valid value is obtained.
    City string
    City where the access point is locatedNote: this field may return null, indicating that no valid values can be obtained.
    Coordinates List<GetDcAccessPointsAccessPointSetCoordinate>
    Latitude and longitude of the access pointNote: this field may return null, indicating that no valid values can be obtained.
    LineOperators List<string>
    List of ISPs supported by access point.
    Location string
    Access point location.
    RegionId string
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    State string
    Access point status. Valid values: available, unavailable.
    AccessPointId string
    Unique access point ID.
    AccessPointName string
    Access point name.
    AccessPointType string
    Access point type. Valid values: VXLAN, QCPL, and QCAR.Note: this field may return null, indicating that no valid values can be obtained.
    Area string
    Access point regionNote: this field may return null, indicating that no valid values can be obtained.
    AvailablePortTypes []string
    Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return null, indicating that no valid value is obtained.
    City string
    City where the access point is locatedNote: this field may return null, indicating that no valid values can be obtained.
    Coordinates []GetDcAccessPointsAccessPointSetCoordinate
    Latitude and longitude of the access pointNote: this field may return null, indicating that no valid values can be obtained.
    LineOperators []string
    List of ISPs supported by access point.
    Location string
    Access point location.
    RegionId string
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    State string
    Access point status. Valid values: available, unavailable.
    accessPointId String
    Unique access point ID.
    accessPointName String
    Access point name.
    accessPointType String
    Access point type. Valid values: VXLAN, QCPL, and QCAR.Note: this field may return null, indicating that no valid values can be obtained.
    area String
    Access point regionNote: this field may return null, indicating that no valid values can be obtained.
    availablePortTypes List<String>
    Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return null, indicating that no valid value is obtained.
    city String
    City where the access point is locatedNote: this field may return null, indicating that no valid values can be obtained.
    coordinates List<GetDcAccessPointsAccessPointSetCoordinate>
    Latitude and longitude of the access pointNote: this field may return null, indicating that no valid values can be obtained.
    lineOperators List<String>
    List of ISPs supported by access point.
    location String
    Access point location.
    regionId String
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    state String
    Access point status. Valid values: available, unavailable.
    accessPointId string
    Unique access point ID.
    accessPointName string
    Access point name.
    accessPointType string
    Access point type. Valid values: VXLAN, QCPL, and QCAR.Note: this field may return null, indicating that no valid values can be obtained.
    area string
    Access point regionNote: this field may return null, indicating that no valid values can be obtained.
    availablePortTypes string[]
    Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return null, indicating that no valid value is obtained.
    city string
    City where the access point is locatedNote: this field may return null, indicating that no valid values can be obtained.
    coordinates GetDcAccessPointsAccessPointSetCoordinate[]
    Latitude and longitude of the access pointNote: this field may return null, indicating that no valid values can be obtained.
    lineOperators string[]
    List of ISPs supported by access point.
    location string
    Access point location.
    regionId string
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    state string
    Access point status. Valid values: available, unavailable.
    access_point_id str
    Unique access point ID.
    access_point_name str
    Access point name.
    access_point_type str
    Access point type. Valid values: VXLAN, QCPL, and QCAR.Note: this field may return null, indicating that no valid values can be obtained.
    area str
    Access point regionNote: this field may return null, indicating that no valid values can be obtained.
    available_port_types Sequence[str]
    Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return null, indicating that no valid value is obtained.
    city str
    City where the access point is locatedNote: this field may return null, indicating that no valid values can be obtained.
    coordinates Sequence[GetDcAccessPointsAccessPointSetCoordinate]
    Latitude and longitude of the access pointNote: this field may return null, indicating that no valid values can be obtained.
    line_operators Sequence[str]
    List of ISPs supported by access point.
    location str
    Access point location.
    region_id str
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    state str
    Access point status. Valid values: available, unavailable.
    accessPointId String
    Unique access point ID.
    accessPointName String
    Access point name.
    accessPointType String
    Access point type. Valid values: VXLAN, QCPL, and QCAR.Note: this field may return null, indicating that no valid values can be obtained.
    area String
    Access point regionNote: this field may return null, indicating that no valid values can be obtained.
    availablePortTypes List<String>
    Available port type at the access point. Valid values: 1000BASE-T: gigabit electrical port; 1000BASE-LX: 10 km gigabit single-mode optical port; 1000BASE-ZX: 80 km gigabit single-mode optical port; 10GBASE-LR: 10 km 10-gigabit single-mode optical port; 10GBASE-ZR: 80 km 10-gigabit single-mode optical port; 10GBASE-LH: 40 km 10-gigabit single-mode optical port; 100GBASE-LR4: 10 km 100-gigabit single-mode optical portfiber optic port.Note: this field may return null, indicating that no valid value is obtained.
    city String
    City where the access point is locatedNote: this field may return null, indicating that no valid values can be obtained.
    coordinates List<Property Map>
    Latitude and longitude of the access pointNote: this field may return null, indicating that no valid values can be obtained.
    lineOperators List<String>
    List of ISPs supported by access point.
    location String
    Access point location.
    regionId String
    Access point region, which can be queried through DescribeRegions.You can call DescribeRegions to get the region ID.
    state String
    Access point status. Valid values: available, unavailable.

    GetDcAccessPointsAccessPointSetCoordinate

    Lat double
    Latitude.
    Lng double
    Longitude.
    Lat float64
    Latitude.
    Lng float64
    Longitude.
    lat Double
    Latitude.
    lng Double
    Longitude.
    lat number
    Latitude.
    lng number
    Longitude.
    lat float
    Latitude.
    lng float
    Longitude.
    lat Number
    Latitude.
    lng Number
    Longitude.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack