ibm.CdTektonPipelineTrigger
Explore with Pulumi AI
Create, update, and delete cd_tekton_pipeline_triggers with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const cdTektonPipelineTriggerInstance = new ibm.CdTektonPipelineTrigger("cdTektonPipelineTriggerInstance", {
eventListener: "pr-listener",
maxConcurrentRuns: 3,
pipelineId: "94619026-912b-4d92-8f51-6c74f0692d90",
type: "manual",
worker: {
id: "public",
},
});
import pulumi
import pulumi_ibm as ibm
cd_tekton_pipeline_trigger_instance = ibm.CdTektonPipelineTrigger("cdTektonPipelineTriggerInstance",
event_listener="pr-listener",
max_concurrent_runs=3,
pipeline_id="94619026-912b-4d92-8f51-6c74f0692d90",
type="manual",
worker={
"id": "public",
})
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.NewCdTektonPipelineTrigger(ctx, "cdTektonPipelineTriggerInstance", &ibm.CdTektonPipelineTriggerArgs{
EventListener: pulumi.String("pr-listener"),
MaxConcurrentRuns: pulumi.Float64(3),
PipelineId: pulumi.String("94619026-912b-4d92-8f51-6c74f0692d90"),
Type: pulumi.String("manual"),
Worker: &ibm.CdTektonPipelineTriggerWorkerArgs{
Id: pulumi.String("public"),
},
})
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 cdTektonPipelineTriggerInstance = new Ibm.CdTektonPipelineTrigger("cdTektonPipelineTriggerInstance", new()
{
EventListener = "pr-listener",
MaxConcurrentRuns = 3,
PipelineId = "94619026-912b-4d92-8f51-6c74f0692d90",
Type = "manual",
Worker = new Ibm.Inputs.CdTektonPipelineTriggerWorkerArgs
{
Id = "public",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.CdTektonPipelineTrigger;
import com.pulumi.ibm.CdTektonPipelineTriggerArgs;
import com.pulumi.ibm.inputs.CdTektonPipelineTriggerWorkerArgs;
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 cdTektonPipelineTriggerInstance = new CdTektonPipelineTrigger("cdTektonPipelineTriggerInstance", CdTektonPipelineTriggerArgs.builder()
.eventListener("pr-listener")
.maxConcurrentRuns(3)
.pipelineId("94619026-912b-4d92-8f51-6c74f0692d90")
.type("manual")
.worker(CdTektonPipelineTriggerWorkerArgs.builder()
.id("public")
.build())
.build());
}
}
resources:
cdTektonPipelineTriggerInstance:
type: ibm:CdTektonPipelineTrigger
properties:
eventListener: pr-listener
maxConcurrentRuns: 3
pipelineId: 94619026-912b-4d92-8f51-6c74f0692d90
type: manual
worker:
id: public
Create CdTektonPipelineTrigger Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdTektonPipelineTrigger(name: string, args: CdTektonPipelineTriggerArgs, opts?: CustomResourceOptions);
@overload
def CdTektonPipelineTrigger(resource_name: str,
args: CdTektonPipelineTriggerInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdTektonPipelineTrigger(resource_name: str,
opts: Optional[ResourceOptions] = None,
event_listener: Optional[str] = None,
type: Optional[str] = None,
pipeline_id: Optional[str] = None,
max_concurrent_runs: Optional[float] = None,
enable_events_from_forks: Optional[bool] = None,
events: Optional[Sequence[str]] = None,
favorite: Optional[bool] = None,
filter: Optional[str] = None,
cd_tekton_pipeline_trigger_id: Optional[str] = None,
name: Optional[str] = None,
enabled: Optional[bool] = None,
secret: Optional[CdTektonPipelineTriggerSecretArgs] = None,
source: Optional[CdTektonPipelineTriggerSourceArgs] = None,
tags: Optional[Sequence[str]] = None,
timezone: Optional[str] = None,
cron: Optional[str] = None,
worker: Optional[CdTektonPipelineTriggerWorkerArgs] = None)
func NewCdTektonPipelineTrigger(ctx *Context, name string, args CdTektonPipelineTriggerArgs, opts ...ResourceOption) (*CdTektonPipelineTrigger, error)
public CdTektonPipelineTrigger(string name, CdTektonPipelineTriggerArgs args, CustomResourceOptions? opts = null)
public CdTektonPipelineTrigger(String name, CdTektonPipelineTriggerArgs args)
public CdTektonPipelineTrigger(String name, CdTektonPipelineTriggerArgs args, CustomResourceOptions options)
type: ibm:CdTektonPipelineTrigger
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 CdTektonPipelineTriggerArgs
- 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 CdTektonPipelineTriggerInitArgs
- 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 CdTektonPipelineTriggerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdTektonPipelineTriggerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdTektonPipelineTriggerArgs
- 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 cdTektonPipelineTriggerResource = new Ibm.CdTektonPipelineTrigger("cdTektonPipelineTriggerResource", new()
{
EventListener = "string",
Type = "string",
PipelineId = "string",
MaxConcurrentRuns = 0,
EnableEventsFromForks = false,
Events = new[]
{
"string",
},
Favorite = false,
Filter = "string",
CdTektonPipelineTriggerId = "string",
Name = "string",
Enabled = false,
Secret = new Ibm.Inputs.CdTektonPipelineTriggerSecretArgs
{
Type = "string",
Algorithm = "string",
KeyName = "string",
Source = "string",
Value = "string",
},
Source = new Ibm.Inputs.CdTektonPipelineTriggerSourceArgs
{
Properties = new Ibm.Inputs.CdTektonPipelineTriggerSourcePropertiesArgs
{
Url = "string",
BlindConnection = false,
Branch = "string",
HookId = "string",
Pattern = "string",
Tools = new[]
{
new Ibm.Inputs.CdTektonPipelineTriggerSourcePropertiesToolArgs
{
Id = "string",
},
},
},
Type = "string",
},
Tags = new[]
{
"string",
},
Timezone = "string",
Cron = "string",
Worker = new Ibm.Inputs.CdTektonPipelineTriggerWorkerArgs
{
Id = "string",
Name = "string",
Type = "string",
},
});
example, err := ibm.NewCdTektonPipelineTrigger(ctx, "cdTektonPipelineTriggerResource", &ibm.CdTektonPipelineTriggerArgs{
EventListener: pulumi.String("string"),
Type: pulumi.String("string"),
PipelineId: pulumi.String("string"),
MaxConcurrentRuns: pulumi.Float64(0),
EnableEventsFromForks: pulumi.Bool(false),
Events: pulumi.StringArray{
pulumi.String("string"),
},
Favorite: pulumi.Bool(false),
Filter: pulumi.String("string"),
CdTektonPipelineTriggerId: pulumi.String("string"),
Name: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Secret: &ibm.CdTektonPipelineTriggerSecretArgs{
Type: pulumi.String("string"),
Algorithm: pulumi.String("string"),
KeyName: pulumi.String("string"),
Source: pulumi.String("string"),
Value: pulumi.String("string"),
},
Source: &ibm.CdTektonPipelineTriggerSourceArgs{
Properties: &ibm.CdTektonPipelineTriggerSourcePropertiesArgs{
Url: pulumi.String("string"),
BlindConnection: pulumi.Bool(false),
Branch: pulumi.String("string"),
HookId: pulumi.String("string"),
Pattern: pulumi.String("string"),
Tools: ibm.CdTektonPipelineTriggerSourcePropertiesToolArray{
&ibm.CdTektonPipelineTriggerSourcePropertiesToolArgs{
Id: pulumi.String("string"),
},
},
},
Type: pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timezone: pulumi.String("string"),
Cron: pulumi.String("string"),
Worker: &ibm.CdTektonPipelineTriggerWorkerArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
})
var cdTektonPipelineTriggerResource = new CdTektonPipelineTrigger("cdTektonPipelineTriggerResource", CdTektonPipelineTriggerArgs.builder()
.eventListener("string")
.type("string")
.pipelineId("string")
.maxConcurrentRuns(0)
.enableEventsFromForks(false)
.events("string")
.favorite(false)
.filter("string")
.cdTektonPipelineTriggerId("string")
.name("string")
.enabled(false)
.secret(CdTektonPipelineTriggerSecretArgs.builder()
.type("string")
.algorithm("string")
.keyName("string")
.source("string")
.value("string")
.build())
.source(CdTektonPipelineTriggerSourceArgs.builder()
.properties(CdTektonPipelineTriggerSourcePropertiesArgs.builder()
.url("string")
.blindConnection(false)
.branch("string")
.hookId("string")
.pattern("string")
.tools(CdTektonPipelineTriggerSourcePropertiesToolArgs.builder()
.id("string")
.build())
.build())
.type("string")
.build())
.tags("string")
.timezone("string")
.cron("string")
.worker(CdTektonPipelineTriggerWorkerArgs.builder()
.id("string")
.name("string")
.type("string")
.build())
.build());
cd_tekton_pipeline_trigger_resource = ibm.CdTektonPipelineTrigger("cdTektonPipelineTriggerResource",
event_listener="string",
type="string",
pipeline_id="string",
max_concurrent_runs=0,
enable_events_from_forks=False,
events=["string"],
favorite=False,
filter="string",
cd_tekton_pipeline_trigger_id="string",
name="string",
enabled=False,
secret={
"type": "string",
"algorithm": "string",
"key_name": "string",
"source": "string",
"value": "string",
},
source={
"properties": {
"url": "string",
"blind_connection": False,
"branch": "string",
"hook_id": "string",
"pattern": "string",
"tools": [{
"id": "string",
}],
},
"type": "string",
},
tags=["string"],
timezone="string",
cron="string",
worker={
"id": "string",
"name": "string",
"type": "string",
})
const cdTektonPipelineTriggerResource = new ibm.CdTektonPipelineTrigger("cdTektonPipelineTriggerResource", {
eventListener: "string",
type: "string",
pipelineId: "string",
maxConcurrentRuns: 0,
enableEventsFromForks: false,
events: ["string"],
favorite: false,
filter: "string",
cdTektonPipelineTriggerId: "string",
name: "string",
enabled: false,
secret: {
type: "string",
algorithm: "string",
keyName: "string",
source: "string",
value: "string",
},
source: {
properties: {
url: "string",
blindConnection: false,
branch: "string",
hookId: "string",
pattern: "string",
tools: [{
id: "string",
}],
},
type: "string",
},
tags: ["string"],
timezone: "string",
cron: "string",
worker: {
id: "string",
name: "string",
type: "string",
},
});
type: ibm:CdTektonPipelineTrigger
properties:
cdTektonPipelineTriggerId: string
cron: string
enableEventsFromForks: false
enabled: false
eventListener: string
events:
- string
favorite: false
filter: string
maxConcurrentRuns: 0
name: string
pipelineId: string
secret:
algorithm: string
keyName: string
source: string
type: string
value: string
source:
properties:
blindConnection: false
branch: string
hookId: string
pattern: string
tools:
- id: string
url: string
type: string
tags:
- string
timezone: string
type: string
worker:
id: string
name: string
type: string
CdTektonPipelineTrigger 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 CdTektonPipelineTrigger resource accepts the following input properties:
- Event
Listener string - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- 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
- Type string
- Trigger type.
- Constraints: Allowable values are: .
- Cd
Tekton stringPipeline Trigger Id - The unique identifier of the cd_tekton_pipeline_trigger.
- Cron string
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- Enable
Events boolFrom Forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Enabled bool
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- Events List<string>
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- Favorite bool
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Filter string
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Max
Concurrent doubleRuns - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- Name string
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- Secret
Cd
Tekton Pipeline Trigger Secret - Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- Source
Cd
Tekton Pipeline Trigger Source - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- List<string>
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Timezone string
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- Worker
Cd
Tekton Pipeline Trigger Worker - Details of the worker used to run the trigger. Nested schema for worker:
- Event
Listener string - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- 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
- Type string
- Trigger type.
- Constraints: Allowable values are: .
- Cd
Tekton stringPipeline Trigger Id - The unique identifier of the cd_tekton_pipeline_trigger.
- Cron string
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- Enable
Events boolFrom Forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Enabled bool
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- Events []string
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- Favorite bool
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Filter string
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Max
Concurrent float64Runs - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- Name string
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- Secret
Cd
Tekton Pipeline Trigger Secret Args - Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- Source
Cd
Tekton Pipeline Trigger Source Args - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- []string
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Timezone string
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- Worker
Cd
Tekton Pipeline Trigger Worker Args - Details of the worker used to run the trigger. Nested schema for worker:
- event
Listener String - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- 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
- type String
- Trigger type.
- Constraints: Allowable values are: .
- cd
Tekton StringPipeline Trigger Id - The unique identifier of the cd_tekton_pipeline_trigger.
- cron String
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- enable
Events BooleanFrom Forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- enabled Boolean
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- events List<String>
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- favorite Boolean
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- filter String
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- max
Concurrent DoubleRuns - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- name String
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- secret
Cd
Tekton Pipeline Trigger Secret - Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- source
Cd
Tekton Pipeline Trigger Source - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- List<String>
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- timezone String
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- worker
Cd
Tekton Pipeline Trigger Worker - Details of the worker used to run the trigger. Nested schema for worker:
- event
Listener string - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- 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
- type string
- Trigger type.
- Constraints: Allowable values are: .
- cd
Tekton stringPipeline Trigger Id - The unique identifier of the cd_tekton_pipeline_trigger.
- cron string
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- enable
Events booleanFrom Forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- enabled boolean
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- events string[]
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- favorite boolean
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- filter string
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- max
Concurrent numberRuns - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- name string
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- secret
Cd
Tekton Pipeline Trigger Secret - Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- source
Cd
Tekton Pipeline Trigger Source - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- string[]
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- timezone string
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- worker
Cd
Tekton Pipeline Trigger Worker - Details of the worker used to run the trigger. Nested schema for worker:
- event_
listener str - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- 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
- type str
- Trigger type.
- Constraints: Allowable values are: .
- cd_
tekton_ strpipeline_ trigger_ id - The unique identifier of the cd_tekton_pipeline_trigger.
- cron str
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- enable_
events_ boolfrom_ forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- enabled bool
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- events Sequence[str]
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- favorite bool
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- filter str
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- max_
concurrent_ floatruns - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- name str
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- secret
Cd
Tekton Pipeline Trigger Secret Args - Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- source
Cd
Tekton Pipeline Trigger Source Args - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- Sequence[str]
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- timezone str
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- worker
Cd
Tekton Pipeline Trigger Worker Args - Details of the worker used to run the trigger. Nested schema for worker:
- event
Listener String - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- 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
- type String
- Trigger type.
- Constraints: Allowable values are: .
- cd
Tekton StringPipeline Trigger Id - The unique identifier of the cd_tekton_pipeline_trigger.
- cron String
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- enable
Events BooleanFrom Forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- enabled Boolean
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- events List<String>
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- favorite Boolean
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- filter String
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- max
Concurrent NumberRuns - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- name String
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- secret Property Map
- Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- source Property Map
- Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- List<String>
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- timezone String
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- worker Property Map
- Details of the worker used to run the trigger. Nested schema for worker:
Outputs
All input properties are implicitly available as output properties. Additionally, the CdTektonPipelineTrigger resource produces the following output properties:
- Href string
- (String) API URL for interacting with the trigger 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 provider-assigned unique ID for this managed resource.
- Properties
List<Cd
Tekton Pipeline Trigger Property> - (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- Trigger
Id string - (String) The Trigger 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
- Webhook
Url string - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- Href string
- (String) API URL for interacting with the trigger 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 provider-assigned unique ID for this managed resource.
- Properties
[]Cd
Tekton Pipeline Trigger Property Type - (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- Trigger
Id string - (String) The Trigger 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
- Webhook
Url string - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- href String
- (String) API URL for interacting with the trigger 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 provider-assigned unique ID for this managed resource.
- properties
List<Cd
Tekton Pipeline Trigger Property> - (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- trigger
Id String - (String) The Trigger 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
- webhook
Url String - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- href string
- (String) API URL for interacting with the trigger 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 provider-assigned unique ID for this managed resource.
- properties
Cd
Tekton Pipeline Trigger Property[] - (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- trigger
Id string - (String) The Trigger 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
- webhook
Url string - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- href str
- (String) API URL for interacting with the trigger 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 provider-assigned unique ID for this managed resource.
- properties
Sequence[Cd
Tekton Pipeline Trigger Property] - (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- trigger_
id str - (String) The Trigger 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
- webhook_
url str - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- href String
- (String) API URL for interacting with the trigger 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 provider-assigned unique ID for this managed resource.
- properties List<Property Map>
- (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- trigger
Id String - (String) The Trigger 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
- webhook
Url String - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
Look up Existing CdTektonPipelineTrigger Resource
Get an existing CdTektonPipelineTrigger 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?: CdTektonPipelineTriggerState, opts?: CustomResourceOptions): CdTektonPipelineTrigger
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cd_tekton_pipeline_trigger_id: Optional[str] = None,
cron: Optional[str] = None,
enable_events_from_forks: Optional[bool] = None,
enabled: Optional[bool] = None,
event_listener: Optional[str] = None,
events: Optional[Sequence[str]] = None,
favorite: Optional[bool] = None,
filter: Optional[str] = None,
href: Optional[str] = None,
max_concurrent_runs: Optional[float] = None,
name: Optional[str] = None,
pipeline_id: Optional[str] = None,
properties: Optional[Sequence[CdTektonPipelineTriggerPropertyArgs]] = None,
secret: Optional[CdTektonPipelineTriggerSecretArgs] = None,
source: Optional[CdTektonPipelineTriggerSourceArgs] = None,
tags: Optional[Sequence[str]] = None,
timezone: Optional[str] = None,
trigger_id: Optional[str] = None,
type: Optional[str] = None,
webhook_url: Optional[str] = None,
worker: Optional[CdTektonPipelineTriggerWorkerArgs] = None) -> CdTektonPipelineTrigger
func GetCdTektonPipelineTrigger(ctx *Context, name string, id IDInput, state *CdTektonPipelineTriggerState, opts ...ResourceOption) (*CdTektonPipelineTrigger, error)
public static CdTektonPipelineTrigger Get(string name, Input<string> id, CdTektonPipelineTriggerState? state, CustomResourceOptions? opts = null)
public static CdTektonPipelineTrigger get(String name, Output<String> id, CdTektonPipelineTriggerState state, CustomResourceOptions options)
resources: _: type: ibm:CdTektonPipelineTrigger 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.
- Cd
Tekton stringPipeline Trigger Id - The unique identifier of the cd_tekton_pipeline_trigger.
- Cron string
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- Enable
Events boolFrom Forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Enabled bool
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- Event
Listener string - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- Events List<string>
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- Favorite bool
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Filter string
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Href string
- (String) API URL for interacting with the trigger 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
- Max
Concurrent doubleRuns - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- Name string
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- 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
- Properties
List<Cd
Tekton Pipeline Trigger Property> - (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- Secret
Cd
Tekton Pipeline Trigger Secret - Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- Source
Cd
Tekton Pipeline Trigger Source - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- List<string>
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Timezone string
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- Trigger
Id string - (String) The Trigger 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
- Type string
- Trigger type.
- Constraints: Allowable values are: .
- Webhook
Url string - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- Worker
Cd
Tekton Pipeline Trigger Worker - Details of the worker used to run the trigger. Nested schema for worker:
- Cd
Tekton stringPipeline Trigger Id - The unique identifier of the cd_tekton_pipeline_trigger.
- Cron string
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- Enable
Events boolFrom Forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Enabled bool
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- Event
Listener string - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- Events []string
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- Favorite bool
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- Filter string
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Href string
- (String) API URL for interacting with the trigger 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
- Max
Concurrent float64Runs - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- Name string
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- 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
- Properties
[]Cd
Tekton Pipeline Trigger Property Type Args - (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- Secret
Cd
Tekton Pipeline Trigger Secret Args - Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- Source
Cd
Tekton Pipeline Trigger Source Args - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- []string
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- Timezone string
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- Trigger
Id string - (String) The Trigger 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
- Type string
- Trigger type.
- Constraints: Allowable values are: .
- Webhook
Url string - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- Worker
Cd
Tekton Pipeline Trigger Worker Args - Details of the worker used to run the trigger. Nested schema for worker:
- cd
Tekton StringPipeline Trigger Id - The unique identifier of the cd_tekton_pipeline_trigger.
- cron String
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- enable
Events BooleanFrom Forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- enabled Boolean
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- event
Listener String - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- events List<String>
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- favorite Boolean
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- filter String
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- href String
- (String) API URL for interacting with the trigger 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
- max
Concurrent DoubleRuns - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- name String
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- 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
- properties
List<Cd
Tekton Pipeline Trigger Property> - (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- secret
Cd
Tekton Pipeline Trigger Secret - Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- source
Cd
Tekton Pipeline Trigger Source - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- List<String>
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- timezone String
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- trigger
Id String - (String) The Trigger 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
- type String
- Trigger type.
- Constraints: Allowable values are: .
- webhook
Url String - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- worker
Cd
Tekton Pipeline Trigger Worker - Details of the worker used to run the trigger. Nested schema for worker:
- cd
Tekton stringPipeline Trigger Id - The unique identifier of the cd_tekton_pipeline_trigger.
- cron string
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- enable
Events booleanFrom Forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- enabled boolean
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- event
Listener string - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- events string[]
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- favorite boolean
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- filter string
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- href string
- (String) API URL for interacting with the trigger 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
- max
Concurrent numberRuns - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- name string
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- 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
- properties
Cd
Tekton Pipeline Trigger Property[] - (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- secret
Cd
Tekton Pipeline Trigger Secret - Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- source
Cd
Tekton Pipeline Trigger Source - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- string[]
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- timezone string
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- trigger
Id string - (String) The Trigger 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
- type string
- Trigger type.
- Constraints: Allowable values are: .
- webhook
Url string - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- worker
Cd
Tekton Pipeline Trigger Worker - Details of the worker used to run the trigger. Nested schema for worker:
- cd_
tekton_ strpipeline_ trigger_ id - The unique identifier of the cd_tekton_pipeline_trigger.
- cron str
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- enable_
events_ boolfrom_ forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- enabled bool
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- event_
listener str - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- events Sequence[str]
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- favorite bool
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- filter str
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- href str
- (String) API URL for interacting with the trigger 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
- max_
concurrent_ floatruns - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- name str
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- 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
- properties
Sequence[Cd
Tekton Pipeline Trigger Property Args] - (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- secret
Cd
Tekton Pipeline Trigger Secret Args - Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- source
Cd
Tekton Pipeline Trigger Source Args - Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- Sequence[str]
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- timezone str
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- trigger_
id str - (String) The Trigger 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
- type str
- Trigger type.
- Constraints: Allowable values are: .
- webhook_
url str - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- worker
Cd
Tekton Pipeline Trigger Worker Args - Details of the worker used to run the trigger. Nested schema for worker:
- cd
Tekton StringPipeline Trigger Id - The unique identifier of the cd_tekton_pipeline_trigger.
- cron String
- Only needed for timer triggers. CRON expression that indicates when this trigger will activate. Maximum frequency is every 5 minutes. The string is based on UNIX crontab syntax: minute, hour, day of month, month, day of week. Example: The CRON expression 0 *_/2 * * * - translates to - every 2 hours.
- Constraints: The maximum length is
253
characters. The minimum length is5
characters. The value must match regular expression/^[-0-9a-zA-Z,\\*\/ ]{5,253}$/
.
- Constraints: The maximum length is
- enable
Events BooleanFrom Forks - When enabled, pull request events from forks of the selected repository will trigger a pipeline run.
- Constraints: The default value is
false
.
- Constraints: The default value is
- enabled Boolean
- Flag to check if the trigger is enabled.
- Constraints: The default value is
true
.
- Constraints: The default value is
- event
Listener String - Event listener name. The name of the event listener to which the trigger is associated. The event listeners are defined in the definition repositories of the Tekton pipeline.
- 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
- events List<String>
- Either 'events' or 'filter' is required specifically for Git triggers. Stores a list of events that a Git trigger listens to. Choose one or more from 'push', 'pull_request', and 'pull_request_closed'. If SCM repositories use the 'merge request' term, they correspond to the generic term i.e. 'pull request'.
- Constraints: Allowable list items are:
push
,pull_request
,pull_request_closed
. The maximum length is3
items. The minimum length is0
items.
- Constraints: Allowable list items are:
- favorite Boolean
- Mark the trigger as a favorite.
- Constraints: The default value is
false
.
- Constraints: The default value is
- filter String
- Either 'events' or 'filter' can be used. Stores the CEL (Common Expression Language) expression value which is used for event filtering against the Git webhook payloads.
- Constraints: The maximum length is
4096
characters. The minimum length is1
character. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- href String
- (String) API URL for interacting with the trigger 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
- max
Concurrent NumberRuns - Defines the maximum number of concurrent runs for this trigger. If omitted then the concurrency limit is disabled for this trigger.
- name String
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- Constraints: The maximum length is
- 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
- properties List<Property Map>
- (List) Optional trigger properties are used to override or supplement the pipeline properties when triggering a pipeline run.
- Constraints: The maximum length is
1024
items. The minimum length is0
items. Nested schema for properties:
- Constraints: The maximum length is
- secret Property Map
- Only needed for Generic Webhook trigger type. The secret is used to start the Generic Webhook trigger. Nested schema for secret:
- source Property Map
- Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools. Nested schema for source:
- List<String>
- Optional trigger tags array.
- Constraints: The list items must match regular expression
/^[-0-9a-zA-Z_.]{1,253}$/
. The maximum length is128
items. The minimum length is0
items.
- Constraints: The list items must match regular expression
- timezone String
- Only used for timer triggers. Specify the timezone used for this timer trigger, which will ensure the CRON activates this trigger relative to the specified timezone. If no timezone is specified, the default timezone used is UTC. Valid timezones are those listed in the IANA timezone database, https://www.iana.org/time-zones.
- 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
- trigger
Id String - (String) The Trigger 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
- type String
- Trigger type.
- Constraints: Allowable values are: .
- webhook
Url String - (String) Webhook URL that can be used to trigger pipeline runs.
- 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
- worker Property Map
- Details of the worker used to run the trigger. Nested schema for worker:
Supporting Types
CdTektonPipelineTriggerProperty, CdTektonPipelineTriggerPropertyArgs
- Enums List<string>
- (List) Options for
single_select
property type. Only needed forsingle_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 trigger 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
- Locked bool
- (Boolean) When true, this property cannot be overridden at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- Name string
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- 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
- Type string
- Trigger type.
- 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 forsingle_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 trigger 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
- Locked bool
- (Boolean) When true, this property cannot be overridden at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- Name string
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- 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
- Type string
- Trigger type.
- 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 forsingle_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 trigger 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
- locked Boolean
- (Boolean) When true, this property cannot be overridden at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- name String
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- 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
- type String
- Trigger type.
- 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 forsingle_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 trigger 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
- locked boolean
- (Boolean) When true, this property cannot be overridden at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- name string
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- 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
- type string
- Trigger type.
- 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 forsingle_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 trigger 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
- locked bool
- (Boolean) When true, this property cannot be overridden at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- name str
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- 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
- type str
- Trigger type.
- 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 forsingle_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 trigger 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
- locked Boolean
- (Boolean) When true, this property cannot be overridden at runtime. Attempting to override it will result in run requests being rejected. The default is false.
- name String
- Trigger name.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^([a-zA-Z0-9]{1,2}|[a-zA-Z0-9][0-9a-zA-Z-_.: \/\\(\\)\\[\\]]{1,251}[a-zA-Z0-9])$/
.
- 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
- type String
- Trigger type.
- 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
CdTektonPipelineTriggerSecret, CdTektonPipelineTriggerSecretArgs
- Type string
- Secret type.
- Constraints: Allowable values are:
token_matches
,digest_matches
,internal_validation
.
- Constraints: Allowable values are:
- Algorithm string
- Algorithm used for
digest_matches
secret type. Only needed fordigest_matches
secret type.- Constraints: Allowable values are:
md4
,md5
,sha1
,sha256
,sha384
,sha512
,sha512_224
,sha512_256
,ripemd160
.
- Constraints: Allowable values are:
- Key
Name string - Secret name, not needed if type is
internal_validation
.- 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
- Source string
- Secret location, not needed if secret type is
internal_validation
.- Constraints: Allowable values are:
header
,payload
,query
.
- Constraints: Allowable values are:
- Value string
- Secret value, not needed if secret type is
internal_validation
.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- Type string
- Secret type.
- Constraints: Allowable values are:
token_matches
,digest_matches
,internal_validation
.
- Constraints: Allowable values are:
- Algorithm string
- Algorithm used for
digest_matches
secret type. Only needed fordigest_matches
secret type.- Constraints: Allowable values are:
md4
,md5
,sha1
,sha256
,sha384
,sha512
,sha512_224
,sha512_256
,ripemd160
.
- Constraints: Allowable values are:
- Key
Name string - Secret name, not needed if type is
internal_validation
.- 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
- Source string
- Secret location, not needed if secret type is
internal_validation
.- Constraints: Allowable values are:
header
,payload
,query
.
- Constraints: Allowable values are:
- Value string
- Secret value, not needed if secret type is
internal_validation
.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- type String
- Secret type.
- Constraints: Allowable values are:
token_matches
,digest_matches
,internal_validation
.
- Constraints: Allowable values are:
- algorithm String
- Algorithm used for
digest_matches
secret type. Only needed fordigest_matches
secret type.- Constraints: Allowable values are:
md4
,md5
,sha1
,sha256
,sha384
,sha512
,sha512_224
,sha512_256
,ripemd160
.
- Constraints: Allowable values are:
- key
Name String - Secret name, not needed if type is
internal_validation
.- 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
- source String
- Secret location, not needed if secret type is
internal_validation
.- Constraints: Allowable values are:
header
,payload
,query
.
- Constraints: Allowable values are:
- value String
- Secret value, not needed if secret type is
internal_validation
.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- type string
- Secret type.
- Constraints: Allowable values are:
token_matches
,digest_matches
,internal_validation
.
- Constraints: Allowable values are:
- algorithm string
- Algorithm used for
digest_matches
secret type. Only needed fordigest_matches
secret type.- Constraints: Allowable values are:
md4
,md5
,sha1
,sha256
,sha384
,sha512
,sha512_224
,sha512_256
,ripemd160
.
- Constraints: Allowable values are:
- key
Name string - Secret name, not needed if type is
internal_validation
.- 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
- source string
- Secret location, not needed if secret type is
internal_validation
.- Constraints: Allowable values are:
header
,payload
,query
.
- Constraints: Allowable values are:
- value string
- Secret value, not needed if secret type is
internal_validation
.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- type str
- Secret type.
- Constraints: Allowable values are:
token_matches
,digest_matches
,internal_validation
.
- Constraints: Allowable values are:
- algorithm str
- Algorithm used for
digest_matches
secret type. Only needed fordigest_matches
secret type.- Constraints: Allowable values are:
md4
,md5
,sha1
,sha256
,sha384
,sha512
,sha512_224
,sha512_256
,ripemd160
.
- Constraints: Allowable values are:
- key_
name str - Secret name, not needed if type is
internal_validation
.- 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
- source str
- Secret location, not needed if secret type is
internal_validation
.- Constraints: Allowable values are:
header
,payload
,query
.
- Constraints: Allowable values are:
- value str
- Secret value, not needed if secret type is
internal_validation
.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
- type String
- Secret type.
- Constraints: Allowable values are:
token_matches
,digest_matches
,internal_validation
.
- Constraints: Allowable values are:
- algorithm String
- Algorithm used for
digest_matches
secret type. Only needed fordigest_matches
secret type.- Constraints: Allowable values are:
md4
,md5
,sha1
,sha256
,sha384
,sha512
,sha512_224
,sha512_256
,ripemd160
.
- Constraints: Allowable values are:
- key
Name String - Secret name, not needed if type is
internal_validation
.- 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
- source String
- Secret location, not needed if secret type is
internal_validation
.- Constraints: Allowable values are:
header
,payload
,query
.
- Constraints: Allowable values are:
- value String
- Secret value, not needed if secret type is
internal_validation
.- Constraints: The maximum length is
4096
characters. The minimum length is0
characters. The value must match regular expression/^.*$/
.
- Constraints: The maximum length is
CdTektonPipelineTriggerSource, CdTektonPipelineTriggerSourceArgs
- Properties
Cd
Tekton Pipeline Trigger Source Properties - Properties of the source, which define the URL of the repository and a branch or pattern. Nested schema for properties:
- Type string
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
- Properties
Cd
Tekton Pipeline Trigger Source Properties - Properties of the source, which define the URL of the repository and a branch or pattern. Nested schema for properties:
- Type string
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
- properties
Cd
Tekton Pipeline Trigger Source Properties - Properties of the source, which define the URL of the repository and a branch or pattern. Nested schema for properties:
- type String
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
- properties
Cd
Tekton Pipeline Trigger Source Properties - Properties of the source, which define the URL of the repository and a branch or pattern. Nested schema for properties:
- type string
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
- properties
Cd
Tekton Pipeline Trigger Source Properties - Properties of the source, which define the URL of the repository and a branch or pattern. Nested schema for properties:
- type str
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
- properties Property Map
- Properties of the source, which define the URL of the repository and a branch or pattern. Nested schema for properties:
- type String
- The only supported source type is "git", indicating that the source is a git repository.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^git$/
.
- Constraints: The maximum length is
CdTektonPipelineTriggerSourceProperties, CdTektonPipelineTriggerSourcePropertiesArgs
- Url string
- URL of the repository to which the trigger is listening.
- 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
- Blind
Connection bool - True if the repository server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide.
- Branch string
- Name of a branch from the repo. Only one of branch, pattern, or filter should be specified.
- 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
- Hook
Id string - Repository webhook ID. It is generated upon trigger creation.
- 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
- Pattern string
- The pattern of Git branch or tag. You can specify a glob pattern such as '!test' or '*master' to match against multiple tags or branches in the repository.The glob pattern used must conform to Bash 4.3 specifications, see bash documentation for more info: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching. Only one of branch, pattern, or filter should be specified.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.:@=$&^\/\\?\\!\\*\\+\\[\\]\\(\\)\\{\\}\\|\\\\]*$/
.
- Constraints: The maximum length is
- Tools
List<Cd
Tekton Pipeline Trigger Source Properties Tool> - Reference to the repository tool in the parent toolchain. Nested schema for tool:
- Url string
- URL of the repository to which the trigger is listening.
- 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
- Blind
Connection bool - True if the repository server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide.
- Branch string
- Name of a branch from the repo. Only one of branch, pattern, or filter should be specified.
- 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
- Hook
Id string - Repository webhook ID. It is generated upon trigger creation.
- 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
- Pattern string
- The pattern of Git branch or tag. You can specify a glob pattern such as '!test' or '*master' to match against multiple tags or branches in the repository.The glob pattern used must conform to Bash 4.3 specifications, see bash documentation for more info: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching. Only one of branch, pattern, or filter should be specified.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.:@=$&^\/\\?\\!\\*\\+\\[\\]\\(\\)\\{\\}\\|\\\\]*$/
.
- Constraints: The maximum length is
- Tools
[]Cd
Tekton Pipeline Trigger Source Properties Tool - Reference to the repository tool in the parent toolchain. Nested schema for tool:
- url String
- URL of the repository to which the trigger is listening.
- 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
- blind
Connection Boolean - True if the repository server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide.
- branch String
- Name of a branch from the repo. Only one of branch, pattern, or filter should be specified.
- 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
- hook
Id String - Repository webhook ID. It is generated upon trigger creation.
- 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
- pattern String
- The pattern of Git branch or tag. You can specify a glob pattern such as '!test' or '*master' to match against multiple tags or branches in the repository.The glob pattern used must conform to Bash 4.3 specifications, see bash documentation for more info: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching. Only one of branch, pattern, or filter should be specified.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.:@=$&^\/\\?\\!\\*\\+\\[\\]\\(\\)\\{\\}\\|\\\\]*$/
.
- Constraints: The maximum length is
- tools
List<Cd
Tekton Pipeline Trigger Source Properties Tool> - Reference to the repository tool in the parent toolchain. Nested schema for tool:
- url string
- URL of the repository to which the trigger is listening.
- 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
- blind
Connection boolean - True if the repository server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide.
- branch string
- Name of a branch from the repo. Only one of branch, pattern, or filter should be specified.
- 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
- hook
Id string - Repository webhook ID. It is generated upon trigger creation.
- 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
- pattern string
- The pattern of Git branch or tag. You can specify a glob pattern such as '!test' or '*master' to match against multiple tags or branches in the repository.The glob pattern used must conform to Bash 4.3 specifications, see bash documentation for more info: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching. Only one of branch, pattern, or filter should be specified.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.:@=$&^\/\\?\\!\\*\\+\\[\\]\\(\\)\\{\\}\\|\\\\]*$/
.
- Constraints: The maximum length is
- tools
Cd
Tekton Pipeline Trigger Source Properties Tool[] - Reference to the repository tool in the parent toolchain. Nested schema for tool:
- url str
- URL of the repository to which the trigger is listening.
- 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
- blind_
connection bool - True if the repository server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide.
- branch str
- Name of a branch from the repo. Only one of branch, pattern, or filter should be specified.
- 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
- hook_
id str - Repository webhook ID. It is generated upon trigger creation.
- 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
- pattern str
- The pattern of Git branch or tag. You can specify a glob pattern such as '!test' or '*master' to match against multiple tags or branches in the repository.The glob pattern used must conform to Bash 4.3 specifications, see bash documentation for more info: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching. Only one of branch, pattern, or filter should be specified.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.:@=$&^\/\\?\\!\\*\\+\\[\\]\\(\\)\\{\\}\\|\\\\]*$/
.
- Constraints: The maximum length is
- tools
Sequence[Cd
Tekton Pipeline Trigger Source Properties Tool] - Reference to the repository tool in the parent toolchain. Nested schema for tool:
- url String
- URL of the repository to which the trigger is listening.
- 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
- blind
Connection Boolean - True if the repository server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide.
- branch String
- Name of a branch from the repo. Only one of branch, pattern, or filter should be specified.
- 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
- hook
Id String - Repository webhook ID. It is generated upon trigger creation.
- 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
- pattern String
- The pattern of Git branch or tag. You can specify a glob pattern such as '!test' or '*master' to match against multiple tags or branches in the repository.The glob pattern used must conform to Bash 4.3 specifications, see bash documentation for more info: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching. Only one of branch, pattern, or filter should be specified.
- Constraints: The maximum length is
253
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z_.:@=$&^\/\\?\\!\\*\\+\\[\\]\\(\\)\\{\\}\\|\\\\]*$/
.
- Constraints: The maximum length is
- tools List<Property Map>
- Reference to the repository tool in the parent toolchain. Nested schema for tool:
CdTektonPipelineTriggerSourcePropertiesTool, CdTektonPipelineTriggerSourcePropertiesToolArgs
- Id string
- ID of the repository tool instance in the parent toolchain.
- 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
- Id string
- ID of the repository tool instance in the parent toolchain.
- 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
- id String
- ID of the repository tool instance in the parent toolchain.
- 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
- id string
- ID of the repository tool instance in the parent toolchain.
- 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
- id str
- ID of the repository tool instance in the parent toolchain.
- 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
- id String
- ID of the repository tool instance in the parent toolchain.
- 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
CdTektonPipelineTriggerWorker, CdTektonPipelineTriggerWorkerArgs
- Id string
- ID of the worker.
- Constraints: The maximum length is
36
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z]{1,36}$/
.
- Constraints: The maximum length is
- Name string
- Name of the worker. Computed based on the worker ID.
- 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
- Type string
- Type of the worker. Computed based on the worker ID.
- 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
- ID of the worker.
- Constraints: The maximum length is
36
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z]{1,36}$/
.
- Constraints: The maximum length is
- Name string
- Name of the worker. Computed based on the worker ID.
- 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
- Type string
- Type of the worker. Computed based on the worker ID.
- 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
- ID of the worker.
- Constraints: The maximum length is
36
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z]{1,36}$/
.
- Constraints: The maximum length is
- name String
- Name of the worker. Computed based on the worker ID.
- 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
- type String
- Type of the worker. Computed based on the worker ID.
- 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
- ID of the worker.
- Constraints: The maximum length is
36
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z]{1,36}$/
.
- Constraints: The maximum length is
- name string
- Name of the worker. Computed based on the worker ID.
- 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
- type string
- Type of the worker. Computed based on the worker ID.
- 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
- ID of the worker.
- Constraints: The maximum length is
36
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z]{1,36}$/
.
- Constraints: The maximum length is
- name str
- Name of the worker. Computed based on the worker ID.
- 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
- type str
- Type of the worker. Computed based on the worker ID.
- 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
- ID of the worker.
- Constraints: The maximum length is
36
characters. The minimum length is1
character. The value must match regular expression/^[-0-9a-zA-Z]{1,36}$/
.
- Constraints: The maximum length is
- name String
- Name of the worker. Computed based on the worker ID.
- 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
- type String
- Type of the worker. Computed based on the worker ID.
- 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
Import
You can import the ibm_cd_tekton_pipeline_trigger
resource by using id
.
The id
property can be formed from pipeline_id
, and trigger_id
in the following format:
<pipeline_id>/<trigger_id>
pipeline_id
: A string in the format94619026-912b-4d92-8f51-6c74f0692d90
. The Tekton pipeline ID.trigger_id
: A string. The Trigger ID.
Syntax
```sh $ pulumi import ibm:index/cdTektonPipelineTrigger:CdTektonPipelineTrigger cd_tekton_pipeline_trigger <pipeline_id>/<trigger_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.