import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * > **Dynatrace SaaS only** * * > To utilize this resource, please define the environment variables `DT_CLIENT_ID`, `DT_CLIENT_SECRET`, `DT_ACCOUNT_ID` with an OAuth client including the following permissions: **Allow IAM policy configuration for environments** (`iam-policies-management`) and **View environments** (`account-env-read`). * * > This resource is excluded by default in the export utility, please explicitly specify the resource to retrieve existing configuration. * * ## Dynatrace Documentation * * - Dynatrace IAM Group Permissions - https://docs.dynatrace.com/docs/manage/identity-access-management/permission-management/manage-user-permissions-policies * * - Settings API - https://www.dynatrace.com/support/help/how-to-use-dynatrace/user-management-and-sso/manage-groups-and-permissions/iam/iam-getting-started */ export declare class IamPolicyBindingsV2 extends pulumi.CustomResource { /** * Get an existing IamPolicyBindingsV2 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?: IamPolicyBindingsV2State, opts?: pulumi.CustomResourceOptions): IamPolicyBindingsV2; /** * Returns true if the given object is an instance of IamPolicyBindingsV2. 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 IamPolicyBindingsV2; /** * The UUID of the account (`urn:dtaccount:`). The attribute `policies` must contain ONLY policies defined for that account. The prefix `urn:dtaccount:` MUST be omitted here. */ readonly account: pulumi.Output; /** * The ID of the environment (https://\n\n.live.dynatrace.com). The attribute `policies` must contain ONLY policies defined for that environment. */ readonly environment: pulumi.Output; /** * The name of the policy */ readonly group: pulumi.Output; /** * A list of Policies (ID and parameters/metadata) referring to policies bound to that group. It's not possible to mix policies here that are defined for different scopes (different accounts or environments) than specified via attributes `account` or `environment`. */ readonly policies: pulumi.Output; /** * Create a IamPolicyBindingsV2 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: IamPolicyBindingsV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IamPolicyBindingsV2 resources. */ export interface IamPolicyBindingsV2State { /** * The UUID of the account (`urn:dtaccount:`). The attribute `policies` must contain ONLY policies defined for that account. The prefix `urn:dtaccount:` MUST be omitted here. */ account?: pulumi.Input; /** * The ID of the environment (https://\n\n.live.dynatrace.com). The attribute `policies` must contain ONLY policies defined for that environment. */ environment?: pulumi.Input; /** * The name of the policy */ group?: pulumi.Input; /** * A list of Policies (ID and parameters/metadata) referring to policies bound to that group. It's not possible to mix policies here that are defined for different scopes (different accounts or environments) than specified via attributes `account` or `environment`. */ policies?: pulumi.Input[]>; } /** * The set of arguments for constructing a IamPolicyBindingsV2 resource. */ export interface IamPolicyBindingsV2Args { /** * The UUID of the account (`urn:dtaccount:`). The attribute `policies` must contain ONLY policies defined for that account. The prefix `urn:dtaccount:` MUST be omitted here. */ account?: pulumi.Input; /** * The ID of the environment (https://\n\n.live.dynatrace.com). The attribute `policies` must contain ONLY policies defined for that environment. */ environment?: pulumi.Input; /** * The name of the policy */ group: pulumi.Input; /** * A list of Policies (ID and parameters/metadata) referring to policies bound to that group. It's not possible to mix policies here that are defined for different scopes (different accounts or environments) than specified via attributes `account` or `environment`. */ policies?: pulumi.Input[]>; }