ibm.CodeEngineProject
Explore with Pulumi AI
Create and delete code_engine_projects with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const group = ibm.getResourceGroup({
name: "<your_group>",
});
const codeEngineProjectInstance = new ibm.CodeEngineProject("codeEngineProjectInstance", {resourceGroupId: group.then(group => group.id)});
import pulumi
import pulumi_ibm as ibm
group = ibm.get_resource_group(name="<your_group>")
code_engine_project_instance = ibm.CodeEngineProject("codeEngineProjectInstance", resource_group_id=group.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 {
group, err := ibm.LookupResourceGroup(ctx, &ibm.LookupResourceGroupArgs{
Name: pulumi.StringRef("<your_group>"),
}, nil)
if err != nil {
return err
}
_, err = ibm.NewCodeEngineProject(ctx, "codeEngineProjectInstance", &ibm.CodeEngineProjectArgs{
ResourceGroupId: pulumi.String(group.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 @group = Ibm.GetResourceGroup.Invoke(new()
{
Name = "<your_group>",
});
var codeEngineProjectInstance = new Ibm.CodeEngineProject("codeEngineProjectInstance", new()
{
ResourceGroupId = @group.Apply(@group => @group.Apply(getResourceGroupResult => getResourceGroupResult.Id)),
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetResourceGroupArgs;
import com.pulumi.ibm.CodeEngineProject;
import com.pulumi.ibm.CodeEngineProjectArgs;
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 group = IbmFunctions.getResourceGroup(GetResourceGroupArgs.builder()
.name("<your_group>")
.build());
var codeEngineProjectInstance = new CodeEngineProject("codeEngineProjectInstance", CodeEngineProjectArgs.builder()
.resourceGroupId(group.applyValue(getResourceGroupResult -> getResourceGroupResult.id()))
.build());
}
}
resources:
codeEngineProjectInstance:
type: ibm:CodeEngineProject
properties:
resourceGroupId: ${group.id}
variables:
group:
fn::invoke:
function: ibm:getResourceGroup
arguments:
name: <your_group>
Create CodeEngineProject Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CodeEngineProject(name: string, args?: CodeEngineProjectArgs, opts?: CustomResourceOptions);
@overload
def CodeEngineProject(resource_name: str,
args: Optional[CodeEngineProjectArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CodeEngineProject(resource_name: str,
opts: Optional[ResourceOptions] = None,
code_engine_project_id: Optional[str] = None,
name: Optional[str] = None,
resource_group_id: Optional[str] = None,
timeouts: Optional[CodeEngineProjectTimeoutsArgs] = None)
func NewCodeEngineProject(ctx *Context, name string, args *CodeEngineProjectArgs, opts ...ResourceOption) (*CodeEngineProject, error)
public CodeEngineProject(string name, CodeEngineProjectArgs? args = null, CustomResourceOptions? opts = null)
public CodeEngineProject(String name, CodeEngineProjectArgs args)
public CodeEngineProject(String name, CodeEngineProjectArgs args, CustomResourceOptions options)
type: ibm:CodeEngineProject
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 CodeEngineProjectArgs
- 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 CodeEngineProjectArgs
- 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 CodeEngineProjectArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CodeEngineProjectArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CodeEngineProjectArgs
- 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 codeEngineProjectResource = new Ibm.CodeEngineProject("codeEngineProjectResource", new()
{
CodeEngineProjectId = "string",
Name = "string",
ResourceGroupId = "string",
Timeouts = new Ibm.Inputs.CodeEngineProjectTimeoutsArgs
{
Create = "string",
},
});
example, err := ibm.NewCodeEngineProject(ctx, "codeEngineProjectResource", &ibm.CodeEngineProjectArgs{
CodeEngineProjectId: pulumi.String("string"),
Name: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
Timeouts: &ibm.CodeEngineProjectTimeoutsArgs{
Create: pulumi.String("string"),
},
})
var codeEngineProjectResource = new CodeEngineProject("codeEngineProjectResource", CodeEngineProjectArgs.builder()
.codeEngineProjectId("string")
.name("string")
.resourceGroupId("string")
.timeouts(CodeEngineProjectTimeoutsArgs.builder()
.create("string")
.build())
.build());
code_engine_project_resource = ibm.CodeEngineProject("codeEngineProjectResource",
code_engine_project_id="string",
name="string",
resource_group_id="string",
timeouts={
"create": "string",
})
const codeEngineProjectResource = new ibm.CodeEngineProject("codeEngineProjectResource", {
codeEngineProjectId: "string",
name: "string",
resourceGroupId: "string",
timeouts: {
create: "string",
},
});
type: ibm:CodeEngineProject
properties:
codeEngineProjectId: string
name: string
resourceGroupId: string
timeouts:
create: string
CodeEngineProject 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 CodeEngineProject resource accepts the following input properties:
- Code
Engine stringProject Id - The unique identifier of the code_engine_project.
- Name string
- The name of the project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- Resource
Group stringId - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- Timeouts
Code
Engine Project Timeouts
- Code
Engine stringProject Id - The unique identifier of the code_engine_project.
- Name string
- The name of the project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- Resource
Group stringId - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- Timeouts
Code
Engine Project Timeouts Args
- code
Engine StringProject Id - The unique identifier of the code_engine_project.
- name String
- The name of the project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- resource
Group StringId - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- timeouts
Code
Engine Project Timeouts
- code
Engine stringProject Id - The unique identifier of the code_engine_project.
- name string
- The name of the project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- resource
Group stringId - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- timeouts
Code
Engine Project Timeouts
- code_
engine_ strproject_ id - The unique identifier of the code_engine_project.
- name str
- The name of the project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- resource_
group_ strid - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- timeouts
Code
Engine Project Timeouts Args
- code
Engine StringProject Id - The unique identifier of the code_engine_project.
- name String
- The name of the project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- resource
Group StringId - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CodeEngineProject resource produces the following output properties:
- Account
Id string - (String) An alphanumeric value identifying the account ID.
- Created
At string - (String) The timestamp when the project was created.
- Crn string
- (String) The CRN of the project.
- Href string
- (String) When you provision a new resource, 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.
- Project
Id string - (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 for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - Resource
Type string - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- Status string
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- Account
Id string - (String) An alphanumeric value identifying the account ID.
- Created
At string - (String) The timestamp when the project was created.
- Crn string
- (String) The CRN of the project.
- Href string
- (String) When you provision a new resource, 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.
- Project
Id string - (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 for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - Resource
Type string - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- Status string
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- account
Id String - (String) An alphanumeric value identifying the account ID.
- created
At String - (String) The timestamp when the project was created.
- crn String
- (String) The CRN of the project.
- href String
- (String) When you provision a new resource, 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.
- project
Id String - (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 for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - resource
Type String - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- status String
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- account
Id string - (String) An alphanumeric value identifying the account ID.
- created
At string - (String) The timestamp when the project was created.
- crn string
- (String) The CRN of the project.
- href string
- (String) When you provision a new resource, 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.
- project
Id string - (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 for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - resource
Type string - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- status string
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- account_
id str - (String) An alphanumeric value identifying the account ID.
- created_
at str - (String) The timestamp when the project was created.
- crn str
- (String) The CRN of the project.
- href str
- (String) When you provision a new resource, 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.
- project_
id str - (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 str
- (String) The region for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - resource_
type str - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- status str
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- account
Id String - (String) An alphanumeric value identifying the account ID.
- created
At String - (String) The timestamp when the project was created.
- crn String
- (String) The CRN of the project.
- href String
- (String) When you provision a new resource, 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.
- project
Id String - (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 for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - resource
Type String - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- status String
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
Look up Existing CodeEngineProject Resource
Get an existing CodeEngineProject 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?: CodeEngineProjectState, opts?: CustomResourceOptions): CodeEngineProject
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
code_engine_project_id: Optional[str] = None,
created_at: Optional[str] = None,
crn: Optional[str] = None,
href: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
resource_group_id: Optional[str] = None,
resource_type: Optional[str] = None,
status: Optional[str] = None,
timeouts: Optional[CodeEngineProjectTimeoutsArgs] = None) -> CodeEngineProject
func GetCodeEngineProject(ctx *Context, name string, id IDInput, state *CodeEngineProjectState, opts ...ResourceOption) (*CodeEngineProject, error)
public static CodeEngineProject Get(string name, Input<string> id, CodeEngineProjectState? state, CustomResourceOptions? opts = null)
public static CodeEngineProject get(String name, Output<String> id, CodeEngineProjectState state, CustomResourceOptions options)
resources: _: type: ibm:CodeEngineProject 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.
- Account
Id string - (String) An alphanumeric value identifying the account ID.
- Code
Engine stringProject Id - The unique identifier of the code_engine_project.
- Created
At string - (String) The timestamp when the project was created.
- Crn string
- (String) The CRN of the project.
- Href string
- (String) When you provision a new resource, 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 project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- Project
Id string - (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 for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - Resource
Group stringId - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- Resource
Type string - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- Status string
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- Timeouts
Code
Engine Project Timeouts
- Account
Id string - (String) An alphanumeric value identifying the account ID.
- Code
Engine stringProject Id - The unique identifier of the code_engine_project.
- Created
At string - (String) The timestamp when the project was created.
- Crn string
- (String) The CRN of the project.
- Href string
- (String) When you provision a new resource, 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 project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- Project
Id string - (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 for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - Resource
Group stringId - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- Resource
Type string - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- Status string
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- Timeouts
Code
Engine Project Timeouts Args
- account
Id String - (String) An alphanumeric value identifying the account ID.
- code
Engine StringProject Id - The unique identifier of the code_engine_project.
- created
At String - (String) The timestamp when the project was created.
- crn String
- (String) The CRN of the project.
- href String
- (String) When you provision a new resource, 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 project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- project
Id String - (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 for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - resource
Group StringId - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- resource
Type String - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- status String
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- timeouts
Code
Engine Project Timeouts
- account
Id string - (String) An alphanumeric value identifying the account ID.
- code
Engine stringProject Id - The unique identifier of the code_engine_project.
- created
At string - (String) The timestamp when the project was created.
- crn string
- (String) The CRN of the project.
- href string
- (String) When you provision a new resource, 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 project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- project
Id string - (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 for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - resource
Group stringId - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- resource
Type string - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- status string
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- timeouts
Code
Engine Project Timeouts
- account_
id str - (String) An alphanumeric value identifying the account ID.
- code_
engine_ strproject_ id - The unique identifier of the code_engine_project.
- created_
at str - (String) The timestamp when the project was created.
- crn str
- (String) The CRN of the project.
- href str
- (String) When you provision a new resource, 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 project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- project_
id str - (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 str
- (String) The region for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - resource_
group_ strid - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- resource_
type str - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- status str
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- timeouts
Code
Engine Project Timeouts Args
- account
Id String - (String) An alphanumeric value identifying the account ID.
- code
Engine StringProject Id - The unique identifier of the code_engine_project.
- created
At String - (String) The timestamp when the project was created.
- crn String
- (String) The CRN of the project.
- href String
- (String) When you provision a new resource, 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 project.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^([^\\x00-\\x7F]|[a-zA-Z0-9\\-._: ])+$/
.
- Constraints: The maximum length is
- project
Id String - (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 for your project deployment. Possible values:
au-syd
,br-sao
,ca-tor
,eu-de
,eu-es
,eu-gb
,jp-osa
,jp-tok
,us-east
,us-south
. - resource
Group StringId - The ID of the resource group. If this field is not defined, the default resource group of the account will be used.
- Constraints: The maximum length is
32
characters. The minimum length is32
characters. The value must match regular expression/^[a-z0-9]*$/
.
- Constraints: The maximum length is
- resource
Type String - (String) The type of the project.
- Constraints: Allowable values are:
project_v2
.
- Constraints: Allowable values are:
- status String
- (String) The current state of the project. For example, when the project is created and is ready for use, the status of the project is active.
- Constraints: Allowable values are:
active
,inactive
,pending_removal
,hard_deleting
,hard_deletion_failed
,hard_deleted
,deleting
,deletion_failed
,soft_deleted
,preparing
,creating
,creation_failed
.
- Constraints: Allowable values are:
- timeouts Property Map
Supporting Types
CodeEngineProjectTimeouts, CodeEngineProjectTimeoutsArgs
- Create string
- Create string
- create String
- create string
- create str
- create String
Import
You can import the ibm_code_engine_project
resource by using id
. The ID of the project.
Syntax
```sh $ pulumi import ibm:index/codeEngineProject:CodeEngineProject code_engine_project <id> ```
Example
$ pulumi import ibm:index/codeEngineProject:CodeEngineProject code_engine_project 4e49b3e0-27a8-48d2-a784-c7ee48bb863b
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.