Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi
harness.platform.getPipelineFilters
Explore with Pulumi AI
Data source for retrieving a Harness Pipeline Filter.
Using getPipelineFilters
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 getPipelineFilters(args: GetPipelineFiltersArgs, opts?: InvokeOptions): Promise<GetPipelineFiltersResult>
function getPipelineFiltersOutput(args: GetPipelineFiltersOutputArgs, opts?: InvokeOptions): Output<GetPipelineFiltersResult>
def get_pipeline_filters(identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPipelineFiltersResult
def get_pipeline_filters_output(identifier: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPipelineFiltersResult]
func LookupPipelineFilters(ctx *Context, args *LookupPipelineFiltersArgs, opts ...InvokeOption) (*LookupPipelineFiltersResult, error)
func LookupPipelineFiltersOutput(ctx *Context, args *LookupPipelineFiltersOutputArgs, opts ...InvokeOption) LookupPipelineFiltersResultOutput
> Note: This function is named LookupPipelineFilters
in the Go SDK.
public static class GetPipelineFilters
{
public static Task<GetPipelineFiltersResult> InvokeAsync(GetPipelineFiltersArgs args, InvokeOptions? opts = null)
public static Output<GetPipelineFiltersResult> Invoke(GetPipelineFiltersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPipelineFiltersResult> getPipelineFilters(GetPipelineFiltersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:platform/getPipelineFilters:getPipelineFilters
arguments:
# arguments dictionary
The following arguments are supported:
- Identifier string
- Unique identifier of the resource.
- Type string
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- Org
Id string - Organization Identifier for the Entity.
- Project
Id string - Project Identifier for the Entity.
- Identifier string
- Unique identifier of the resource.
- Type string
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- Org
Id string - Organization Identifier for the Entity.
- Project
Id string - Project Identifier for the Entity.
- identifier String
- Unique identifier of the resource.
- type String
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
- identifier string
- Unique identifier of the resource.
- type string
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- org
Id string - Organization Identifier for the Entity.
- project
Id string - Project Identifier for the Entity.
- identifier str
- Unique identifier of the resource.
- type str
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- org_
id str - Organization Identifier for the Entity.
- project_
id str - Project Identifier for the Entity.
- identifier String
- Unique identifier of the resource.
- type String
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
getPipelineFilters Result
The following output properties are available:
- Filter
Properties List<GetPipeline Filters Filter Property> - Properties of the filter entity defined in Harness.
- Filter
Visibility string - This indicates visibility of filter. By default, everyone can view this filter.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the Filter.
- Type string
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- Org
Id string - Organization Identifier for the Entity.
- Project
Id string - Project Identifier for the Entity.
- Filter
Properties []GetPipeline Filters Filter Property - Properties of the filter entity defined in Harness.
- Filter
Visibility string - This indicates visibility of filter. By default, everyone can view this filter.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the Filter.
- Type string
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- Org
Id string - Organization Identifier for the Entity.
- Project
Id string - Project Identifier for the Entity.
- filter
Properties List<GetPipeline Filters Filter Property> - Properties of the filter entity defined in Harness.
- filter
Visibility String - This indicates visibility of filter. By default, everyone can view this filter.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the Filter.
- type String
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
- filter
Properties GetPipeline Filters Filter Property[] - Properties of the filter entity defined in Harness.
- filter
Visibility string - This indicates visibility of filter. By default, everyone can view this filter.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the Filter.
- type string
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- org
Id string - Organization Identifier for the Entity.
- project
Id string - Project Identifier for the Entity.
- filter_
properties Sequence[GetPipeline Filters Filter Property] - Properties of the filter entity defined in Harness.
- filter_
visibility str - This indicates visibility of filter. By default, everyone can view this filter.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Unique identifier of the resource.
- name str
- Name of the Filter.
- type str
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- org_
id str - Organization Identifier for the Entity.
- project_
id str - Project Identifier for the Entity.
- filter
Properties List<Property Map> - Properties of the filter entity defined in Harness.
- filter
Visibility String - This indicates visibility of filter. By default, everyone can view this filter.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the Filter.
- type String
- Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
Supporting Types
GetPipelineFiltersFilterProperty
- Description string
- description of the pipline filter.
- Filter
Type string - Corresponding Entity of the filters. Currently supported types are {Connector, DelegateProfile, Delegate, PipelineSetup, PipelineExecution, Deployment, Audit, Template, EnvironmentGroup, FileStore, CCMRecommendation, Anomaly, Environment}.
- Module
Properties GetPipeline Filters Filter Property Module Properties - module properties of the pipline filter.
- Name string
- Name of the pipeline filter.
- Pipeline
Identifiers List<string> - Pipeline identifiers to filter on.
- List<Immutable
Dictionary<string, string>> - Tags to associate with the pipeline. tags should be in the form of
{key:key1, value:key1value}
- List<string>
- Tags to associate with the resource. Tags should be in the form
name:value
.
- Description string
- description of the pipline filter.
- Filter
Type string - Corresponding Entity of the filters. Currently supported types are {Connector, DelegateProfile, Delegate, PipelineSetup, PipelineExecution, Deployment, Audit, Template, EnvironmentGroup, FileStore, CCMRecommendation, Anomaly, Environment}.
- Module
Properties GetPipeline Filters Filter Property Module Properties - module properties of the pipline filter.
- Name string
- Name of the pipeline filter.
- Pipeline
Identifiers []string - Pipeline identifiers to filter on.
- []map[string]string
- Tags to associate with the pipeline. tags should be in the form of
{key:key1, value:key1value}
- []string
- Tags to associate with the resource. Tags should be in the form
name:value
.
- description String
- description of the pipline filter.
- filter
Type String - Corresponding Entity of the filters. Currently supported types are {Connector, DelegateProfile, Delegate, PipelineSetup, PipelineExecution, Deployment, Audit, Template, EnvironmentGroup, FileStore, CCMRecommendation, Anomaly, Environment}.
- module
Properties GetPipeline Filters Filter Property Module Properties - module properties of the pipline filter.
- name String
- Name of the pipeline filter.
- pipeline
Identifiers List<String> - Pipeline identifiers to filter on.
- List<Map<String,String>>
- Tags to associate with the pipeline. tags should be in the form of
{key:key1, value:key1value}
- List<String>
- Tags to associate with the resource. Tags should be in the form
name:value
.
- description string
- description of the pipline filter.
- filter
Type string - Corresponding Entity of the filters. Currently supported types are {Connector, DelegateProfile, Delegate, PipelineSetup, PipelineExecution, Deployment, Audit, Template, EnvironmentGroup, FileStore, CCMRecommendation, Anomaly, Environment}.
- module
Properties GetPipeline Filters Filter Property Module Properties - module properties of the pipline filter.
- name string
- Name of the pipeline filter.
- pipeline
Identifiers string[] - Pipeline identifiers to filter on.
- {[key: string]: string}[]
- Tags to associate with the pipeline. tags should be in the form of
{key:key1, value:key1value}
- string[]
- Tags to associate with the resource. Tags should be in the form
name:value
.
- description str
- description of the pipline filter.
- filter_
type str - Corresponding Entity of the filters. Currently supported types are {Connector, DelegateProfile, Delegate, PipelineSetup, PipelineExecution, Deployment, Audit, Template, EnvironmentGroup, FileStore, CCMRecommendation, Anomaly, Environment}.
- module_
properties GetPipeline Filters Filter Property Module Properties - module properties of the pipline filter.
- name str
- Name of the pipeline filter.
- pipeline_
identifiers Sequence[str] - Pipeline identifiers to filter on.
- Sequence[Mapping[str, str]]
- Tags to associate with the pipeline. tags should be in the form of
{key:key1, value:key1value}
- Sequence[str]
- Tags to associate with the resource. Tags should be in the form
name:value
.
- description String
- description of the pipline filter.
- filter
Type String - Corresponding Entity of the filters. Currently supported types are {Connector, DelegateProfile, Delegate, PipelineSetup, PipelineExecution, Deployment, Audit, Template, EnvironmentGroup, FileStore, CCMRecommendation, Anomaly, Environment}.
- module
Properties Property Map - module properties of the pipline filter.
- name String
- Name of the pipeline filter.
- pipeline
Identifiers List<String> - Pipeline identifiers to filter on.
- List<Map<String>>
- Tags to associate with the pipeline. tags should be in the form of
{key:key1, value:key1value}
- List<String>
- Tags to associate with the resource. Tags should be in the form
name:value
.
GetPipelineFiltersFilterPropertyModuleProperties
- Cd
Get
Pipeline Filters Filter Property Module Properties Cd - CD related properties to be filtered on.
- Ci
Get
Pipeline Filters Filter Property Module Properties Ci - CI related properties to be filtered on.
- Cd
Get
Pipeline Filters Filter Property Module Properties Cd - CD related properties to be filtered on.
- Ci
Get
Pipeline Filters Filter Property Module Properties Ci - CI related properties to be filtered on.
- cd
Get
Pipeline Filters Filter Property Module Properties Cd - CD related properties to be filtered on.
- ci
Get
Pipeline Filters Filter Property Module Properties Ci - CI related properties to be filtered on.
- cd
Get
Pipeline Filters Filter Property Module Properties Cd - CD related properties to be filtered on.
- ci
Get
Pipeline Filters Filter Property Module Properties Ci - CI related properties to be filtered on.
- cd
Get
Pipeline Filters Filter Property Module Properties Cd - CD related properties to be filtered on.
- ci
Get
Pipeline Filters Filter Property Module Properties Ci - CI related properties to be filtered on.
- cd Property Map
- CD related properties to be filtered on.
- ci Property Map
- CI related properties to be filtered on.
GetPipelineFiltersFilterPropertyModulePropertiesCd
- Artifact
Display List<string>Names - Artifact display names of the CD pipeline.
- Deployment
Types string - Deployment type of the CD pipeline, eg. Kubernetes
- Environment
Names List<string> - Environment names of the CD pipeline.
- Service
Identifiers List<string> - Service identifiers of the CD pipeline.
- Service
Names List<string> - Service names of the CD pipeline.
- Artifact
Display []stringNames - Artifact display names of the CD pipeline.
- Deployment
Types string - Deployment type of the CD pipeline, eg. Kubernetes
- Environment
Names []string - Environment names of the CD pipeline.
- Service
Identifiers []string - Service identifiers of the CD pipeline.
- Service
Names []string - Service names of the CD pipeline.
- artifact
Display List<String>Names - Artifact display names of the CD pipeline.
- deployment
Types String - Deployment type of the CD pipeline, eg. Kubernetes
- environment
Names List<String> - Environment names of the CD pipeline.
- service
Identifiers List<String> - Service identifiers of the CD pipeline.
- service
Names List<String> - Service names of the CD pipeline.
- artifact
Display string[]Names - Artifact display names of the CD pipeline.
- deployment
Types string - Deployment type of the CD pipeline, eg. Kubernetes
- environment
Names string[] - Environment names of the CD pipeline.
- service
Identifiers string[] - Service identifiers of the CD pipeline.
- service
Names string[] - Service names of the CD pipeline.
- artifact_
display_ Sequence[str]names - Artifact display names of the CD pipeline.
- deployment_
types str - Deployment type of the CD pipeline, eg. Kubernetes
- environment_
names Sequence[str] - Environment names of the CD pipeline.
- service_
identifiers Sequence[str] - Service identifiers of the CD pipeline.
- service_
names Sequence[str] - Service names of the CD pipeline.
- artifact
Display List<String>Names - Artifact display names of the CD pipeline.
- deployment
Types String - Deployment type of the CD pipeline, eg. Kubernetes
- environment
Names List<String> - Environment names of the CD pipeline.
- service
Identifiers List<String> - Service identifiers of the CD pipeline.
- service
Names List<String> - Service names of the CD pipeline.
GetPipelineFiltersFilterPropertyModulePropertiesCi
- Branch string
- Branch which was used while building.
- Build
Type string - Build type of the pipeline. Possible values: branch.
- Ci
Execution GetInfo Pipeline Filters Filter Property Module Properties Ci Ci Execution Info - CI execution info for the pipeline.
- Repo
Names string - name of the repository used in the pipeline.
- Tag string
- Tags to associate with the CI pipeline resource.
- Branch string
- Branch which was used while building.
- Build
Type string - Build type of the pipeline. Possible values: branch.
- Ci
Execution GetInfo Pipeline Filters Filter Property Module Properties Ci Ci Execution Info - CI execution info for the pipeline.
- Repo
Names string - name of the repository used in the pipeline.
- Tag string
- Tags to associate with the CI pipeline resource.
- branch String
- Branch which was used while building.
- build
Type String - Build type of the pipeline. Possible values: branch.
- ci
Execution GetInfo Pipeline Filters Filter Property Module Properties Ci Ci Execution Info - CI execution info for the pipeline.
- repo
Names String - name of the repository used in the pipeline.
- tag String
- Tags to associate with the CI pipeline resource.
- branch string
- Branch which was used while building.
- build
Type string - Build type of the pipeline. Possible values: branch.
- ci
Execution GetInfo Pipeline Filters Filter Property Module Properties Ci Ci Execution Info - CI execution info for the pipeline.
- repo
Names string - name of the repository used in the pipeline.
- tag string
- Tags to associate with the CI pipeline resource.
- branch str
- Branch which was used while building.
- build_
type str - Build type of the pipeline. Possible values: branch.
- ci_
execution_ Getinfo Pipeline Filters Filter Property Module Properties Ci Ci Execution Info - CI execution info for the pipeline.
- repo_
names str - name of the repository used in the pipeline.
- tag str
- Tags to associate with the CI pipeline resource.
- branch String
- Branch which was used while building.
- build
Type String - Build type of the pipeline. Possible values: branch.
- ci
Execution Property MapInfo - CI execution info for the pipeline.
- repo
Names String - name of the repository used in the pipeline.
- tag String
- Tags to associate with the CI pipeline resource.
GetPipelineFiltersFilterPropertyModulePropertiesCiCiExecutionInfo
- Event string
- Event for the ci execution, Possible values: pullRequest.
- Pull
Request GetPipeline Filters Filter Property Module Properties Ci Ci Execution Info Pull Request - The pull request details of the CI pipeline.
- Event string
- Event for the ci execution, Possible values: pullRequest.
- Pull
Request GetPipeline Filters Filter Property Module Properties Ci Ci Execution Info Pull Request - The pull request details of the CI pipeline.
- event String
- Event for the ci execution, Possible values: pullRequest.
- pull
Request GetPipeline Filters Filter Property Module Properties Ci Ci Execution Info Pull Request - The pull request details of the CI pipeline.
- event string
- Event for the ci execution, Possible values: pullRequest.
- pull
Request GetPipeline Filters Filter Property Module Properties Ci Ci Execution Info Pull Request - The pull request details of the CI pipeline.
- event str
- Event for the ci execution, Possible values: pullRequest.
- pull_
request GetPipeline Filters Filter Property Module Properties Ci Ci Execution Info Pull Request - The pull request details of the CI pipeline.
- event String
- Event for the ci execution, Possible values: pullRequest.
- pull
Request Property Map - The pull request details of the CI pipeline.
GetPipelineFiltersFilterPropertyModulePropertiesCiCiExecutionInfoPullRequest
- Source
Branch string - Source branch of the pull request.
- Target
Branch string - Target branch of the pull request.
- Source
Branch string - Source branch of the pull request.
- Target
Branch string - Target branch of the pull request.
- source
Branch String - Source branch of the pull request.
- target
Branch String - Target branch of the pull request.
- source
Branch string - Source branch of the pull request.
- target
Branch string - Target branch of the pull request.
- source_
branch str - Source branch of the pull request.
- target_
branch str - Target branch of the pull request.
- source
Branch String - Source branch of the pull request.
- target
Branch String - Target branch of the pull request.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.