tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getDbbrainNoPrimaryKeyTables
Start a Neo task
Explain and create a tencentcloud.getDbbrainNoPrimaryKeyTables resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of dbbrain no_primary_key_tables
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const noPrimaryKeyTables = tencentcloud.getDbbrainNoPrimaryKeyTables({
instanceId: "",
date: "",
product: "",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
no_primary_key_tables = tencentcloud.get_dbbrain_no_primary_key_tables(instance_id="",
date="",
product="")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetDbbrainNoPrimaryKeyTables(ctx, &tencentcloud.GetDbbrainNoPrimaryKeyTablesArgs{
InstanceId: "",
Date: "",
Product: pulumi.StringRef(""),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var noPrimaryKeyTables = Tencentcloud.GetDbbrainNoPrimaryKeyTables.Invoke(new()
{
InstanceId = "",
Date = "",
Product = "",
});
});
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.GetDbbrainNoPrimaryKeyTablesArgs;
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 noPrimaryKeyTables = TencentcloudFunctions.getDbbrainNoPrimaryKeyTables(GetDbbrainNoPrimaryKeyTablesArgs.builder()
.instanceId("")
.date("")
.product("")
.build());
}
}
variables:
noPrimaryKeyTables:
fn::invoke:
function: tencentcloud:getDbbrainNoPrimaryKeyTables
arguments:
instanceId: ""
date: ""
product: ""
Using getDbbrainNoPrimaryKeyTables
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 getDbbrainNoPrimaryKeyTables(args: GetDbbrainNoPrimaryKeyTablesArgs, opts?: InvokeOptions): Promise<GetDbbrainNoPrimaryKeyTablesResult>
function getDbbrainNoPrimaryKeyTablesOutput(args: GetDbbrainNoPrimaryKeyTablesOutputArgs, opts?: InvokeOptions): Output<GetDbbrainNoPrimaryKeyTablesResult>def get_dbbrain_no_primary_key_tables(date: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
product: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbbrainNoPrimaryKeyTablesResult
def get_dbbrain_no_primary_key_tables_output(date: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
product: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbbrainNoPrimaryKeyTablesResult]func GetDbbrainNoPrimaryKeyTables(ctx *Context, args *GetDbbrainNoPrimaryKeyTablesArgs, opts ...InvokeOption) (*GetDbbrainNoPrimaryKeyTablesResult, error)
func GetDbbrainNoPrimaryKeyTablesOutput(ctx *Context, args *GetDbbrainNoPrimaryKeyTablesOutputArgs, opts ...InvokeOption) GetDbbrainNoPrimaryKeyTablesResultOutput> Note: This function is named GetDbbrainNoPrimaryKeyTables in the Go SDK.
public static class GetDbbrainNoPrimaryKeyTables
{
public static Task<GetDbbrainNoPrimaryKeyTablesResult> InvokeAsync(GetDbbrainNoPrimaryKeyTablesArgs args, InvokeOptions? opts = null)
public static Output<GetDbbrainNoPrimaryKeyTablesResult> Invoke(GetDbbrainNoPrimaryKeyTablesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbbrainNoPrimaryKeyTablesResult> getDbbrainNoPrimaryKeyTables(GetDbbrainNoPrimaryKeyTablesArgs args, InvokeOptions options)
public static Output<GetDbbrainNoPrimaryKeyTablesResult> getDbbrainNoPrimaryKeyTables(GetDbbrainNoPrimaryKeyTablesArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDbbrainNoPrimaryKeyTables:getDbbrainNoPrimaryKeyTables
arguments:
# arguments dictionaryThe following arguments are supported:
- Date string
- Query date, such as 2021-05-27, the earliest date is 30 days ago.
- Instance
Id string - instance id.
- Id string
- Product string
- Service product type, supported values:
mysql- ApsaraDB for MySQL, the default ismysql. - Result
Output stringFile - Used to save results.
- Date string
- Query date, such as 2021-05-27, the earliest date is 30 days ago.
- Instance
Id string - instance id.
- Id string
- Product string
- Service product type, supported values:
mysql- ApsaraDB for MySQL, the default ismysql. - Result
Output stringFile - Used to save results.
- date String
- Query date, such as 2021-05-27, the earliest date is 30 days ago.
- instance
Id String - instance id.
- id String
- product String
- Service product type, supported values:
mysql- ApsaraDB for MySQL, the default ismysql. - result
Output StringFile - Used to save results.
- date string
- Query date, such as 2021-05-27, the earliest date is 30 days ago.
- instance
Id string - instance id.
- id string
- product string
- Service product type, supported values:
mysql- ApsaraDB for MySQL, the default ismysql. - result
Output stringFile - Used to save results.
- date str
- Query date, such as 2021-05-27, the earliest date is 30 days ago.
- instance_
id str - instance id.
- id str
- product str
- Service product type, supported values:
mysql- ApsaraDB for MySQL, the default ismysql. - result_
output_ strfile - Used to save results.
- date String
- Query date, such as 2021-05-27, the earliest date is 30 days ago.
- instance
Id String - instance id.
- id String
- product String
- Service product type, supported values:
mysql- ApsaraDB for MySQL, the default ismysql. - result
Output StringFile - Used to save results.
getDbbrainNoPrimaryKeyTables Result
The following output properties are available:
- Date string
- Id string
- Instance
Id string - No
Primary doubleKey Table Count Diff - The difference with yesterday's scan of the table without a primary key. A positive number means an increase, a negative number means a decrease, and 0 means no change.
- No
Primary List<GetKey Tables Dbbrain No Primary Key Tables No Primary Key Table> - A list of tables without primary keys.
- Timestamp double
- Collection timestamp (seconds).
- Product string
- Result
Output stringFile
- Date string
- Id string
- Instance
Id string - No
Primary float64Key Table Count Diff - The difference with yesterday's scan of the table without a primary key. A positive number means an increase, a negative number means a decrease, and 0 means no change.
- No
Primary []GetKey Tables Dbbrain No Primary Key Tables No Primary Key Table - A list of tables without primary keys.
- Timestamp float64
- Collection timestamp (seconds).
- Product string
- Result
Output stringFile
- date String
- id String
- instance
Id String - no
Primary DoubleKey Table Count Diff - The difference with yesterday's scan of the table without a primary key. A positive number means an increase, a negative number means a decrease, and 0 means no change.
- no
Primary List<GetKey Tables Dbbrain No Primary Key Tables No Primary Key Table> - A list of tables without primary keys.
- timestamp Double
- Collection timestamp (seconds).
- product String
- result
Output StringFile
- date string
- id string
- instance
Id string - no
Primary numberKey Table Count Diff - The difference with yesterday's scan of the table without a primary key. A positive number means an increase, a negative number means a decrease, and 0 means no change.
- no
Primary GetKey Tables Dbbrain No Primary Key Tables No Primary Key Table[] - A list of tables without primary keys.
- timestamp number
- Collection timestamp (seconds).
- product string
- result
Output stringFile
- date str
- id str
- instance_
id str - no_
primary_ floatkey_ table_ count_ diff - The difference with yesterday's scan of the table without a primary key. A positive number means an increase, a negative number means a decrease, and 0 means no change.
- no_
primary_ Sequence[Getkey_ tables Dbbrain No Primary Key Tables No Primary Key Table] - A list of tables without primary keys.
- timestamp float
- Collection timestamp (seconds).
- product str
- result_
output_ strfile
- date String
- id String
- instance
Id String - no
Primary NumberKey Table Count Diff - The difference with yesterday's scan of the table without a primary key. A positive number means an increase, a negative number means a decrease, and 0 means no change.
- no
Primary List<Property Map>Key Tables - A list of tables without primary keys.
- timestamp Number
- Collection timestamp (seconds).
- product String
- result
Output StringFile
Supporting Types
GetDbbrainNoPrimaryKeyTablesNoPrimaryKeyTable
- Engine string
- Storage engine for database tables.
- Table
Name string - tableName.
- Table
Rows double - rows.
- Table
Schema string - library name.
- Total
Length double - Total space used (MB).
- Engine string
- Storage engine for database tables.
- Table
Name string - tableName.
- Table
Rows float64 - rows.
- Table
Schema string - library name.
- Total
Length float64 - Total space used (MB).
- engine String
- Storage engine for database tables.
- table
Name String - tableName.
- table
Rows Double - rows.
- table
Schema String - library name.
- total
Length Double - Total space used (MB).
- engine string
- Storage engine for database tables.
- table
Name string - tableName.
- table
Rows number - rows.
- table
Schema string - library name.
- total
Length number - Total space used (MB).
- engine str
- Storage engine for database tables.
- table_
name str - tableName.
- table_
rows float - rows.
- table_
schema str - library name.
- total_
length float - Total space used (MB).
- engine String
- Storage engine for database tables.
- table
Name String - tableName.
- table
Rows Number - rows.
- table
Schema String - library name.
- total
Length Number - Total space used (MB).
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
