Class CdTektonPipeline
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.CdTektonPipeline
-
public class CdTektonPipeline extends com.ibm.cloud.sdk.core.service.BaseServiceContinuous Delivery Tekton pipeline API definition <br><br> Maximum request payload size is 512 KB <br><br> All calls require an <strong>Authorization</strong> HTTP header. <br><br> The following header is the accepted authentication mechanism and required credentials for each <ul><li><b>Bearer:</b> an IBM Cloud IAM token (authorized for all endpoints)</li>. API Version: 2.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_SERVICE_NAMEDefault service name used when configuring the `CdTektonPipeline` client.static java.lang.StringDEFAULT_SERVICE_URLDefault service endpoint URL.
-
Constructor Summary
Constructors Constructor Description CdTektonPipeline(java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `CdTektonPipeline` client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<PipelineRun>cancelTektonPipelineRun(CancelTektonPipelineRunOptions cancelTektonPipelineRunOptions)Cancel a pipeline run.com.ibm.cloud.sdk.core.http.ServiceCall<TektonPipeline>createTektonPipeline(CreateTektonPipelineOptions createTektonPipelineOptions)Create Tekton pipeline.com.ibm.cloud.sdk.core.http.ServiceCall<Definition>createTektonPipelineDefinition(CreateTektonPipelineDefinitionOptions createTektonPipelineDefinitionOptions)Create a single definition.com.ibm.cloud.sdk.core.http.ServiceCall<Property>createTektonPipelineProperties(CreateTektonPipelinePropertiesOptions createTektonPipelinePropertiesOptions)Create a pipeline environment property.com.ibm.cloud.sdk.core.http.ServiceCall<PipelineRun>createTektonPipelineRun(CreateTektonPipelineRunOptions createTektonPipelineRunOptions)Trigger a pipeline run.com.ibm.cloud.sdk.core.http.ServiceCall<Trigger>createTektonPipelineTrigger(CreateTektonPipelineTriggerOptions createTektonPipelineTriggerOptions)Create a trigger.com.ibm.cloud.sdk.core.http.ServiceCall<TriggerProperty>createTektonPipelineTriggerProperties(CreateTektonPipelineTriggerPropertiesOptions createTektonPipelineTriggerPropertiesOptions)Create a trigger property.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>deleteTektonPipeline(DeleteTektonPipelineOptions deleteTektonPipelineOptions)Delete Tekton pipeline instance.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>deleteTektonPipelineDefinition(DeleteTektonPipelineDefinitionOptions deleteTektonPipelineDefinitionOptions)Delete a single definition entry.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>deleteTektonPipelineProperty(DeleteTektonPipelinePropertyOptions deleteTektonPipelinePropertyOptions)Delete a single pipeline environment property.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>deleteTektonPipelineRun(DeleteTektonPipelineRunOptions deleteTektonPipelineRunOptions)Delete a pipeline run record.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>deleteTektonPipelineTrigger(DeleteTektonPipelineTriggerOptions deleteTektonPipelineTriggerOptions)Delete a single trigger.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>deleteTektonPipelineTriggerProperty(DeleteTektonPipelineTriggerPropertyOptions deleteTektonPipelineTriggerPropertyOptions)Delete a trigger property.com.ibm.cloud.sdk.core.http.ServiceCall<Trigger>duplicateTektonPipelineTrigger(DuplicateTektonPipelineTriggerOptions duplicateTektonPipelineTriggerOptions)Duplicate a trigger.static java.lang.StringgetServiceUrlForRegion(java.lang.String region)Returns the service URL associated with the specified region.com.ibm.cloud.sdk.core.http.ServiceCall<TektonPipeline>getTektonPipeline(GetTektonPipelineOptions getTektonPipelineOptions)Get Tekton pipeline data.com.ibm.cloud.sdk.core.http.ServiceCall<Definition>getTektonPipelineDefinition(GetTektonPipelineDefinitionOptions getTektonPipelineDefinitionOptions)Retrieve a single definition entry.com.ibm.cloud.sdk.core.http.ServiceCall<Property>getTektonPipelineProperty(GetTektonPipelinePropertyOptions getTektonPipelinePropertyOptions)Get a pipeline environment property.com.ibm.cloud.sdk.core.http.ServiceCall<PipelineRun>getTektonPipelineRun(GetTektonPipelineRunOptions getTektonPipelineRunOptions)Get a pipeline run record.com.ibm.cloud.sdk.core.http.ServiceCall<StepLog>getTektonPipelineRunLogContent(GetTektonPipelineRunLogContentOptions getTektonPipelineRunLogContentOptions)Get the log content of a pipeline run step.com.ibm.cloud.sdk.core.http.ServiceCall<LogsCollection>getTektonPipelineRunLogs(GetTektonPipelineRunLogsOptions getTektonPipelineRunLogsOptions)Get a list of pipeline run log objects.com.ibm.cloud.sdk.core.http.ServiceCall<Trigger>getTektonPipelineTrigger(GetTektonPipelineTriggerOptions getTektonPipelineTriggerOptions)Get a single trigger.com.ibm.cloud.sdk.core.http.ServiceCall<TriggerProperty>getTektonPipelineTriggerProperty(GetTektonPipelineTriggerPropertyOptions getTektonPipelineTriggerPropertyOptions)Get a trigger property.com.ibm.cloud.sdk.core.http.ServiceCall<DefinitionsCollection>listTektonPipelineDefinitions(ListTektonPipelineDefinitionsOptions listTektonPipelineDefinitionsOptions)List pipeline definitions.com.ibm.cloud.sdk.core.http.ServiceCall<PropertiesCollection>listTektonPipelineProperties(ListTektonPipelinePropertiesOptions listTektonPipelinePropertiesOptions)List the pipeline's environment properties.com.ibm.cloud.sdk.core.http.ServiceCall<PipelineRunsCollection>listTektonPipelineRuns(ListTektonPipelineRunsOptions listTektonPipelineRunsOptions)List pipeline run records.com.ibm.cloud.sdk.core.http.ServiceCall<TriggerPropertiesCollection>listTektonPipelineTriggerProperties(ListTektonPipelineTriggerPropertiesOptions listTektonPipelineTriggerPropertiesOptions)List trigger properties.com.ibm.cloud.sdk.core.http.ServiceCall<TriggersCollection>listTektonPipelineTriggers(ListTektonPipelineTriggersOptions listTektonPipelineTriggersOptions)List pipeline triggers.static CdTektonPipelinenewInstance()Class method which constructs an instance of the `CdTektonPipeline` client.static CdTektonPipelinenewInstance(java.lang.String serviceName)Class method which constructs an instance of the `CdTektonPipeline` client.com.ibm.cloud.sdk.core.http.ServiceCall<Definition>replaceTektonPipelineDefinition(ReplaceTektonPipelineDefinitionOptions replaceTektonPipelineDefinitionOptions)Edit a single definition entry.com.ibm.cloud.sdk.core.http.ServiceCall<Property>replaceTektonPipelineProperty(ReplaceTektonPipelinePropertyOptions replaceTektonPipelinePropertyOptions)Replace the value of an environment property.com.ibm.cloud.sdk.core.http.ServiceCall<TriggerProperty>replaceTektonPipelineTriggerProperty(ReplaceTektonPipelineTriggerPropertyOptions replaceTektonPipelineTriggerPropertyOptions)Replace a trigger property value.com.ibm.cloud.sdk.core.http.ServiceCall<PipelineRun>rerunTektonPipelineRun(RerunTektonPipelineRunOptions rerunTektonPipelineRunOptions)Rerun a pipeline run.com.ibm.cloud.sdk.core.http.ServiceCall<TektonPipeline>updateTektonPipeline(UpdateTektonPipelineOptions updateTektonPipelineOptions)Update Tekton pipeline data.com.ibm.cloud.sdk.core.http.ServiceCall<Trigger>updateTektonPipelineTrigger(UpdateTektonPipelineTriggerOptions updateTektonPipelineTriggerOptions)Edit a trigger.-
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseService
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
-
-
-
-
Field Detail
-
DEFAULT_SERVICE_NAME
public static final java.lang.String DEFAULT_SERVICE_NAME
Default service name used when configuring the `CdTektonPipeline` client.- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_URL
public static final java.lang.String DEFAULT_SERVICE_URL
Default service endpoint URL.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CdTektonPipeline
public CdTektonPipeline(java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `CdTektonPipeline` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
serviceName- the service name to be used when configuring the client instanceauthenticator- theAuthenticatorinstance to be configured for this client
-
-
Method Detail
-
getServiceUrlForRegion
public static java.lang.String getServiceUrlForRegion(java.lang.String region)
Returns the service URL associated with the specified region.- Parameters:
region- a string representing the region- Returns:
- the service URL associated with the specified region or null if no mapping for the region exists
-
newInstance
public static CdTektonPipeline newInstance()
Class method which constructs an instance of the `CdTektonPipeline` client. The default service name is used to configure the client instance.- Returns:
- an instance of the `CdTektonPipeline` client using external configuration
-
newInstance
public static CdTektonPipeline newInstance(java.lang.String serviceName)
Class method which constructs an instance of the `CdTektonPipeline` client. The specified service name is used to configure the client instance.- Parameters:
serviceName- the service name to be used when configuring the client instance- Returns:
- an instance of the `CdTektonPipeline` client using external configuration
-
createTektonPipeline
public com.ibm.cloud.sdk.core.http.ServiceCall<TektonPipeline> createTektonPipeline(CreateTektonPipelineOptions createTektonPipelineOptions)
Create Tekton pipeline. This request creates a Tekton pipeline. Requires a pipeline tool already created in the toolchain using the toolchain API https://cloud.ibm.com/apidocs/toolchain#create-tool, and use the tool ID to create the Tekton pipeline.- Parameters:
createTektonPipelineOptions- theCreateTektonPipelineOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTektonPipeline
-
getTektonPipeline
public com.ibm.cloud.sdk.core.http.ServiceCall<TektonPipeline> getTektonPipeline(GetTektonPipelineOptions getTektonPipelineOptions)
Get Tekton pipeline data. This request retrieves the Tekton pipeline data for the pipeline identified by `{id}`.- Parameters:
getTektonPipelineOptions- theGetTektonPipelineOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTektonPipeline
-
updateTektonPipeline
public com.ibm.cloud.sdk.core.http.ServiceCall<TektonPipeline> updateTektonPipeline(UpdateTektonPipelineOptions updateTektonPipelineOptions)
Update Tekton pipeline data. This request updates Tekton pipeline data, but you can only change worker ID in this endpoint. Use other endpoints such as /definitions, /triggers, and /properties for other configuration updates.- Parameters:
updateTektonPipelineOptions- theUpdateTektonPipelineOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTektonPipeline
-
deleteTektonPipeline
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteTektonPipeline(DeleteTektonPipelineOptions deleteTektonPipelineOptions)
Delete Tekton pipeline instance. This request deletes Tekton pipeline instance that is associated with the pipeline toolchain integration.- Parameters:
deleteTektonPipelineOptions- theDeleteTektonPipelineOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listTektonPipelineRuns
public com.ibm.cloud.sdk.core.http.ServiceCall<PipelineRunsCollection> listTektonPipelineRuns(ListTektonPipelineRunsOptions listTektonPipelineRunsOptions)
List pipeline run records. This request lists pipeline run records, which has data about the runs, such as status, user_info, trigger and other information. Default limit is 50.- Parameters:
listTektonPipelineRunsOptions- theListTektonPipelineRunsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePipelineRunsCollection
-
createTektonPipelineRun
public com.ibm.cloud.sdk.core.http.ServiceCall<PipelineRun> createTektonPipelineRun(CreateTektonPipelineRunOptions createTektonPipelineRunOptions)
Trigger a pipeline run. Trigger a new pipeline run with the named manual or timer trigger, using the provided additional or override properties.- Parameters:
createTektonPipelineRunOptions- theCreateTektonPipelineRunOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePipelineRun
-
getTektonPipelineRun
public com.ibm.cloud.sdk.core.http.ServiceCall<PipelineRun> getTektonPipelineRun(GetTektonPipelineRunOptions getTektonPipelineRunOptions)
Get a pipeline run record. This request retrieves details of the pipeline run identified by `{id}`.- Parameters:
getTektonPipelineRunOptions- theGetTektonPipelineRunOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePipelineRun
-
deleteTektonPipelineRun
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteTektonPipelineRun(DeleteTektonPipelineRunOptions deleteTektonPipelineRunOptions)
Delete a pipeline run record. This request deletes the pipeline run record identified by `{id}`.- Parameters:
deleteTektonPipelineRunOptions- theDeleteTektonPipelineRunOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
cancelTektonPipelineRun
public com.ibm.cloud.sdk.core.http.ServiceCall<PipelineRun> cancelTektonPipelineRun(CancelTektonPipelineRunOptions cancelTektonPipelineRunOptions)
Cancel a pipeline run. This request cancels a running pipeline run identified by `{id}`. Use `force: true` in the body if the pipeline run can't be cancelled normally.- Parameters:
cancelTektonPipelineRunOptions- theCancelTektonPipelineRunOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePipelineRun
-
rerunTektonPipelineRun
public com.ibm.cloud.sdk.core.http.ServiceCall<PipelineRun> rerunTektonPipelineRun(RerunTektonPipelineRunOptions rerunTektonPipelineRunOptions)
Rerun a pipeline run. This request reruns a past pipeline run, which is identified by `{id}`, with the same data. Request body isn't allowed.- Parameters:
rerunTektonPipelineRunOptions- theRerunTektonPipelineRunOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePipelineRun
-
getTektonPipelineRunLogs
public com.ibm.cloud.sdk.core.http.ServiceCall<LogsCollection> getTektonPipelineRunLogs(GetTektonPipelineRunLogsOptions getTektonPipelineRunLogsOptions)
Get a list of pipeline run log objects. This request fetches a list of log data for a pipeline run identified by `{id}`. The `href` in each log entry can be used to fetch that individual log.- Parameters:
getTektonPipelineRunLogsOptions- theGetTektonPipelineRunLogsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeLogsCollection
-
getTektonPipelineRunLogContent
public com.ibm.cloud.sdk.core.http.ServiceCall<StepLog> getTektonPipelineRunLogContent(GetTektonPipelineRunLogContentOptions getTektonPipelineRunLogContentOptions)
Get the log content of a pipeline run step. This request retrieves the log content of a pipeline run step, where the step is identified by `{id}`. To get the log ID use the endpoint `/tekton_pipelines/{pipeline_id}/pipeline_runs/{id}/logs`.- Parameters:
getTektonPipelineRunLogContentOptions- theGetTektonPipelineRunLogContentOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeStepLog
-
listTektonPipelineDefinitions
public com.ibm.cloud.sdk.core.http.ServiceCall<DefinitionsCollection> listTektonPipelineDefinitions(ListTektonPipelineDefinitionsOptions listTektonPipelineDefinitionsOptions)
List pipeline definitions. This request fetches pipeline definitions, which is a collection of individual definition entries. Each entry consists of a repository url, a repository path and a branch or tag. 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. The branch or tag of the definition must match against a corresponding branch or tag in the chosen repository, and the path must match a subfolder in the repository.- Parameters:
listTektonPipelineDefinitionsOptions- theListTektonPipelineDefinitionsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDefinitionsCollection
-
createTektonPipelineDefinition
public com.ibm.cloud.sdk.core.http.ServiceCall<Definition> createTektonPipelineDefinition(CreateTektonPipelineDefinitionOptions createTektonPipelineDefinitionOptions)
Create a single definition. This request adds a single definition. The source properties should consist of a repository url, a repository path and a branch or tag. 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. The branch or tag of the definition must match against a corresponding branch or tag in the chosen repository, and the path must match a subfolder in the repository.- Parameters:
createTektonPipelineDefinitionOptions- theCreateTektonPipelineDefinitionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDefinition
-
getTektonPipelineDefinition
public com.ibm.cloud.sdk.core.http.ServiceCall<Definition> getTektonPipelineDefinition(GetTektonPipelineDefinitionOptions getTektonPipelineDefinitionOptions)
Retrieve a single definition entry. This request fetches a single definition entry, which consists of the definition repository URL, branch/tag and path.- Parameters:
getTektonPipelineDefinitionOptions- theGetTektonPipelineDefinitionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDefinition
-
replaceTektonPipelineDefinition
public com.ibm.cloud.sdk.core.http.ServiceCall<Definition> replaceTektonPipelineDefinition(ReplaceTektonPipelineDefinitionOptions replaceTektonPipelineDefinitionOptions)
Edit a single definition entry. This request updates a definition entry identified by `{definition_id}`.- Parameters:
replaceTektonPipelineDefinitionOptions- theReplaceTektonPipelineDefinitionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDefinition
-
deleteTektonPipelineDefinition
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteTektonPipelineDefinition(DeleteTektonPipelineDefinitionOptions deleteTektonPipelineDefinitionOptions)
Delete a single definition entry. This request deletes a single definition from the definition list.- Parameters:
deleteTektonPipelineDefinitionOptions- theDeleteTektonPipelineDefinitionOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listTektonPipelineProperties
public com.ibm.cloud.sdk.core.http.ServiceCall<PropertiesCollection> listTektonPipelineProperties(ListTektonPipelinePropertiesOptions listTektonPipelinePropertiesOptions)
List the pipeline's environment properties. This request lists the environment properties the pipeline identified by `{pipeline_id}`.- Parameters:
listTektonPipelinePropertiesOptions- theListTektonPipelinePropertiesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typePropertiesCollection
-
createTektonPipelineProperties
public com.ibm.cloud.sdk.core.http.ServiceCall<Property> createTektonPipelineProperties(CreateTektonPipelinePropertiesOptions createTektonPipelinePropertiesOptions)
Create a pipeline environment property. This request creates an environment property.- Parameters:
createTektonPipelinePropertiesOptions- theCreateTektonPipelinePropertiesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeProperty
-
getTektonPipelineProperty
public com.ibm.cloud.sdk.core.http.ServiceCall<Property> getTektonPipelineProperty(GetTektonPipelinePropertyOptions getTektonPipelinePropertyOptions)
Get a pipeline environment property. This request gets the data of an environment property identified by `{property_name}`.- Parameters:
getTektonPipelinePropertyOptions- theGetTektonPipelinePropertyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeProperty
-
replaceTektonPipelineProperty
public com.ibm.cloud.sdk.core.http.ServiceCall<Property> replaceTektonPipelineProperty(ReplaceTektonPipelinePropertyOptions replaceTektonPipelinePropertyOptions)
Replace the value of an environment property. This request updates the value of an environment property identified by `{property_name}`, its type or name are immutable.- Parameters:
replaceTektonPipelinePropertyOptions- theReplaceTektonPipelinePropertyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeProperty
-
deleteTektonPipelineProperty
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteTektonPipelineProperty(DeleteTektonPipelinePropertyOptions deleteTektonPipelinePropertyOptions)
Delete a single pipeline environment property. This request deletes a single pipeline environment property.- Parameters:
deleteTektonPipelinePropertyOptions- theDeleteTektonPipelinePropertyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
listTektonPipelineTriggers
public com.ibm.cloud.sdk.core.http.ServiceCall<TriggersCollection> listTektonPipelineTriggers(ListTektonPipelineTriggersOptions listTektonPipelineTriggersOptions)
List pipeline triggers. This request lists pipeline triggers for the pipeline identified by `{pipeline_id}`.- Parameters:
listTektonPipelineTriggersOptions- theListTektonPipelineTriggersOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTriggersCollection
-
createTektonPipelineTrigger
public com.ibm.cloud.sdk.core.http.ServiceCall<Trigger> createTektonPipelineTrigger(CreateTektonPipelineTriggerOptions createTektonPipelineTriggerOptions)
Create a trigger. This request creates a trigger.- Parameters:
createTektonPipelineTriggerOptions- theCreateTektonPipelineTriggerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTrigger
-
getTektonPipelineTrigger
public com.ibm.cloud.sdk.core.http.ServiceCall<Trigger> getTektonPipelineTrigger(GetTektonPipelineTriggerOptions getTektonPipelineTriggerOptions)
Get a single trigger. This request retrieves a single trigger identified by `{trigger_id}`.- Parameters:
getTektonPipelineTriggerOptions- theGetTektonPipelineTriggerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTrigger
-
updateTektonPipelineTrigger
public com.ibm.cloud.sdk.core.http.ServiceCall<Trigger> updateTektonPipelineTrigger(UpdateTektonPipelineTriggerOptions updateTektonPipelineTriggerOptions)
Edit a trigger. This request changes a single field or many fields of the trigger identified by `{trigger_id}`. Note that some fields are immutable, and use `/properties` endpoint to update trigger properties.- Parameters:
updateTektonPipelineTriggerOptions- theUpdateTektonPipelineTriggerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTrigger
-
deleteTektonPipelineTrigger
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteTektonPipelineTrigger(DeleteTektonPipelineTriggerOptions deleteTektonPipelineTriggerOptions)
Delete a single trigger. This request deletes the trigger identified by `{trigger_id}`.- Parameters:
deleteTektonPipelineTriggerOptions- theDeleteTektonPipelineTriggerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
duplicateTektonPipelineTrigger
public com.ibm.cloud.sdk.core.http.ServiceCall<Trigger> duplicateTektonPipelineTrigger(DuplicateTektonPipelineTriggerOptions duplicateTektonPipelineTriggerOptions)
Duplicate a trigger. This request duplicates a trigger from an existing trigger identified by `{source_trigger_id}`.- Parameters:
duplicateTektonPipelineTriggerOptions- theDuplicateTektonPipelineTriggerOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTrigger
-
listTektonPipelineTriggerProperties
public com.ibm.cloud.sdk.core.http.ServiceCall<TriggerPropertiesCollection> listTektonPipelineTriggerProperties(ListTektonPipelineTriggerPropertiesOptions listTektonPipelineTriggerPropertiesOptions)
List trigger properties. This request lists trigger properties for the trigger identified by `{trigger_id}`.- Parameters:
listTektonPipelineTriggerPropertiesOptions- theListTektonPipelineTriggerPropertiesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTriggerPropertiesCollection
-
createTektonPipelineTriggerProperties
public com.ibm.cloud.sdk.core.http.ServiceCall<TriggerProperty> createTektonPipelineTriggerProperties(CreateTektonPipelineTriggerPropertiesOptions createTektonPipelineTriggerPropertiesOptions)
Create a trigger property. This request creates a property in the trigger identified by `{trigger_id}`.- Parameters:
createTektonPipelineTriggerPropertiesOptions- theCreateTektonPipelineTriggerPropertiesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTriggerProperty
-
getTektonPipelineTriggerProperty
public com.ibm.cloud.sdk.core.http.ServiceCall<TriggerProperty> getTektonPipelineTriggerProperty(GetTektonPipelineTriggerPropertyOptions getTektonPipelineTriggerPropertyOptions)
Get a trigger property. This request retrieves a trigger property.- Parameters:
getTektonPipelineTriggerPropertyOptions- theGetTektonPipelineTriggerPropertyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTriggerProperty
-
replaceTektonPipelineTriggerProperty
public com.ibm.cloud.sdk.core.http.ServiceCall<TriggerProperty> replaceTektonPipelineTriggerProperty(ReplaceTektonPipelineTriggerPropertyOptions replaceTektonPipelineTriggerPropertyOptions)
Replace a trigger property value. This request updates a trigger property value, type and name are immutable.- Parameters:
replaceTektonPipelineTriggerPropertyOptions- theReplaceTektonPipelineTriggerPropertyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeTriggerProperty
-
deleteTektonPipelineTriggerProperty
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteTektonPipelineTriggerProperty(DeleteTektonPipelineTriggerPropertyOptions deleteTektonPipelineTriggerPropertyOptions)
Delete a trigger property. This request deletes a trigger property.- Parameters:
deleteTektonPipelineTriggerPropertyOptions- theDeleteTektonPipelineTriggerPropertyOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
-