Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.DevOps.getTriggers
Explore with Pulumi AI
This data source provides the list of Triggers in Oracle Cloud Infrastructure Devops service.
Returns a list of triggers.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testTriggers = oci.DevOps.getTriggers({
compartmentId: compartmentId,
displayName: triggerDisplayName,
id: triggerId,
projectId: testProject.id,
state: triggerState,
});
import pulumi
import pulumi_oci as oci
test_triggers = oci.DevOps.get_triggers(compartment_id=compartment_id,
display_name=trigger_display_name,
id=trigger_id,
project_id=test_project["id"],
state=trigger_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DevOps"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DevOps.GetTriggers(ctx, &devops.GetTriggersArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(triggerDisplayName),
Id: pulumi.StringRef(triggerId),
ProjectId: pulumi.StringRef(testProject.Id),
State: pulumi.StringRef(triggerState),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testTriggers = Oci.DevOps.GetTriggers.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = triggerDisplayName,
Id = triggerId,
ProjectId = testProject.Id,
State = triggerState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DevOps.DevOpsFunctions;
import com.pulumi.oci.DevOps.inputs.GetTriggersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testTriggers = DevOpsFunctions.getTriggers(GetTriggersArgs.builder()
.compartmentId(compartmentId)
.displayName(triggerDisplayName)
.id(triggerId)
.projectId(testProject.id())
.state(triggerState)
.build());
}
}
variables:
testTriggers:
fn::invoke:
Function: oci:DevOps:getTriggers
Arguments:
compartmentId: ${compartmentId}
displayName: ${triggerDisplayName}
id: ${triggerId}
projectId: ${testProject.id}
state: ${triggerState}
Using getTriggers
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTriggers(args: GetTriggersArgs, opts?: InvokeOptions): Promise<GetTriggersResult>
function getTriggersOutput(args: GetTriggersOutputArgs, opts?: InvokeOptions): Output<GetTriggersResult>
def get_triggers(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_devops.GetTriggersFilter]] = None,
id: Optional[str] = None,
project_id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTriggersResult
def get_triggers_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_devops.GetTriggersFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTriggersResult]
func GetTriggers(ctx *Context, args *GetTriggersArgs, opts ...InvokeOption) (*GetTriggersResult, error)
func GetTriggersOutput(ctx *Context, args *GetTriggersOutputArgs, opts ...InvokeOption) GetTriggersResultOutput
> Note: This function is named GetTriggers
in the Go SDK.
public static class GetTriggers
{
public static Task<GetTriggersResult> InvokeAsync(GetTriggersArgs args, InvokeOptions? opts = null)
public static Output<GetTriggersResult> Invoke(GetTriggersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTriggersResult> getTriggers(GetTriggersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DevOps/getTriggers:getTriggers
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Triggers Filter> - Id string
- Unique trigger identifier.
- Project
Id string - unique project identifier
- State string
- A filter to return only triggers that matches the given lifecycle state.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Triggers Filter - Id string
- Unique trigger identifier.
- Project
Id string - unique project identifier
- State string
- A filter to return only triggers that matches the given lifecycle state.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Triggers Filter> - id String
- Unique trigger identifier.
- project
Id String - unique project identifier
- state String
- A filter to return only triggers that matches the given lifecycle state.
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Triggers Filter[] - id string
- Unique trigger identifier.
- project
Id string - unique project identifier
- state string
- A filter to return only triggers that matches the given lifecycle state.
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[devops.
Get Triggers Filter] - id str
- Unique trigger identifier.
- project_
id str - unique project identifier
- state str
- A filter to return only triggers that matches the given lifecycle state.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- id String
- Unique trigger identifier.
- project
Id String - unique project identifier
- state String
- A filter to return only triggers that matches the given lifecycle state.
getTriggers Result
The following output properties are available:
- Trigger
Collections List<GetTriggers Trigger Collection> - The list of trigger_collection.
- Compartment
Id string - The OCID of the compartment that contains the trigger.
- Display
Name string - Trigger display name. Avoid entering confidential information.
- Filters
List<Get
Triggers Filter> - Id string
- Unique identifier that is immutable on creation.
- Project
Id string - The OCID of the DevOps project to which the trigger belongs to.
- State string
- The current state of the trigger.
- Trigger
Collections []GetTriggers Trigger Collection - The list of trigger_collection.
- Compartment
Id string - The OCID of the compartment that contains the trigger.
- Display
Name string - Trigger display name. Avoid entering confidential information.
- Filters
[]Get
Triggers Filter - Id string
- Unique identifier that is immutable on creation.
- Project
Id string - The OCID of the DevOps project to which the trigger belongs to.
- State string
- The current state of the trigger.
- trigger
Collections List<GetTriggers Trigger Collection> - The list of trigger_collection.
- compartment
Id String - The OCID of the compartment that contains the trigger.
- display
Name String - Trigger display name. Avoid entering confidential information.
- filters
List<Get
Triggers Filter> - id String
- Unique identifier that is immutable on creation.
- project
Id String - The OCID of the DevOps project to which the trigger belongs to.
- state String
- The current state of the trigger.
- trigger
Collections GetTriggers Trigger Collection[] - The list of trigger_collection.
- compartment
Id string - The OCID of the compartment that contains the trigger.
- display
Name string - Trigger display name. Avoid entering confidential information.
- filters
Get
Triggers Filter[] - id string
- Unique identifier that is immutable on creation.
- project
Id string - The OCID of the DevOps project to which the trigger belongs to.
- state string
- The current state of the trigger.
- trigger_
collections Sequence[devops.Get Triggers Trigger Collection] - The list of trigger_collection.
- compartment_
id str - The OCID of the compartment that contains the trigger.
- display_
name str - Trigger display name. Avoid entering confidential information.
- filters
Sequence[devops.
Get Triggers Filter] - id str
- Unique identifier that is immutable on creation.
- project_
id str - The OCID of the DevOps project to which the trigger belongs to.
- state str
- The current state of the trigger.
- trigger
Collections List<Property Map> - The list of trigger_collection.
- compartment
Id String - The OCID of the compartment that contains the trigger.
- display
Name String - Trigger display name. Avoid entering confidential information.
- filters List<Property Map>
- id String
- Unique identifier that is immutable on creation.
- project
Id String - The OCID of the DevOps project to which the trigger belongs to.
- state String
- The current state of the trigger.
Supporting Types
GetTriggersFilter
GetTriggersTriggerCollection
GetTriggersTriggerCollectionItem
- Actions
List<Get
Triggers Trigger Collection Item Action> - The list of actions that are to be performed for this trigger.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Connection
Id string - Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- Description about the trigger.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Id string
- Unique trigger identifier.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Project
Id string - unique project identifier
- Repository
Id string - The OCID of the DevOps code repository.
- State string
- A filter to return only triggers that matches the given lifecycle state.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the trigger was created. Format defined by RFC3339.
- Time
Updated string - The time the trigger was updated. Format defined by RFC3339.
- Trigger
Source string - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- Trigger
Url string - The endpoint that listens to trigger events.
- Actions
[]Get
Triggers Trigger Collection Item Action - The list of actions that are to be performed for this trigger.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Connection
Id string - map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Description string
- Description about the trigger.
- Display
Name string - A filter to return only resources that match the entire display name given.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Id string
- Unique trigger identifier.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Project
Id string - unique project identifier
- Repository
Id string - The OCID of the DevOps code repository.
- State string
- A filter to return only triggers that matches the given lifecycle state.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the trigger was created. Format defined by RFC3339.
- Time
Updated string - The time the trigger was updated. Format defined by RFC3339.
- Trigger
Source string - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- Trigger
Url string - The endpoint that listens to trigger events.
- actions
List<Get
Triggers Trigger Collection Item Action> - The list of actions that are to be performed for this trigger.
- compartment
Id String - The OCID of the compartment in which to list resources.
- connection
Id String - Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description String
- Description about the trigger.
- display
Name String - A filter to return only resources that match the entire display name given.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- id String
- Unique trigger identifier.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- project
Id String - unique project identifier
- repository
Id String - The OCID of the DevOps code repository.
- state String
- A filter to return only triggers that matches the given lifecycle state.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the trigger was created. Format defined by RFC3339.
- time
Updated String - The time the trigger was updated. Format defined by RFC3339.
- trigger
Source String - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- trigger
Url String - The endpoint that listens to trigger events.
- actions
Get
Triggers Trigger Collection Item Action[] - The list of actions that are to be performed for this trigger.
- compartment
Id string - The OCID of the compartment in which to list resources.
- connection
Id string - {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description string
- Description about the trigger.
- display
Name string - A filter to return only resources that match the entire display name given.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- id string
- Unique trigger identifier.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- project
Id string - unique project identifier
- repository
Id string - The OCID of the DevOps code repository.
- state string
- A filter to return only triggers that matches the given lifecycle state.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the trigger was created. Format defined by RFC3339.
- time
Updated string - The time the trigger was updated. Format defined by RFC3339.
- trigger
Source string - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- trigger
Url string - The endpoint that listens to trigger events.
- actions
Sequence[devops.
Get Triggers Trigger Collection Item Action] - The list of actions that are to be performed for this trigger.
- compartment_
id str - The OCID of the compartment in which to list resources.
- connection_
id str - Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description str
- Description about the trigger.
- display_
name str - A filter to return only resources that match the entire display name given.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- id str
- Unique trigger identifier.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- project_
id str - unique project identifier
- repository_
id str - The OCID of the DevOps code repository.
- state str
- A filter to return only triggers that matches the given lifecycle state.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the trigger was created. Format defined by RFC3339.
- time_
updated str - The time the trigger was updated. Format defined by RFC3339.
- trigger_
source str - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- trigger_
url str - The endpoint that listens to trigger events.
- actions List<Property Map>
- The list of actions that are to be performed for this trigger.
- compartment
Id String - The OCID of the compartment in which to list resources.
- connection
Id String - Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- description String
- Description about the trigger.
- display
Name String - A filter to return only resources that match the entire display name given.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- id String
- Unique trigger identifier.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- project
Id String - unique project identifier
- repository
Id String - The OCID of the DevOps code repository.
- state String
- A filter to return only triggers that matches the given lifecycle state.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the trigger was created. Format defined by RFC3339.
- time
Updated String - The time the trigger was updated. Format defined by RFC3339.
- trigger
Source String - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- trigger
Url String - The endpoint that listens to trigger events.
GetTriggersTriggerCollectionItemAction
- Build
Pipeline stringId - The OCID of the build pipeline to be triggered.
- Filters
List<Get
Triggers Trigger Collection Item Action Filter> - Type string
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
- Build
Pipeline stringId - The OCID of the build pipeline to be triggered.
- Filters
[]Get
Triggers Trigger Collection Item Action Filter - Type string
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
- build
Pipeline StringId - The OCID of the build pipeline to be triggered.
- filters
List<Get
Triggers Trigger Collection Item Action Filter> - type String
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
- build
Pipeline stringId - The OCID of the build pipeline to be triggered.
- filters
Get
Triggers Trigger Collection Item Action Filter[] - type string
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
- build_
pipeline_ strid - The OCID of the build pipeline to be triggered.
- filters
Sequence[devops.
Get Triggers Trigger Collection Item Action Filter] - type str
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
- build
Pipeline StringId - The OCID of the build pipeline to be triggered.
- filters List<Property Map>
- type String
- The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE.
GetTriggersTriggerCollectionItemActionFilter
- Events List<string>
- The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
- Excludes
List<Get
Triggers Trigger Collection Item Action Filter Exclude> - Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- Includes
List<Get
Triggers Trigger Collection Item Action Filter Include> - Attributes to filter GitLab self-hosted server events.
- Trigger
Source string - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- Events []string
- The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
- Excludes
[]Get
Triggers Trigger Collection Item Action Filter Exclude - Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- Includes
[]Get
Triggers Trigger Collection Item Action Filter Include - Attributes to filter GitLab self-hosted server events.
- Trigger
Source string - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- events List<String>
- The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
- excludes
List<Get
Triggers Trigger Collection Item Action Filter Exclude> - Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- includes
List<Get
Triggers Trigger Collection Item Action Filter Include> - Attributes to filter GitLab self-hosted server events.
- trigger
Source String - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- events string[]
- The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
- excludes
Get
Triggers Trigger Collection Item Action Filter Exclude[] - Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- includes
Get
Triggers Trigger Collection Item Action Filter Include[] - Attributes to filter GitLab self-hosted server events.
- trigger
Source string - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- events Sequence[str]
- The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
- excludes
Sequence[devops.
Get Triggers Trigger Collection Item Action Filter Exclude] - Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- includes
Sequence[devops.
Get Triggers Trigger Collection Item Action Filter Include] - Attributes to filter GitLab self-hosted server events.
- trigger_
source str - Source of the trigger. Allowed values are, GITHUB and GITLAB.
- events List<String>
- The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED.
- excludes List<Property Map>
- Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter.
- includes List<Property Map>
- Attributes to filter GitLab self-hosted server events.
- trigger
Source String - Source of the trigger. Allowed values are, GITHUB and GITLAB.
GetTriggersTriggerCollectionItemActionFilterExclude
- File
Filters List<GetTriggers Trigger Collection Item Action Filter Exclude File Filter> - Attributes to support include/exclude files for triggering build runs.
- File
Filters []GetTriggers Trigger Collection Item Action Filter Exclude File Filter - Attributes to support include/exclude files for triggering build runs.
- file
Filters List<GetTriggers Trigger Collection Item Action Filter Exclude File Filter> - Attributes to support include/exclude files for triggering build runs.
- file
Filters GetTriggers Trigger Collection Item Action Filter Exclude File Filter[] - Attributes to support include/exclude files for triggering build runs.
- file_
filters Sequence[devops.Get Triggers Trigger Collection Item Action Filter Exclude File Filter] - Attributes to support include/exclude files for triggering build runs.
- file
Filters List<Property Map> - Attributes to support include/exclude files for triggering build runs.
GetTriggersTriggerCollectionItemActionFilterExcludeFileFilter
- File
Paths List<string> - The file paths/glob pattern for files.
- File
Paths []string - The file paths/glob pattern for files.
- file
Paths List<String> - The file paths/glob pattern for files.
- file
Paths string[] - The file paths/glob pattern for files.
- file_
paths Sequence[str] - The file paths/glob pattern for files.
- file
Paths List<String> - The file paths/glob pattern for files.
GetTriggersTriggerCollectionItemActionFilterInclude
- Base
Ref string - The target branch for pull requests; not applicable for push requests.
- File
Filters List<GetTriggers Trigger Collection Item Action Filter Include File Filter> - Attributes to support include/exclude files for triggering build runs.
- Head
Ref string - Branch for push event; source branch for pull requests.
- Repository
Name string - The repository name for trigger events.
- Base
Ref string - The target branch for pull requests; not applicable for push requests.
- File
Filters []GetTriggers Trigger Collection Item Action Filter Include File Filter - Attributes to support include/exclude files for triggering build runs.
- Head
Ref string - Branch for push event; source branch for pull requests.
- Repository
Name string - The repository name for trigger events.
- base
Ref String - The target branch for pull requests; not applicable for push requests.
- file
Filters List<GetTriggers Trigger Collection Item Action Filter Include File Filter> - Attributes to support include/exclude files for triggering build runs.
- head
Ref String - Branch for push event; source branch for pull requests.
- repository
Name String - The repository name for trigger events.
- base
Ref string - The target branch for pull requests; not applicable for push requests.
- file
Filters GetTriggers Trigger Collection Item Action Filter Include File Filter[] - Attributes to support include/exclude files for triggering build runs.
- head
Ref string - Branch for push event; source branch for pull requests.
- repository
Name string - The repository name for trigger events.
- base_
ref str - The target branch for pull requests; not applicable for push requests.
- file_
filters Sequence[devops.Get Triggers Trigger Collection Item Action Filter Include File Filter] - Attributes to support include/exclude files for triggering build runs.
- head_
ref str - Branch for push event; source branch for pull requests.
- repository_
name str - The repository name for trigger events.
- base
Ref String - The target branch for pull requests; not applicable for push requests.
- file
Filters List<Property Map> - Attributes to support include/exclude files for triggering build runs.
- head
Ref String - Branch for push event; source branch for pull requests.
- repository
Name String - The repository name for trigger events.
GetTriggersTriggerCollectionItemActionFilterIncludeFileFilter
- File
Paths List<string> - The file paths/glob pattern for files.
- File
Paths []string - The file paths/glob pattern for files.
- file
Paths List<String> - The file paths/glob pattern for files.
- file
Paths string[] - The file paths/glob pattern for files.
- file_
paths Sequence[str] - The file paths/glob pattern for files.
- file
Paths List<String> - The file paths/glob pattern for files.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.