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

tencentcloud.getDbbrainTopSpaceSchemaTimeSeries

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_schema_time_series

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const topSpaceSchemaTimeSeries = tencentcloud.getDbbrainTopSpaceSchemaTimeSeries({
        endDate: "%s",
        instanceId: "%s",
        product: "mysql",
        sortBy: "DataLength",
        startDate: "%s",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    top_space_schema_time_series = tencentcloud.get_dbbrain_top_space_schema_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.GetDbbrainTopSpaceSchemaTimeSeries(ctx, &tencentcloud.GetDbbrainTopSpaceSchemaTimeSeriesArgs{
    			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 topSpaceSchemaTimeSeries = Tencentcloud.GetDbbrainTopSpaceSchemaTimeSeries.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.GetDbbrainTopSpaceSchemaTimeSeriesArgs;
    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 topSpaceSchemaTimeSeries = TencentcloudFunctions.getDbbrainTopSpaceSchemaTimeSeries(GetDbbrainTopSpaceSchemaTimeSeriesArgs.builder()
                .endDate("%s")
                .instanceId("%s")
                .product("mysql")
                .sortBy("DataLength")
                .startDate("%s")
                .build());
    
        }
    }
    
    variables:
      topSpaceSchemaTimeSeries:
        fn::invoke:
          function: tencentcloud:getDbbrainTopSpaceSchemaTimeSeries
          arguments:
            endDate: '%s'
            instanceId: '%s'
            product: mysql
            sortBy: DataLength
            startDate: '%s'
    

    Using getDbbrainTopSpaceSchemaTimeSeries

    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 getDbbrainTopSpaceSchemaTimeSeries(args: GetDbbrainTopSpaceSchemaTimeSeriesArgs, opts?: InvokeOptions): Promise<GetDbbrainTopSpaceSchemaTimeSeriesResult>
    function getDbbrainTopSpaceSchemaTimeSeriesOutput(args: GetDbbrainTopSpaceSchemaTimeSeriesOutputArgs, opts?: InvokeOptions): Output<GetDbbrainTopSpaceSchemaTimeSeriesResult>
    def get_dbbrain_top_space_schema_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) -> GetDbbrainTopSpaceSchemaTimeSeriesResult
    def get_dbbrain_top_space_schema_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[GetDbbrainTopSpaceSchemaTimeSeriesResult]
    func GetDbbrainTopSpaceSchemaTimeSeries(ctx *Context, args *GetDbbrainTopSpaceSchemaTimeSeriesArgs, opts ...InvokeOption) (*GetDbbrainTopSpaceSchemaTimeSeriesResult, error)
    func GetDbbrainTopSpaceSchemaTimeSeriesOutput(ctx *Context, args *GetDbbrainTopSpaceSchemaTimeSeriesOutputArgs, opts ...InvokeOption) GetDbbrainTopSpaceSchemaTimeSeriesResultOutput

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

    public static class GetDbbrainTopSpaceSchemaTimeSeries 
    {
        public static Task<GetDbbrainTopSpaceSchemaTimeSeriesResult> InvokeAsync(GetDbbrainTopSpaceSchemaTimeSeriesArgs args, InvokeOptions? opts = null)
        public static Output<GetDbbrainTopSpaceSchemaTimeSeriesResult> Invoke(GetDbbrainTopSpaceSchemaTimeSeriesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDbbrainTopSpaceSchemaTimeSeriesResult> getDbbrainTopSpaceSchemaTimeSeries(GetDbbrainTopSpaceSchemaTimeSeriesArgs args, InvokeOptions options)
    public static Output<GetDbbrainTopSpaceSchemaTimeSeriesResult> getDbbrainTopSpaceSchemaTimeSeries(GetDbbrainTopSpaceSchemaTimeSeriesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getDbbrainTopSpaceSchemaTimeSeries:getDbbrainTopSpaceSchemaTimeSeries
      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 libraries to return, 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 library. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize (only supported by ApsaraDB for MySQL instances). The default for ApsaraDB for MySQL instances is PhysicalFileSize, and the default for other product instances is TotalLength.
    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 libraries to return, 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 library. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize (only supported by ApsaraDB for MySQL instances). The default for ApsaraDB for MySQL instances is PhysicalFileSize, and the default for other product instances is TotalLength.
    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 libraries to return, 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 library. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize (only supported by ApsaraDB for MySQL instances). The default for ApsaraDB for MySQL instances is PhysicalFileSize, and the default for other product instances is TotalLength.
    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 libraries to return, 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 library. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize (only supported by ApsaraDB for MySQL instances). The default for ApsaraDB for MySQL instances is PhysicalFileSize, and the default for other product instances is TotalLength.
    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 libraries to return, 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 library. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize (only supported by ApsaraDB for MySQL instances). The default for ApsaraDB for MySQL instances is PhysicalFileSize, and the default for other product instances is TotalLength.
    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 libraries to return, 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 library. The optional fields include DataLength, IndexLength, TotalLength, DataFree, FragRatio, TableRows, and PhysicalFileSize (only supported by ApsaraDB for MySQL instances). The default for ApsaraDB for MySQL instances is PhysicalFileSize, and the default for other product instances is TotalLength.
    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.

    getDbbrainTopSpaceSchemaTimeSeries Result

    The following output properties are available:

    Id string
    InstanceId string
    TopSpaceSchemaTimeSeries List<GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeries>
    The time series data list of the returned top library space statistics.
    EndDate string
    Limit double
    Product string
    ResultOutputFile string
    SortBy string
    StartDate string
    Id string
    InstanceId string
    TopSpaceSchemaTimeSeries []GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeries
    The time series data list of the returned top library space statistics.
    EndDate string
    Limit float64
    Product string
    ResultOutputFile string
    SortBy string
    StartDate string
    id String
    instanceId String
    topSpaceSchemaTimeSeries List<GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeries>
    The time series data list of the returned top library space statistics.
    endDate String
    limit Double
    product String
    resultOutputFile String
    sortBy String
    startDate String
    id string
    instanceId string
    topSpaceSchemaTimeSeries GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeries[]
    The time series data list of the returned top library space statistics.
    endDate string
    limit number
    product string
    resultOutputFile string
    sortBy string
    startDate string
    id String
    instanceId String
    topSpaceSchemaTimeSeries List<Property Map>
    The time series data list of the returned top library space statistics.
    endDate String
    limit Number
    product String
    resultOutputFile String
    sortBy String
    startDate String

    Supporting Types

    GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeries

    SeriesDatas List<GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesData>
    Spatial index data in unit time interval.
    TableSchema string
    databases name.
    SeriesDatas []GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesData
    Spatial index data in unit time interval.
    TableSchema string
    databases name.
    seriesDatas List<GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesData>
    Spatial index data in unit time interval.
    tableSchema String
    databases name.
    seriesDatas GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesData[]
    Spatial index data in unit time interval.
    tableSchema string
    databases name.
    seriesDatas List<Property Map>
    Spatial index data in unit time interval.
    tableSchema String
    databases name.

    GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesData

    Series List<GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesDataSeries>
    Monitor metrics.
    Timestamps List<double>
    The timestamp corresponding to the monitoring indicator.
    Series []GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesDataSeries
    Monitor metrics.
    Timestamps []float64
    The timestamp corresponding to the monitoring indicator.
    series List<GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesDataSeries>
    Monitor metrics.
    timestamps List<Double>
    The timestamp corresponding to the monitoring indicator.
    series GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesDataSeries[]
    Monitor metrics.
    timestamps number[]
    The timestamp corresponding to the monitoring indicator.
    series Sequence[GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesDataSeries]
    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.

    GetDbbrainTopSpaceSchemaTimeSeriesTopSpaceSchemaTimeSeriesSeriesDataSeries

    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