import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource which manages Cloudflare account members. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleUser = new cloudflare.AccountMember("example_user", { * emailAddress: "user@example.com", * roleIds: [ * "68b329da9893e34099c7d8ad5cb9c940", * "d784fa8b6d98d27699781bd9a7cf19f0", * ], * }); * ``` * * ## Import * * Account members can be imported using a composite ID formed of account ID and account member ID, e.g. * * ```sh * $ pulumi import cloudflare:index/accountMember:AccountMember example_user d41d8cd98f00b204e9800998ecf8427e/b58c6f14d292556214bd64909bcdb118 * ``` * * where* `d41d8cd98f00b204e9800998ecf8427e` - account ID as returned by the [API](https://api.cloudflare.com/#accounts-account-details) * `b58c6f14d292556214bd64909bcdb118` - account member ID as returned by the [API](https://api.cloudflare.com/#account-members-member-details) */ export declare class AccountMember extends pulumi.CustomResource { /** * Get an existing AccountMember 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?: AccountMemberState, opts?: pulumi.CustomResourceOptions): AccountMember; /** * Returns true if the given object is an instance of AccountMember. 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 AccountMember; /** * The email address of the user who you wish to manage. Note: Following creation, this field becomes read only via the API and cannot be updated. */ readonly emailAddress: pulumi.Output; /** * Array of account role IDs that you want to assign to a member. */ readonly roleIds: pulumi.Output; /** * Create a AccountMember 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: AccountMemberArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AccountMember resources. */ export interface AccountMemberState { /** * The email address of the user who you wish to manage. Note: Following creation, this field becomes read only via the API and cannot be updated. */ emailAddress?: pulumi.Input; /** * Array of account role IDs that you want to assign to a member. */ roleIds?: pulumi.Input[]>; } /** * The set of arguments for constructing a AccountMember resource. */ export interface AccountMemberArgs { /** * The email address of the user who you wish to manage. Note: Following creation, this field becomes read only via the API and cannot be updated. */ emailAddress: pulumi.Input; /** * Array of account role IDs that you want to assign to a member. */ roleIds: pulumi.Input[]>; }