ibm.CodeEngineConfigMap
Explore with Pulumi AI
Create, update, and delete code_engine_config_maps with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const codeEngineConfigMapInstance = new ibm.CodeEngineConfigMap("codeEngineConfigMapInstance", {projectId: ibm_code_engine_project.code_engine_project_instance.project_id});
import pulumi
import pulumi_ibm as ibm
code_engine_config_map_instance = ibm.CodeEngineConfigMap("codeEngineConfigMapInstance", project_id=ibm_code_engine_project["code_engine_project_instance"]["project_id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewCodeEngineConfigMap(ctx, "codeEngineConfigMapInstance", &ibm.CodeEngineConfigMapArgs{
ProjectId: pulumi.Any(ibm_code_engine_project.Code_engine_project_instance.Project_id),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var codeEngineConfigMapInstance = new Ibm.CodeEngineConfigMap("codeEngineConfigMapInstance", new()
{
ProjectId = ibm_code_engine_project.Code_engine_project_instance.Project_id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.CodeEngineConfigMap;
import com.pulumi.ibm.CodeEngineConfigMapArgs;
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 codeEngineConfigMapInstance = new CodeEngineConfigMap("codeEngineConfigMapInstance", CodeEngineConfigMapArgs.builder()
.projectId(ibm_code_engine_project.code_engine_project_instance().project_id())
.build());
}
}
resources:
codeEngineConfigMapInstance:
type: ibm:CodeEngineConfigMap
properties:
projectId: ${ibm_code_engine_project.code_engine_project_instance.project_id}
Create CodeEngineConfigMap Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CodeEngineConfigMap(name: string, args: CodeEngineConfigMapArgs, opts?: CustomResourceOptions);
@overload
def CodeEngineConfigMap(resource_name: str,
args: CodeEngineConfigMapArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CodeEngineConfigMap(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
code_engine_config_map_id: Optional[str] = None,
data: Optional[Mapping[str, str]] = None,
name: Optional[str] = None)
func NewCodeEngineConfigMap(ctx *Context, name string, args CodeEngineConfigMapArgs, opts ...ResourceOption) (*CodeEngineConfigMap, error)
public CodeEngineConfigMap(string name, CodeEngineConfigMapArgs args, CustomResourceOptions? opts = null)
public CodeEngineConfigMap(String name, CodeEngineConfigMapArgs args)
public CodeEngineConfigMap(String name, CodeEngineConfigMapArgs args, CustomResourceOptions options)
type: ibm:CodeEngineConfigMap
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 CodeEngineConfigMapArgs
- 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 CodeEngineConfigMapArgs
- 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 CodeEngineConfigMapArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CodeEngineConfigMapArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CodeEngineConfigMapArgs
- 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 codeEngineConfigMapResource = new Ibm.CodeEngineConfigMap("codeEngineConfigMapResource", new()
{
ProjectId = "string",
CodeEngineConfigMapId = "string",
Data =
{
{ "string", "string" },
},
Name = "string",
});
example, err := ibm.NewCodeEngineConfigMap(ctx, "codeEngineConfigMapResource", &ibm.CodeEngineConfigMapArgs{
ProjectId: pulumi.String("string"),
CodeEngineConfigMapId: pulumi.String("string"),
Data: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
})
var codeEngineConfigMapResource = new CodeEngineConfigMap("codeEngineConfigMapResource", CodeEngineConfigMapArgs.builder()
.projectId("string")
.codeEngineConfigMapId("string")
.data(Map.of("string", "string"))
.name("string")
.build());
code_engine_config_map_resource = ibm.CodeEngineConfigMap("codeEngineConfigMapResource",
project_id="string",
code_engine_config_map_id="string",
data={
"string": "string",
},
name="string")
const codeEngineConfigMapResource = new ibm.CodeEngineConfigMap("codeEngineConfigMapResource", {
projectId: "string",
codeEngineConfigMapId: "string",
data: {
string: "string",
},
name: "string",
});
type: ibm:CodeEngineConfigMap
properties:
codeEngineConfigMapId: string
data:
string: string
name: string
projectId: string
CodeEngineConfigMap 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 CodeEngineConfigMap resource accepts the following input properties:
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Code
Engine stringConfig Map Id - The unique identifier of the code_engine_config_map.
- Data Dictionary<string, string>
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - Name string
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Code
Engine stringConfig Map Id - The unique identifier of the code_engine_config_map.
- Data map[string]string
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - Name string
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- code
Engine StringConfig Map Id - The unique identifier of the code_engine_config_map.
- data Map<String,String>
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - name String
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- code
Engine stringConfig Map Id - The unique identifier of the code_engine_config_map.
- data {[key: string]: string}
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - name string
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project_
id str - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- code_
engine_ strconfig_ map_ id - The unique identifier of the code_engine_config_map.
- data Mapping[str, str]
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - name str
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- code
Engine StringConfig Map Id - The unique identifier of the code_engine_config_map.
- data Map<String>
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - name String
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
Outputs
All input properties are implicitly available as output properties. Additionally, the CodeEngineConfigMap resource produces the following output properties:
- Config
Map stringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Created
At string - (String) The timestamp when the resource was created.
- Entity
Tag string - (String) The version of the config map instance, which is used to achieve optimistic locking.
- Etag string
- ETag identifier for code_engine_config_map.
- Href string
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- Resource
Type string - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
- Config
Map stringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Created
At string - (String) The timestamp when the resource was created.
- Entity
Tag string - (String) The version of the config map instance, which is used to achieve optimistic locking.
- Etag string
- ETag identifier for code_engine_config_map.
- Href string
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- Resource
Type string - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
- config
Map StringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created
At String - (String) The timestamp when the resource was created.
- entity
Tag String - (String) The version of the config map instance, which is used to achieve optimistic locking.
- etag String
- ETag identifier for code_engine_config_map.
- href String
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type String - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
- config
Map stringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created
At string - (String) The timestamp when the resource was created.
- entity
Tag string - (String) The version of the config map instance, which is used to achieve optimistic locking.
- etag string
- ETag identifier for code_engine_config_map.
- href string
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type string - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
- config_
map_ strid - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created_
at str - (String) The timestamp when the resource was created.
- entity_
tag str - (String) The version of the config map instance, which is used to achieve optimistic locking.
- etag str
- ETag identifier for code_engine_config_map.
- href str
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource_
type str - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
- config
Map StringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created
At String - (String) The timestamp when the resource was created.
- entity
Tag String - (String) The version of the config map instance, which is used to achieve optimistic locking.
- etag String
- ETag identifier for code_engine_config_map.
- href String
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type String - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
Look up Existing CodeEngineConfigMap Resource
Get an existing CodeEngineConfigMap 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?: CodeEngineConfigMapState, opts?: CustomResourceOptions): CodeEngineConfigMap
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
code_engine_config_map_id: Optional[str] = None,
config_map_id: Optional[str] = None,
created_at: Optional[str] = None,
data: Optional[Mapping[str, str]] = None,
entity_tag: Optional[str] = None,
etag: Optional[str] = None,
href: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
resource_type: Optional[str] = None) -> CodeEngineConfigMap
func GetCodeEngineConfigMap(ctx *Context, name string, id IDInput, state *CodeEngineConfigMapState, opts ...ResourceOption) (*CodeEngineConfigMap, error)
public static CodeEngineConfigMap Get(string name, Input<string> id, CodeEngineConfigMapState? state, CustomResourceOptions? opts = null)
public static CodeEngineConfigMap get(String name, Output<String> id, CodeEngineConfigMapState state, CustomResourceOptions options)
resources: _: type: ibm:CodeEngineConfigMap 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.
- Code
Engine stringConfig Map Id - The unique identifier of the code_engine_config_map.
- Config
Map stringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Created
At string - (String) The timestamp when the resource was created.
- Data Dictionary<string, string>
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - Entity
Tag string - (String) The version of the config map instance, which is used to achieve optimistic locking.
- Etag string
- ETag identifier for code_engine_config_map.
- Href string
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Name string
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- Resource
Type string - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
- Code
Engine stringConfig Map Id - The unique identifier of the code_engine_config_map.
- Config
Map stringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Created
At string - (String) The timestamp when the resource was created.
- Data map[string]string
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - Entity
Tag string - (String) The version of the config map instance, which is used to achieve optimistic locking.
- Etag string
- ETag identifier for code_engine_config_map.
- Href string
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Name string
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- Region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- Resource
Type string - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
- code
Engine StringConfig Map Id - The unique identifier of the code_engine_config_map.
- config
Map StringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created
At String - (String) The timestamp when the resource was created.
- data Map<String,String>
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - entity
Tag String - (String) The version of the config map instance, which is used to achieve optimistic locking.
- etag String
- ETag identifier for code_engine_config_map.
- href String
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- name String
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- region String
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type String - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
- code
Engine stringConfig Map Id - The unique identifier of the code_engine_config_map.
- config
Map stringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created
At string - (String) The timestamp when the resource was created.
- data {[key: string]: string}
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - entity
Tag string - (String) The version of the config map instance, which is used to achieve optimistic locking.
- etag string
- ETag identifier for code_engine_config_map.
- href string
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- name string
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- region string
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type string - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
- code_
engine_ strconfig_ map_ id - The unique identifier of the code_engine_config_map.
- config_
map_ strid - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created_
at str - (String) The timestamp when the resource was created.
- data Mapping[str, str]
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - entity_
tag str - (String) The version of the config map instance, which is used to achieve optimistic locking.
- etag str
- ETag identifier for code_engine_config_map.
- href str
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- name str
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project_
id str - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- region str
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource_
type str - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
- code
Engine StringConfig Map Id - The unique identifier of the code_engine_config_map.
- config
Map StringId - (String) The identifier of the resource.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- created
At String - (String) The timestamp when the resource was created.
- data Map<String>
- The key-value pair for the config map. Values must be specified in
KEY=VALUE
format. EachKEY
field must consist of alphanumeric characters,-
,_
or.
and must not be exceed a max length of 253 characters. EachVALUE
field can consists of any character and must not be exceed a max length of 1048576 characters. - entity
Tag String - (String) The version of the config map instance, which is used to achieve optimistic locking.
- etag String
- ETag identifier for code_engine_config_map.
- href String
- (String) When you provision a new config map, a URL is created identifying the location of the instance.
- Constraints: The maximum length is
2048
characters. The minimum length is0
characters. The value must match regular expression/(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- name String
- The name of the config map.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^a-z0-9?(\\.a-z0-9?)*$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/
.
- Constraints: The maximum length is
- region String
- (String) The region of the project the resource is located in. Possible values: 'au-syd', 'br-sao', 'ca-tor', 'eu-de', 'eu-gb', 'jp-osa', 'jp-tok', 'us-east', 'us-south'.
- resource
Type String - (String) The type of the config map.
- Constraints: Allowable values are:
config_map_v2
.
- Constraints: Allowable values are:
Import
You can import the ibm_code_engine_config_map
resource by using name
.
The name
property can be formed from project_id
, and name
in the following format:
<project_id>/<name>
project_id
: A string in the format15314cc3-85b4-4338-903f-c28cdee6d005
. The ID of the project.name
: A string in the formatmy-config-map
. The name of the config map.
Syntax
```sh $ pulumi import ibm:index/codeEngineConfigMap:CodeEngineConfigMap code_engine_config_map <project_id>/<name> ```
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.