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

tencentcloud.getDbbrainTopSpaceTableTimeSeries

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 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 dictionary

    The 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.
    ResultOutputFile string
    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.
    ResultOutputFile string
    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.
    resultOutputFile String
    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.
    resultOutputFile string
    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_file str
    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.
    resultOutputFile String
    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
    TopSpaceTableTimeSeries List<GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeries>
    The time-series data list of the returned Top tablespace statistics.
    EndDate string
    Limit double
    Product string
    ResultOutputFile string
    SortBy string
    StartDate string
    Id string
    InstanceId string
    TopSpaceTableTimeSeries []GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeries
    The time-series data list of the returned Top tablespace statistics.
    EndDate string
    Limit float64
    Product string
    ResultOutputFile string
    SortBy string
    StartDate string
    id String
    instanceId String
    topSpaceTableTimeSeries List<GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeries>
    The time-series data list of the returned Top tablespace statistics.
    endDate String
    limit Double
    product String
    resultOutputFile String
    sortBy String
    startDate String
    id string
    instanceId string
    topSpaceTableTimeSeries GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeries[]
    The time-series data list of the returned Top tablespace statistics.
    endDate string
    limit number
    product string
    resultOutputFile string
    sortBy string
    startDate string
    id String
    instanceId String
    topSpaceTableTimeSeries List<Property Map>
    The time-series data list of the returned Top tablespace statistics.
    endDate String
    limit Number
    product String
    resultOutputFile String
    sortBy String
    startDate String

    Supporting Types

    GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeries

    Engine string
    Storage engine for database tables.
    SeriesDatas List<GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesData>
    Spatial index data in unit time interval.
    TableName string
    table name.
    TableSchema string
    databases name.
    Engine string
    Storage engine for database tables.
    SeriesDatas []GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesData
    Spatial index data in unit time interval.
    TableName string
    table name.
    TableSchema string
    databases name.
    engine String
    Storage engine for database tables.
    seriesDatas List<GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesData>
    Spatial index data in unit time interval.
    tableName String
    table name.
    tableSchema String
    databases name.
    engine string
    Storage engine for database tables.
    seriesDatas GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesData[]
    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[GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesData]
    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<GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesDataSeries>
    Monitor metrics.
    Timestamps List<double>
    The timestamp corresponding to the monitoring indicator.
    Series []GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesDataSeries
    Monitor metrics.
    Timestamps []float64
    The timestamp corresponding to the monitoring indicator.
    series List<GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesDataSeries>
    Monitor metrics.
    timestamps List<Double>
    The timestamp corresponding to the monitoring indicator.
    series GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesDataSeries[]
    Monitor metrics.
    timestamps number[]
    The timestamp corresponding to the monitoring indicator.
    series Sequence[GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesDataSeries]
    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

    Metric string
    Indicator name.
    Unit string
    Indicator unit.
    Values List<double>
    Index value. Note: This field may return null, indicating that no valid value can be obtained.
    Metric string
    Indicator name.
    Unit string
    Indicator unit.
    Values []float64
    Index value. Note: This field may return null, indicating that no valid value can be obtained.
    metric String
    Indicator name.
    unit String
    Indicator unit.
    values List<Double>
    Index value. Note: This field may return null, indicating that no valid value can be obtained.
    metric string
    Indicator name.
    unit string
    Indicator unit.
    values number[]
    Index value. Note: This field may return null, indicating that no valid value can be obtained.
    metric str
    Indicator name.
    unit str
    Indicator unit.
    values Sequence[float]
    Index value. Note: This field may return null, indicating that no valid value can be obtained.
    metric String
    Indicator name.
    unit String
    Indicator unit.
    values List<Number>
    Index value. Note: This field may return null, indicating that no valid value can be obtained.

    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