1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getGitopsFilters
Harness v0.8.1 published on Saturday, Aug 23, 2025 by Pulumi

harness.platform.getGitopsFilters

Explore with Pulumi AI

harness logo
Harness v0.8.1 published on Saturday, Aug 23, 2025 by Pulumi

    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.
    OrgId string
    Organization Identifier for the Entity.
    ProjectId string
    Project Identifier for the Entity.
    Type string
    Type of filter.
    Identifier string
    Unique identifier of the resource.
    OrgId string
    Organization Identifier for the Entity.
    ProjectId string
    Project Identifier for the Entity.
    Type string
    Type of filter.
    identifier String
    Unique identifier of the resource.
    orgId String
    Organization Identifier for the Entity.
    projectId String
    Project Identifier for the Entity.
    type String
    Type of filter.
    identifier string
    Unique identifier of the resource.
    orgId string
    Organization Identifier for the Entity.
    projectId 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.
    orgId String
    Organization Identifier for the Entity.
    projectId String
    Project Identifier for the Entity.
    type String
    Type of filter.

    getGitopsFilters Result

    The following output properties are available:

    FilterProperties 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"]})
    FilterVisibility 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.
    OrgId string
    Organization Identifier for the Entity.
    ProjectId string
    Project Identifier for the Entity.
    Type string
    Type of filter.
    FilterProperties 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"]})
    FilterVisibility 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.
    OrgId string
    Organization Identifier for the Entity.
    ProjectId string
    Project Identifier for the Entity.
    Type string
    Type of filter.
    filterProperties 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"]})
    filterVisibility 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.
    orgId String
    Organization Identifier for the Entity.
    projectId String
    Project Identifier for the Entity.
    type String
    Type of filter.
    filterProperties 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"]})
    filterVisibility 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.
    orgId string
    Organization Identifier for the Entity.
    projectId 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.
    filterProperties 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"]})
    filterVisibility 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.
    orgId String
    Organization Identifier for the Entity.
    projectId 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.
    harness logo
    Harness v0.8.1 published on Saturday, Aug 23, 2025 by Pulumi