Harness v0.7.3 published on Friday, Apr 18, 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 GitOps filter to retrieve.
- Org
Id string - Organization identifier for the GitOps filter.
- Project
Id string - Project identifier for the GitOps filter.
- Type string
- Type of GitOps filter. Currently, only "APPLICATION" is supported.
- Identifier string
- Unique identifier of the GitOps filter to retrieve.
- Org
Id string - Organization identifier for the GitOps filter.
- Project
Id string - Project identifier for the GitOps filter.
- Type string
- Type of GitOps filter. Currently, only "APPLICATION" is supported.
- identifier String
- Unique identifier of the GitOps filter to retrieve.
- org
Id String - Organization identifier for the GitOps filter.
- project
Id String - Project identifier for the GitOps filter.
- type String
- Type of GitOps filter. Currently, only "APPLICATION" is supported.
- identifier string
- Unique identifier of the GitOps filter to retrieve.
- org
Id string - Organization identifier for the GitOps filter.
- project
Id string - Project identifier for the GitOps filter.
- type string
- Type of GitOps filter. Currently, only "APPLICATION" is supported.
- identifier str
- Unique identifier of the GitOps filter to retrieve.
- org_
id str - Organization identifier for the GitOps filter.
- project_
id str - Project identifier for the GitOps filter.
- type str
- Type of GitOps filter. Currently, only "APPLICATION" is supported.
- identifier String
- Unique identifier of the GitOps filter to retrieve.
- org
Id String - Organization identifier for the GitOps filter.
- project
Id String - Project identifier for the GitOps filter.
- type String
- Type of GitOps filter. Currently, only "APPLICATION" is supported.
getGitopsFilters Result
The following output properties are available:
- Filter
Properties string - Properties of the filter entity defined in Harness as a JSON string. This contains filter criteria such as health status, sync status, agent identifiers, clusters, namespaces, and repositories.
- Filter
Visibility string - Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Name string
- Name of the GitOps filter.
- Org
Id string - Project
Id string - Type string
- Filter
Properties string - Properties of the filter entity defined in Harness as a JSON string. This contains filter criteria such as health status, sync status, agent identifiers, clusters, namespaces, and repositories.
- Filter
Visibility string - Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Name string
- Name of the GitOps filter.
- Org
Id string - Project
Id string - Type string
- filter
Properties String - Properties of the filter entity defined in Harness as a JSON string. This contains filter criteria such as health status, sync status, agent identifiers, clusters, namespaces, and repositories.
- filter
Visibility String - id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- name String
- Name of the GitOps filter.
- org
Id String - project
Id String - type String
- filter
Properties string - Properties of the filter entity defined in Harness as a JSON string. This contains filter criteria such as health status, sync status, agent identifiers, clusters, namespaces, and repositories.
- filter
Visibility string - id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- name string
- Name of the GitOps filter.
- org
Id string - project
Id string - type string
- filter_
properties str - Properties of the filter entity defined in Harness as a JSON string. This contains filter criteria such as health status, sync status, agent identifiers, clusters, namespaces, and repositories.
- filter_
visibility str - id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- name str
- Name of the GitOps filter.
- org_
id str - project_
id str - type str
- filter
Properties String - Properties of the filter entity defined in Harness as a JSON string. This contains filter criteria such as health status, sync status, agent identifiers, clusters, namespaces, and repositories.
- filter
Visibility String - id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- name String
- Name of the GitOps filter.
- org
Id String - project
Id String - type String
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.