import * as pulumi from "@pulumi/pulumi"; /** * Enable a workspace rule-based segment in an FME environment and manage its `RuleBasedSegmentDefinition` JSON. The segment must exist (`harness.fmeRuleBasedSegment.FmeRuleBasedSegment`). Import id format: `org_id/project_id/environment_id/segment_name`. */ export declare class EnvironmentAssociation extends pulumi.CustomResource { /** * Get an existing EnvironmentAssociation 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?: EnvironmentAssociationState, opts?: pulumi.CustomResourceOptions): EnvironmentAssociation; /** * Returns true if the given object is an instance of EnvironmentAssociation. 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 EnvironmentAssociation; /** * JSON body for `RuleBasedSegmentDefinition` in this environment. After `EnableInEnvironment`, this is applied via update. Semantically equivalent JSON (e.g. different key order from `jsonencode` vs API refresh) is not treated as a diff. */ readonly definitionJson: pulumi.Output; /** * Split environment ID. */ readonly environmentId: pulumi.Output; /** * Harness organization identifier. */ readonly orgId: pulumi.Output; /** * Harness project identifier. */ readonly projectId: pulumi.Output; /** * Rule-based segment name (must match an existing workspace segment). */ readonly segmentName: pulumi.Output; /** * Create a EnvironmentAssociation 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: EnvironmentAssociationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EnvironmentAssociation resources. */ export interface EnvironmentAssociationState { /** * JSON body for `RuleBasedSegmentDefinition` in this environment. After `EnableInEnvironment`, this is applied via update. Semantically equivalent JSON (e.g. different key order from `jsonencode` vs API refresh) is not treated as a diff. */ definitionJson?: pulumi.Input; /** * Split environment ID. */ environmentId?: pulumi.Input; /** * Harness organization identifier. */ orgId?: pulumi.Input; /** * Harness project identifier. */ projectId?: pulumi.Input; /** * Rule-based segment name (must match an existing workspace segment). */ segmentName?: pulumi.Input; } /** * The set of arguments for constructing a EnvironmentAssociation resource. */ export interface EnvironmentAssociationArgs { /** * JSON body for `RuleBasedSegmentDefinition` in this environment. After `EnableInEnvironment`, this is applied via update. Semantically equivalent JSON (e.g. different key order from `jsonencode` vs API refresh) is not treated as a diff. */ definitionJson: pulumi.Input; /** * Split environment ID. */ environmentId: pulumi.Input; /** * Harness organization identifier. */ orgId: pulumi.Input; /** * Harness project identifier. */ projectId: pulumi.Input; /** * Rule-based segment name (must match an existing workspace segment). */ segmentName: pulumi.Input; } //# sourceMappingURL=environmentAssociation.d.ts.map