@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
118 lines (117 loc) • 3.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Data source for retrieving a Harness Filter. This data source allow to fetch filters of types {Connector, DelegateProfile, Delegate, EnvironmentGroup, FileStore, Environment}
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const test = harness.platform.getFilters({
* identifier: "identifier",
* orgId: "org_id",
* projectId: "project_id",
* type: "Connector",
* });
* ```
*/
export declare function getFilters(args: GetFiltersArgs, opts?: pulumi.InvokeOptions): Promise<GetFiltersResult>;
/**
* A collection of arguments for invoking getFilters.
*/
export interface GetFiltersArgs {
/**
* 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 {Connector, DelegateProfile, Delegate, EnvironmentGroup, FileStore, Environment}.
*/
type: string;
}
/**
* A collection of values returned by getFilters.
*/
export interface GetFiltersResult {
/**
* Properties of the filter entity defined in Harness.
*/
readonly filterProperties: outputs.platform.GetFiltersFilterProperty[];
/**
* 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 {Connector, DelegateProfile, Delegate, EnvironmentGroup, FileStore, Environment}.
*/
readonly type: string;
}
/**
* Data source for retrieving a Harness Filter. This data source allow to fetch filters of types {Connector, DelegateProfile, Delegate, EnvironmentGroup, FileStore, Environment}
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const test = harness.platform.getFilters({
* identifier: "identifier",
* orgId: "org_id",
* projectId: "project_id",
* type: "Connector",
* });
* ```
*/
export declare function getFiltersOutput(args: GetFiltersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFiltersResult>;
/**
* A collection of arguments for invoking getFilters.
*/
export interface GetFiltersOutputArgs {
/**
* 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 {Connector, DelegateProfile, Delegate, EnvironmentGroup, FileStore, Environment}.
*/
type: pulumi.Input<string>;
}