import * as pulumi from "@pulumi/pulumi"; /** * Creates a Cloud Account resource representing the access credentials to a cloud provider account, (`AWS`). * Redis Enterprise Cloud uses these credentials to provision databases within your infrastructure. * * ## Example Usage * * The following example defines a new AWS Cloud Account that is then used with a Subscription. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as rediscloud from "@rediscloud/pulumi-rediscloud"; * * const exampleCloudAccount = new rediscloud.CloudAccount("exampleCloudAccount", { * accessKeyId: "abcdefg", * accessSecretKey: "9876543", * consoleUsername: "username", * consolePassword: "password", * providerType: "AWS", * signInLoginUrl: "https://1234567890.signin.aws.amazon.com/console", * }); * const exampleSubscription = new rediscloud.Subscription("exampleSubscription", { * paymentMethodId: data.rediscloud_payment_method.card.id, * memoryStorage: "ram", * cloudProvider: { * provider: exampleCloudAccount.providerType, * cloudAccountId: exampleCloudAccount.id, * }, * }); * // ... * ``` * * ## Import * * `rediscloud_cloud_account` can be imported using the ID of the Cloud Account, e.g. * * ```sh * $ pulumi import rediscloud:index/cloudAccount:CloudAccount example 12345678 * ``` */ export declare class CloudAccount extends pulumi.CustomResource { /** * Get an existing CloudAccount 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?: CloudAccountState, opts?: pulumi.CustomResourceOptions): CloudAccount; /** * Returns true if the given object is an instance of CloudAccount. 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 CloudAccount; /** * Cloud provider access key. */ readonly accessKeyId: pulumi.Output; /** * Cloud provider secret key. * Note that drift cannot currently be detected for this. */ readonly accessSecretKey: pulumi.Output; /** * Cloud provider management console password. * Note that drift cannot currently be detected for this. */ readonly consolePassword: pulumi.Output; /** * Cloud provider management console username. * Note that drift cannot currently be detected for this. */ readonly consoleUsername: pulumi.Output; /** * Display name of the account. */ readonly name: pulumi.Output; /** * Cloud provider type - either `AWS` or `GCP`. * Note that drift cannot currently be detected for this. **Modifying this attribute will force creation of a new resource.** */ readonly providerType: pulumi.Output; /** * Cloud provider management console login URL. * Note that drift cannot currently be detected for this. */ readonly signInLoginUrl: pulumi.Output; /** * The current status of the account - `draft`, `pending` or `active` */ readonly status: pulumi.Output; /** * Create a CloudAccount 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: CloudAccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudAccount resources. */ export interface CloudAccountState { /** * Cloud provider access key. */ accessKeyId?: pulumi.Input; /** * Cloud provider secret key. * Note that drift cannot currently be detected for this. */ accessSecretKey?: pulumi.Input; /** * Cloud provider management console password. * Note that drift cannot currently be detected for this. */ consolePassword?: pulumi.Input; /** * Cloud provider management console username. * Note that drift cannot currently be detected for this. */ consoleUsername?: pulumi.Input; /** * Display name of the account. */ name?: pulumi.Input; /** * Cloud provider type - either `AWS` or `GCP`. * Note that drift cannot currently be detected for this. **Modifying this attribute will force creation of a new resource.** */ providerType?: pulumi.Input; /** * Cloud provider management console login URL. * Note that drift cannot currently be detected for this. */ signInLoginUrl?: pulumi.Input; /** * The current status of the account - `draft`, `pending` or `active` */ status?: pulumi.Input; } /** * The set of arguments for constructing a CloudAccount resource. */ export interface CloudAccountArgs { /** * Cloud provider access key. */ accessKeyId: pulumi.Input; /** * Cloud provider secret key. * Note that drift cannot currently be detected for this. */ accessSecretKey: pulumi.Input; /** * Cloud provider management console password. * Note that drift cannot currently be detected for this. */ consolePassword: pulumi.Input; /** * Cloud provider management console username. * Note that drift cannot currently be detected for this. */ consoleUsername: pulumi.Input; /** * Display name of the account. */ name?: pulumi.Input; /** * Cloud provider type - either `AWS` or `GCP`. * Note that drift cannot currently be detected for this. **Modifying this attribute will force creation of a new resource.** */ providerType: pulumi.Input; /** * Cloud provider management console login URL. * Note that drift cannot currently be detected for this. */ signInLoginUrl: pulumi.Input; }