1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getDcdbDatabaseObjects
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getDcdbDatabaseObjects

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of dcdb database_objects

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetDcdbDatabaseObjectsArgs;
    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 databaseObjects = TencentcloudFunctions.getDcdbDatabaseObjects(GetDcdbDatabaseObjectsArgs.builder()
                .dbName("")
                .gt()
                .instanceId("dcdbt-ow7t8lmc")
                .lt()
                .nil()
                .build());
    
        }
    }
    
    variables:
      databaseObjects:
        fn::invoke:
          function: tencentcloud:getDcdbDatabaseObjects
          arguments:
            dbName: ""
            gt:
              - {}
            instanceId: dcdbt-ow7t8lmc
            lt:
              - {}
            nil:
              - {}
    

    Using getDcdbDatabaseObjects

    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 getDcdbDatabaseObjects(args: GetDcdbDatabaseObjectsArgs, opts?: InvokeOptions): Promise<GetDcdbDatabaseObjectsResult>
    function getDcdbDatabaseObjectsOutput(args: GetDcdbDatabaseObjectsOutputArgs, opts?: InvokeOptions): Output<GetDcdbDatabaseObjectsResult>
    def get_dcdb_database_objects(db_name: Optional[str] = None,
                                  id: Optional[str] = None,
                                  instance_id: Optional[str] = None,
                                  result_output_file: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetDcdbDatabaseObjectsResult
    def get_dcdb_database_objects_output(db_name: Optional[pulumi.Input[str]] = None,
                                  id: Optional[pulumi.Input[str]] = None,
                                  instance_id: Optional[pulumi.Input[str]] = None,
                                  result_output_file: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetDcdbDatabaseObjectsResult]
    func GetDcdbDatabaseObjects(ctx *Context, args *GetDcdbDatabaseObjectsArgs, opts ...InvokeOption) (*GetDcdbDatabaseObjectsResult, error)
    func GetDcdbDatabaseObjectsOutput(ctx *Context, args *GetDcdbDatabaseObjectsOutputArgs, opts ...InvokeOption) GetDcdbDatabaseObjectsResultOutput

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

    public static class GetDcdbDatabaseObjects 
    {
        public static Task<GetDcdbDatabaseObjectsResult> InvokeAsync(GetDcdbDatabaseObjectsArgs args, InvokeOptions? opts = null)
        public static Output<GetDcdbDatabaseObjectsResult> Invoke(GetDcdbDatabaseObjectsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDcdbDatabaseObjectsResult> getDcdbDatabaseObjects(GetDcdbDatabaseObjectsArgs args, InvokeOptions options)
    public static Output<GetDcdbDatabaseObjectsResult> getDcdbDatabaseObjects(GetDcdbDatabaseObjectsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDcdbDatabaseObjects:getDcdbDatabaseObjects
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DbName string
    Database name, obtained through the DescribeDatabases api.
    InstanceId string
    The ID of instance.
    Id string
    ResultOutputFile string
    Used to save results.
    DbName string
    Database name, obtained through the DescribeDatabases api.
    InstanceId string
    The ID of instance.
    Id string
    ResultOutputFile string
    Used to save results.
    dbName String
    Database name, obtained through the DescribeDatabases api.
    instanceId String
    The ID of instance.
    id String
    resultOutputFile String
    Used to save results.
    dbName string
    Database name, obtained through the DescribeDatabases api.
    instanceId string
    The ID of instance.
    id string
    resultOutputFile string
    Used to save results.
    db_name str
    Database name, obtained through the DescribeDatabases api.
    instance_id str
    The ID of instance.
    id str
    result_output_file str
    Used to save results.
    dbName String
    Database name, obtained through the DescribeDatabases api.
    instanceId String
    The ID of instance.
    id String
    resultOutputFile String
    Used to save results.

    getDcdbDatabaseObjects Result

    The following output properties are available:

    Supporting Types

    GetDcdbDatabaseObjectsFunc

    Func string
    The name of function.
    Func string
    The name of function.
    func String
    The name of function.
    func string
    The name of function.
    func str
    The name of function.
    func String
    The name of function.

    GetDcdbDatabaseObjectsProc

    Proc string
    The name of procedure.
    Proc string
    The name of procedure.
    proc String
    The name of procedure.
    proc string
    The name of procedure.
    proc str
    The name of procedure.
    proc String
    The name of procedure.

    GetDcdbDatabaseObjectsTable

    Table string
    The name of table.
    Table string
    The name of table.
    table String
    The name of table.
    table string
    The name of table.
    table str
    The name of table.
    table String
    The name of table.

    GetDcdbDatabaseObjectsView

    View string
    The name of view.
    View string
    The name of view.
    view String
    The name of view.
    view string
    The name of view.
    view str
    The name of view.
    view String
    The name of view.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack