1. Packages
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. CciConfigmapV2
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 ConfigMap you can get at documentation portal

    Manages a CCI v2 ConfigMap resource within OpenTelekomCloud.

    Example Usage

    Basic ConfigMap

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const test = new opentelekomcloud.CciConfigmapV2("test", {
        namespace: testOpentelekomcloudCciNamespaceV2.name,
        name: "my-configmap",
        data: {
            "app.properties": `debug=false
    log_level=info`,
            timeout: "30s",
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    test = opentelekomcloud.CciConfigmapV2("test",
        namespace=test_opentelekomcloud_cci_namespace_v2["name"],
        name="my-configmap",
        data={
            "app.properties": """debug=false
    log_level=info""",
            "timeout": "30s",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.NewCciConfigmapV2(ctx, "test", &opentelekomcloud.CciConfigmapV2Args{
    			Namespace: pulumi.Any(testOpentelekomcloudCciNamespaceV2.Name),
    			Name:      pulumi.String("my-configmap"),
    			Data: pulumi.StringMap{
    				"app.properties": pulumi.String("debug=false\nlog_level=info"),
    				"timeout":        pulumi.String("30s"),
    			},
    		})
    		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 test = new Opentelekomcloud.CciConfigmapV2("test", new()
        {
            Namespace = testOpentelekomcloudCciNamespaceV2.Name,
            Name = "my-configmap",
            Data = 
            {
                { "app.properties", @"debug=false
    log_level=info" },
                { "timeout", "30s" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.CciConfigmapV2;
    import com.pulumi.opentelekomcloud.CciConfigmapV2Args;
    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) {
            var test = new CciConfigmapV2("test", CciConfigmapV2Args.builder()
                .namespace(testOpentelekomcloudCciNamespaceV2.name())
                .name("my-configmap")
                .data(Map.ofEntries(
                    Map.entry("app.properties", """
    debug=false
    log_level=info                """),
                    Map.entry("timeout", "30s")
                ))
                .build());
    
        }
    }
    
    resources:
      test:
        type: opentelekomcloud:CciConfigmapV2
        properties:
          namespace: ${testOpentelekomcloudCciNamespaceV2.name}
          name: my-configmap
          data:
            app.properties: |-
              debug=false
              log_level=info
            timeout: 30s
    

    Create CciConfigmapV2 Resource

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

    Constructor syntax

    new CciConfigmapV2(name: string, args: CciConfigmapV2Args, opts?: CustomResourceOptions);
    @overload
    def CciConfigmapV2(resource_name: str,
                       args: CciConfigmapV2Args,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def CciConfigmapV2(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       namespace: Optional[str] = None,
                       binary_data: Optional[Mapping[str, str]] = None,
                       cci_configmap_v2_id: Optional[str] = None,
                       data: Optional[Mapping[str, str]] = None,
                       name: Optional[str] = None)
    func NewCciConfigmapV2(ctx *Context, name string, args CciConfigmapV2Args, opts ...ResourceOption) (*CciConfigmapV2, error)
    public CciConfigmapV2(string name, CciConfigmapV2Args args, CustomResourceOptions? opts = null)
    public CciConfigmapV2(String name, CciConfigmapV2Args args)
    public CciConfigmapV2(String name, CciConfigmapV2Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:CciConfigmapV2
    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 CciConfigmapV2Args
    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 CciConfigmapV2Args
    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 CciConfigmapV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CciConfigmapV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CciConfigmapV2Args
    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 cciConfigmapV2Resource = new Opentelekomcloud.CciConfigmapV2("cciConfigmapV2Resource", new()
    {
        Namespace = "string",
        BinaryData = 
        {
            { "string", "string" },
        },
        CciConfigmapV2Id = "string",
        Data = 
        {
            { "string", "string" },
        },
        Name = "string",
    });
    
    example, err := opentelekomcloud.NewCciConfigmapV2(ctx, "cciConfigmapV2Resource", &opentelekomcloud.CciConfigmapV2Args{
    	Namespace: pulumi.String("string"),
    	BinaryData: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	CciConfigmapV2Id: pulumi.String("string"),
    	Data: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    })
    
    var cciConfigmapV2Resource = new CciConfigmapV2("cciConfigmapV2Resource", CciConfigmapV2Args.builder()
        .namespace("string")
        .binaryData(Map.of("string", "string"))
        .cciConfigmapV2Id("string")
        .data(Map.of("string", "string"))
        .name("string")
        .build());
    
    cci_configmap_v2_resource = opentelekomcloud.CciConfigmapV2("cciConfigmapV2Resource",
        namespace="string",
        binary_data={
            "string": "string",
        },
        cci_configmap_v2_id="string",
        data={
            "string": "string",
        },
        name="string")
    
    const cciConfigmapV2Resource = new opentelekomcloud.CciConfigmapV2("cciConfigmapV2Resource", {
        namespace: "string",
        binaryData: {
            string: "string",
        },
        cciConfigmapV2Id: "string",
        data: {
            string: "string",
        },
        name: "string",
    });
    
    type: opentelekomcloud:CciConfigmapV2
    properties:
        binaryData:
            string: string
        cciConfigmapV2Id: string
        data:
            string: string
        name: string
        namespace: string
    

    CciConfigmapV2 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 CciConfigmapV2 resource accepts the following input properties:

    Namespace string
    Specifies the namespace of the CCI ConfigMap.
    BinaryData Dictionary<string, string>
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    CciConfigmapV2Id string
    The resource ID in format <namespace>/<name>.
    Data Dictionary<string, string>
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    Name string
    Specifies the name of the CCI ConfigMap.
    Namespace string
    Specifies the namespace of the CCI ConfigMap.
    BinaryData map[string]string
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    CciConfigmapV2Id string
    The resource ID in format <namespace>/<name>.
    Data map[string]string
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    Name string
    Specifies the name of the CCI ConfigMap.
    namespace String
    Specifies the namespace of the CCI ConfigMap.
    binaryData Map<String,String>
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    cciConfigmapV2Id String
    The resource ID in format <namespace>/<name>.
    data Map<String,String>
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    name String
    Specifies the name of the CCI ConfigMap.
    namespace string
    Specifies the namespace of the CCI ConfigMap.
    binaryData {[key: string]: string}
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    cciConfigmapV2Id string
    The resource ID in format <namespace>/<name>.
    data {[key: string]: string}
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    name string
    Specifies the name of the CCI ConfigMap.
    namespace str
    Specifies the namespace of the CCI ConfigMap.
    binary_data Mapping[str, str]
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    cci_configmap_v2_id str
    The resource ID in format <namespace>/<name>.
    data Mapping[str, str]
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    name str
    Specifies the name of the CCI ConfigMap.
    namespace String
    Specifies the namespace of the CCI ConfigMap.
    binaryData Map<String>
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    cciConfigmapV2Id String
    The resource ID in format <namespace>/<name>.
    data Map<String>
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    name String
    Specifies the name of the CCI ConfigMap.

    Outputs

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

    Annotations Dictionary<string, string>
    The annotations of the CCI ConfigMap.
    ApiVersion string
    The API version of the CCI ConfigMap.
    CreationTimestamp string
    The creation timestamp of the CCI ConfigMap.
    Id string
    The provider-assigned unique ID for this managed resource.
    Immutable bool
    Whether the CCI ConfigMap is immutable.
    Kind string
    The kind of the CCI ConfigMap.
    Labels Dictionary<string, string>
    The labels of the CCI ConfigMap.
    Region string
    The region of the CCI ConfigMap.
    ResourceVersion string
    The resource version of the CCI ConfigMap.
    Uid string
    The UID of the CCI ConfigMap.
    Annotations map[string]string
    The annotations of the CCI ConfigMap.
    ApiVersion string
    The API version of the CCI ConfigMap.
    CreationTimestamp string
    The creation timestamp of the CCI ConfigMap.
    Id string
    The provider-assigned unique ID for this managed resource.
    Immutable bool
    Whether the CCI ConfigMap is immutable.
    Kind string
    The kind of the CCI ConfigMap.
    Labels map[string]string
    The labels of the CCI ConfigMap.
    Region string
    The region of the CCI ConfigMap.
    ResourceVersion string
    The resource version of the CCI ConfigMap.
    Uid string
    The UID of the CCI ConfigMap.
    annotations Map<String,String>
    The annotations of the CCI ConfigMap.
    apiVersion String
    The API version of the CCI ConfigMap.
    creationTimestamp String
    The creation timestamp of the CCI ConfigMap.
    id String
    The provider-assigned unique ID for this managed resource.
    immutable Boolean
    Whether the CCI ConfigMap is immutable.
    kind String
    The kind of the CCI ConfigMap.
    labels Map<String,String>
    The labels of the CCI ConfigMap.
    region String
    The region of the CCI ConfigMap.
    resourceVersion String
    The resource version of the CCI ConfigMap.
    uid String
    The UID of the CCI ConfigMap.
    annotations {[key: string]: string}
    The annotations of the CCI ConfigMap.
    apiVersion string
    The API version of the CCI ConfigMap.
    creationTimestamp string
    The creation timestamp of the CCI ConfigMap.
    id string
    The provider-assigned unique ID for this managed resource.
    immutable boolean
    Whether the CCI ConfigMap is immutable.
    kind string
    The kind of the CCI ConfigMap.
    labels {[key: string]: string}
    The labels of the CCI ConfigMap.
    region string
    The region of the CCI ConfigMap.
    resourceVersion string
    The resource version of the CCI ConfigMap.
    uid string
    The UID of the CCI ConfigMap.
    annotations Mapping[str, str]
    The annotations of the CCI ConfigMap.
    api_version str
    The API version of the CCI ConfigMap.
    creation_timestamp str
    The creation timestamp of the CCI ConfigMap.
    id str
    The provider-assigned unique ID for this managed resource.
    immutable bool
    Whether the CCI ConfigMap is immutable.
    kind str
    The kind of the CCI ConfigMap.
    labels Mapping[str, str]
    The labels of the CCI ConfigMap.
    region str
    The region of the CCI ConfigMap.
    resource_version str
    The resource version of the CCI ConfigMap.
    uid str
    The UID of the CCI ConfigMap.
    annotations Map<String>
    The annotations of the CCI ConfigMap.
    apiVersion String
    The API version of the CCI ConfigMap.
    creationTimestamp String
    The creation timestamp of the CCI ConfigMap.
    id String
    The provider-assigned unique ID for this managed resource.
    immutable Boolean
    Whether the CCI ConfigMap is immutable.
    kind String
    The kind of the CCI ConfigMap.
    labels Map<String>
    The labels of the CCI ConfigMap.
    region String
    The region of the CCI ConfigMap.
    resourceVersion String
    The resource version of the CCI ConfigMap.
    uid String
    The UID of the CCI ConfigMap.

    Look up Existing CciConfigmapV2 Resource

    Get an existing CciConfigmapV2 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?: CciConfigmapV2State, opts?: CustomResourceOptions): CciConfigmapV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            annotations: Optional[Mapping[str, str]] = None,
            api_version: Optional[str] = None,
            binary_data: Optional[Mapping[str, str]] = None,
            cci_configmap_v2_id: Optional[str] = None,
            creation_timestamp: Optional[str] = None,
            data: Optional[Mapping[str, str]] = None,
            immutable: Optional[bool] = None,
            kind: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            region: Optional[str] = None,
            resource_version: Optional[str] = None,
            uid: Optional[str] = None) -> CciConfigmapV2
    func GetCciConfigmapV2(ctx *Context, name string, id IDInput, state *CciConfigmapV2State, opts ...ResourceOption) (*CciConfigmapV2, error)
    public static CciConfigmapV2 Get(string name, Input<string> id, CciConfigmapV2State? state, CustomResourceOptions? opts = null)
    public static CciConfigmapV2 get(String name, Output<String> id, CciConfigmapV2State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:CciConfigmapV2    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>
    The annotations of the CCI ConfigMap.
    ApiVersion string
    The API version of the CCI ConfigMap.
    BinaryData Dictionary<string, string>
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    CciConfigmapV2Id string
    The resource ID in format <namespace>/<name>.
    CreationTimestamp string
    The creation timestamp of the CCI ConfigMap.
    Data Dictionary<string, string>
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    Immutable bool
    Whether the CCI ConfigMap is immutable.
    Kind string
    The kind of the CCI ConfigMap.
    Labels Dictionary<string, string>
    The labels of the CCI ConfigMap.
    Name string
    Specifies the name of the CCI ConfigMap.
    Namespace string
    Specifies the namespace of the CCI ConfigMap.
    Region string
    The region of the CCI ConfigMap.
    ResourceVersion string
    The resource version of the CCI ConfigMap.
    Uid string
    The UID of the CCI ConfigMap.
    Annotations map[string]string
    The annotations of the CCI ConfigMap.
    ApiVersion string
    The API version of the CCI ConfigMap.
    BinaryData map[string]string
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    CciConfigmapV2Id string
    The resource ID in format <namespace>/<name>.
    CreationTimestamp string
    The creation timestamp of the CCI ConfigMap.
    Data map[string]string
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    Immutable bool
    Whether the CCI ConfigMap is immutable.
    Kind string
    The kind of the CCI ConfigMap.
    Labels map[string]string
    The labels of the CCI ConfigMap.
    Name string
    Specifies the name of the CCI ConfigMap.
    Namespace string
    Specifies the namespace of the CCI ConfigMap.
    Region string
    The region of the CCI ConfigMap.
    ResourceVersion string
    The resource version of the CCI ConfigMap.
    Uid string
    The UID of the CCI ConfigMap.
    annotations Map<String,String>
    The annotations of the CCI ConfigMap.
    apiVersion String
    The API version of the CCI ConfigMap.
    binaryData Map<String,String>
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    cciConfigmapV2Id String
    The resource ID in format <namespace>/<name>.
    creationTimestamp String
    The creation timestamp of the CCI ConfigMap.
    data Map<String,String>
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    immutable Boolean
    Whether the CCI ConfigMap is immutable.
    kind String
    The kind of the CCI ConfigMap.
    labels Map<String,String>
    The labels of the CCI ConfigMap.
    name String
    Specifies the name of the CCI ConfigMap.
    namespace String
    Specifies the namespace of the CCI ConfigMap.
    region String
    The region of the CCI ConfigMap.
    resourceVersion String
    The resource version of the CCI ConfigMap.
    uid String
    The UID of the CCI ConfigMap.
    annotations {[key: string]: string}
    The annotations of the CCI ConfigMap.
    apiVersion string
    The API version of the CCI ConfigMap.
    binaryData {[key: string]: string}
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    cciConfigmapV2Id string
    The resource ID in format <namespace>/<name>.
    creationTimestamp string
    The creation timestamp of the CCI ConfigMap.
    data {[key: string]: string}
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    immutable boolean
    Whether the CCI ConfigMap is immutable.
    kind string
    The kind of the CCI ConfigMap.
    labels {[key: string]: string}
    The labels of the CCI ConfigMap.
    name string
    Specifies the name of the CCI ConfigMap.
    namespace string
    Specifies the namespace of the CCI ConfigMap.
    region string
    The region of the CCI ConfigMap.
    resourceVersion string
    The resource version of the CCI ConfigMap.
    uid string
    The UID of the CCI ConfigMap.
    annotations Mapping[str, str]
    The annotations of the CCI ConfigMap.
    api_version str
    The API version of the CCI ConfigMap.
    binary_data Mapping[str, str]
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    cci_configmap_v2_id str
    The resource ID in format <namespace>/<name>.
    creation_timestamp str
    The creation timestamp of the CCI ConfigMap.
    data Mapping[str, str]
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    immutable bool
    Whether the CCI ConfigMap is immutable.
    kind str
    The kind of the CCI ConfigMap.
    labels Mapping[str, str]
    The labels of the CCI ConfigMap.
    name str
    Specifies the name of the CCI ConfigMap.
    namespace str
    Specifies the namespace of the CCI ConfigMap.
    region str
    The region of the CCI ConfigMap.
    resource_version str
    The resource version of the CCI ConfigMap.
    uid str
    The UID of the CCI ConfigMap.
    annotations Map<String>
    The annotations of the CCI ConfigMap.
    apiVersion String
    The API version of the CCI ConfigMap.
    binaryData Map<String>
    Specifies the binary data of the CCI ConfigMap. Each value must be a base64-encoded string.
    cciConfigmapV2Id String
    The resource ID in format <namespace>/<name>.
    creationTimestamp String
    The creation timestamp of the CCI ConfigMap.
    data Map<String>
    Specifies the configuration data of the CCI ConfigMap. Each value must be a UTF-8 string.
    immutable Boolean
    Whether the CCI ConfigMap is immutable.
    kind String
    The kind of the CCI ConfigMap.
    labels Map<String>
    The labels of the CCI ConfigMap.
    name String
    Specifies the name of the CCI ConfigMap.
    namespace String
    Specifies the namespace of the CCI ConfigMap.
    region String
    The region of the CCI ConfigMap.
    resourceVersion String
    The resource version of the CCI ConfigMap.
    uid String
    The UID of the CCI ConfigMap.

    Import

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

    bash

    $ pulumi import opentelekomcloud:index/cciConfigmapV2:CciConfigmapV2 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.