import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to retrieve information about existing Datadog team memberships. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const foo = datadog.getTeamMemberships({ * teamId: "e6723c40-edb1-11ed-b816-da7ad0900002", * filterKeyword: "foo@example.com", * }); * ``` */ export declare function getTeamMemberships(args: GetTeamMembershipsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTeamMemberships. */ export interface GetTeamMembershipsArgs { /** * When true, `filterKeyword` string is exact matched against the user's `email`, followed by `name`. */ exactMatch?: boolean; /** * Search query, can be user email or name. */ filterKeyword?: string; /** * The team's identifier. */ teamId: string; } /** * A collection of values returned by getTeamMemberships. */ export interface GetTeamMembershipsResult { /** * When true, `filterKeyword` string is exact matched against the user's `email`, followed by `name`. */ readonly exactMatch?: boolean; /** * Search query, can be user email or name. */ readonly filterKeyword?: string; /** * The ID of this resource. */ readonly id: string; /** * The team's identifier. */ readonly teamId: string; /** * List of team memberships. */ readonly teamMemberships: outputs.GetTeamMembershipsTeamMembership[]; } /** * Use this data source to retrieve information about existing Datadog team memberships. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const foo = datadog.getTeamMemberships({ * teamId: "e6723c40-edb1-11ed-b816-da7ad0900002", * filterKeyword: "foo@example.com", * }); * ``` */ export declare function getTeamMembershipsOutput(args: GetTeamMembershipsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTeamMemberships. */ export interface GetTeamMembershipsOutputArgs { /** * When true, `filterKeyword` string is exact matched against the user's `email`, followed by `name`. */ exactMatch?: pulumi.Input; /** * Search query, can be user email or name. */ filterKeyword?: pulumi.Input; /** * The team's identifier. */ teamId: pulumi.Input; }