import * as pulumi from "@pulumi/pulumi"; /** * Look up a Harness FME (Split) traffic type by name. The workspace is resolved from `orgId` and `projectId` via Workspaces.ResolveWorkspaceID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Default Split workspaces include a "user" traffic type. * const user = harness.fme.getTrafficType({ * orgId: "organization_id", * projectId: "project_id", * name: "user", * }); * ``` */ export declare function getTrafficType(args: GetTrafficTypeArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTrafficType. */ export interface GetTrafficTypeArgs { /** * Traffic type name in Split (e.g. `user`). */ name: string; /** * Harness organization identifier. */ orgId: string; /** * Harness project identifier. */ projectId: string; } /** * A collection of values returned by getTrafficType. */ export interface GetTrafficTypeResult { /** * Display attribute ID when set. */ readonly displayAttributeId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Traffic type name in Split (e.g. `user`). */ readonly name: string; /** * Harness organization identifier. */ readonly orgId: string; /** * Harness project identifier. */ readonly projectId: string; /** * The Split traffic type ID (same as `id`). */ readonly trafficTypeId: string; } /** * Look up a Harness FME (Split) traffic type by name. The workspace is resolved from `orgId` and `projectId` via Workspaces.ResolveWorkspaceID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * // Default Split workspaces include a "user" traffic type. * const user = harness.fme.getTrafficType({ * orgId: "organization_id", * projectId: "project_id", * name: "user", * }); * ``` */ export declare function getTrafficTypeOutput(args: GetTrafficTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTrafficType. */ export interface GetTrafficTypeOutputArgs { /** * Traffic type name in Split (e.g. `user`). */ name: pulumi.Input; /** * Harness organization identifier. */ orgId: pulumi.Input; /** * Harness project identifier. */ projectId: pulumi.Input; } //# sourceMappingURL=getTrafficType.d.ts.map