UNPKG

@lbrlabs/pulumi-dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

109 lines (108 loc) 4.05 kB
import * as pulumi from "@pulumi/pulumi"; export declare class IamPolicy extends pulumi.CustomResource { /** * Get an existing IamPolicy 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<pulumi.ID>, state?: IamPolicyState, opts?: pulumi.CustomResourceOptions): IamPolicy; /** * Returns true if the given object is an instance of IamPolicy. 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 IamPolicy; /** * The UUID of the account (`urn:dtaccount:<account-uuid>`) in case the policy should be applied to all environments of this account. The prefix `urn:dtaccount:` MUST be omitted here. */ readonly account: pulumi.Output<string | undefined>; /** * An optional description text for the policy */ readonly description: pulumi.Output<string | undefined>; /** * The ID of the environment (https://\n\n.live.dynatrace.com) if the policy should be applied to a specific environment */ readonly environment: pulumi.Output<string | undefined>; /** * The name of the policy */ readonly name: pulumi.Output<string>; /** * The Statement Query of the policy */ readonly statementQuery: pulumi.Output<string>; /** * Tags for this policy */ readonly tags: pulumi.Output<string[] | undefined>; /** * Create a IamPolicy 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: IamPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IamPolicy resources. */ export interface IamPolicyState { /** * The UUID of the account (`urn:dtaccount:<account-uuid>`) in case the policy should be applied to all environments of this account. The prefix `urn:dtaccount:` MUST be omitted here. */ account?: pulumi.Input<string>; /** * An optional description text for the policy */ description?: pulumi.Input<string>; /** * The ID of the environment (https://\n\n.live.dynatrace.com) if the policy should be applied to a specific environment */ environment?: pulumi.Input<string>; /** * The name of the policy */ name?: pulumi.Input<string>; /** * The Statement Query of the policy */ statementQuery?: pulumi.Input<string>; /** * Tags for this policy */ tags?: pulumi.Input<pulumi.Input<string>[]>; } /** * The set of arguments for constructing a IamPolicy resource. */ export interface IamPolicyArgs { /** * The UUID of the account (`urn:dtaccount:<account-uuid>`) in case the policy should be applied to all environments of this account. The prefix `urn:dtaccount:` MUST be omitted here. */ account?: pulumi.Input<string>; /** * An optional description text for the policy */ description?: pulumi.Input<string>; /** * The ID of the environment (https://\n\n.live.dynatrace.com) if the policy should be applied to a specific environment */ environment?: pulumi.Input<string>; /** * The name of the policy */ name?: pulumi.Input<string>; /** * The Statement Query of the policy */ statementQuery: pulumi.Input<string>; /** * Tags for this policy */ tags?: pulumi.Input<pulumi.Input<string>[]>; }