tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDcdbDatabaseObjects
Explore with Pulumi AI
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:
- Db
Name string - Database name, obtained through the DescribeDatabases api.
- Instance
Id string - The ID of instance.
- Id string
- Result
Output stringFile - Used to save results.
- Db
Name string - Database name, obtained through the DescribeDatabases api.
- Instance
Id string - The ID of instance.
- Id string
- Result
Output stringFile - Used to save results.
- db
Name String - Database name, obtained through the DescribeDatabases api.
- instance
Id String - The ID of instance.
- id String
- result
Output StringFile - Used to save results.
- db
Name string - Database name, obtained through the DescribeDatabases api.
- instance
Id string - The ID of instance.
- id string
- result
Output stringFile - 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_ strfile - Used to save results.
- db
Name String - Database name, obtained through the DescribeDatabases api.
- instance
Id String - The ID of instance.
- id String
- result
Output StringFile - Used to save results.
getDcdbDatabaseObjects Result
The following output properties are available:
- Db
Name string - Funcs
List<Get
Dcdb Database Objects Func> - Function list.
- Id string
- Instance
Id string - Procs
List<Get
Dcdb Database Objects Proc> - Procedure list.
- Tables
List<Get
Dcdb Database Objects Table> - Table list.
- Views
List<Get
Dcdb Database Objects View> - View list.
- Result
Output stringFile
- Db
Name string - Funcs
[]Get
Dcdb Database Objects Func - Function list.
- Id string
- Instance
Id string - Procs
[]Get
Dcdb Database Objects Proc - Procedure list.
- Tables
[]Get
Dcdb Database Objects Table - Table list.
- Views
[]Get
Dcdb Database Objects View - View list.
- Result
Output stringFile
- db
Name String - funcs
List<Get
Dcdb Database Objects Func> - Function list.
- id String
- instance
Id String - procs
List<Get
Dcdb Database Objects Proc> - Procedure list.
- tables
List<Get
Dcdb Database Objects Table> - Table list.
- views
List<Get
Dcdb Database Objects View> - View list.
- result
Output StringFile
- db
Name string - funcs
Get
Dcdb Database Objects Func[] - Function list.
- id string
- instance
Id string - procs
Get
Dcdb Database Objects Proc[] - Procedure list.
- tables
Get
Dcdb Database Objects Table[] - Table list.
- views
Get
Dcdb Database Objects View[] - View list.
- result
Output stringFile
- db_
name str - funcs
Sequence[Get
Dcdb Database Objects Func] - Function list.
- id str
- instance_
id str - procs
Sequence[Get
Dcdb Database Objects Proc] - Procedure list.
- tables
Sequence[Get
Dcdb Database Objects Table] - Table list.
- views
Sequence[Get
Dcdb Database Objects View] - View list.
- result_
output_ strfile
- db
Name String - funcs List<Property Map>
- Function list.
- id String
- instance
Id String - procs List<Property Map>
- Procedure list.
- tables List<Property Map>
- Table list.
- views List<Property Map>
- View list.
- result
Output StringFile
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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack