ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getProjectEnvironment
Explore with Pulumi AI
Provides a read-only data source to retrieve information about a project_environment. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const projectEnvironment = ibm.getProjectEnvironment({
projectEnvironmentId: ibm_project_environment.project_environment_instance.project_environment_id,
projectId: ibm_project_environment.project_environment_instance.project_id,
});
import pulumi
import pulumi_ibm as ibm
project_environment = ibm.get_project_environment(project_environment_id=ibm_project_environment["project_environment_instance"]["project_environment_id"],
project_id=ibm_project_environment["project_environment_instance"]["project_id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.LookupProjectEnvironment(ctx, &ibm.LookupProjectEnvironmentArgs{
ProjectEnvironmentId: ibm_project_environment.Project_environment_instance.Project_environment_id,
ProjectId: ibm_project_environment.Project_environment_instance.Project_id,
}, nil)
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 = Ibm.GetProjectEnvironment.Invoke(new()
{
ProjectEnvironmentId = ibm_project_environment.Project_environment_instance.Project_environment_id,
ProjectId = ibm_project_environment.Project_environment_instance.Project_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.GetProjectEnvironmentArgs;
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 projectEnvironment = IbmFunctions.getProjectEnvironment(GetProjectEnvironmentArgs.builder()
.projectEnvironmentId(ibm_project_environment.project_environment_instance().project_environment_id())
.projectId(ibm_project_environment.project_environment_instance().project_id())
.build());
}
}
variables:
projectEnvironment:
fn::invoke:
function: ibm:getProjectEnvironment
arguments:
projectEnvironmentId: ${ibm_project_environment.project_environment_instance.project_environment_id}
projectId: ${ibm_project_environment.project_environment_instance.project_id}
Using getProjectEnvironment
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProjectEnvironment(args: GetProjectEnvironmentArgs, opts?: InvokeOptions): Promise<GetProjectEnvironmentResult>
function getProjectEnvironmentOutput(args: GetProjectEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetProjectEnvironmentResult>
def get_project_environment(id: Optional[str] = None,
project_environment_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectEnvironmentResult
def get_project_environment_output(id: Optional[pulumi.Input[str]] = None,
project_environment_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectEnvironmentResult]
func LookupProjectEnvironment(ctx *Context, args *LookupProjectEnvironmentArgs, opts ...InvokeOption) (*LookupProjectEnvironmentResult, error)
func LookupProjectEnvironmentOutput(ctx *Context, args *LookupProjectEnvironmentOutputArgs, opts ...InvokeOption) LookupProjectEnvironmentResultOutput
> Note: This function is named LookupProjectEnvironment
in the Go SDK.
public static class GetProjectEnvironment
{
public static Task<GetProjectEnvironmentResult> InvokeAsync(GetProjectEnvironmentArgs args, InvokeOptions? opts = null)
public static Output<GetProjectEnvironmentResult> Invoke(GetProjectEnvironmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProjectEnvironmentResult> getProjectEnvironment(GetProjectEnvironmentArgs args, InvokeOptions options)
public static Output<GetProjectEnvironmentResult> getProjectEnvironment(GetProjectEnvironmentArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getProjectEnvironment:getProjectEnvironment
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Environment stringId - The environment ID.
- 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
- 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
- Project
Environment stringId - The environment ID.
- 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
- 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
- project
Environment StringId - The environment ID.
- 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
- 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
- project
Environment stringId - The environment ID.
- 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
- 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
- project_
environment_ strid - The environment ID.
- 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
- 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
- project
Environment StringId - The environment ID.
- 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
- 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
getProjectEnvironment Result
The following output properties are available:
- 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.
- Definitions
List<Get
Project Environment Definition> - (List) The definition of the project reference. 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
- 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 - Project
Id string - Projects
List<Get
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.
- Definitions
[]Get
Project Environment Definition - (List) The definition of the project reference. 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
- 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 - Project
Id string - Projects
[]Get
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.
- definitions
List<Get
Project Environment Definition> - (List) The definition of the project reference. 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
- 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 - project
Id String - projects
List<Get
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.
- definitions
Get
Project Environment Definition[] - (List) The definition of the project reference. 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
- 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 - project
Id string - projects
Get
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.
- definitions
Sequence[Get
Project Environment Definition] - (List) The definition of the project reference. 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
- 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 - project_
id str - projects
Sequence[Get
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.
- definitions List<Property Map>
- (List) The definition of the project reference. 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
- 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 - project
Id String - 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
GetProjectEnvironmentDefinition
- List<Get
Project Environment Definition Authorization> - (List) The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- Compliance
Profiles List<GetProject Environment Definition Compliance Profile> - (List) The profile that is required for compliance. Nested schema for compliance_profile:
- Description string
- (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>
- (Map) The input variables that are used for configuration definition and environment.
- Name string
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- []Get
Project Environment Definition Authorization - (List) The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- Compliance
Profiles []GetProject Environment Definition Compliance Profile - (List) The profile that is required for compliance. Nested schema for compliance_profile:
- Description string
- (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
- (Map) The input variables that are used for configuration definition and environment.
- Name string
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- List<Get
Project Environment Definition Authorization> - (List) The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- compliance
Profiles List<GetProject Environment Definition Compliance Profile> - (List) The profile that is required for compliance. Nested schema for compliance_profile:
- description String
- (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>
- (Map) The input variables that are used for configuration definition and environment.
- name String
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- Get
Project Environment Definition Authorization[] - (List) The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- compliance
Profiles GetProject Environment Definition Compliance Profile[] - (List) The profile that is required for compliance. Nested schema for compliance_profile:
- description string
- (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}
- (Map) The input variables that are used for configuration definition and environment.
- name string
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- Sequence[Get
Project Environment Definition Authorization] - (List) The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- compliance_
profiles Sequence[GetProject Environment Definition Compliance Profile] - (List) The profile that is required for compliance. Nested schema for compliance_profile:
- description str
- (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 Mapping[str, str]
- (Map) The input variables that are used for configuration definition and environment.
- name str
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- List<Property Map>
- (List) The authorization details. You can authorize by using a trusted profile or an API key in Secrets Manager. Nested schema for authorizations:
- compliance
Profiles List<Property Map> - (List) The profile that is required for compliance. Nested schema for compliance_profile:
- description String
- (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>
- (Map) The input variables that are used for configuration definition and environment.
- name String
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
GetProjectEnvironmentDefinitionAuthorization
- Api
Key string - (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
- (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 - (String) 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 - (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
- (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 - (String) 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 - (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
- (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 - (String) 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 - (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
- (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 - (String) 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 - (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 str
- (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_ strid - (String) 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 - (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
- (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 - (String) 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
GetProjectEnvironmentDefinitionComplianceProfile
- Attachment
Id string - (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
- (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
- Instance
Id string - (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 - (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 - (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 - (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
- (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
- Instance
Id string - (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 - (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 - (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 - (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
- (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
- instance
Id String - (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 - (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 - (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 - (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
- (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
- instance
Id string - (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 - (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 - (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 - (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 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
- instance_
id str - (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 str - (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 str - (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 - (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
- (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
- instance
Id String - (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 - (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 - (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
GetProjectEnvironmentProject
- 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<Get
Project Environment Project Definition> - (List) The definition of the project reference. 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
[]Get
Project Environment Project Definition - (List) The definition of the project reference. 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<Get
Project Environment Project Definition> - (List) The definition of the project reference. 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
Get
Project Environment Project Definition[] - (List) The definition of the project reference. 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[Get
Project Environment Project Definition] - (List) The definition of the project reference. 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>
- (List) The definition of the project reference. 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
GetProjectEnvironmentProjectDefinition
- Name string
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- Name string
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- name String
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- name string
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- name str
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
- name String
- (String) The name of the project.
- Constraints: The maximum length is
64
characters. The minimum length is1
character. The value must match regular expression/^(?!\\s)(?!.*\\s$)[^'"<>{}\\x00-\\x1F]+$/
.
- Constraints: The maximum length is
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.