import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve the GUIDs and display names of all Teams hierarchy level entities in your New Relic organisation. * * Hierarchy levels define the organisational tiers shown in the Teams UI (for example, "Division" and "Squad"). Their GUIDs are required when configuring the ordered hierarchy in `newrelic.TeamsOrganizationSettings`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const all = newrelic.getTeamsHierarchyLevels({}); * const org = new newrelic.TeamsOrganizationSettings("org", {hierarchyLevels: [ * { * id: all.then(all => all.levels?.[0]?.id), * name: "Division", * }, * { * id: all.then(all => all.levels?.[1]?.id), * name: "Squad", * }, * ]}); * ``` */ export declare function getTeamsHierarchyLevels(opts?: pulumi.InvokeOptions): Promise; /** * A collection of values returned by getTeamsHierarchyLevels. */ export interface GetTeamsHierarchyLevelsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A list of hierarchy level objects. Each object contains: */ readonly levels: outputs.GetTeamsHierarchyLevelsLevel[]; } /** * Use this data source to retrieve the GUIDs and display names of all Teams hierarchy level entities in your New Relic organisation. * * Hierarchy levels define the organisational tiers shown in the Teams UI (for example, "Division" and "Squad"). Their GUIDs are required when configuring the ordered hierarchy in `newrelic.TeamsOrganizationSettings`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as newrelic from "@pulumi/newrelic"; * * const all = newrelic.getTeamsHierarchyLevels({}); * const org = new newrelic.TeamsOrganizationSettings("org", {hierarchyLevels: [ * { * id: all.then(all => all.levels?.[0]?.id), * name: "Division", * }, * { * id: all.then(all => all.levels?.[1]?.id), * name: "Squad", * }, * ]}); * ``` */ export declare function getTeamsHierarchyLevelsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output; //# sourceMappingURL=getTeamsHierarchyLevels.d.ts.map