Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
Data source for retrieving a Harness CCM Filter.
Example Usage
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",
});
import pulumi
import pulumi_harness as harness
test = harness.platform.get_ccm_filters(identifier="identifier",
org_id="org_id",
project_id="project_id",
type="CCMRecommendation")
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.GetCcmFilters(ctx, &platform.GetCcmFiltersArgs{
Identifier: "identifier",
OrgId: pulumi.StringRef("org_id"),
ProjectId: pulumi.StringRef("project_id"),
Type: "CCMRecommendation",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var test = Harness.Platform.GetCcmFilters.Invoke(new()
{
Identifier = "identifier",
OrgId = "org_id",
ProjectId = "project_id",
Type = "CCMRecommendation",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetCcmFiltersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = PlatformFunctions.getCcmFilters(GetCcmFiltersArgs.builder()
.identifier("identifier")
.orgId("org_id")
.projectId("project_id")
.type("CCMRecommendation")
.build());
}
}
variables:
test:
fn::invoke:
function: harness:platform:getCcmFilters
arguments:
identifier: identifier
orgId: org_id
projectId: project_id
type: CCMRecommendation
Using getCcmFilters
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 getCcmFilters(args: GetCcmFiltersArgs, opts?: InvokeOptions): Promise<GetCcmFiltersResult>
function getCcmFiltersOutput(args: GetCcmFiltersOutputArgs, opts?: InvokeOptions): Output<GetCcmFiltersResult>def get_ccm_filters(identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCcmFiltersResult
def get_ccm_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[GetCcmFiltersResult]func GetCcmFilters(ctx *Context, args *GetCcmFiltersArgs, opts ...InvokeOption) (*GetCcmFiltersResult, error)
func GetCcmFiltersOutput(ctx *Context, args *GetCcmFiltersOutputArgs, opts ...InvokeOption) GetCcmFiltersResultOutput> Note: This function is named GetCcmFilters in the Go SDK.
public static class GetCcmFilters
{
public static Task<GetCcmFiltersResult> InvokeAsync(GetCcmFiltersArgs args, InvokeOptions? opts = null)
public static Output<GetCcmFiltersResult> Invoke(GetCcmFiltersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCcmFiltersResult> getCcmFilters(GetCcmFiltersArgs args, InvokeOptions options)
public static Output<GetCcmFiltersResult> getCcmFilters(GetCcmFiltersArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getCcmFilters:getCcmFilters
arguments:
# arguments dictionaryThe following arguments are supported:
- Identifier string
- Unique identifier of the resource.
- Type string
- Type of filter.
- 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.
- 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.
- 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.
- 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.
- 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.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
getCcmFilters Result
The following output properties are available:
- Filter
Properties List<GetCcm 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.
- Org
Id string - Organization Identifier for the Entity.
- Project
Id string - Project Identifier for the Entity.
- Filter
Properties []GetCcm 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.
- Org
Id string - Organization Identifier for the Entity.
- Project
Id string - Project Identifier for the Entity.
- filter
Properties List<GetCcm 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.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
- filter
Properties GetCcm 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.
- org
Id string - Organization Identifier for the Entity.
- project
Id string - Project Identifier for the Entity.
- filter_
properties Sequence[GetCcm 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.
- 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.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
Supporting Types
GetCcmFiltersFilterProperty
- Filter
Type string - Corresponding Entity of the filters.
- List<string>
- Tags to associate with the resource. Tags should be in the form
name:value.
- Filter
Type string - Corresponding Entity of the filters.
- []string
- Tags to associate with the resource. Tags should be in the form
name:value.
- filter
Type String - Corresponding Entity of the filters.
- List<String>
- Tags to associate with the resource. Tags should be in the form
name:value.
- filter
Type string - Corresponding Entity of the filters.
- string[]
- Tags to associate with the resource. Tags should be in the form
name:value.
- filter_
type str - Corresponding Entity of the filters.
- Sequence[str]
- Tags to associate with the resource. Tags should be in the form
name:value.
- filter
Type String - Corresponding Entity of the filters.
- List<String>
- Tags to associate with the resource. Tags should be in the form
name:value.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
