1. Packages
  2. OVH
  3. API Docs
  4. getOvhcloudConnectConfigPopDatacenters
OVHCloud v2.7.3 published on Thursday, Aug 28, 2025 by OVHcloud

ovh.getOvhcloudConnectConfigPopDatacenters

Explore with Pulumi AI

ovh logo
OVHCloud v2.7.3 published on Thursday, Aug 28, 2025 by OVHcloud

    Use this data source to retrieve information about an Ovhcloud Connect Datacenter configuration

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const datacenterCfgs = ovh.getOvhcloudConnectConfigPopDatacenters({
        serviceName: "XXX",
        configPopId: "YYY",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    datacenter_cfgs = ovh.get_ovhcloud_connect_config_pop_datacenters(service_name="XXX",
        config_pop_id="YYY")
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ovh.GetOvhcloudConnectConfigPopDatacenters(ctx, &ovh.GetOvhcloudConnectConfigPopDatacentersArgs{
    			ServiceName: "XXX",
    			ConfigPopId: "YYY",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var datacenterCfgs = Ovh.GetOvhcloudConnectConfigPopDatacenters.Invoke(new()
        {
            ServiceName = "XXX",
            ConfigPopId = "YYY",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.OvhFunctions;
    import com.pulumi.ovh.inputs.GetOvhcloudConnectConfigPopDatacentersArgs;
    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 datacenterCfgs = OvhFunctions.getOvhcloudConnectConfigPopDatacenters(GetOvhcloudConnectConfigPopDatacentersArgs.builder()
                .serviceName("XXX")
                .configPopId("YYY")
                .build());
    
        }
    }
    
    variables:
      datacenterCfgs:
        fn::invoke:
          function: ovh:getOvhcloudConnectConfigPopDatacenters
          arguments:
            serviceName: XXX
            configPopId: YYY
    

    Using getOvhcloudConnectConfigPopDatacenters

    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 getOvhcloudConnectConfigPopDatacenters(args: GetOvhcloudConnectConfigPopDatacentersArgs, opts?: InvokeOptions): Promise<GetOvhcloudConnectConfigPopDatacentersResult>
    function getOvhcloudConnectConfigPopDatacentersOutput(args: GetOvhcloudConnectConfigPopDatacentersOutputArgs, opts?: InvokeOptions): Output<GetOvhcloudConnectConfigPopDatacentersResult>
    def get_ovhcloud_connect_config_pop_datacenters(config_pop_id: Optional[float] = None,
                                                    service_name: Optional[str] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetOvhcloudConnectConfigPopDatacentersResult
    def get_ovhcloud_connect_config_pop_datacenters_output(config_pop_id: Optional[pulumi.Input[float]] = None,
                                                    service_name: Optional[pulumi.Input[str]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetOvhcloudConnectConfigPopDatacentersResult]
    func GetOvhcloudConnectConfigPopDatacenters(ctx *Context, args *GetOvhcloudConnectConfigPopDatacentersArgs, opts ...InvokeOption) (*GetOvhcloudConnectConfigPopDatacentersResult, error)
    func GetOvhcloudConnectConfigPopDatacentersOutput(ctx *Context, args *GetOvhcloudConnectConfigPopDatacentersOutputArgs, opts ...InvokeOption) GetOvhcloudConnectConfigPopDatacentersResultOutput

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

    public static class GetOvhcloudConnectConfigPopDatacenters 
    {
        public static Task<GetOvhcloudConnectConfigPopDatacentersResult> InvokeAsync(GetOvhcloudConnectConfigPopDatacentersArgs args, InvokeOptions? opts = null)
        public static Output<GetOvhcloudConnectConfigPopDatacentersResult> Invoke(GetOvhcloudConnectConfigPopDatacentersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOvhcloudConnectConfigPopDatacentersResult> getOvhcloudConnectConfigPopDatacenters(GetOvhcloudConnectConfigPopDatacentersArgs args, InvokeOptions options)
    public static Output<GetOvhcloudConnectConfigPopDatacentersResult> getOvhcloudConnectConfigPopDatacenters(GetOvhcloudConnectConfigPopDatacentersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ovh:index/getOvhcloudConnectConfigPopDatacenters:getOvhcloudConnectConfigPopDatacenters
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ConfigPopId double
    ID of the Pop Configuration
    ServiceName string
    Service name
    ConfigPopId float64
    ID of the Pop Configuration
    ServiceName string
    Service name
    configPopId Double
    ID of the Pop Configuration
    serviceName String
    Service name
    configPopId number
    ID of the Pop Configuration
    serviceName string
    Service name
    config_pop_id float
    ID of the Pop Configuration
    service_name str
    Service name
    configPopId Number
    ID of the Pop Configuration
    serviceName String
    Service name

    getOvhcloudConnectConfigPopDatacenters Result

    The following output properties are available:

    ConfigPopId double
    ID of the Pop Configuration
    DatacenterConfigs List<GetOvhcloudConnectConfigPopDatacentersDatacenterConfig>
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceName string
    Service name
    ConfigPopId float64
    ID of the Pop Configuration
    DatacenterConfigs []GetOvhcloudConnectConfigPopDatacentersDatacenterConfig
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceName string
    Service name
    configPopId Double
    ID of the Pop Configuration
    datacenterConfigs List<GetOvhcloudConnectConfigPopDatacentersDatacenterConfig>
    id String
    The provider-assigned unique ID for this managed resource.
    serviceName String
    Service name
    configPopId number
    ID of the Pop Configuration
    datacenterConfigs GetOvhcloudConnectConfigPopDatacentersDatacenterConfig[]
    id string
    The provider-assigned unique ID for this managed resource.
    serviceName string
    Service name
    config_pop_id float
    ID of the Pop Configuration
    datacenter_configs Sequence[GetOvhcloudConnectConfigPopDatacentersDatacenterConfig]
    id str
    The provider-assigned unique ID for this managed resource.
    service_name str
    Service name
    configPopId Number
    ID of the Pop Configuration
    datacenterConfigs List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    serviceName String
    Service name

    Supporting Types

    GetOvhcloudConnectConfigPopDatacentersDatacenterConfig

    DatacenterId double
    Datacenter ID
    Id double
    ID of the Datacenter configuration
    OvhBgpArea double
    OVH Private AS
    Status string
    Status of the pop configuration
    Subnet string
    Subnet should be a /28 min
    DatacenterId float64
    Datacenter ID
    Id float64
    ID of the Datacenter configuration
    OvhBgpArea float64
    OVH Private AS
    Status string
    Status of the pop configuration
    Subnet string
    Subnet should be a /28 min
    datacenterId Double
    Datacenter ID
    id Double
    ID of the Datacenter configuration
    ovhBgpArea Double
    OVH Private AS
    status String
    Status of the pop configuration
    subnet String
    Subnet should be a /28 min
    datacenterId number
    Datacenter ID
    id number
    ID of the Datacenter configuration
    ovhBgpArea number
    OVH Private AS
    status string
    Status of the pop configuration
    subnet string
    Subnet should be a /28 min
    datacenter_id float
    Datacenter ID
    id float
    ID of the Datacenter configuration
    ovh_bgp_area float
    OVH Private AS
    status str
    Status of the pop configuration
    subnet str
    Subnet should be a /28 min
    datacenterId Number
    Datacenter ID
    id Number
    ID of the Datacenter configuration
    ovhBgpArea Number
    OVH Private AS
    status String
    Status of the pop configuration
    subnet String
    Subnet should be a /28 min

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    OVHCloud v2.7.3 published on Thursday, Aug 28, 2025 by OVHcloud