tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getDbbrainTopSpaceTableTimeSeries
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 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:
- Instance
Id string - instance id.
- End
Date 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.
- Result
Output stringFile - Used to save results.
- Sort
By 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.
- Start
Date 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 string - instance id.
- End
Date 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.
- Result
Output stringFile - Used to save results.
- Sort
By 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.
- Start
Date 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 String - instance id.
- end
Date 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.
- result
Output StringFile - Used to save results.
- sort
By 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.
- start
Date 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 string - instance id.
- end
Date 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.
- result
Output stringFile - Used to save results.
- sort
By 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.
- start
Date 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.
- instance
Id String - instance id.
- end
Date 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.
- result
Output StringFile - Used to save results.
- sort
By 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.
- start
Date 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
- Instance
Id string - Top
Space 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.
- End
Date string - Limit double
- Product string
- Result
Output stringFile - Sort
By string - Start
Date string
- Id string
- Instance
Id string - Top
Space []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 string - Limit float64
- Product string
- Result
Output stringFile - Sort
By string - Start
Date string
- id String
- instance
Id String - top
Space 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.
- end
Date String - limit Double
- product String
- result
Output StringFile - sort
By String - start
Date String
- id string
- instance
Id string - top
Space 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 string - limit number
- product string
- result
Output stringFile - sort
By string - start
Date 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
- instance
Id String - top
Space List<Property Map>Table Time Series - The time-series data list of the returned Top tablespace statistics.
- end
Date String - limit Number
- product String
- result
Output StringFile - sort
By String - start
Date String
Supporting Types
GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeries
- Engine string
- Storage engine for database tables.
- Series
Datas List<GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data> - Spatial index data in unit time interval.
- Table
Name string - table name.
- Table
Schema string - databases name.
- Engine string
- Storage engine for database tables.
- Series
Datas []GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data - Spatial index data in unit time interval.
- Table
Name string - table name.
- Table
Schema string - databases name.
- engine String
- Storage engine for database tables.
- series
Datas List<GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data> - Spatial index data in unit time interval.
- table
Name String - table name.
- table
Schema String - databases name.
- engine string
- Storage engine for database tables.
- series
Datas GetDbbrain Top Space Table Time Series Top Space Table Time Series Series Data[] - Spatial index data in unit time interval.
- table
Name string - table name.
- table
Schema 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.
- series
Datas List<Property Map> - Spatial index data in unit time interval.
- table
Name String - table name.
- table
Schema String - databases name.
GetDbbrainTopSpaceTableTimeSeriesTopSpaceTableTimeSeriesSeriesData
- Series
List<Get
Dbbrain 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
[]Get
Dbbrain 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<Get
Dbbrain 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
Get
Dbbrain 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[Get
Dbbrain 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
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack