1. Packages
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. getCcCentralNetworksV3
Viewing docs for opentelekomcloud 1.37.3
published on Friday, Jul 31, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.37.3
published on Friday, Jul 31, 2026 by opentelekomcloud

    Up-to-date reference of API arguments for Cloud Connect central networks you can get at documentation portal

    Use this data source to query the Cloud Connect (CC) central networks within OpenTelekomCloud.

    The central network APIs are account-level (domain-scoped). Make sure the credentials used by the provider have permission to query Cloud Connect resources.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const centralNetworkName = config.requireObject<any>("centralNetworkName");
    const test = opentelekomcloud.getCcCentralNetworksV3({
        name: centralNetworkName,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    central_network_name = config.require_object("centralNetworkName")
    test = opentelekomcloud.get_cc_central_networks_v3(name=central_network_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		centralNetworkName := cfg.RequireObject("centralNetworkName")
    		_, err := opentelekomcloud.GetCcCentralNetworksV3(ctx, &opentelekomcloud.GetCcCentralNetworksV3Args{
    			Name: pulumi.StringRef(centralNetworkName),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var centralNetworkName = config.RequireObject<dynamic>("centralNetworkName");
        var test = Opentelekomcloud.GetCcCentralNetworksV3.Invoke(new()
        {
            Name = centralNetworkName,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetCcCentralNetworksV3Args;
    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 config = ctx.config();
            final var centralNetworkName = config.get("centralNetworkName");
            final var test = OpentelekomcloudFunctions.getCcCentralNetworksV3(GetCcCentralNetworksV3Args.builder()
                .name(centralNetworkName)
                .build());
    
        }
    }
    
    configuration:
      centralNetworkName:
        type: dynamic
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getCcCentralNetworksV3
          arguments:
            name: ${centralNetworkName}
    
    Example coming soon!
    

    Using getCcCentralNetworksV3

    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 getCcCentralNetworksV3(args: GetCcCentralNetworksV3Args, opts?: InvokeOptions): Promise<GetCcCentralNetworksV3Result>
    function getCcCentralNetworksV3Output(args: GetCcCentralNetworksV3OutputArgs, opts?: InvokeOptions): Output<GetCcCentralNetworksV3Result>
    def get_cc_central_networks_v3(central_network_id: Optional[str] = None,
                                   enterprise_project_id: Optional[str] = None,
                                   id: Optional[str] = None,
                                   name: Optional[str] = None,
                                   region: Optional[str] = None,
                                   state: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetCcCentralNetworksV3Result
    def get_cc_central_networks_v3_output(central_network_id: pulumi.Input[Optional[str]] = None,
                                   enterprise_project_id: pulumi.Input[Optional[str]] = None,
                                   id: pulumi.Input[Optional[str]] = None,
                                   name: pulumi.Input[Optional[str]] = None,
                                   region: pulumi.Input[Optional[str]] = None,
                                   state: pulumi.Input[Optional[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetCcCentralNetworksV3Result]
    func GetCcCentralNetworksV3(ctx *Context, args *GetCcCentralNetworksV3Args, opts ...InvokeOption) (*GetCcCentralNetworksV3Result, error)
    func GetCcCentralNetworksV3Output(ctx *Context, args *GetCcCentralNetworksV3OutputArgs, opts ...InvokeOption) GetCcCentralNetworksV3ResultOutput

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

    public static class GetCcCentralNetworksV3 
    {
        public static Task<GetCcCentralNetworksV3Result> InvokeAsync(GetCcCentralNetworksV3Args args, InvokeOptions? opts = null)
        public static Output<GetCcCentralNetworksV3Result> Invoke(GetCcCentralNetworksV3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCcCentralNetworksV3Result> getCcCentralNetworksV3(GetCcCentralNetworksV3Args args, InvokeOptions options)
    public static Output<GetCcCentralNetworksV3Result> getCcCentralNetworksV3(GetCcCentralNetworksV3Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getCcCentralNetworksV3:getCcCentralNetworksV3
      arguments:
        # arguments dictionary
    data "opentelekomcloud_get_cc_central_networks_v3" "name" {
        # arguments
    }

    The following arguments are supported:

    CentralNetworkId string
    The ID of the central network used to query.
    EnterpriseProjectId string
    The enterprise project ID used to query.
    Id string
    The central network ID.
    Name string
    The name of the central network used to query.
    Region string
    The region in which to query the data source. If omitted, the provider-level region will be used.
    State string
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    CentralNetworkId string
    The ID of the central network used to query.
    EnterpriseProjectId string
    The enterprise project ID used to query.
    Id string
    The central network ID.
    Name string
    The name of the central network used to query.
    Region string
    The region in which to query the data source. If omitted, the provider-level region will be used.
    State string
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    central_network_id string
    The ID of the central network used to query.
    enterprise_project_id string
    The enterprise project ID used to query.
    id string
    The central network ID.
    name string
    The name of the central network used to query.
    region string
    The region in which to query the data source. If omitted, the provider-level region will be used.
    state string
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    centralNetworkId String
    The ID of the central network used to query.
    enterpriseProjectId String
    The enterprise project ID used to query.
    id String
    The central network ID.
    name String
    The name of the central network used to query.
    region String
    The region in which to query the data source. If omitted, the provider-level region will be used.
    state String
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    centralNetworkId string
    The ID of the central network used to query.
    enterpriseProjectId string
    The enterprise project ID used to query.
    id string
    The central network ID.
    name string
    The name of the central network used to query.
    region string
    The region in which to query the data source. If omitted, the provider-level region will be used.
    state string
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    central_network_id str
    The ID of the central network used to query.
    enterprise_project_id str
    The enterprise project ID used to query.
    id str
    The central network ID.
    name str
    The name of the central network used to query.
    region str
    The region in which to query the data source. If omitted, the provider-level region will be used.
    state str
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    centralNetworkId String
    The ID of the central network used to query.
    enterpriseProjectId String
    The enterprise project ID used to query.
    id String
    The central network ID.
    name String
    The name of the central network used to query.
    region String
    The region in which to query the data source. If omitted, the provider-level region will be used.
    state String
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.

    getCcCentralNetworksV3 Result

    The following output properties are available:

    CentralNetworks List<GetCcCentralNetworksV3CentralNetwork>
    The list of central networks that match the filter parameters. The central_networks structure is documented below.
    Id string
    The central network ID.
    Region string
    CentralNetworkId string
    EnterpriseProjectId string
    The ID of the enterprise project that the central network belongs to.
    Name string
    The central network name.
    State string
    The status of the central network.
    CentralNetworks []GetCcCentralNetworksV3CentralNetwork
    The list of central networks that match the filter parameters. The central_networks structure is documented below.
    Id string
    The central network ID.
    Region string
    CentralNetworkId string
    EnterpriseProjectId string
    The ID of the enterprise project that the central network belongs to.
    Name string
    The central network name.
    State string
    The status of the central network.
    central_networks list(object)
    The list of central networks that match the filter parameters. The central_networks structure is documented below.
    id string
    The central network ID.
    region string
    central_network_id string
    enterprise_project_id string
    The ID of the enterprise project that the central network belongs to.
    name string
    The central network name.
    state string
    The status of the central network.
    centralNetworks List<GetCcCentralNetworksV3CentralNetwork>
    The list of central networks that match the filter parameters. The central_networks structure is documented below.
    id String
    The central network ID.
    region String
    centralNetworkId String
    enterpriseProjectId String
    The ID of the enterprise project that the central network belongs to.
    name String
    The central network name.
    state String
    The status of the central network.
    centralNetworks GetCcCentralNetworksV3CentralNetwork[]
    The list of central networks that match the filter parameters. The central_networks structure is documented below.
    id string
    The central network ID.
    region string
    centralNetworkId string
    enterpriseProjectId string
    The ID of the enterprise project that the central network belongs to.
    name string
    The central network name.
    state string
    The status of the central network.
    central_networks Sequence[GetCcCentralNetworksV3CentralNetwork]
    The list of central networks that match the filter parameters. The central_networks structure is documented below.
    id str
    The central network ID.
    region str
    central_network_id str
    enterprise_project_id str
    The ID of the enterprise project that the central network belongs to.
    name str
    The central network name.
    state str
    The status of the central network.
    centralNetworks List<Property Map>
    The list of central networks that match the filter parameters. The central_networks structure is documented below.
    id String
    The central network ID.
    region String
    centralNetworkId String
    enterpriseProjectId String
    The ID of the enterprise project that the central network belongs to.
    name String
    The central network name.
    state String
    The status of the central network.

    Supporting Types

    GetCcCentralNetworksV3CentralNetwork

    CreatedAt string
    The creation time of the central network.
    DefaultPlaneId string
    The ID of the default central network plane.
    Description string
    The description of the central network.
    DomainId string
    The ID of the account that the central network belongs to.
    EnterpriseProjectId string
    The enterprise project ID used to query.
    Id string
    The central network ID.
    Name string
    The name of the central network used to query.
    State string
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    UpdatedAt string
    The latest update time of the central network.
    CreatedAt string
    The creation time of the central network.
    DefaultPlaneId string
    The ID of the default central network plane.
    Description string
    The description of the central network.
    DomainId string
    The ID of the account that the central network belongs to.
    EnterpriseProjectId string
    The enterprise project ID used to query.
    Id string
    The central network ID.
    Name string
    The name of the central network used to query.
    State string
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    UpdatedAt string
    The latest update time of the central network.
    created_at string
    The creation time of the central network.
    default_plane_id string
    The ID of the default central network plane.
    description string
    The description of the central network.
    domain_id string
    The ID of the account that the central network belongs to.
    enterprise_project_id string
    The enterprise project ID used to query.
    id string
    The central network ID.
    name string
    The name of the central network used to query.
    state string
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    updated_at string
    The latest update time of the central network.
    createdAt String
    The creation time of the central network.
    defaultPlaneId String
    The ID of the default central network plane.
    description String
    The description of the central network.
    domainId String
    The ID of the account that the central network belongs to.
    enterpriseProjectId String
    The enterprise project ID used to query.
    id String
    The central network ID.
    name String
    The name of the central network used to query.
    state String
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    updatedAt String
    The latest update time of the central network.
    createdAt string
    The creation time of the central network.
    defaultPlaneId string
    The ID of the default central network plane.
    description string
    The description of the central network.
    domainId string
    The ID of the account that the central network belongs to.
    enterpriseProjectId string
    The enterprise project ID used to query.
    id string
    The central network ID.
    name string
    The name of the central network used to query.
    state string
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    updatedAt string
    The latest update time of the central network.
    created_at str
    The creation time of the central network.
    default_plane_id str
    The ID of the default central network plane.
    description str
    The description of the central network.
    domain_id str
    The ID of the account that the central network belongs to.
    enterprise_project_id str
    The enterprise project ID used to query.
    id str
    The central network ID.
    name str
    The name of the central network used to query.
    state str
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    updated_at str
    The latest update time of the central network.
    createdAt String
    The creation time of the central network.
    defaultPlaneId String
    The ID of the default central network plane.
    description String
    The description of the central network.
    domainId String
    The ID of the account that the central network belongs to.
    enterpriseProjectId String
    The enterprise project ID used to query.
    id String
    The central network ID.
    name String
    The name of the central network used to query.
    state String
    The status of the central network used to query. The value can be AVAILABLE, CREATING, UPDATING, FAILED, DELETING, DELETED or RESTORING.
    updatedAt String
    The latest update time of the central network.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    Viewing docs for opentelekomcloud 1.37.3
    published on Friday, Jul 31, 2026 by opentelekomcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial