UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

100 lines (99 loc) 3.35 kB
import * as pulumi from "@pulumi/pulumi"; export declare class Account extends pulumi.CustomResource { /** * Get an existing Account 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?: AccountState, opts?: pulumi.CustomResourceOptions): Account; /** * Returns true if the given object is an instance of Account. 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 Account; /** * Specifies remarks of the DB account. */ readonly description: pulumi.Output<string | undefined>; /** * Specifies the IP addresses that are allowed to access your DB instance. */ readonly hosts: pulumi.Output<string[]>; /** * Specifies the ID of the RDS Mysql instance. */ readonly instanceId: pulumi.Output<string>; /** * Specifies the username of the DB account. */ readonly name: pulumi.Output<string>; /** * Specifies the password of the DB account. */ readonly password: pulumi.Output<string>; readonly region: pulumi.Output<string>; /** * Create a Account 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: AccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Account resources. */ export interface AccountState { /** * Specifies remarks of the DB account. */ description?: pulumi.Input<string>; /** * Specifies the IP addresses that are allowed to access your DB instance. */ hosts?: pulumi.Input<pulumi.Input<string>[]>; /** * Specifies the ID of the RDS Mysql instance. */ instanceId?: pulumi.Input<string>; /** * Specifies the username of the DB account. */ name?: pulumi.Input<string>; /** * Specifies the password of the DB account. */ password?: pulumi.Input<string>; region?: pulumi.Input<string>; } /** * The set of arguments for constructing a Account resource. */ export interface AccountArgs { /** * Specifies remarks of the DB account. */ description?: pulumi.Input<string>; /** * Specifies the IP addresses that are allowed to access your DB instance. */ hosts?: pulumi.Input<pulumi.Input<string>[]>; /** * Specifies the ID of the RDS Mysql instance. */ instanceId: pulumi.Input<string>; /** * Specifies the username of the DB account. */ name?: pulumi.Input<string>; /** * Specifies the password of the DB account. */ password: pulumi.Input<string>; region?: pulumi.Input<string>; }