@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
124 lines (123 loc) • 4.3 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource for creating Harness GitOps Filters.
*/
export declare class GitopsFilters extends pulumi.CustomResource {
/**
* Get an existing GitopsFilters resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GitopsFiltersState, opts?: pulumi.CustomResourceOptions): GitopsFilters;
/**
* Returns true if the given object is an instance of GitopsFilters. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is GitopsFilters;
/**
* 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"]})
*/
readonly filterProperties: pulumi.Output<string>;
/**
* This indicates visibility of filters, by default it is Everyone.
*/
readonly filterVisibility: pulumi.Output<string | undefined>;
/**
* Unique identifier of the resource.
*/
readonly identifier: pulumi.Output<string>;
/**
* Name of the GitOps filters.
*/
readonly name: pulumi.Output<string>;
/**
* Organization Identifier for the Entity.
*/
readonly orgId: pulumi.Output<string>;
/**
* Project Identifier for the Entity.
*/
readonly projectId: pulumi.Output<string>;
/**
* Type of GitOps filters.
*/
readonly type: pulumi.Output<string>;
/**
* Create a GitopsFilters resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: GitopsFiltersArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering GitopsFilters resources.
*/
export interface GitopsFiltersState {
/**
* 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"]})
*/
filterProperties?: pulumi.Input<string>;
/**
* This indicates visibility of filters, by default it is Everyone.
*/
filterVisibility?: pulumi.Input<string>;
/**
* Unique identifier of the resource.
*/
identifier?: pulumi.Input<string>;
/**
* Name of the GitOps filters.
*/
name?: pulumi.Input<string>;
/**
* Organization Identifier for the Entity.
*/
orgId?: pulumi.Input<string>;
/**
* Project Identifier for the Entity.
*/
projectId?: pulumi.Input<string>;
/**
* Type of GitOps filters.
*/
type?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a GitopsFilters resource.
*/
export interface GitopsFiltersArgs {
/**
* 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"]})
*/
filterProperties: pulumi.Input<string>;
/**
* This indicates visibility of filters, by default it is Everyone.
*/
filterVisibility?: pulumi.Input<string>;
/**
* Unique identifier of the resource.
*/
identifier: pulumi.Input<string>;
/**
* Name of the GitOps filters.
*/
name?: pulumi.Input<string>;
/**
* Organization Identifier for the Entity.
*/
orgId: pulumi.Input<string>;
/**
* Project Identifier for the Entity.
*/
projectId: pulumi.Input<string>;
/**
* Type of GitOps filters.
*/
type: pulumi.Input<string>;
}