UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

99 lines (98 loc) 3.01 kB
import * as pulumi from "@pulumi/pulumi"; /** * (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Provides a resource to manage rds ip list * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.rds.IpList("foo", { * groupName: "foo", * instanceId: "mysql-0fdd3bab2e7c", * ipLists: [ * "1.1.1.1", * "2.2.2.2", * ], * }); * ``` * * ## Import * * RDSIPList can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:rds/ipList:IpList default mysql-42b38c769c4b:group_name * ``` */ export declare class IpList extends pulumi.CustomResource { /** * Get an existing IpList 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?: IpListState, opts?: pulumi.CustomResourceOptions): IpList; /** * Returns true if the given object is an instance of IpList. 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 IpList; /** * The name of the RDS ip list. */ readonly groupName: pulumi.Output<string>; /** * The ID of the RDS instance. */ readonly instanceId: pulumi.Output<string>; /** * The list of IP address. */ readonly ipLists: pulumi.Output<string[]>; /** * Create a IpList 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: IpListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IpList resources. */ export interface IpListState { /** * The name of the RDS ip list. */ groupName?: pulumi.Input<string>; /** * The ID of the RDS instance. */ instanceId?: pulumi.Input<string>; /** * The list of IP address. */ ipLists?: pulumi.Input<pulumi.Input<string>[]>; } /** * The set of arguments for constructing a IpList resource. */ export interface IpListArgs { /** * The name of the RDS ip list. */ groupName: pulumi.Input<string>; /** * The ID of the RDS instance. */ instanceId: pulumi.Input<string>; /** * The list of IP address. */ ipLists: pulumi.Input<pulumi.Input<string>[]>; }