1. Packages
  2. Ibm Provider
  3. API Docs
  4. getCdTektonPipelineProperty
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getCdTektonPipelineProperty

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    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:

    PipelineId string
    The Tekton pipeline ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[-0-9a-z]+$/.
    PropertyName string
    The property name.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    Id string
    The unique identifier of the cd_tekton_pipeline_property.
    PipelineId string
    The Tekton pipeline ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[-0-9a-z]+$/.
    PropertyName string
    The property name.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    Id string
    The unique identifier of the cd_tekton_pipeline_property.
    pipelineId String
    The Tekton pipeline ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[-0-9a-z]+$/.
    propertyName String
    The property name.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    id String
    The unique identifier of the cd_tekton_pipeline_property.
    pipelineId string
    The Tekton pipeline ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[-0-9a-z]+$/.
    propertyName string
    The property name.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    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 is 36 characters. The value must match regular expression /^[-0-9a-z]+$/.
    property_name str
    The property name.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    id str
    The unique identifier of the cd_tekton_pipeline_property.
    pipelineId String
    The Tekton pipeline ID.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[-0-9a-z]+$/.
    propertyName String
    The property name.

    • Constraints: The maximum length is 253 characters. The minimum length is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    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 using single_select property type.

    • Constraints: The list items must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/. The maximum length is 256 items. The minimum length is 0 items.
    Href string
    (String) API URL for interacting with the property.

    • Constraints: The maximum length is 2048 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    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 is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    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 is 0 characters. The value must match regular expression /^[-0-9a-zA-Z_.]*$/.
    PipelineId string
    PropertyName string
    Type string
    (Forces new resource, String) Property type.

    • Constraints: Allowable values are: secure, text, integration, single_select, appconfig.
    Value string
    (String) Property value. Any string value is valid.

    • Constraints: The maximum length is 4096 characters. The minimum length is 0 characters. The value must match regular expression /^.*$/.
    Enums []string
    (List) Options for single_select property type. Only needed when using single_select property type.

    • Constraints: The list items must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/. The maximum length is 256 items. The minimum length is 0 items.
    Href string
    (String) API URL for interacting with the property.

    • Constraints: The maximum length is 2048 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    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 is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    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 is 0 characters. The value must match regular expression /^[-0-9a-zA-Z_.]*$/.
    PipelineId string
    PropertyName string
    Type string
    (Forces new resource, String) Property type.

    • Constraints: Allowable values are: secure, text, integration, single_select, appconfig.
    Value string
    (String) Property value. Any string value is valid.

    • Constraints: The maximum length is 4096 characters. The minimum length is 0 characters. The value must match regular expression /^.*$/.
    enums List<String>
    (List) Options for single_select property type. Only needed when using single_select property type.

    • Constraints: The list items must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/. The maximum length is 256 items. The minimum length is 0 items.
    href String
    (String) API URL for interacting with the property.

    • Constraints: The maximum length is 2048 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    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 is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    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 is 0 characters. The value must match regular expression /^[-0-9a-zA-Z_.]*$/.
    pipelineId String
    propertyName String
    type String
    (Forces new resource, String) Property type.

    • Constraints: Allowable values are: secure, text, integration, single_select, appconfig.
    value String
    (String) Property value. Any string value is valid.

    • Constraints: The maximum length is 4096 characters. The minimum length is 0 characters. The value must match regular expression /^.*$/.
    enums string[]
    (List) Options for single_select property type. Only needed when using single_select property type.

    • Constraints: The list items must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/. The maximum length is 256 items. The minimum length is 0 items.
    href string
    (String) API URL for interacting with the property.

    • Constraints: The maximum length is 2048 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    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 is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    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 is 0 characters. The value must match regular expression /^[-0-9a-zA-Z_.]*$/.
    pipelineId string
    propertyName string
    type string
    (Forces new resource, String) Property type.

    • Constraints: Allowable values are: secure, text, integration, single_select, appconfig.
    value string
    (String) Property value. Any string value is valid.

    • Constraints: The maximum length is 4096 characters. The minimum length is 0 characters. The value must match regular expression /^.*$/.
    enums Sequence[str]
    (List) Options for single_select property type. Only needed when using single_select property type.

    • Constraints: The list items must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/. The maximum length is 256 items. The minimum length is 0 items.
    href str
    (String) API URL for interacting with the property.

    • Constraints: The maximum length is 2048 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    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 is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    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 is 0 characters. The value must match regular expression /^[-0-9a-zA-Z_.]*$/.
    pipeline_id str
    property_name str
    type str
    (Forces new resource, String) Property type.

    • Constraints: Allowable values are: secure, text, integration, single_select, appconfig.
    value str
    (String) Property value. Any string value is valid.

    • Constraints: The maximum length is 4096 characters. The minimum length is 0 characters. The value must match regular expression /^.*$/.
    enums List<String>
    (List) Options for single_select property type. Only needed when using single_select property type.

    • Constraints: The list items must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/. The maximum length is 256 items. The minimum length is 0 items.
    href String
    (String) API URL for interacting with the property.

    • Constraints: The maximum length is 2048 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
    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 is 1 character. The value must match regular expression /^[-0-9a-zA-Z_.]{1,253}$/.
    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 is 0 characters. The value must match regular expression /^[-0-9a-zA-Z_.]*$/.
    pipelineId String
    propertyName String
    type String
    (Forces new resource, String) Property type.

    • Constraints: Allowable values are: secure, text, integration, single_select, appconfig.
    value String
    (String) Property value. Any string value is valid.

    • Constraints: The maximum length is 4096 characters. The minimum length is 0 characters. The value must match regular expression /^.*$/.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud