@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
89 lines (88 loc) • 2.35 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving a Harness GitOps Filter.
*/
export declare function getGitopsFilters(args: GetGitopsFiltersArgs, opts?: pulumi.InvokeOptions): Promise<GetGitopsFiltersResult>;
/**
* A collection of arguments for invoking getGitopsFilters.
*/
export interface GetGitopsFiltersArgs {
/**
* Unique identifier of the resource.
*/
identifier: string;
/**
* Organization Identifier for the Entity.
*/
orgId: string;
/**
* Project Identifier for the Entity.
*/
projectId: string;
/**
* Type of filter.
*/
type: string;
}
/**
* A collection of values returned by getGitopsFilters.
*/
export interface GetGitopsFiltersResult {
/**
* Properties of the filters entity defined in Harness as a JSON string. All values should be arrays of strings. Example: jsonencode({"healthStatus": ["Healthy", "Degraded"], "syncStatus": ["Synced"]})
*/
readonly filterProperties: string;
/**
* This indicates visibility of filters, by default it is Everyone.
*/
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.
*/
readonly type: string;
}
/**
* Data source for retrieving a Harness GitOps Filter.
*/
export declare function getGitopsFiltersOutput(args: GetGitopsFiltersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGitopsFiltersResult>;
/**
* A collection of arguments for invoking getGitopsFilters.
*/
export interface GetGitopsFiltersOutputArgs {
/**
* 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.
*/
type: pulumi.Input<string>;
}