UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

118 lines (117 loc) 2.92 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data source for retrieving a Harness CCM Filter. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = harness.platform.getCcmFilters({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * type: "CCMRecommendation", * }); * ``` */ export declare function getCcmFilters(args: GetCcmFiltersArgs, opts?: pulumi.InvokeOptions): Promise<GetCcmFiltersResult>; /** * A collection of arguments for invoking getCcmFilters. */ export interface GetCcmFiltersArgs { /** * 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 getCcmFilters. */ export interface GetCcmFiltersResult { /** * Properties of the filter entity defined in Harness. */ readonly filterProperties: outputs.platform.GetCcmFiltersFilterProperty[]; /** * 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. */ readonly type: string; } /** * Data source for retrieving a Harness CCM Filter. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = harness.platform.getCcmFilters({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * type: "CCMRecommendation", * }); * ``` */ export declare function getCcmFiltersOutput(args: GetCcmFiltersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCcmFiltersResult>; /** * A collection of arguments for invoking getCcmFilters. */ export interface GetCcmFiltersOutputArgs { /** * 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>; }