tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getMysqlBinlogBackupOverview
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 mysql binlog_backup_overview
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const binlogBackupOverview = tencentcloud.getMysqlBinlogBackupOverview({
product: "mysql",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
binlog_backup_overview = tencentcloud.get_mysql_binlog_backup_overview(product="mysql")
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.GetMysqlBinlogBackupOverview(ctx, &tencentcloud.GetMysqlBinlogBackupOverviewArgs{
Product: "mysql",
}, 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 binlogBackupOverview = Tencentcloud.GetMysqlBinlogBackupOverview.Invoke(new()
{
Product = "mysql",
});
});
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.GetMysqlBinlogBackupOverviewArgs;
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 binlogBackupOverview = TencentcloudFunctions.getMysqlBinlogBackupOverview(GetMysqlBinlogBackupOverviewArgs.builder()
.product("mysql")
.build());
}
}
variables:
binlogBackupOverview:
fn::invoke:
function: tencentcloud:getMysqlBinlogBackupOverview
arguments:
product: mysql
Using getMysqlBinlogBackupOverview
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 getMysqlBinlogBackupOverview(args: GetMysqlBinlogBackupOverviewArgs, opts?: InvokeOptions): Promise<GetMysqlBinlogBackupOverviewResult>
function getMysqlBinlogBackupOverviewOutput(args: GetMysqlBinlogBackupOverviewOutputArgs, opts?: InvokeOptions): Output<GetMysqlBinlogBackupOverviewResult>
def get_mysql_binlog_backup_overview(id: Optional[str] = None,
product: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMysqlBinlogBackupOverviewResult
def get_mysql_binlog_backup_overview_output(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[GetMysqlBinlogBackupOverviewResult]
func GetMysqlBinlogBackupOverview(ctx *Context, args *GetMysqlBinlogBackupOverviewArgs, opts ...InvokeOption) (*GetMysqlBinlogBackupOverviewResult, error)
func GetMysqlBinlogBackupOverviewOutput(ctx *Context, args *GetMysqlBinlogBackupOverviewOutputArgs, opts ...InvokeOption) GetMysqlBinlogBackupOverviewResultOutput
> Note: This function is named GetMysqlBinlogBackupOverview
in the Go SDK.
public static class GetMysqlBinlogBackupOverview
{
public static Task<GetMysqlBinlogBackupOverviewResult> InvokeAsync(GetMysqlBinlogBackupOverviewArgs args, InvokeOptions? opts = null)
public static Output<GetMysqlBinlogBackupOverviewResult> Invoke(GetMysqlBinlogBackupOverviewInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMysqlBinlogBackupOverviewResult> getMysqlBinlogBackupOverview(GetMysqlBinlogBackupOverviewArgs args, InvokeOptions options)
public static Output<GetMysqlBinlogBackupOverviewResult> getMysqlBinlogBackupOverview(GetMysqlBinlogBackupOverviewArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMysqlBinlogBackupOverview:getMysqlBinlogBackupOverview
arguments:
# arguments dictionary
The following arguments are supported:
- Product string
- The type of cloud database product to be queried, currently only supports
mysql
. - Id string
- Result
Output stringFile - Used to save results.
- Product string
- The type of cloud database product to be queried, currently only supports
mysql
. - Id string
- Result
Output stringFile - Used to save results.
- product String
- The type of cloud database product to be queried, currently only supports
mysql
. - id String
- result
Output StringFile - Used to save results.
- product string
- The type of cloud database product to be queried, currently only supports
mysql
. - id string
- result
Output stringFile - Used to save results.
- product str
- The type of cloud database product to be queried, currently only supports
mysql
. - id str
- result_
output_ strfile - Used to save results.
- product String
- The type of cloud database product to be queried, currently only supports
mysql
. - id String
- result
Output StringFile - Used to save results.
getMysqlBinlogBackupOverview Result
The following output properties are available:
- Binlog
Archive doubleCount - The number of archived log backups.
- Binlog
Archive doubleVolume - Archived log backup capacity (in bytes).
- Binlog
Backup doubleCount - The total number of log backups, including remote log backups.
- Binlog
Backup doubleVolume - Total log backup capacity, including off-site log backup (unit is byte).
- Binlog
Standby doubleCount - The number of standard storage log backups.
- Binlog
Standby doubleVolume - Standard storage log backup capacity (in bytes).
- Id string
- Product string
- Remote
Binlog doubleCount - The number of remote log backups.
- Remote
Binlog doubleVolume - Remote log backup capacity (in bytes).
- Result
Output stringFile
- Binlog
Archive float64Count - The number of archived log backups.
- Binlog
Archive float64Volume - Archived log backup capacity (in bytes).
- Binlog
Backup float64Count - The total number of log backups, including remote log backups.
- Binlog
Backup float64Volume - Total log backup capacity, including off-site log backup (unit is byte).
- Binlog
Standby float64Count - The number of standard storage log backups.
- Binlog
Standby float64Volume - Standard storage log backup capacity (in bytes).
- Id string
- Product string
- Remote
Binlog float64Count - The number of remote log backups.
- Remote
Binlog float64Volume - Remote log backup capacity (in bytes).
- Result
Output stringFile
- binlog
Archive DoubleCount - The number of archived log backups.
- binlog
Archive DoubleVolume - Archived log backup capacity (in bytes).
- binlog
Backup DoubleCount - The total number of log backups, including remote log backups.
- binlog
Backup DoubleVolume - Total log backup capacity, including off-site log backup (unit is byte).
- binlog
Standby DoubleCount - The number of standard storage log backups.
- binlog
Standby DoubleVolume - Standard storage log backup capacity (in bytes).
- id String
- product String
- remote
Binlog DoubleCount - The number of remote log backups.
- remote
Binlog DoubleVolume - Remote log backup capacity (in bytes).
- result
Output StringFile
- binlog
Archive numberCount - The number of archived log backups.
- binlog
Archive numberVolume - Archived log backup capacity (in bytes).
- binlog
Backup numberCount - The total number of log backups, including remote log backups.
- binlog
Backup numberVolume - Total log backup capacity, including off-site log backup (unit is byte).
- binlog
Standby numberCount - The number of standard storage log backups.
- binlog
Standby numberVolume - Standard storage log backup capacity (in bytes).
- id string
- product string
- remote
Binlog numberCount - The number of remote log backups.
- remote
Binlog numberVolume - Remote log backup capacity (in bytes).
- result
Output stringFile
- binlog_
archive_ floatcount - The number of archived log backups.
- binlog_
archive_ floatvolume - Archived log backup capacity (in bytes).
- binlog_
backup_ floatcount - The total number of log backups, including remote log backups.
- binlog_
backup_ floatvolume - Total log backup capacity, including off-site log backup (unit is byte).
- binlog_
standby_ floatcount - The number of standard storage log backups.
- binlog_
standby_ floatvolume - Standard storage log backup capacity (in bytes).
- id str
- product str
- remote_
binlog_ floatcount - The number of remote log backups.
- remote_
binlog_ floatvolume - Remote log backup capacity (in bytes).
- result_
output_ strfile
- binlog
Archive NumberCount - The number of archived log backups.
- binlog
Archive NumberVolume - Archived log backup capacity (in bytes).
- binlog
Backup NumberCount - The total number of log backups, including remote log backups.
- binlog
Backup NumberVolume - Total log backup capacity, including off-site log backup (unit is byte).
- binlog
Standby NumberCount - The number of standard storage log backups.
- binlog
Standby NumberVolume - Standard storage log backup capacity (in bytes).
- id String
- product String
- remote
Binlog NumberCount - The number of remote log backups.
- remote
Binlog NumberVolume - Remote log backup capacity (in bytes).
- result
Output StringFile
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