import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog TeamPermissionSetting resource. This can be used to manage Datadog team_permission_setting. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const foo = new datadog.Team("foo", { * description: "Example team", * handle: "example-team-updated", * name: "Example Team-updated", * }); * const fooTeamPermissionSetting = new datadog.TeamPermissionSetting("foo", { * teamId: foo.id, * action: "manage_membership", * value: "organization", * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * This resource is imported using teamId and action separated by `:`. * * ```sh * $ pulumi import datadog:index/teamPermissionSetting:TeamPermissionSetting example "${team_id}:${action}" * ``` */ export declare class TeamPermissionSetting extends pulumi.CustomResource { /** * Get an existing TeamPermissionSetting 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?: TeamPermissionSettingState, opts?: pulumi.CustomResourceOptions): TeamPermissionSetting; /** * Returns true if the given object is an instance of TeamPermissionSetting. 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 TeamPermissionSetting; /** * The identifier for the action. Valid values are `manageMembership`, `edit`. */ readonly action: pulumi.Output; /** * ID of the team the team permission setting is associated with. */ readonly teamId: pulumi.Output; /** * The action value. Valid values are dependent on the action. `manageMembership` action allows `admins`, `members`, `organization`, `userAccessManage` values. `edit` action allows `admins`, `members`, `teamsManage` values. */ readonly value: pulumi.Output; /** * Create a TeamPermissionSetting 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: TeamPermissionSettingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TeamPermissionSetting resources. */ export interface TeamPermissionSettingState { /** * The identifier for the action. Valid values are `manageMembership`, `edit`. */ action?: pulumi.Input; /** * ID of the team the team permission setting is associated with. */ teamId?: pulumi.Input; /** * The action value. Valid values are dependent on the action. `manageMembership` action allows `admins`, `members`, `organization`, `userAccessManage` values. `edit` action allows `admins`, `members`, `teamsManage` values. */ value?: pulumi.Input; } /** * The set of arguments for constructing a TeamPermissionSetting resource. */ export interface TeamPermissionSettingArgs { /** * The identifier for the action. Valid values are `manageMembership`, `edit`. */ action: pulumi.Input; /** * ID of the team the team permission setting is associated with. */ teamId: pulumi.Input; /** * The action value. Valid values are dependent on the action. `manageMembership` action allows `admins`, `members`, `organization`, `userAccessManage` values. `edit` action allows `admins`, `members`, `teamsManage` values. */ value: pulumi.Input; }