Harness v0.8.1 published on Saturday, Aug 23, 2025 by Pulumi
harness.platform.getGitopsFilters
Explore with Pulumi AI
Data source for retrieving a Harness GitOps Filter.
Using getGitopsFilters
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 getGitopsFilters(args: GetGitopsFiltersArgs, opts?: InvokeOptions): Promise<GetGitopsFiltersResult>
function getGitopsFiltersOutput(args: GetGitopsFiltersOutputArgs, opts?: InvokeOptions): Output<GetGitopsFiltersResult>
def get_gitops_filters(identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGitopsFiltersResult
def get_gitops_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[GetGitopsFiltersResult]
func LookupGitopsFilters(ctx *Context, args *LookupGitopsFiltersArgs, opts ...InvokeOption) (*LookupGitopsFiltersResult, error)
func LookupGitopsFiltersOutput(ctx *Context, args *LookupGitopsFiltersOutputArgs, opts ...InvokeOption) LookupGitopsFiltersResultOutput
> Note: This function is named LookupGitopsFilters
in the Go SDK.
public static class GetGitopsFilters
{
public static Task<GetGitopsFiltersResult> InvokeAsync(GetGitopsFiltersArgs args, InvokeOptions? opts = null)
public static Output<GetGitopsFiltersResult> Invoke(GetGitopsFiltersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGitopsFiltersResult> getGitopsFilters(GetGitopsFiltersArgs args, InvokeOptions options)
public static Output<GetGitopsFiltersResult> getGitopsFilters(GetGitopsFiltersArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getGitopsFilters:getGitopsFilters
arguments:
# arguments dictionary
The following arguments are supported:
- Identifier string
- Unique identifier of the resource.
- Org
Id string - Organization Identifier for the Entity.
- Project
Id string - Project Identifier for the Entity.
- Type string
- Type of filter.
- Identifier string
- Unique identifier of the resource.
- Org
Id string - Organization Identifier for the Entity.
- Project
Id string - Project Identifier for the Entity.
- Type string
- Type of filter.
- identifier String
- Unique identifier of the resource.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
- type String
- Type of filter.
- identifier string
- Unique identifier of the resource.
- org
Id string - Organization Identifier for the Entity.
- project
Id string - Project Identifier for the Entity.
- type string
- Type of filter.
- identifier str
- Unique identifier of the resource.
- org_
id str - Organization Identifier for the Entity.
- project_
id str - Project Identifier for the Entity.
- type str
- Type of filter.
- identifier String
- Unique identifier of the resource.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
- type String
- Type of filter.
getGitopsFilters Result
The following output properties are available:
- Filter
Properties string - 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"]})
- Filter
Visibility string - This indicates visibility of filters, by default it is Everyone.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the Filter.
- Org
Id string - Organization Identifier for the Entity.
- Project
Id string - Project Identifier for the Entity.
- Type string
- Type of filter.
- Filter
Properties string - 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"]})
- Filter
Visibility string - This indicates visibility of filters, by default it is Everyone.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the Filter.
- Org
Id string - Organization Identifier for the Entity.
- Project
Id string - Project Identifier for the Entity.
- Type string
- Type of filter.
- filter
Properties String - 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"]})
- filter
Visibility String - This indicates visibility of filters, by default it is Everyone.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the Filter.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
- type String
- Type of filter.
- filter
Properties string - 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"]})
- filter
Visibility string - This indicates visibility of filters, by default it is Everyone.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the Filter.
- org
Id string - Organization Identifier for the Entity.
- project
Id string - Project Identifier for the Entity.
- type string
- Type of filter.
- filter_
properties str - 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"]})
- filter_
visibility str - This indicates visibility of filters, by default it is Everyone.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Unique identifier of the resource.
- name str
- Name of the Filter.
- org_
id str - Organization Identifier for the Entity.
- project_
id str - Project Identifier for the Entity.
- type str
- Type of filter.
- filter
Properties String - 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"]})
- filter
Visibility String - This indicates visibility of filters, by default it is Everyone.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the Filter.
- org
Id String - Organization Identifier for the Entity.
- project
Id String - Project Identifier for the Entity.
- type String
- Type of filter.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.