1. Packages
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. CciNetworkV2
Viewing docs for opentelekomcloud 1.36.64
published on Thursday, Apr 23, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.36.64
published on Thursday, Apr 23, 2026 by opentelekomcloud

    Up-to-date reference of API arguments for CCI network you can get at documentation portal

    Manages a CCI Network resource within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const namespace = config.requireObject<any>("namespace");
    const name = config.requireObject<any>("name");
    const projectId = config.requireObject<any>("projectId");
    const domainId = config.requireObject<any>("domainId");
    const subnetId = config.requireObject<any>("subnetId");
    const securityGroupId = config.requireObject<any>("securityGroupId");
    const test = new opentelekomcloud.CciNetworkV2("test", {
        namespace: namespace,
        name: name,
        annotations: {
            "yangtse.io/project-id": projectId,
            "yangtse.io/domain-id": domainId,
            "yangtse.io/warm-pool-size": "10",
            "yangtse.io/warm-pool-recycle-interval": "2",
        },
        subnets: [{
            subnetId: subnetId,
        }],
        securityGroupIds: [securityGroupId],
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    namespace = config.require_object("namespace")
    name = config.require_object("name")
    project_id = config.require_object("projectId")
    domain_id = config.require_object("domainId")
    subnet_id = config.require_object("subnetId")
    security_group_id = config.require_object("securityGroupId")
    test = opentelekomcloud.CciNetworkV2("test",
        namespace=namespace,
        name=name,
        annotations={
            "yangtse.io/project-id": project_id,
            "yangtse.io/domain-id": domain_id,
            "yangtse.io/warm-pool-size": "10",
            "yangtse.io/warm-pool-recycle-interval": "2",
        },
        subnets=[{
            "subnet_id": subnet_id,
        }],
        security_group_ids=[security_group_id])
    
    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, "")
    		namespace := cfg.RequireObject("namespace")
    		name := cfg.RequireObject("name")
    		projectId := cfg.RequireObject("projectId")
    		domainId := cfg.RequireObject("domainId")
    		subnetId := cfg.RequireObject("subnetId")
    		securityGroupId := cfg.RequireObject("securityGroupId")
    		_, err := opentelekomcloud.NewCciNetworkV2(ctx, "test", &opentelekomcloud.CciNetworkV2Args{
    			Namespace: pulumi.Any(namespace),
    			Name:      pulumi.Any(name),
    			Annotations: pulumi.StringMap{
    				"yangtse.io/project-id":                 pulumi.Any(projectId),
    				"yangtse.io/domain-id":                  pulumi.Any(domainId),
    				"yangtse.io/warm-pool-size":             pulumi.String("10"),
    				"yangtse.io/warm-pool-recycle-interval": pulumi.String("2"),
    			},
    			Subnets: opentelekomcloud.CciNetworkV2SubnetArray{
    				&opentelekomcloud.CciNetworkV2SubnetArgs{
    					SubnetId: pulumi.Any(subnetId),
    				},
    			},
    			SecurityGroupIds: pulumi.StringArray{
    				securityGroupId,
    			},
    		})
    		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 @namespace = config.RequireObject<dynamic>("namespace");
        var name = config.RequireObject<dynamic>("name");
        var projectId = config.RequireObject<dynamic>("projectId");
        var domainId = config.RequireObject<dynamic>("domainId");
        var subnetId = config.RequireObject<dynamic>("subnetId");
        var securityGroupId = config.RequireObject<dynamic>("securityGroupId");
        var test = new Opentelekomcloud.CciNetworkV2("test", new()
        {
            Namespace = @namespace,
            Name = name,
            Annotations = 
            {
                { "yangtse.io/project-id", projectId },
                { "yangtse.io/domain-id", domainId },
                { "yangtse.io/warm-pool-size", "10" },
                { "yangtse.io/warm-pool-recycle-interval", "2" },
            },
            Subnets = new[]
            {
                new Opentelekomcloud.Inputs.CciNetworkV2SubnetArgs
                {
                    SubnetId = subnetId,
                },
            },
            SecurityGroupIds = new[]
            {
                securityGroupId,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.CciNetworkV2;
    import com.pulumi.opentelekomcloud.CciNetworkV2Args;
    import com.pulumi.opentelekomcloud.inputs.CciNetworkV2SubnetArgs;
    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 namespace = config.get("namespace");
            final var name = config.get("name");
            final var projectId = config.get("projectId");
            final var domainId = config.get("domainId");
            final var subnetId = config.get("subnetId");
            final var securityGroupId = config.get("securityGroupId");
            var test = new CciNetworkV2("test", CciNetworkV2Args.builder()
                .namespace(namespace)
                .name(name)
                .annotations(Map.ofEntries(
                    Map.entry("yangtse.io/project-id", projectId),
                    Map.entry("yangtse.io/domain-id", domainId),
                    Map.entry("yangtse.io/warm-pool-size", "10"),
                    Map.entry("yangtse.io/warm-pool-recycle-interval", "2")
                ))
                .subnets(CciNetworkV2SubnetArgs.builder()
                    .subnetId(subnetId)
                    .build())
                .securityGroupIds(securityGroupId)
                .build());
    
        }
    }
    
    configuration:
      namespace:
        type: dynamic
      name:
        type: dynamic
      projectId:
        type: dynamic
      domainId:
        type: dynamic
      subnetId:
        type: dynamic
      securityGroupId:
        type: dynamic
    resources:
      test:
        type: opentelekomcloud:CciNetworkV2
        properties:
          namespace: ${namespace}
          name: ${name}
          annotations:
            yangtse.io/project-id: ${projectId}
            yangtse.io/domain-id: ${domainId}
            yangtse.io/warm-pool-size: '10'
            yangtse.io/warm-pool-recycle-interval: '2'
          subnets:
            - subnetId: ${subnetId}
          securityGroupIds:
            - ${securityGroupId}
    

    Create CciNetworkV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CciNetworkV2(name: string, args: CciNetworkV2Args, opts?: CustomResourceOptions);
    @overload
    def CciNetworkV2(resource_name: str,
                     args: CciNetworkV2Args,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def CciNetworkV2(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     namespace: Optional[str] = None,
                     annotations: Optional[Mapping[str, str]] = None,
                     cci_network_v2_id: Optional[str] = None,
                     ip_families: Optional[Sequence[str]] = None,
                     name: Optional[str] = None,
                     security_group_ids: Optional[Sequence[str]] = None,
                     subnets: Optional[Sequence[CciNetworkV2SubnetArgs]] = None,
                     timeouts: Optional[CciNetworkV2TimeoutsArgs] = None)
    func NewCciNetworkV2(ctx *Context, name string, args CciNetworkV2Args, opts ...ResourceOption) (*CciNetworkV2, error)
    public CciNetworkV2(string name, CciNetworkV2Args args, CustomResourceOptions? opts = null)
    public CciNetworkV2(String name, CciNetworkV2Args args)
    public CciNetworkV2(String name, CciNetworkV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:CciNetworkV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CciNetworkV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CciNetworkV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CciNetworkV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CciNetworkV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CciNetworkV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cciNetworkV2Resource = new Opentelekomcloud.CciNetworkV2("cciNetworkV2Resource", new()
    {
        Namespace = "string",
        Annotations = 
        {
            { "string", "string" },
        },
        CciNetworkV2Id = "string",
        IpFamilies = new[]
        {
            "string",
        },
        Name = "string",
        SecurityGroupIds = new[]
        {
            "string",
        },
        Subnets = new[]
        {
            new Opentelekomcloud.Inputs.CciNetworkV2SubnetArgs
            {
                SubnetId = "string",
            },
        },
        Timeouts = new Opentelekomcloud.Inputs.CciNetworkV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := opentelekomcloud.NewCciNetworkV2(ctx, "cciNetworkV2Resource", &opentelekomcloud.CciNetworkV2Args{
    	Namespace: pulumi.String("string"),
    	Annotations: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	CciNetworkV2Id: pulumi.String("string"),
    	IpFamilies: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	SecurityGroupIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Subnets: opentelekomcloud.CciNetworkV2SubnetArray{
    		&opentelekomcloud.CciNetworkV2SubnetArgs{
    			SubnetId: pulumi.String("string"),
    		},
    	},
    	Timeouts: &opentelekomcloud.CciNetworkV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var cciNetworkV2Resource = new CciNetworkV2("cciNetworkV2Resource", CciNetworkV2Args.builder()
        .namespace("string")
        .annotations(Map.of("string", "string"))
        .cciNetworkV2Id("string")
        .ipFamilies("string")
        .name("string")
        .securityGroupIds("string")
        .subnets(CciNetworkV2SubnetArgs.builder()
            .subnetId("string")
            .build())
        .timeouts(CciNetworkV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    cci_network_v2_resource = opentelekomcloud.CciNetworkV2("cciNetworkV2Resource",
        namespace="string",
        annotations={
            "string": "string",
        },
        cci_network_v2_id="string",
        ip_families=["string"],
        name="string",
        security_group_ids=["string"],
        subnets=[{
            "subnet_id": "string",
        }],
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const cciNetworkV2Resource = new opentelekomcloud.CciNetworkV2("cciNetworkV2Resource", {
        namespace: "string",
        annotations: {
            string: "string",
        },
        cciNetworkV2Id: "string",
        ipFamilies: ["string"],
        name: "string",
        securityGroupIds: ["string"],
        subnets: [{
            subnetId: "string",
        }],
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: opentelekomcloud:CciNetworkV2
    properties:
        annotations:
            string: string
        cciNetworkV2Id: string
        ipFamilies:
            - string
        name: string
        namespace: string
        securityGroupIds:
            - string
        subnets:
            - subnetId: string
        timeouts:
            create: string
            delete: string
    

    CciNetworkV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CciNetworkV2 resource accepts the following input properties:

    Namespace string
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    Annotations Dictionary<string, string>
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    CciNetworkV2Id string
    The resource ID in format <namespace>/<name>.
    IpFamilies List<string>
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    Name string
    Specifies the name of the CCI network. Changing this creates a new resource.
    SecurityGroupIds List<string>
    Specifies the security group IDs of the CCI network.
    Subnets List<CciNetworkV2Subnet>

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    Timeouts CciNetworkV2Timeouts
    Namespace string
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    Annotations map[string]string
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    CciNetworkV2Id string
    The resource ID in format <namespace>/<name>.
    IpFamilies []string
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    Name string
    Specifies the name of the CCI network. Changing this creates a new resource.
    SecurityGroupIds []string
    Specifies the security group IDs of the CCI network.
    Subnets []CciNetworkV2SubnetArgs

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    Timeouts CciNetworkV2TimeoutsArgs
    namespace String
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    annotations Map<String,String>
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    cciNetworkV2Id String
    The resource ID in format <namespace>/<name>.
    ipFamilies List<String>
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    name String
    Specifies the name of the CCI network. Changing this creates a new resource.
    securityGroupIds List<String>
    Specifies the security group IDs of the CCI network.
    subnets List<CciNetworkV2Subnet>

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    timeouts CciNetworkV2Timeouts
    namespace string
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    annotations {[key: string]: string}
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    cciNetworkV2Id string
    The resource ID in format <namespace>/<name>.
    ipFamilies string[]
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    name string
    Specifies the name of the CCI network. Changing this creates a new resource.
    securityGroupIds string[]
    Specifies the security group IDs of the CCI network.
    subnets CciNetworkV2Subnet[]

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    timeouts CciNetworkV2Timeouts
    namespace str
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    annotations Mapping[str, str]
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    cci_network_v2_id str
    The resource ID in format <namespace>/<name>.
    ip_families Sequence[str]
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    name str
    Specifies the name of the CCI network. Changing this creates a new resource.
    security_group_ids Sequence[str]
    Specifies the security group IDs of the CCI network.
    subnets Sequence[CciNetworkV2SubnetArgs]

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    timeouts CciNetworkV2TimeoutsArgs
    namespace String
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    annotations Map<String>
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    cciNetworkV2Id String
    The resource ID in format <namespace>/<name>.
    ipFamilies List<String>
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    name String
    Specifies the name of the CCI network. Changing this creates a new resource.
    securityGroupIds List<String>
    Specifies the security group IDs of the CCI network.
    subnets List<Property Map>

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CciNetworkV2 resource produces the following output properties:

    ApiVersion string
    The API version of the CCI network.
    CreationTimestamp string
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    Finalizers List<string>
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    The kind of the CCI network.
    Region string
    The region of the CCI network.
    ResourceVersion string
    The resource version of the CCI network.
    Statuses List<CciNetworkV2Status>
    The status of the CCI network condition. The value can be True, False, or Unknown.
    Uid string
    The uid of the CCI network.
    ApiVersion string
    The API version of the CCI network.
    CreationTimestamp string
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    Finalizers []string
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    The kind of the CCI network.
    Region string
    The region of the CCI network.
    ResourceVersion string
    The resource version of the CCI network.
    Statuses []CciNetworkV2Status
    The status of the CCI network condition. The value can be True, False, or Unknown.
    Uid string
    The uid of the CCI network.
    apiVersion String
    The API version of the CCI network.
    creationTimestamp String
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    finalizers List<String>
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    The kind of the CCI network.
    region String
    The region of the CCI network.
    resourceVersion String
    The resource version of the CCI network.
    statuses List<CciNetworkV2Status>
    The status of the CCI network condition. The value can be True, False, or Unknown.
    uid String
    The uid of the CCI network.
    apiVersion string
    The API version of the CCI network.
    creationTimestamp string
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    finalizers string[]
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    The kind of the CCI network.
    region string
    The region of the CCI network.
    resourceVersion string
    The resource version of the CCI network.
    statuses CciNetworkV2Status[]
    The status of the CCI network condition. The value can be True, False, or Unknown.
    uid string
    The uid of the CCI network.
    api_version str
    The API version of the CCI network.
    creation_timestamp str
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    finalizers Sequence[str]
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    id str
    The provider-assigned unique ID for this managed resource.
    kind str
    The kind of the CCI network.
    region str
    The region of the CCI network.
    resource_version str
    The resource version of the CCI network.
    statuses Sequence[CciNetworkV2Status]
    The status of the CCI network condition. The value can be True, False, or Unknown.
    uid str
    The uid of the CCI network.
    apiVersion String
    The API version of the CCI network.
    creationTimestamp String
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    finalizers List<String>
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    The kind of the CCI network.
    region String
    The region of the CCI network.
    resourceVersion String
    The resource version of the CCI network.
    statuses List<Property Map>
    The status of the CCI network condition. The value can be True, False, or Unknown.
    uid String
    The uid of the CCI network.

    Look up Existing CciNetworkV2 Resource

    Get an existing CciNetworkV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CciNetworkV2State, opts?: CustomResourceOptions): CciNetworkV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            annotations: Optional[Mapping[str, str]] = None,
            api_version: Optional[str] = None,
            cci_network_v2_id: Optional[str] = None,
            creation_timestamp: Optional[str] = None,
            finalizers: Optional[Sequence[str]] = None,
            ip_families: Optional[Sequence[str]] = None,
            kind: Optional[str] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            region: Optional[str] = None,
            resource_version: Optional[str] = None,
            security_group_ids: Optional[Sequence[str]] = None,
            statuses: Optional[Sequence[CciNetworkV2StatusArgs]] = None,
            subnets: Optional[Sequence[CciNetworkV2SubnetArgs]] = None,
            timeouts: Optional[CciNetworkV2TimeoutsArgs] = None,
            uid: Optional[str] = None) -> CciNetworkV2
    func GetCciNetworkV2(ctx *Context, name string, id IDInput, state *CciNetworkV2State, opts ...ResourceOption) (*CciNetworkV2, error)
    public static CciNetworkV2 Get(string name, Input<string> id, CciNetworkV2State? state, CustomResourceOptions? opts = null)
    public static CciNetworkV2 get(String name, Output<String> id, CciNetworkV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:CciNetworkV2    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Annotations Dictionary<string, string>
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    ApiVersion string
    The API version of the CCI network.
    CciNetworkV2Id string
    The resource ID in format <namespace>/<name>.
    CreationTimestamp string
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    Finalizers List<string>
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    IpFamilies List<string>
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    Kind string
    The kind of the CCI network.
    Name string
    Specifies the name of the CCI network. Changing this creates a new resource.
    Namespace string
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    Region string
    The region of the CCI network.
    ResourceVersion string
    The resource version of the CCI network.
    SecurityGroupIds List<string>
    Specifies the security group IDs of the CCI network.
    Statuses List<CciNetworkV2Status>
    The status of the CCI network condition. The value can be True, False, or Unknown.
    Subnets List<CciNetworkV2Subnet>

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    Timeouts CciNetworkV2Timeouts
    Uid string
    The uid of the CCI network.
    Annotations map[string]string
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    ApiVersion string
    The API version of the CCI network.
    CciNetworkV2Id string
    The resource ID in format <namespace>/<name>.
    CreationTimestamp string
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    Finalizers []string
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    IpFamilies []string
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    Kind string
    The kind of the CCI network.
    Name string
    Specifies the name of the CCI network. Changing this creates a new resource.
    Namespace string
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    Region string
    The region of the CCI network.
    ResourceVersion string
    The resource version of the CCI network.
    SecurityGroupIds []string
    Specifies the security group IDs of the CCI network.
    Statuses []CciNetworkV2StatusArgs
    The status of the CCI network condition. The value can be True, False, or Unknown.
    Subnets []CciNetworkV2SubnetArgs

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    Timeouts CciNetworkV2TimeoutsArgs
    Uid string
    The uid of the CCI network.
    annotations Map<String,String>
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    apiVersion String
    The API version of the CCI network.
    cciNetworkV2Id String
    The resource ID in format <namespace>/<name>.
    creationTimestamp String
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    finalizers List<String>
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    ipFamilies List<String>
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    kind String
    The kind of the CCI network.
    name String
    Specifies the name of the CCI network. Changing this creates a new resource.
    namespace String
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    region String
    The region of the CCI network.
    resourceVersion String
    The resource version of the CCI network.
    securityGroupIds List<String>
    Specifies the security group IDs of the CCI network.
    statuses List<CciNetworkV2Status>
    The status of the CCI network condition. The value can be True, False, or Unknown.
    subnets List<CciNetworkV2Subnet>

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    timeouts CciNetworkV2Timeouts
    uid String
    The uid of the CCI network.
    annotations {[key: string]: string}
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    apiVersion string
    The API version of the CCI network.
    cciNetworkV2Id string
    The resource ID in format <namespace>/<name>.
    creationTimestamp string
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    finalizers string[]
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    ipFamilies string[]
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    kind string
    The kind of the CCI network.
    name string
    Specifies the name of the CCI network. Changing this creates a new resource.
    namespace string
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    region string
    The region of the CCI network.
    resourceVersion string
    The resource version of the CCI network.
    securityGroupIds string[]
    Specifies the security group IDs of the CCI network.
    statuses CciNetworkV2Status[]
    The status of the CCI network condition. The value can be True, False, or Unknown.
    subnets CciNetworkV2Subnet[]

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    timeouts CciNetworkV2Timeouts
    uid string
    The uid of the CCI network.
    annotations Mapping[str, str]
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    api_version str
    The API version of the CCI network.
    cci_network_v2_id str
    The resource ID in format <namespace>/<name>.
    creation_timestamp str
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    finalizers Sequence[str]
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    ip_families Sequence[str]
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    kind str
    The kind of the CCI network.
    name str
    Specifies the name of the CCI network. Changing this creates a new resource.
    namespace str
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    region str
    The region of the CCI network.
    resource_version str
    The resource version of the CCI network.
    security_group_ids Sequence[str]
    Specifies the security group IDs of the CCI network.
    statuses Sequence[CciNetworkV2StatusArgs]
    The status of the CCI network condition. The value can be True, False, or Unknown.
    subnets Sequence[CciNetworkV2SubnetArgs]

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    timeouts CciNetworkV2TimeoutsArgs
    uid str
    The uid of the CCI network.
    annotations Map<String>
    Specifies the annotations of the CCI network. Annotations is an unstructured key value map that may be set by external tools to store and retrieve arbitrary metadata.
    apiVersion String
    The API version of the CCI network.
    cciNetworkV2Id String
    The resource ID in format <namespace>/<name>.
    creationTimestamp String
    The creation timestamp of the CCI network. The value is in RFC3339 format and is in UTC.
    finalizers List<String>
    The finalizers of the CCI network. Must be empty before the object is deleted from the registry.
    ipFamilies List<String>
    Specifies the IP families of the CCI network. The value can be IPv4 or IPv6. When IPv6 is enabled, the value can be ["IPv4", "IPv6"]. Changing this creates a new resource.
    kind String
    The kind of the CCI network.
    name String
    Specifies the name of the CCI network. Changing this creates a new resource.
    namespace String
    Specifies the namespace of the CCI network. Changing this creates a new resource.
    region String
    The region of the CCI network.
    resourceVersion String
    The resource version of the CCI network.
    securityGroupIds List<String>
    Specifies the security group IDs of the CCI network.
    statuses List<Property Map>
    The status of the CCI network condition. The value can be True, False, or Unknown.
    subnets List<Property Map>

    Specifies the subnets of the CCI network. Changing this creates a new resource. The subnets structure is documented below.

    The subnets block supports:

    timeouts Property Map
    uid String
    The uid of the CCI network.

    Supporting Types

    CciNetworkV2Status, CciNetworkV2StatusArgs

    Conditions List<CciNetworkV2StatusCondition>
    The conditions of the CCI network. The conditions structure is documented below.
    Status string
    The status of the CCI network condition. The value can be True, False, or Unknown.
    SubnetAttrs List<CciNetworkV2StatusSubnetAttr>
    The subnet attributes of the CCI network. The subnet_attrs structure is documented below.
    Conditions []CciNetworkV2StatusCondition
    The conditions of the CCI network. The conditions structure is documented below.
    Status string
    The status of the CCI network condition. The value can be True, False, or Unknown.
    SubnetAttrs []CciNetworkV2StatusSubnetAttr
    The subnet attributes of the CCI network. The subnet_attrs structure is documented below.
    conditions List<CciNetworkV2StatusCondition>
    The conditions of the CCI network. The conditions structure is documented below.
    status String
    The status of the CCI network condition. The value can be True, False, or Unknown.
    subnetAttrs List<CciNetworkV2StatusSubnetAttr>
    The subnet attributes of the CCI network. The subnet_attrs structure is documented below.
    conditions CciNetworkV2StatusCondition[]
    The conditions of the CCI network. The conditions structure is documented below.
    status string
    The status of the CCI network condition. The value can be True, False, or Unknown.
    subnetAttrs CciNetworkV2StatusSubnetAttr[]
    The subnet attributes of the CCI network. The subnet_attrs structure is documented below.
    conditions Sequence[CciNetworkV2StatusCondition]
    The conditions of the CCI network. The conditions structure is documented below.
    status str
    The status of the CCI network condition. The value can be True, False, or Unknown.
    subnet_attrs Sequence[CciNetworkV2StatusSubnetAttr]
    The subnet attributes of the CCI network. The subnet_attrs structure is documented below.
    conditions List<Property Map>
    The conditions of the CCI network. The conditions structure is documented below.
    status String
    The status of the CCI network condition. The value can be True, False, or Unknown.
    subnetAttrs List<Property Map>
    The subnet attributes of the CCI network. The subnet_attrs structure is documented below.

    CciNetworkV2StatusCondition, CciNetworkV2StatusConditionArgs

    LastTransitionTime string
    The last time the condition transitioned from one status to another.
    Message string
    A human-readable message indicating details about the transition.
    Reason string
    The reason for the condition's last transition.
    Status string
    The status of the CCI network condition. The value can be True, False, or Unknown.
    Type string
    The type of the CCI network condition.
    LastTransitionTime string
    The last time the condition transitioned from one status to another.
    Message string
    A human-readable message indicating details about the transition.
    Reason string
    The reason for the condition's last transition.
    Status string
    The status of the CCI network condition. The value can be True, False, or Unknown.
    Type string
    The type of the CCI network condition.
    lastTransitionTime String
    The last time the condition transitioned from one status to another.
    message String
    A human-readable message indicating details about the transition.
    reason String
    The reason for the condition's last transition.
    status String
    The status of the CCI network condition. The value can be True, False, or Unknown.
    type String
    The type of the CCI network condition.
    lastTransitionTime string
    The last time the condition transitioned from one status to another.
    message string
    A human-readable message indicating details about the transition.
    reason string
    The reason for the condition's last transition.
    status string
    The status of the CCI network condition. The value can be True, False, or Unknown.
    type string
    The type of the CCI network condition.
    last_transition_time str
    The last time the condition transitioned from one status to another.
    message str
    A human-readable message indicating details about the transition.
    reason str
    The reason for the condition's last transition.
    status str
    The status of the CCI network condition. The value can be True, False, or Unknown.
    type str
    The type of the CCI network condition.
    lastTransitionTime String
    The last time the condition transitioned from one status to another.
    message String
    A human-readable message indicating details about the transition.
    reason String
    The reason for the condition's last transition.
    status String
    The status of the CCI network condition. The value can be True, False, or Unknown.
    type String
    The type of the CCI network condition.

    CciNetworkV2StatusSubnetAttr, CciNetworkV2StatusSubnetAttrArgs

    NetworkId string
    The network ID of the subnet.
    SubnetV4Id string
    The subnet IPv4 ID.
    SubnetV6Id string
    The subnet IPv6 ID.
    NetworkId string
    The network ID of the subnet.
    SubnetV4Id string
    The subnet IPv4 ID.
    SubnetV6Id string
    The subnet IPv6 ID.
    networkId String
    The network ID of the subnet.
    subnetV4Id String
    The subnet IPv4 ID.
    subnetV6Id String
    The subnet IPv6 ID.
    networkId string
    The network ID of the subnet.
    subnetV4Id string
    The subnet IPv4 ID.
    subnetV6Id string
    The subnet IPv6 ID.
    network_id str
    The network ID of the subnet.
    subnet_v4_id str
    The subnet IPv4 ID.
    subnet_v6_id str
    The subnet IPv6 ID.
    networkId String
    The network ID of the subnet.
    subnetV4Id String
    The subnet IPv4 ID.
    subnetV6Id String
    The subnet IPv6 ID.

    CciNetworkV2Subnet, CciNetworkV2SubnetArgs

    SubnetId string
    Specifies the subnet ID (the network ID of the subnet) of the CCI network. Changing this creates a new resource.
    SubnetId string
    Specifies the subnet ID (the network ID of the subnet) of the CCI network. Changing this creates a new resource.
    subnetId String
    Specifies the subnet ID (the network ID of the subnet) of the CCI network. Changing this creates a new resource.
    subnetId string
    Specifies the subnet ID (the network ID of the subnet) of the CCI network. Changing this creates a new resource.
    subnet_id str
    Specifies the subnet ID (the network ID of the subnet) of the CCI network. Changing this creates a new resource.
    subnetId String
    Specifies the subnet ID (the network ID of the subnet) of the CCI network. Changing this creates a new resource.

    CciNetworkV2Timeouts, CciNetworkV2TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    The CCI Network can be imported using namespace and name, separated by a slash, e.g.

    bash

    $ pulumi import opentelekomcloud:index/cciNetworkV2:CciNetworkV2 test <namespace>/<name>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.36.64
    published on Thursday, Apr 23, 2026 by opentelekomcloud
      Try Pulumi Cloud free. Your team will thank you.