@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
87 lines (86 loc) • 2.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds ip lists
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.rds.getIpLists({
* instanceId: "mysql-0fdd3bab2e7c",
* });
* ```
*/
/** @deprecated volcengine.rds.IpLists has been deprecated in favor of volcengine.rds.getIpLists */
export declare function ipLists(args: IpListsArgs, opts?: pulumi.InvokeOptions): Promise<IpListsResult>;
/**
* A collection of arguments for invoking IpLists.
*/
export interface IpListsArgs {
/**
* The id of the RDS instance.
*/
instanceId: string;
/**
* A Name Regex of RDS ip list.
*/
nameRegex?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by IpLists.
*/
export interface IpListsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly instanceId: string;
readonly nameRegex?: string;
readonly outputFile?: string;
/**
* The collection of RDS ip list account query.
*/
readonly rdsIpLists: outputs.rds.IpListsRdsIpList[];
/**
* The total count of RDS ip list query.
*/
readonly totalCount: number;
}
/**
* (Deprecated! Recommend use volcengine_rds_mysql_*** replace) Use this data source to query detailed information of rds ip lists
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.rds.getIpLists({
* instanceId: "mysql-0fdd3bab2e7c",
* });
* ```
*/
/** @deprecated volcengine.rds.IpLists has been deprecated in favor of volcengine.rds.getIpLists */
export declare function ipListsOutput(args: IpListsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<IpListsResult>;
/**
* A collection of arguments for invoking IpLists.
*/
export interface IpListsOutputArgs {
/**
* The id of the RDS instance.
*/
instanceId: pulumi.Input<string>;
/**
* A Name Regex of RDS ip list.
*/
nameRegex?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}