tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getDbbrainTopSpaceTableTimeSeries
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
Use this data source to query detailed information of dbbrain top_space_table_time_series
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const topSpaceTableTimeSeries = tencentcloud.getDbbrainTopSpaceTableTimeSeries({
    endDate: "%s",
    instanceId: "%s",
    product: "mysql",
    sortBy: "DataLength",
    startDate: "%s",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
top_space_table_time_series = tencentcloud.get_dbbrain_top_space_table_time_series(end_date="%s",
    instance_id="%s",
    product="mysql",
    sort_by="DataLength",
    start_date="%s")
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.GetDbbrainTopSpaceTableTimeSeries(ctx, &tencentcloud.GetDbbrainTopSpaceTableTimeSeriesArgs{
			EndDate:    pulumi.StringRef("%s"),
			InstanceId: "%s",
			Product:    pulumi.StringRef("mysql"),
			SortBy:     pulumi.StringRef("DataLength"),
			StartDate:  pulumi.StringRef("%s"),
		}, 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 topSpaceTableTimeSeries = Tencentcloud.GetDbbrainTopSpaceTableTimeSeries.Invoke(new()
    {
        EndDate = "%s",
        InstanceId = "%s",
        Product = "mysql",
        SortBy = "DataLength",
        StartDate = "%s",
    });
});
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.GetDbbrainTopSpaceTableTimeSeriesArgs;
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 topSpaceTableTimeSeries = TencentcloudFunctions.getDbbrainTopSpaceTableTimeSeries(GetDbbrainTopSpaceTableTimeSeriesArgs.builder()
            .endDate("%s")
            .instanceId("%s")
            .product("mysql")
            .sortBy("DataLength")
            .startDate("%s")
            .build());
    }
}
variables:
  topSpaceTableTimeSeries:
    fn::invoke:
      function: tencentcloud:getDbbrainTopSpaceTableTimeSeries
      arguments:
        endDate: '%s'
        instanceId: '%s'
        product: mysql
        sortBy: DataLength
        startDate: '%s'
