ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getCdTektonPipelineProperty
Explore with Pulumi AI
Provides a read-only data source to retrieve information about a cd_tekton_pipeline_property. 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 cdTektonPipelineProperty = ibm.getCdTektonPipelineProperty({
pipelineId: ibm_cd_tekton_pipeline_property.cd_tekton_pipeline_property_instance.pipeline_id,
propertyName: "debug-pipeline",
});
import pulumi
import pulumi_ibm as ibm
cd_tekton_pipeline_property = ibm.get_cd_tekton_pipeline_property(pipeline_id=ibm_cd_tekton_pipeline_property["cd_tekton_pipeline_property_instance"]["pipeline_id"],
property_name="debug-pipeline")
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.LookupCdTektonPipelineProperty(ctx, &ibm.LookupCdTektonPipelinePropertyArgs{
PipelineId: ibm_cd_tekton_pipeline_property.Cd_tekton_pipeline_property_instance.Pipeline_id,
PropertyName: "debug-pipeline",
}, 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 cdTektonPipelineProperty = Ibm.GetCdTektonPipelineProperty.Invoke(new()
{
PipelineId = ibm_cd_tekton_pipeline_property.Cd_tekton_pipeline_property_instance.Pipeline_id,
PropertyName = "debug-pipeline",
});
});
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.GetCdTektonPipelinePropertyArgs;
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 cdTektonPipelineProperty = IbmFunctions.getCdTektonPipelineProperty(GetCdTektonPipelinePropertyArgs.builder()
.pipelineId(ibm_cd_tekton_pipeline_property.cd_tekton_pipeline_property_instance().pipeline_id())
.propertyName("debug-pipeline")
.build());
}
}
variables:
cdTektonPipelineProperty:
fn::invoke:
function: ibm:getCdTektonPipelineProperty
arguments:
pipelineId: ${ibm_cd_tekton_pipeline_property.cd_tekton_pipeline_property_instance.pipeline_id}
propertyName: debug-pipeline
Using getCdTektonPipelineProperty
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 getCdTektonPipelineProperty(args: GetCdTektonPipelinePropertyArgs, opts?: InvokeOptions): Promise<GetCdTektonPipelinePropertyResult>
function getCdTektonPipelinePropertyOutput(args: GetCdTektonPipelinePropertyOutputArgs, opts?: InvokeOptions): Output<GetCdTektonPipelinePropertyResult>
def get_cd_tekton_pipeline_property(id: Optional[str] = None,
pipeline_id: Optional[str] = None,
property_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCdTektonPipelinePropertyResult
def get_cd_tekton_pipeline_property_output(id: Optional[pulumi.Input[str]] = None,
pipeline_id: Optional[pulumi.Input[str]] = None,
property_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCdTektonPipelinePropertyResult]
func LookupCdTektonPipelineProperty(ctx *Context, args *LookupCdTektonPipelinePropertyArgs, opts ...InvokeOption) (*LookupCdTektonPipelinePropertyResult, error)
func LookupCdTektonPipelinePropertyOutput(ctx *Context, args *LookupCdTektonPipelinePropertyOutputArgs, opts ...InvokeOption) LookupCdTektonPipelinePropertyResultOutput
> Note: This function is named LookupCdTektonPipelineProperty
in the Go SDK.
public static class GetCdTektonPipelineProperty
{
public static Task<GetCdTektonPipelinePropertyResult> InvokeAsync(GetCdTektonPipelinePropertyArgs args, InvokeOptions? opts = null)
public static Output<GetCdTektonPipelinePropertyResult> Invoke(GetCdTektonPipelinePropertyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCdTektonPipelinePropertyResult> getCdTektonPipelineProperty(GetCdTektonPipelinePropertyArgs args, InvokeOptions options)
public static Output<GetCdTektonPipelinePropertyResult> getCdTektonPipelineProperty(GetCdTektonPipelinePropertyArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getCdTektonPipelineProperty:getCdTektonPipelineProperty
arguments:
# arguments dictionary
The following arguments are supported:
- Pipeline
Id string - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Property
Name string - The property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- Id string
- The unique identifier of the cd_tekton_pipeline_property.
- Pipeline
Id string - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- Property
Name string - The property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- Id string
- The unique identifier of the cd_tekton_pipeline_property.
- pipeline
Id String - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- property
Name String - The property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- id String
- The unique identifier of the cd_tekton_pipeline_property.
- pipeline
Id string - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- property
Name string - The property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- id string
- The unique identifier of the cd_tekton_pipeline_property.
- pipeline_
id str - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- property_
name str - The property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- id str
- The unique identifier of the cd_tekton_pipeline_property.
- pipeline
Id String - The Tekton pipeline ID.
- Constraints: The maximum length is
36
characters. The minimum length is36
characters. The value must match regular expression/^[-0-9a-z]+$/
.
- Constraints: The maximum length is
- property
Name String - The property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- id String
- The unique identifier of the cd_tekton_pipeline_property.
getCdTektonPipelineProperty Result
The following output properties are available:
- Enums List<string>
- (List) Options for
single_select
property type. Only needed when usingsingle_select
property type.- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is256
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Href string
- (String) API URL for interacting with the property.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Id string
- The unique identifier of the cd_tekton_pipeline_property.
- Locked bool
- (Boolean) When true, this property cannot be overridden by a trigger property or at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- Name string
- (Forces new resource, String) Property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- Path string
- (String) A dot notation path for
integration
type properties only, that selects a value from the tool integration. If left blank the full tool integration data will be used.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^[-0-9a-zA-Z_.]*$/
.
- Constraints: The maximum length is
- Pipeline
Id string - Property
Name string - Type string
- (Forces new resource, String) Property type.
- Constraints: Allowable values are:
secure
,text
,integration
,single_select
,appconfig
.
- Constraints: Allowable values are:
- Value string
- (String) Property value. Any string value is valid.
- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Enums []string
- (List) Options for
single_select
property type. Only needed when usingsingle_select
property type.- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is256
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Href string
- (String) API URL for interacting with the property.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Id string
- The unique identifier of the cd_tekton_pipeline_property.
- Locked bool
- (Boolean) When true, this property cannot be overridden by a trigger property or at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- Name string
- (Forces new resource, String) Property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- Path string
- (String) A dot notation path for
integration
type properties only, that selects a value from the tool integration. If left blank the full tool integration data will be used.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^[-0-9a-zA-Z_.]*$/
.
- Constraints: The maximum length is
- Pipeline
Id string - Property
Name string - Type string
- (Forces new resource, String) Property type.
- Constraints: Allowable values are:
secure
,text
,integration
,single_select
,appconfig
.
- Constraints: Allowable values are:
- Value string
- (String) Property value. Any string value is valid.
- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- enums List<String>
- (List) Options for
single_select
property type. Only needed when usingsingle_select
property type.- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is256
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- href String
- (String) API URL for interacting with the property.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id String
- The unique identifier of the cd_tekton_pipeline_property.
- locked Boolean
- (Boolean) When true, this property cannot be overridden by a trigger property or at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- name String
- (Forces new resource, String) Property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- path String
- (String) A dot notation path for
integration
type properties only, that selects a value from the tool integration. If left blank the full tool integration data will be used.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^[-0-9a-zA-Z_.]*$/
.
- Constraints: The maximum length is
- pipeline
Id String - property
Name String - type String
- (Forces new resource, String) Property type.
- Constraints: Allowable values are:
secure
,text
,integration
,single_select
,appconfig
.
- Constraints: Allowable values are:
- value String
- (String) Property value. Any string value is valid.
- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- enums string[]
- (List) Options for
single_select
property type. Only needed when usingsingle_select
property type.- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is256
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- href string
- (String) API URL for interacting with the property.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id string
- The unique identifier of the cd_tekton_pipeline_property.
- locked boolean
- (Boolean) When true, this property cannot be overridden by a trigger property or at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- name string
- (Forces new resource, String) Property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- path string
- (String) A dot notation path for
integration
type properties only, that selects a value from the tool integration. If left blank the full tool integration data will be used.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^[-0-9a-zA-Z_.]*$/
.
- Constraints: The maximum length is
- pipeline
Id string - property
Name string - type string
- (Forces new resource, String) Property type.
- Constraints: Allowable values are:
secure
,text
,integration
,single_select
,appconfig
.
- Constraints: Allowable values are:
- value string
- (String) Property value. Any string value is valid.
- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- enums Sequence[str]
- (List) Options for
single_select
property type. Only needed when usingsingle_select
property type.- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is256
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- href str
- (String) API URL for interacting with the property.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id str
- The unique identifier of the cd_tekton_pipeline_property.
- locked bool
- (Boolean) When true, this property cannot be overridden by a trigger property or at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- name str
- (Forces new resource, String) Property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- path str
- (String) A dot notation path for
integration
type properties only, that selects a value from the tool integration. If left blank the full tool integration data will be used.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^[-0-9a-zA-Z_.]*$/
.
- Constraints: The maximum length is
- pipeline_
id str - property_
name str - type str
- (Forces new resource, String) Property type.
- Constraints: Allowable values are:
secure
,text
,integration
,single_select
,appconfig
.
- Constraints: Allowable values are:
- value str
- (String) Property value. Any string value is valid.
- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- enums List<String>
- (List) Options for
single_select
property type. Only needed when usingsingle_select
property type.- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is256
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- href String
- (String) API URL for interacting with the property.
- Constraints: The maximum length is
2048
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- id String
- The unique identifier of the cd_tekton_pipeline_property.
- locked Boolean
- (Boolean) When true, this property cannot be overridden by a trigger property or at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- name String
- (Forces new resource, String) Property name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.]{1,253}$/
.
- Constraints: The maximum length is
- path String
- (String) A dot notation path for
integration
type properties only, that selects a value from the tool integration. If left blank the full tool integration data will be used.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^[-0-9a-zA-Z_.]*$/
.
- Constraints: The maximum length is
- pipeline
Id String - property
Name String - type String
- (Forces new resource, String) Property type.
- Constraints: Allowable values are:
secure
,text
,integration
,single_select
,appconfig
.
- Constraints: Allowable values are:
- value String
- (String) Property value. Any string value is valid.
- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- 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.