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

tencentcloud.getMysqlBinlogBackupOverview

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 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
    ResultOutputFile string
    Used to save results.
    Product string
    The type of cloud database product to be queried, currently only supports mysql.
    Id string
    ResultOutputFile string
    Used to save results.
    product String
    The type of cloud database product to be queried, currently only supports mysql.
    id String
    resultOutputFile String
    Used to save results.
    product string
    The type of cloud database product to be queried, currently only supports mysql.
    id string
    resultOutputFile string
    Used to save results.
    product str
    The type of cloud database product to be queried, currently only supports mysql.
    id str
    result_output_file str
    Used to save results.
    product String
    The type of cloud database product to be queried, currently only supports mysql.
    id String
    resultOutputFile String
    Used to save results.

    getMysqlBinlogBackupOverview Result

    The following output properties are available:

    BinlogArchiveCount double
    The number of archived log backups.
    BinlogArchiveVolume double
    Archived log backup capacity (in bytes).
    BinlogBackupCount double
    The total number of log backups, including remote log backups.
    BinlogBackupVolume double
    Total log backup capacity, including off-site log backup (unit is byte).
    BinlogStandbyCount double
    The number of standard storage log backups.
    BinlogStandbyVolume double
    Standard storage log backup capacity (in bytes).
    Id string
    Product string
    RemoteBinlogCount double
    The number of remote log backups.
    RemoteBinlogVolume double
    Remote log backup capacity (in bytes).
    ResultOutputFile string
    BinlogArchiveCount float64
    The number of archived log backups.
    BinlogArchiveVolume float64
    Archived log backup capacity (in bytes).
    BinlogBackupCount float64
    The total number of log backups, including remote log backups.
    BinlogBackupVolume float64
    Total log backup capacity, including off-site log backup (unit is byte).
    BinlogStandbyCount float64
    The number of standard storage log backups.
    BinlogStandbyVolume float64
    Standard storage log backup capacity (in bytes).
    Id string
    Product string
    RemoteBinlogCount float64
    The number of remote log backups.
    RemoteBinlogVolume float64
    Remote log backup capacity (in bytes).
    ResultOutputFile string
    binlogArchiveCount Double
    The number of archived log backups.
    binlogArchiveVolume Double
    Archived log backup capacity (in bytes).
    binlogBackupCount Double
    The total number of log backups, including remote log backups.
    binlogBackupVolume Double
    Total log backup capacity, including off-site log backup (unit is byte).
    binlogStandbyCount Double
    The number of standard storage log backups.
    binlogStandbyVolume Double
    Standard storage log backup capacity (in bytes).
    id String
    product String
    remoteBinlogCount Double
    The number of remote log backups.
    remoteBinlogVolume Double
    Remote log backup capacity (in bytes).
    resultOutputFile String
    binlogArchiveCount number
    The number of archived log backups.
    binlogArchiveVolume number
    Archived log backup capacity (in bytes).
    binlogBackupCount number
    The total number of log backups, including remote log backups.
    binlogBackupVolume number
    Total log backup capacity, including off-site log backup (unit is byte).
    binlogStandbyCount number
    The number of standard storage log backups.
    binlogStandbyVolume number
    Standard storage log backup capacity (in bytes).
    id string
    product string
    remoteBinlogCount number
    The number of remote log backups.
    remoteBinlogVolume number
    Remote log backup capacity (in bytes).
    resultOutputFile string
    binlog_archive_count float
    The number of archived log backups.
    binlog_archive_volume float
    Archived log backup capacity (in bytes).
    binlog_backup_count float
    The total number of log backups, including remote log backups.
    binlog_backup_volume float
    Total log backup capacity, including off-site log backup (unit is byte).
    binlog_standby_count float
    The number of standard storage log backups.
    binlog_standby_volume float
    Standard storage log backup capacity (in bytes).
    id str
    product str
    remote_binlog_count float
    The number of remote log backups.
    remote_binlog_volume float
    Remote log backup capacity (in bytes).
    result_output_file str
    binlogArchiveCount Number
    The number of archived log backups.
    binlogArchiveVolume Number
    Archived log backup capacity (in bytes).
    binlogBackupCount Number
    The total number of log backups, including remote log backups.
    binlogBackupVolume Number
    Total log backup capacity, including off-site log backup (unit is byte).
    binlogStandbyCount Number
    The number of standard storage log backups.
    binlogStandbyVolume Number
    Standard storage log backup capacity (in bytes).
    id String
    product String
    remoteBinlogCount Number
    The number of remote log backups.
    remoteBinlogVolume Number
    Remote log backup capacity (in bytes).
    resultOutputFile String

    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