import * as pulumi from "@pulumi/pulumi"; /** * Create, update, and remove a Harness FME (Split) feature flag definition in an environment. `definition` is JSON matching Split's definition payload (see Split API). Import id format: `org_id/project_id/environment_id/flag_name`. */ export declare class Definition extends pulumi.CustomResource { /** * Get an existing Definition 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, state?: DefinitionState, opts?: pulumi.CustomResourceOptions): Definition; /** * Returns true if the given object is an instance of Definition. 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 Definition; /** * JSON object for the split definition (treatments, defaultTreatment, defaultRule, trafficAllocation, rules, etc.). */ readonly definition: pulumi.Output; /** * Split definition id from the API when available. */ readonly definitionId: pulumi.Output; /** * Split environment ID. */ readonly environmentId: pulumi.Output; /** * Feature flag (split) name. */ readonly flagName: pulumi.Output; /** * Harness organization identifier. */ readonly orgId: pulumi.Output; /** * Harness project identifier. */ readonly projectId: pulumi.Output; /** * Create a Definition 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: DefinitionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Definition resources. */ export interface DefinitionState { /** * JSON object for the split definition (treatments, defaultTreatment, defaultRule, trafficAllocation, rules, etc.). */ definition?: pulumi.Input; /** * Split definition id from the API when available. */ definitionId?: pulumi.Input; /** * Split environment ID. */ environmentId?: pulumi.Input; /** * Feature flag (split) name. */ flagName?: pulumi.Input; /** * Harness organization identifier. */ orgId?: pulumi.Input; /** * Harness project identifier. */ projectId?: pulumi.Input; } /** * The set of arguments for constructing a Definition resource. */ export interface DefinitionArgs { /** * JSON object for the split definition (treatments, defaultTreatment, defaultRule, trafficAllocation, rules, etc.). */ definition: pulumi.Input; /** * Split environment ID. */ environmentId: pulumi.Input; /** * Feature flag (split) name. */ flagName: pulumi.Input; /** * Harness organization identifier. */ orgId: pulumi.Input; /** * Harness project identifier. */ projectId: pulumi.Input; } //# sourceMappingURL=definition.d.ts.map