1. Packages
  2. Volcengine
  3. API Docs
  4. rds_mysql
  5. getAccountTableColumnInfos
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

volcengine.rds_mysql.getAccountTableColumnInfos

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine

    Use this data source to query detailed information of rds mysql account table column infos

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.rds_mysql.getAccountTableColumnInfos({
        dbName: "ddd",
        instanceId: "mysql-b51d37110dd1",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.rds_mysql.get_account_table_column_infos(db_name="ddd",
        instance_id="mysql-b51d37110dd1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_mysql"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds_mysql.GetAccountTableColumnInfos(ctx, &rds_mysql.GetAccountTableColumnInfosArgs{
    			DbName:     "ddd",
    			InstanceId: "mysql-b51d37110dd1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Rds_mysql.GetAccountTableColumnInfos.Invoke(new()
        {
            DbName = "ddd",
            InstanceId = "mysql-b51d37110dd1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.rds_mysql.Rds_mysqlFunctions;
    import com.pulumi.volcengine.rds_mysql.inputs.GetAccountTableColumnInfosArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var foo = Rds_mysqlFunctions.getAccountTableColumnInfos(GetAccountTableColumnInfosArgs.builder()
                .dbName("ddd")
                .instanceId("mysql-b51d37110dd1")
                .build());
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:rds_mysql:getAccountTableColumnInfos
          Arguments:
            dbName: ddd
            instanceId: mysql-b51d37110dd1
    

    Using getAccountTableColumnInfos

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAccountTableColumnInfos(args: GetAccountTableColumnInfosArgs, opts?: InvokeOptions): Promise<GetAccountTableColumnInfosResult>
    function getAccountTableColumnInfosOutput(args: GetAccountTableColumnInfosOutputArgs, opts?: InvokeOptions): Output<GetAccountTableColumnInfosResult>
    def get_account_table_column_infos(account_name: Optional[str] = None,
                                       column_name: Optional[str] = None,
                                       db_name: Optional[str] = None,
                                       host: Optional[str] = None,
                                       instance_id: Optional[str] = None,
                                       output_file: Optional[str] = None,
                                       table_limit: Optional[int] = None,
                                       table_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetAccountTableColumnInfosResult
    def get_account_table_column_infos_output(account_name: Optional[pulumi.Input[str]] = None,
                                       column_name: Optional[pulumi.Input[str]] = None,
                                       db_name: Optional[pulumi.Input[str]] = None,
                                       host: Optional[pulumi.Input[str]] = None,
                                       instance_id: Optional[pulumi.Input[str]] = None,
                                       output_file: Optional[pulumi.Input[str]] = None,
                                       table_limit: Optional[pulumi.Input[int]] = None,
                                       table_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetAccountTableColumnInfosResult]
    func GetAccountTableColumnInfos(ctx *Context, args *GetAccountTableColumnInfosArgs, opts ...InvokeOption) (*GetAccountTableColumnInfosResult, error)
    func GetAccountTableColumnInfosOutput(ctx *Context, args *GetAccountTableColumnInfosOutputArgs, opts ...InvokeOption) GetAccountTableColumnInfosResultOutput

    > Note: This function is named GetAccountTableColumnInfos in the Go SDK.

    public static class GetAccountTableColumnInfos 
    {
        public static Task<GetAccountTableColumnInfosResult> InvokeAsync(GetAccountTableColumnInfosArgs args, InvokeOptions? opts = null)
        public static Output<GetAccountTableColumnInfosResult> Invoke(GetAccountTableColumnInfosInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccountTableColumnInfosResult> getAccountTableColumnInfos(GetAccountTableColumnInfosArgs args, InvokeOptions options)
    public static Output<GetAccountTableColumnInfosResult> getAccountTableColumnInfos(GetAccountTableColumnInfosArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_mysql/getAccountTableColumnInfos:getAccountTableColumnInfos
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DbName string
    The name of the database.
    InstanceId string
    The id of the mysql instance.
    AccountName string
    The name of the account.
    ColumnName string
    The name of the column.
    Host string
    Specify the IP address for the account to access the database. The default value is %.
    OutputFile string
    File name where to save data source results.
    TableLimit int
    Specify the number of tables in the table column permission information to be returned. If it exceeds the setting, it will be truncated.
    TableName string
    The name of the table.
    DbName string
    The name of the database.
    InstanceId string
    The id of the mysql instance.
    AccountName string
    The name of the account.
    ColumnName string
    The name of the column.
    Host string
    Specify the IP address for the account to access the database. The default value is %.
    OutputFile string
    File name where to save data source results.
    TableLimit int
    Specify the number of tables in the table column permission information to be returned. If it exceeds the setting, it will be truncated.
    TableName string
    The name of the table.
    dbName String
    The name of the database.
    instanceId String
    The id of the mysql instance.
    accountName String
    The name of the account.
    columnName String
    The name of the column.
    host String
    Specify the IP address for the account to access the database. The default value is %.
    outputFile String
    File name where to save data source results.
    tableLimit Integer
    Specify the number of tables in the table column permission information to be returned. If it exceeds the setting, it will be truncated.
    tableName String
    The name of the table.
    dbName string
    The name of the database.
    instanceId string
    The id of the mysql instance.
    accountName string
    The name of the account.
    columnName string
    The name of the column.
    host string
    Specify the IP address for the account to access the database. The default value is %.
    outputFile string
    File name where to save data source results.
    tableLimit number
    Specify the number of tables in the table column permission information to be returned. If it exceeds the setting, it will be truncated.
    tableName string
    The name of the table.
    db_name str
    The name of the database.
    instance_id str
    The id of the mysql instance.
    account_name str
    The name of the account.
    column_name str
    The name of the column.
    host str
    Specify the IP address for the account to access the database. The default value is %.
    output_file str
    File name where to save data source results.
    table_limit int
    Specify the number of tables in the table column permission information to be returned. If it exceeds the setting, it will be truncated.
    table_name str
    The name of the table.
    dbName String
    The name of the database.
    instanceId String
    The id of the mysql instance.
    accountName String
    The name of the account.
    columnName String
    The name of the column.
    host String
    Specify the IP address for the account to access the database. The default value is %.
    outputFile String
    File name where to save data source results.
    tableLimit Number
    Specify the number of tables in the table column permission information to be returned. If it exceeds the setting, it will be truncated.
    tableName String
    The name of the table.

    getAccountTableColumnInfos Result

    The following output properties are available:

    DbName string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    TableInfos List<GetAccountTableColumnInfosTableInfo>
    The collection of query.
    TotalCount int
    The total count of query.
    AccountName string
    ColumnName string
    The name of the column.
    Host string
    OutputFile string
    TableLimit int
    TableName string
    The name of the table.
    DbName string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    TableInfos []GetAccountTableColumnInfosTableInfo
    The collection of query.
    TotalCount int
    The total count of query.
    AccountName string
    ColumnName string
    The name of the column.
    Host string
    OutputFile string
    TableLimit int
    TableName string
    The name of the table.
    dbName String
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    tableInfos List<GetAccountTableColumnInfosTableInfo>
    The collection of query.
    totalCount Integer
    The total count of query.
    accountName String
    columnName String
    The name of the column.
    host String
    outputFile String
    tableLimit Integer
    tableName String
    The name of the table.
    dbName string
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    tableInfos GetAccountTableColumnInfosTableInfo[]
    The collection of query.
    totalCount number
    The total count of query.
    accountName string
    columnName string
    The name of the column.
    host string
    outputFile string
    tableLimit number
    tableName string
    The name of the table.
    db_name str
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    table_infos Sequence[GetAccountTableColumnInfosTableInfo]
    The collection of query.
    total_count int
    The total count of query.
    account_name str
    column_name str
    The name of the column.
    host str
    output_file str
    table_limit int
    table_name str
    The name of the table.
    dbName String
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    tableInfos List<Property Map>
    The collection of query.
    totalCount Number
    The total count of query.
    accountName String
    columnName String
    The name of the column.
    host String
    outputFile String
    tableLimit Number
    tableName String
    The name of the table.

    Supporting Types

    GetAccountTableColumnInfosTableInfo

    AccountPrivileges List<string>
    The column privileges of the account.
    ColumnInfos List<GetAccountTableColumnInfosTableInfoColumnInfo>
    The column permission information of the account.
    TableName string
    The name of the table.
    AccountPrivileges []string
    The column privileges of the account.
    ColumnInfos []GetAccountTableColumnInfosTableInfoColumnInfo
    The column permission information of the account.
    TableName string
    The name of the table.
    accountPrivileges List<String>
    The column privileges of the account.
    columnInfos List<GetAccountTableColumnInfosTableInfoColumnInfo>
    The column permission information of the account.
    tableName String
    The name of the table.
    accountPrivileges string[]
    The column privileges of the account.
    columnInfos GetAccountTableColumnInfosTableInfoColumnInfo[]
    The column permission information of the account.
    tableName string
    The name of the table.
    account_privileges Sequence[str]
    The column privileges of the account.
    column_infos Sequence[GetAccountTableColumnInfosTableInfoColumnInfo]
    The column permission information of the account.
    table_name str
    The name of the table.
    accountPrivileges List<String>
    The column privileges of the account.
    columnInfos List<Property Map>
    The column permission information of the account.
    tableName String
    The name of the table.

    GetAccountTableColumnInfosTableInfoColumnInfo

    AccountPrivileges List<string>
    The column privileges of the account.
    ColumnName string
    The name of the column.
    AccountPrivileges []string
    The column privileges of the account.
    ColumnName string
    The name of the column.
    accountPrivileges List<String>
    The column privileges of the account.
    columnName String
    The name of the column.
    accountPrivileges string[]
    The column privileges of the account.
    columnName string
    The name of the column.
    account_privileges Sequence[str]
    The column privileges of the account.
    column_name str
    The name of the column.
    accountPrivileges List<String>
    The column privileges of the account.
    columnName String
    The name of the column.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine