1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getGitopsFilters
Harness v0.7.3 published on Friday, Apr 18, 2025 by Pulumi

harness.platform.getGitopsFilters

Explore with Pulumi AI

harness logo
Harness v0.7.3 published on Friday, Apr 18, 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 GitOps filter to retrieve.
    OrgId string
    Organization identifier for the GitOps filter.
    ProjectId 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.
    OrgId string
    Organization identifier for the GitOps filter.
    ProjectId 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.
    orgId String
    Organization identifier for the GitOps filter.
    projectId 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.
    orgId string
    Organization identifier for the GitOps filter.
    projectId 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.
    orgId String
    Organization identifier for the GitOps filter.
    projectId 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:

    FilterProperties 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.
    FilterVisibility string
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Name string
    Name of the GitOps filter.
    OrgId string
    ProjectId string
    Type string
    FilterProperties 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.
    FilterVisibility string
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Name string
    Name of the GitOps filter.
    OrgId string
    ProjectId string
    Type string
    filterProperties 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.
    filterVisibility String
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    name String
    Name of the GitOps filter.
    orgId String
    projectId String
    type String
    filterProperties 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.
    filterVisibility string
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    name string
    Name of the GitOps filter.
    orgId string
    projectId 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
    filterProperties 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.
    filterVisibility String
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    name String
    Name of the GitOps filter.
    orgId String
    projectId 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.
    harness logo
    Harness v0.7.3 published on Friday, Apr 18, 2025 by Pulumi