ibm.ProjectEnvironment
Explore with Pulumi AI
Create, update, and delete project_environments with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const projectEnvironment = new ibm.ProjectEnvironment("projectEnvironment", {
definition: {
name: "environment-stage",
description: "environment for stage project",
authorizations: {
method: "api_key",
apiKey: "<your_apikey_here>",
},
},
projectId: ibm_project.project_instance.id,
});
import pulumi
import pulumi_ibm as ibm
project_environment = ibm.ProjectEnvironment("projectEnvironment",
definition={
"name": "environment-stage",
"description": "environment for stage project",
"authorizations": {
"method": "api_key",
"api_key": "<your_apikey_here>",
},
},
project_id=ibm_project["project_instance"]["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.NewProjectEnvironment(ctx, "projectEnvironment", &ibm.ProjectEnvironmentArgs{
Definition: &ibm.ProjectEnvironmentDefinitionArgs{
Name: pulumi.String("environment-stage"),
Description: pulumi.String("environment for stage project"),
Authorizations: &ibm.ProjectEnvironmentDefinitionAuthorizationsArgs{
Method: pulumi.String("api_key"),
ApiKey: pulumi.String("<your_apikey_here>"),
},
},
ProjectId: pulumi.Any(ibm_project.Project_instance.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 projectEnvironment = new Ibm.ProjectEnvironment("projectEnvironment", new()
{
Definition = new Ibm.Inputs.ProjectEnvironmentDefinitionArgs
{
Name = "environment-stage",
Description = "environment for stage project",
Authorizations = new Ibm.Inputs.ProjectEnvironmentDefinitionAuthorizationsArgs
{
Method = "api_key",
ApiKey = "<your_apikey_here>",
},
},
ProjectId = ibm_project.Project_instance.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.ProjectEnvironment;
import com.pulumi.ibm.ProjectEnvironmentArgs;
import com.pulumi.ibm.inputs.ProjectEnvironmentDefinitionArgs;
import com.pulumi.ibm.inputs.ProjectEnvironmentDefinitionAuthorizationsArgs;
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 projectEnvironment = new ProjectEnvironment("projectEnvironment", ProjectEnvironmentArgs.builder()
.definition(ProjectEnvironmentDefinitionArgs.builder()
.name("environment-stage")
.description("environment for stage project")
.authorizations(ProjectEnvironmentDefinitionAuthorizationsArgs.builder()
.method("api_key")
.apiKey("<your_apikey_here>")
.build())
.build())
.projectId(ibm_project.project_instance().id())
.build());
}
}
resources:
projectEnvironment:
type: ibm:ProjectEnvironment
properties:
definition:
name: environment-stage
description: environment for stage project
authorizations:
method: api_key
apiKey: <your_apikey_here>
projectId: ${ibm_project.project_instance.id}
Create ProjectEnvironment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProjectEnvironment(name: string, args: ProjectEnvironmentArgs, opts?: CustomResourceOptions);
@overload
def ProjectEnvironment(resource_name: str,
args: ProjectEnvironmentInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProjectEnvironment(resource_name: str,
opts: Optional[ResourceOptions] = None,
definition: Optional[ProjectEnvironmentDefinitionArgs] = None,
project_id: Optional[str] = None,
ibm_project_environment_id: Optional[str] = None)
func NewProjectEnvironment(ctx *Context, name string, args ProjectEnvironmentArgs, opts ...ResourceOption) (*ProjectEnvironment, error)
public ProjectEnvironment(string name, ProjectEnvironmentArgs args, CustomResourceOptions? opts = null)
public ProjectEnvironment(String name, ProjectEnvironmentArgs args)
public ProjectEnvironment(String name, ProjectEnvironmentArgs args, CustomResourceOptions options)
type: ibm:ProjectEnvironment
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 ProjectEnvironmentArgs
- 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 ProjectEnvironmentInitArgs
- 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 ProjectEnvironmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProjectEnvironmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProjectEnvironmentArgs
- 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 projectEnvironmentResource = new Ibm.ProjectEnvironment("projectEnvironmentResource", new()
{
Definition = new Ibm.Inputs.ProjectEnvironmentDefinitionArgs
{
Name = "string",
Authorizations = new Ibm.Inputs.ProjectEnvironmentDefinitionAuthorizationsArgs
{
ApiKey = "string",
Method = "string",
TrustedProfileId = "string",
},
ComplianceProfile = new Ibm.Inputs.ProjectEnvironmentDefinitionComplianceProfileArgs
{
AttachmentId = "string",
Id = "string",
InstanceId = "string",
InstanceLocation = "string",
ProfileName = "string",
},
Description = "string",
Inputs =
{
{ "string", "string" },
},
},
ProjectId = "string",
IbmProjectEnvironmentId = "string",
});
example, err := ibm.NewProjectEnvironment(ctx, "projectEnvironmentResource", &ibm.ProjectEnvironmentArgs{
Definition: &ibm.ProjectEnvironmentDefinitionArgs{
Name: pulumi.String("string"),
Authorizations: &ibm.ProjectEnvironmentDefinitionAuthorizationsArgs{
ApiKey: pulumi.String("string"),
Method: pulumi.String("string"),
TrustedProfileId: pulumi.String("string"),
},
ComplianceProfile: &ibm.ProjectEnvironmentDefinitionComplianceProfileArgs{
AttachmentId: pulumi.String("string"),
Id: pulumi.String("string"),
InstanceId: pulumi.String("string"),
InstanceLocation: pulumi.String("string"),
ProfileName: pulumi.String("string"),
},
Description: pulumi.String("string"),
Inputs: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
ProjectId: pulumi.String("string"),
IbmProjectEnvironmentId: pulumi.String("string"),
})
var projectEnvironmentResource = new ProjectEnvironment("projectEnvironmentResource", ProjectEnvironmentArgs.builder()
.definition(ProjectEnvironmentDefinitionArgs.builder()
.name("string")
.authorizations(ProjectEnvironmentDefinitionAuthorizationsArgs.builder()
.apiKey("string")
.method("string")
.trustedProfileId("string")
.build())
.complianceProfile(ProjectEnvironmentDefinitionComplianceProfileArgs.builder()
.attachmentId("string")
.id("string")
.instanceId("string")
.instanceLocation("string")
.profileName("string")
.build())
.description("string")
.inputs(Map.of("string", "string"))
.build())
.projectId("string")
.ibmProjectEnvironmentId("string")
.build());
project_environment_resource = ibm.ProjectEnvironment("projectEnvironmentResource",
definition={
"name": "string",
"authorizations": {
"api_key": "string",
"method": "string",
"trusted_profile_id": "string",
},
"compliance_profile": {
"attachment_id": "string",
"id": "string",
"instance_id": "string",
"instance_location": "string",
"profile_name": "string",
},
"description": "string",
"inputs": {
"string": "string",
},
},
project_id="string",
ibm_project_environment_id="string")
const projectEnvironmentResource = new ibm.ProjectEnvironment("projectEnvironmentResource", {
definition: {
name: "string",
authorizations: {
apiKey: "string",
method: "string",
trustedProfileId: "string",
},
complianceProfile: {
attachmentId: "string",
id: "string",
instanceId: "string",
instanceLocation: "string",
profileName: "string",
},
description: "string",
inputs: {
string: "string",
},
},
projectId: "string",
ibmProjectEnvironmentId: "string",
});
type: ibm:ProjectEnvironment
properties:
definition:
authorizations:
apiKey: string
method: string
trustedProfileId: string
complianceProfile:
attachmentId: string
id: string
instanceId: string
instanceLocation: string
profileName: string
description: string
inputs:
string: string
name: string
ibmProjectEnvironmentId: string
projectId: string
ProjectEnvironment 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 ProjectEnvironment resource accepts the following input properties:
- Definition
Project
Environment Definition - The environment definition. Nested schema for definition:
- Project
Id string - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Ibm
Project stringEnvironment Id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Definition
Project
Environment Definition Args - The environment definition. Nested schema for definition:
- Project
Id string - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Ibm
Project stringEnvironment Id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- definition
Project
Environment Definition - The environment definition. Nested schema for definition:
- project
Id String - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- ibm
Project StringEnvironment Id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- definition
Project
Environment Definition - The environment definition. Nested schema for definition:
- project
Id string - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- ibm
Project stringEnvironment Id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- definition
Project
Environment Definition Args - The environment definition. Nested schema for definition:
- project_
id str - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- ibm_
project_ strenvironment_ id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- definition Property Map
- The environment definition. Nested schema for definition:
- project
Id String - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- ibm
Project StringEnvironment Id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
Outputs
All input properties are implicitly available as output properties. Additionally, the ProjectEnvironment resource produces the following output properties:
- Created
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- Href string
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- Project
Environment stringId - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- Projects
List<Project
Environment Project> - (List) The project that is referenced by this resource. Nested schema for project:
- Target
Account string - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
- Created
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- Href string
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- Project
Environment stringId - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- Projects
[]Project
Environment Project - (List) The project that is referenced by this resource. Nested schema for project:
- Target
Account string - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
- created
At String - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- href String
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- project
Environment StringId - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- projects
List<Project
Environment Project> - (List) The project that is referenced by this resource. Nested schema for project:
- target
Account String - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
- created
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- href string
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- project
Environment stringId - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- projects
Project
Environment Project[] - (List) The project that is referenced by this resource. Nested schema for project:
- target
Account string - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
- created_
at str - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- href str
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
at str - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- project_
environment_ strid - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- projects
Sequence[Project
Environment Project] - (List) The project that is referenced by this resource. Nested schema for project:
- target_
account str - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
- created
At String - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- href String
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- project
Environment StringId - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- projects List<Property Map>
- (List) The project that is referenced by this resource. Nested schema for project:
- target
Account String - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
Look up Existing ProjectEnvironment Resource
Get an existing ProjectEnvironment 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?: ProjectEnvironmentState, opts?: CustomResourceOptions): ProjectEnvironment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[str] = None,
definition: Optional[ProjectEnvironmentDefinitionArgs] = None,
href: Optional[str] = None,
ibm_project_environment_id: Optional[str] = None,
modified_at: Optional[str] = None,
project_environment_id: Optional[str] = None,
project_id: Optional[str] = None,
projects: Optional[Sequence[ProjectEnvironmentProjectArgs]] = None,
target_account: Optional[str] = None) -> ProjectEnvironment
func GetProjectEnvironment(ctx *Context, name string, id IDInput, state *ProjectEnvironmentState, opts ...ResourceOption) (*ProjectEnvironment, error)
public static ProjectEnvironment Get(string name, Input<string> id, ProjectEnvironmentState? state, CustomResourceOptions? opts = null)
public static ProjectEnvironment get(String name, Output<String> id, ProjectEnvironmentState state, CustomResourceOptions options)
resources: _: type: ibm:ProjectEnvironment 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.
- Created
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- Definition
Project
Environment Definition - The environment definition. Nested schema for definition:
- Href string
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- Ibm
Project stringEnvironment Id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Modified
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- Project
Environment stringId - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- Project
Id string - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Projects
List<Project
Environment Project> - (List) The project that is referenced by this resource. Nested schema for project:
- Target
Account string - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
- Created
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- Definition
Project
Environment Definition Args - The environment definition. Nested schema for definition:
- Href string
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- Ibm
Project stringEnvironment Id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Modified
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- Project
Environment stringId - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- Project
Id string - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Projects
[]Project
Environment Project Args - (List) The project that is referenced by this resource. Nested schema for project:
- Target
Account string - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
- created
At String - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- definition
Project
Environment Definition - The environment definition. Nested schema for definition:
- href String
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- ibm
Project StringEnvironment Id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- modified
At String - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- project
Environment StringId - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- project
Id String - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- projects
List<Project
Environment Project> - (List) The project that is referenced by this resource. Nested schema for project:
- target
Account String - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
- created
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- definition
Project
Environment Definition - The environment definition. Nested schema for definition:
- href string
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- ibm
Project stringEnvironment Id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- modified
At string - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- project
Environment stringId - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- project
Id string - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- projects
Project
Environment Project[] - (List) The project that is referenced by this resource. Nested schema for project:
- target
Account string - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
- created_
at str - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- definition
Project
Environment Definition Args - The environment definition. Nested schema for definition:
- href str
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- ibm_
project_ strenvironment_ id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- modified_
at str - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- project_
environment_ strid - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- project_
id str - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- projects
Sequence[Project
Environment Project Args] - (List) The project that is referenced by this resource. Nested schema for project:
- target_
account str - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
- created
At String - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- definition Property Map
- The environment definition. Nested schema for definition:
- href String
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- ibm
Project StringEnvironment Id - (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- modified
At String - (String) A date and time value in the format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ to match the date and time format as specified by RFC 3339.
- project
Environment StringId - (String) The environment ID as a friendly name.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$).+$/
.
- Constraints: The maximum length is
- project
Id String - The unique project ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- projects List<Property Map>
- (List) The project that is referenced by this resource. Nested schema for project:
- target
Account String - (String) The target account ID derived from the authentication block values. The target account exists only if the environment currently has an authorization block.
- Constraints: The maximum length is
64
characters. The value must match regular expression/^[a-zA-Z0-9.-]+$/
.
- Constraints: The maximum length is
Supporting Types
ProjectEnvironmentDefinition, ProjectEnvironmentDefinitionArgs
- Name string
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- Project
Environment Definition Authorizations - The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- Compliance
Profile ProjectEnvironment Definition Compliance Profile - The profile that is required for compliance. Nested schema for compliance_profile:
- Description string
- The description of the environment.
- Constraints: The default value is
''
. The maximum length is1024
characters. The minimum length is0
characters. The value must match regular expression/^$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/
.
- Constraints: The default value is
- Inputs Dictionary<string, string>
- The input variables that are used for configuration definition and environment.
- Name string
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- Project
Environment Definition Authorizations - The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- Compliance
Profile ProjectEnvironment Definition Compliance Profile - The profile that is required for compliance. Nested schema for compliance_profile:
- Description string
- The description of the environment.
- Constraints: The default value is
''
. The maximum length is1024
characters. The minimum length is0
characters. The value must match regular expression/^$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/
.
- Constraints: The default value is
- Inputs map[string]string
- The input variables that are used for configuration definition and environment.
- name String
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- Project
Environment Definition Authorizations - The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- compliance
Profile ProjectEnvironment Definition Compliance Profile - The profile that is required for compliance. Nested schema for compliance_profile:
- description String
- The description of the environment.
- Constraints: The default value is
''
. The maximum length is1024
characters. The minimum length is0
characters. The value must match regular expression/^$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/
.
- Constraints: The default value is
- inputs Map<String,String>
- The input variables that are used for configuration definition and environment.
- name string
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- Project
Environment Definition Authorizations - The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- compliance
Profile ProjectEnvironment Definition Compliance Profile - The profile that is required for compliance. Nested schema for compliance_profile:
- description string
- The description of the environment.
- Constraints: The default value is
''
. The maximum length is1024
characters. The minimum length is0
characters. The value must match regular expression/^$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/
.
- Constraints: The default value is
- inputs {[key: string]: string}
- The input variables that are used for configuration definition and environment.
- name str
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- Project
Environment Definition Authorizations - The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- compliance_
profile ProjectEnvironment Definition Compliance Profile - The profile that is required for compliance. Nested schema for compliance_profile:
- description str
- The description of the environment.
- Constraints: The default value is
''
. The maximum length is1024
characters. The minimum length is0
characters. The value must match regular expression/^$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/
.
- Constraints: The default value is
- inputs Mapping[str, str]
- The input variables that are used for configuration definition and environment.
- name String
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- Property Map
- The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- compliance
Profile Property Map - The profile that is required for compliance. Nested schema for compliance_profile:
- description String
- The description of the environment.
- Constraints: The default value is
''
. The maximum length is1024
characters. The minimum length is0
characters. The value must match regular expression/^$|^(?!\\s)(?!.*\\s$)[^\\x00-\\x1F]*$/
.
- Constraints: The default value is
- inputs Map<String>
- The input variables that are used for configuration definition and environment.
ProjectEnvironmentDefinitionAuthorizations, ProjectEnvironmentDefinitionAuthorizationsArgs
- Api
Key string - The IBM Cloud API Key. It can be either raw or pulled from the catalog via a
CRN
orJSON
blob.- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- Method string
- The authorization method. You can authorize by using a trusted profile or an API key in Secrets Manager.
- Constraints: Allowable values are:
api_key
,trusted_profile
.
- Constraints: Allowable values are:
- Trusted
Profile stringId - The trusted profile ID.
- Constraints: The maximum length is
512
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Api
Key string - The IBM Cloud API Key. It can be either raw or pulled from the catalog via a
CRN
orJSON
blob.- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- Method string
- The authorization method. You can authorize by using a trusted profile or an API key in Secrets Manager.
- Constraints: Allowable values are:
api_key
,trusted_profile
.
- Constraints: Allowable values are:
- Trusted
Profile stringId - The trusted profile ID.
- Constraints: The maximum length is
512
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- api
Key String - The IBM Cloud API Key. It can be either raw or pulled from the catalog via a
CRN
orJSON
blob.- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- method String
- The authorization method. You can authorize by using a trusted profile or an API key in Secrets Manager.
- Constraints: Allowable values are:
api_key
,trusted_profile
.
- Constraints: Allowable values are:
- trusted
Profile StringId - The trusted profile ID.
- Constraints: The maximum length is
512
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- api
Key string - The IBM Cloud API Key. It can be either raw or pulled from the catalog via a
CRN
orJSON
blob.- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- method string
- The authorization method. You can authorize by using a trusted profile or an API key in Secrets Manager.
- Constraints: Allowable values are:
api_key
,trusted_profile
.
- Constraints: Allowable values are:
- trusted
Profile stringId - The trusted profile ID.
- Constraints: The maximum length is
512
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- api_
key str - The IBM Cloud API Key. It can be either raw or pulled from the catalog via a
CRN
orJSON
blob.- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- method str
- The authorization method. You can authorize by using a trusted profile or an API key in Secrets Manager.
- Constraints: Allowable values are:
api_key
,trusted_profile
.
- Constraints: Allowable values are:
- trusted_
profile_ strid - The trusted profile ID.
- Constraints: The maximum length is
512
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- api
Key String - The IBM Cloud API Key. It can be either raw or pulled from the catalog via a
CRN
orJSON
blob.- Constraints: The maximum length is
512
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- method String
- The authorization method. You can authorize by using a trusted profile or an API key in Secrets Manager.
- Constraints: Allowable values are:
api_key
,trusted_profile
.
- Constraints: Allowable values are:
- trusted
Profile StringId - The trusted profile ID.
- Constraints: The maximum length is
512
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
ProjectEnvironmentDefinitionComplianceProfile, ProjectEnvironmentDefinitionComplianceProfileArgs
- Attachment
Id string - A unique ID for the attachment to a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Id string
- The unique ID for the compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Instance
Id string - A unique ID for the instance of a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Instance
Location string - The location of the compliance instance.
- Constraints: Allowable values are:
us-south
,us-east
,eu-gb
,eu-de
,ca-tor
.
- Constraints: Allowable values are:
- Profile
Name string - The name of the compliance profile.
- Constraints: The maximum length is
1024
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- Attachment
Id string - A unique ID for the attachment to a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Id string
- The unique ID for the compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Instance
Id string - A unique ID for the instance of a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Instance
Location string - The location of the compliance instance.
- Constraints: Allowable values are:
us-south
,us-east
,eu-gb
,eu-de
,ca-tor
.
- Constraints: Allowable values are:
- Profile
Name string - The name of the compliance profile.
- Constraints: The maximum length is
1024
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- attachment
Id String - A unique ID for the attachment to a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- id String
- The unique ID for the compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- instance
Id String - A unique ID for the instance of a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- instance
Location String - The location of the compliance instance.
- Constraints: Allowable values are:
us-south
,us-east
,eu-gb
,eu-de
,ca-tor
.
- Constraints: Allowable values are:
- profile
Name String - The name of the compliance profile.
- Constraints: The maximum length is
1024
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- attachment
Id string - A unique ID for the attachment to a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- id string
- The unique ID for the compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- instance
Id string - A unique ID for the instance of a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- instance
Location string - The location of the compliance instance.
- Constraints: Allowable values are:
us-south
,us-east
,eu-gb
,eu-de
,ca-tor
.
- Constraints: Allowable values are:
- profile
Name string - The name of the compliance profile.
- Constraints: The maximum length is
1024
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- attachment_
id str - A unique ID for the attachment to a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- id str
- The unique ID for the compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- instance_
id str - A unique ID for the instance of a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- instance_
location str - The location of the compliance instance.
- Constraints: Allowable values are:
us-south
,us-east
,eu-gb
,eu-de
,ca-tor
.
- Constraints: Allowable values are:
- profile_
name str - The name of the compliance profile.
- Constraints: The maximum length is
1024
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
- attachment
Id String - A unique ID for the attachment to a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- id String
- The unique ID for the compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- instance
Id String - A unique ID for the instance of a compliance profile.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- instance
Location String - The location of the compliance instance.
- Constraints: Allowable values are:
us-south
,us-east
,eu-gb
,eu-de
,ca-tor
.
- Constraints: Allowable values are:
- profile
Name String - The name of the compliance profile.
- Constraints: The maximum length is
1024
characters. The minimum length is0
characters. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^<>\\x00-\\x1F]*$/
.
- Constraints: The maximum length is
ProjectEnvironmentProject, ProjectEnvironmentProjectArgs
- Crn string
- (String) An IBM Cloud resource name that uniquely identifies a resource.
- Constraints: The maximum length is
512
characters. The minimum length is4
characters. The value must match regular expression/(?!\\s)(?!.*\\s$)^(crn)[^'"<>{}\\s\\x00-\\x1F]*/
.
- Constraints: The maximum length is
- Definitions
List<Project
Environment Project Definition> - The environment definition. Nested schema for definition:
- Href string
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- Id string
- (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- Crn string
- (String) An IBM Cloud resource name that uniquely identifies a resource.
- Constraints: The maximum length is
512
characters. The minimum length is4
characters. The value must match regular expression/(?!\\s)(?!.*\\s$)^(crn)[^'"<>{}\\s\\x00-\\x1F]*/
.
- Constraints: The maximum length is
- Definitions
[]Project
Environment Project Definition - The environment definition. Nested schema for definition:
- Href string
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- Id string
- (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- crn String
- (String) An IBM Cloud resource name that uniquely identifies a resource.
- Constraints: The maximum length is
512
characters. The minimum length is4
characters. The value must match regular expression/(?!\\s)(?!.*\\s$)^(crn)[^'"<>{}\\s\\x00-\\x1F]*/
.
- Constraints: The maximum length is
- definitions
List<Project
Environment Project Definition> - The environment definition. Nested schema for definition:
- href String
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- id String
- (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- crn string
- (String) An IBM Cloud resource name that uniquely identifies a resource.
- Constraints: The maximum length is
512
characters. The minimum length is4
characters. The value must match regular expression/(?!\\s)(?!.*\\s$)^(crn)[^'"<>{}\\s\\x00-\\x1F]*/
.
- Constraints: The maximum length is
- definitions
Project
Environment Project Definition[] - The environment definition. Nested schema for definition:
- href string
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- id string
- (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- crn str
- (String) An IBM Cloud resource name that uniquely identifies a resource.
- Constraints: The maximum length is
512
characters. The minimum length is4
characters. The value must match regular expression/(?!\\s)(?!.*\\s$)^(crn)[^'"<>{}\\s\\x00-\\x1F]*/
.
- Constraints: The maximum length is
- definitions
Sequence[Project
Environment Project Definition] - The environment definition. Nested schema for definition:
- href str
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- id str
- (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
- crn String
- (String) An IBM Cloud resource name that uniquely identifies a resource.
- Constraints: The maximum length is
512
characters. The minimum length is4
characters. The value must match regular expression/(?!\\s)(?!.*\\s$)^(crn)[^'"<>{}\\s\\x00-\\x1F]*/
.
- Constraints: The maximum length is
- definitions List<Property Map>
- The environment definition. Nested schema for definition:
- href String
- (String) A URL.
- Constraints: The maximum length is
256
characters. The minimum length is1
character. The value must match regular expression/^(http(s)?:\/\/)[a-zA-Z0-9\\$\\-_\\.+!\\*'\\(\\),=&?\/]+$/
.
- Constraints: The maximum length is
- id String
- (String) The unique ID.
- Constraints: The maximum length is
128
characters. The value must match regular expression/^[\\.\\-0-9a-zA-Z]+$/
.
- Constraints: The maximum length is
ProjectEnvironmentProjectDefinition, ProjectEnvironmentProjectDefinitionArgs
- Name string
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- Name string
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- name String
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- name string
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- name str
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- name String
- The name of the environment. It's unique within the account across projects and regions.
- Constraints: The maximum length is
128
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
Import
You can import the ibm_project_environment
resource by using id
.
The id
property can be formed from project_id
, and project_environment_id
in the following format:
<project_id>/<project_environment_id>
project_id
: A string. The unique project ID.project_environment_id
: A string. The environment ID as a friendly name.
Syntax
```sh $ pulumi import ibm:index/projectEnvironment:ProjectEnvironment project_environment <project_id>/<project_environment_id> ```
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.