import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to [list teams](https://developer.pagerduty.com/api-reference/0138639504311-list-teams) in your PagerDuty account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pagerduty from "@pulumi/pagerduty"; * * const allTeams = pagerduty.getTeams({}); * // Fetch only teams whose name matches "devops" * const devops = pagerduty.getTeams({ * query: "devops", * }); * ``` */ export declare function getTeams(args?: GetTeamsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTeams. */ export interface GetTeamsArgs { /** * Filters the result, showing only the records whose name matches the query. */ query?: string; } /** * A collection of values returned by getTeams. */ export interface GetTeamsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly query?: string; /** * The teams found. */ readonly teams: outputs.GetTeamsTeam[]; } /** * Use this data source to [list teams](https://developer.pagerduty.com/api-reference/0138639504311-list-teams) in your PagerDuty account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pagerduty from "@pulumi/pagerduty"; * * const allTeams = pagerduty.getTeams({}); * // Fetch only teams whose name matches "devops" * const devops = pagerduty.getTeams({ * query: "devops", * }); * ``` */ export declare function getTeamsOutput(args?: GetTeamsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTeams. */ export interface GetTeamsOutputArgs { /** * Filters the result, showing only the records whose name matches the query. */ query?: pulumi.Input; }