Using getDbbrainTopSpaceTableTimeSeries
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 getDbbrainTopSpaceTableTimeSeries(args: GetDbbrainTopSpaceTableTimeSeriesArgs, opts?: InvokeOptions): Promise<GetDbbrainTopSpaceTableTimeSeriesResult>
function getDbbrainTopSpaceTableTimeSeriesOutput(args: GetDbbrainTopSpaceTableTimeSeriesOutputArgs, opts?: InvokeOptions): Output<GetDbbrainTopSpaceTableTimeSeriesResult>def get_dbbrain_top_space_table_time_series(end_date: Optional[str] = None,
                                            id: Optional[str] = None,
                                            instance_id: Optional[str] = None,
                                            limit: Optional[float] = None,
                                            product: Optional[str] = None,
                                            result_output_file: Optional[str] = None,
                                            sort_by: Optional[str] = None,
                                            start_date: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetDbbrainTopSpaceTableTimeSeriesResult
def get_dbbrain_top_space_table_time_series_output(end_date: Optional[pulumi.Input[str]] = None,
                                            id: Optional[pulumi.Input[str]] = None,
                                            instance_id: Optional[pulumi.Input[str]] = None,
                                            limit: Optional[pulumi.Input[float]] = None,
                                            product: Optional[pulumi.Input[str]] = None,
                                            result_output_file: Optional[pulumi.Input[str]] = None,
                                            sort_by: Optional[pulumi.Input[str]] = None,
                                            start_date: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetDbbrainTopSpaceTableTimeSeriesResult]func GetDbbrainTopSpaceTableTimeSeries(ctx *Context, args *GetDbbrainTopSpaceTableTimeSeriesArgs, opts ...InvokeOption) (*GetDbbrainTopSpaceTableTimeSeriesResult, error)
func GetDbbrainTopSpaceTableTimeSeriesOutput(ctx *Context, args *GetDbbrainTopSpaceTableTimeSeriesOutputArgs, opts ...InvokeOption) GetDbbrainTopSpaceTableTimeSeriesResultOutput> Note: This function is named GetDbbrainTopSpaceTableTimeSeries in the Go SDK.
public static class GetDbbrainTopSpaceTableTimeSeries 
{
    public static Task<GetDbbrainTopSpaceTableTimeSeriesResult> InvokeAsync(GetDbbrainTopSpaceTableTimeSeriesArgs args, InvokeOptions? opts = null)
    public static Output<GetDbbrainTopSpaceTableTimeSeriesResult> Invoke(GetDbbrainTopSpaceTableTimeSeriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbbrainTopSpaceTableTimeSeriesResult> getDbbrainTopSpaceTableTimeSeries(GetDbbrainTopSpaceTableTimeSeriesArgs args, InvokeOptions options)
public static Output<GetDbbrainTopSpaceTableTimeSeriesResult> getDbbrainTopSpaceTableTimeSeries(GetDbbrainTopSpaceTableTimeSeriesArgs args, InvokeOptions options)
fn::invoke:
  function: tencentcloud:index/getDbbrainTopSpaceTableTimeSeries:getDbbrainTopSpaceTableTimeSeries
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InstanceId string
- instance id.
- EndDate string
- The deadline, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the current day.
- Id string
- Limit double
- The number of Top tables returned, the maximum value is 100, and the default is 20.
- Product string
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database CynosDB for MySQL, the default is mysql.
- ResultOutput stringFile 
- Used to save results.
- SortBy string
- The sorting field used to filter the Top table. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize. The default is PhysicalFileSize.
- StartDate string
- The start date, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the 6th day before the deadline.
- InstanceId string
- instance id.
- EndDate string
- The deadline, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the current day.
- Id string
- Limit float64
- The number of Top tables returned, the maximum value is 100, and the default is 20.
- Product string
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database CynosDB for MySQL, the default is mysql.
- ResultOutput stringFile 
- Used to save results.
- SortBy string
- The sorting field used to filter the Top table. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize. The default is PhysicalFileSize.
- StartDate string
- The start date, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the 6th day before the deadline.
- instanceId String
- instance id.
- endDate String
- The deadline, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the current day.
- id String
- limit Double
- The number of Top tables returned, the maximum value is 100, and the default is 20.
- product String
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database CynosDB for MySQL, the default is mysql.
- resultOutput StringFile 
- Used to save results.
- sortBy String
- The sorting field used to filter the Top table. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize. The default is PhysicalFileSize.
- startDate String
- The start date, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the 6th day before the deadline.
- instanceId string
- instance id.
- endDate string
- The deadline, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the current day.
- id string
- limit number
- The number of Top tables returned, the maximum value is 100, and the default is 20.
- product string
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database CynosDB for MySQL, the default is mysql.
- resultOutput stringFile 
- Used to save results.
- sortBy string
- The sorting field used to filter the Top table. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize. The default is PhysicalFileSize.
- startDate string
- The start date, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the 6th day before the deadline.
- instance_id str
- instance id.
- end_date str
- The deadline, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the current day.
- id str
- limit float
- The number of Top tables returned, the maximum value is 100, and the default is 20.
- product str
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database CynosDB for MySQL, the default is mysql.
- result_output_ strfile 
- Used to save results.
- sort_by str
- The sorting field used to filter the Top table. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize. The default is PhysicalFileSize.
- start_date str
- The start date, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the 6th day before the deadline.
- instanceId String
- instance id.
- endDate String
- The deadline, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the current day.
- id String
- limit Number
- The number of Top tables returned, the maximum value is 100, and the default is 20.
- product String
- Service product type, supported values include: mysql - cloud database MySQL, cynosdb - cloud database CynosDB for MySQL, the default is mysql.
- resultOutput StringFile 
- Used to save results.
- sortBy String
- The sorting field used to filter the Top table. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize. The default is PhysicalFileSize.
- startDate String
- The start date, such as 2021-01-01, the earliest is the 29th day before the current day, and the default is the 6th day before the deadline.
getDbbrainTopSpaceTableTimeSeries Result
The following output properties are available:
- Id string
- InstanceId string
- TopSpace List<GetTable Time Series Dbbrain Top Space Table Time Series Top Space Table Time Series> 
- The time-series data list of the returned Top tablespace statistics.
- EndDate string
- Limit double
- Product string
- ResultOutput stringFile 
- SortBy string
- StartDate string
- Id string
- InstanceId string
- TopSpace []GetTable Time Series Dbbrain Top Space Table Time Series Top Space Table Time Series 
- The time-series data list of the returned Top tablespace statistics.
- EndDate string
- Limit float64
- Product string
- ResultOutput stringFile 
- SortBy string
- StartDate string
- id String
- instanceId String
- topSpace List<GetTable Time Series Dbbrain Top Space Table Time Series Top Space Table Time Series> 
- The time-series data list of the returned Top tablespace statistics.
- endDate String
- limit Double
- product String
- resultOutput StringFile 
- sortBy String
- startDate String
- id string
- instanceId string
- topSpace GetTable Time Series Dbbrain Top Space Table Time Series Top Space Table Time Series[] 
- The time-series data list of the returned Top tablespace statistics.
- endDate string
- limit number
- product string
- resultOutput stringFile 
- sortBy string
- startDate string
- id str
- instance_id str
- top_space_ Sequence[Gettable_ time_ series Dbbrain Top Space Table Time Series Top Space Table Time Series] 
- The time-series data list of the returned Top tablespace statistics.
- end_date str
- limit float
- product str
- result_output_ strfile 
- sort_by str
- start_date str
- id String
- instanceId String
- topSpace List<Property Map>Table Time Series 
- The time-series data list of the returned Top tablespace statistics.
- endDate String
- limit Number
- product String
- resultOutput StringFile 
- sortBy String
- startDate String
Supporting Types
GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeries           
- Engine string
- Storage engine for database tables.
- SeriesDatas List<GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data> 
- Spatial index data in unit time interval.
- TableName string
- table name.
- TableSchema string
- databases name.
- Engine string
- Storage engine for database tables.
- SeriesDatas []GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data 
- Spatial index data in unit time interval.
- TableName string
- table name.
- TableSchema string
- databases name.
- engine String
- Storage engine for database tables.
- seriesDatas List<GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data> 
- Spatial index data in unit time interval.
- tableName String
- table name.
- tableSchema String
- databases name.
- engine string
- Storage engine for database tables.
- seriesDatas GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data[] 
- Spatial index data in unit time interval.
- tableName string
- table name.
- tableSchema string
- databases name.
- engine str
- Storage engine for database tables.
- series_datas Sequence[GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data] 
- Spatial index data in unit time interval.
- table_name str
- table name.
- table_schema str
- databases name.
- engine String
- Storage engine for database tables.
- seriesDatas List<Property Map>
- Spatial index data in unit time interval.
- tableName String
- table name.
- tableSchema String
- databases name.
GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesData             
- Series
List<GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data Series> 
- Monitor metrics.
- Timestamps List<double>
- The timestamp corresponding to the monitoring indicator.
- Series
[]GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data Series 
- Monitor metrics.
- Timestamps []float64
- The timestamp corresponding to the monitoring indicator.
- series
List<GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data Series> 
- Monitor metrics.
- timestamps List<Double>
- The timestamp corresponding to the monitoring indicator.
- series
GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data Series[] 
- Monitor metrics.
- timestamps number[]
- The timestamp corresponding to the monitoring indicator.
- series
Sequence[GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data Series] 
- Monitor metrics.
- timestamps Sequence[float]
- The timestamp corresponding to the monitoring indicator.
- series List<Property Map>
- Monitor metrics.
- timestamps List<Number>
- The timestamp corresponding to the monitoring indicator.
GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesDataSeries              
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack