@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
90 lines (89 loc) • 2.7 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Data source for retrieving a Harness Pipeline Filter.
*/
export declare function getPipelineFilters(args: GetPipelineFiltersArgs, opts?: pulumi.InvokeOptions): Promise<GetPipelineFiltersResult>;
/**
* A collection of arguments for invoking getPipelineFilters.
*/
export interface GetPipelineFiltersArgs {
/**
* Unique identifier of the resource.
*/
identifier: string;
/**
* Organization Identifier for the Entity.
*/
orgId?: string;
/**
* Project Identifier for the Entity.
*/
projectId?: string;
/**
* Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
*/
type: string;
}
/**
* A collection of values returned by getPipelineFilters.
*/
export interface GetPipelineFiltersResult {
/**
* Properties of the filter entity defined in Harness.
*/
readonly filterProperties: outputs.platform.GetPipelineFiltersFilterProperty[];
/**
* This indicates visibility of filter. By default, everyone can view this filter.
*/
readonly filterVisibility: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Unique identifier of the resource.
*/
readonly identifier: string;
/**
* Name of the Filter.
*/
readonly name: string;
/**
* Organization Identifier for the Entity.
*/
readonly orgId?: string;
/**
* Project Identifier for the Entity.
*/
readonly projectId?: string;
/**
* Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
*/
readonly type: string;
}
/**
* Data source for retrieving a Harness Pipeline Filter.
*/
export declare function getPipelineFiltersOutput(args: GetPipelineFiltersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPipelineFiltersResult>;
/**
* A collection of arguments for invoking getPipelineFilters.
*/
export interface GetPipelineFiltersOutputArgs {
/**
* Unique identifier of the resource.
*/
identifier: pulumi.Input<string>;
/**
* Organization Identifier for the Entity.
*/
orgId?: pulumi.Input<string>;
/**
* Project Identifier for the Entity.
*/
projectId?: pulumi.Input<string>;
/**
* Type of filter. Currently supported types are {PipelineSetup, PipelineExecution, Deployment, Template, EnvironmentGroup, Environment}.
*/
type: pulumi.Input<string>;
}