UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

140 lines (139 loc) 4.16 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of rds mysql account table column infos * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.rds_mysql.getAccountTableColumnInfos({ * dbName: "ddd", * instanceId: "mysql-b51d37110dd1", * }); * ``` */ /** @deprecated volcengine.rds_mysql.AccountTableColumnInfos has been deprecated in favor of volcengine.rds_mysql.getAccountTableColumnInfos */ export declare function accountTableColumnInfos(args: AccountTableColumnInfosArgs, opts?: pulumi.InvokeOptions): Promise<AccountTableColumnInfosResult>; /** * A collection of arguments for invoking AccountTableColumnInfos. */ export interface AccountTableColumnInfosArgs { /** * The name of the account. */ accountName?: string; /** * The name of the column. */ columnName?: string; /** * The name of the database. */ dbName: string; /** * Specify the IP address for the account to access the database. The default value is %. */ host?: string; /** * The id of the mysql instance. */ instanceId: string; /** * File name where to save data source results. */ outputFile?: string; /** * Specify the number of tables in the table column permission information to be returned. If it exceeds the setting, it will be truncated. */ tableLimit?: number; /** * The name of the table. */ tableName?: string; } /** * A collection of values returned by AccountTableColumnInfos. */ export interface AccountTableColumnInfosResult { readonly accountName?: string; /** * The name of the column. */ readonly columnName?: string; readonly dbName: string; readonly host?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly outputFile?: string; /** * The collection of query. */ readonly tableInfos: outputs.rds_mysql.AccountTableColumnInfosTableInfo[]; readonly tableLimit?: number; /** * The name of the table. */ readonly tableName?: string; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of rds mysql account table column infos * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.rds_mysql.getAccountTableColumnInfos({ * dbName: "ddd", * instanceId: "mysql-b51d37110dd1", * }); * ``` */ /** @deprecated volcengine.rds_mysql.AccountTableColumnInfos has been deprecated in favor of volcengine.rds_mysql.getAccountTableColumnInfos */ export declare function accountTableColumnInfosOutput(args: AccountTableColumnInfosOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<AccountTableColumnInfosResult>; /** * A collection of arguments for invoking AccountTableColumnInfos. */ export interface AccountTableColumnInfosOutputArgs { /** * The name of the account. */ accountName?: pulumi.Input<string>; /** * The name of the column. */ columnName?: pulumi.Input<string>; /** * The name of the database. */ dbName: pulumi.Input<string>; /** * Specify the IP address for the account to access the database. The default value is %. */ host?: pulumi.Input<string>; /** * The id of the mysql instance. */ instanceId: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * Specify the number of tables in the table column permission information to be returned. If it exceeds the setting, it will be truncated. */ tableLimit?: pulumi.Input<number>; /** * The name of the table. */ tableName?: pulumi.Input<string>; }