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

tencentcloud.getMysqlDataBackupOverview

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 data_backup_overview

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const dataBackupOverview = tencentcloud.getMysqlDataBackupOverview({
        product: "mysql",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    data_backup_overview = tencentcloud.get_mysql_data_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.GetMysqlDataBackupOverview(ctx, &tencentcloud.GetMysqlDataBackupOverviewArgs{
    			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 dataBackupOverview = Tencentcloud.GetMysqlDataBackupOverview.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.GetMysqlDataBackupOverviewArgs;
    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 dataBackupOverview = TencentcloudFunctions.getMysqlDataBackupOverview(GetMysqlDataBackupOverviewArgs.builder()
                .product("mysql")
                .build());
    
        }
    }
    
    variables:
      dataBackupOverview:
        fn::invoke:
          function: tencentcloud:getMysqlDataBackupOverview
          arguments:
            product: mysql
    

    Using getMysqlDataBackupOverview

    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 getMysqlDataBackupOverview(args: GetMysqlDataBackupOverviewArgs, opts?: InvokeOptions): Promise<GetMysqlDataBackupOverviewResult>
    function getMysqlDataBackupOverviewOutput(args: GetMysqlDataBackupOverviewOutputArgs, opts?: InvokeOptions): Output<GetMysqlDataBackupOverviewResult>
    def get_mysql_data_backup_overview(id: Optional[str] = None,
                                       product: Optional[str] = None,
                                       result_output_file: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetMysqlDataBackupOverviewResult
    def get_mysql_data_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[GetMysqlDataBackupOverviewResult]
    func GetMysqlDataBackupOverview(ctx *Context, args *GetMysqlDataBackupOverviewArgs, opts ...InvokeOption) (*GetMysqlDataBackupOverviewResult, error)
    func GetMysqlDataBackupOverviewOutput(ctx *Context, args *GetMysqlDataBackupOverviewOutputArgs, opts ...InvokeOption) GetMysqlDataBackupOverviewResultOutput

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

    public static class GetMysqlDataBackupOverview 
    {
        public static Task<GetMysqlDataBackupOverviewResult> InvokeAsync(GetMysqlDataBackupOverviewArgs args, InvokeOptions? opts = null)
        public static Output<GetMysqlDataBackupOverviewResult> Invoke(GetMysqlDataBackupOverviewInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMysqlDataBackupOverviewResult> getMysqlDataBackupOverview(GetMysqlDataBackupOverviewArgs args, InvokeOptions options)
    public static Output<GetMysqlDataBackupOverviewResult> getMysqlDataBackupOverview(GetMysqlDataBackupOverviewArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getMysqlDataBackupOverview:getMysqlDataBackupOverview
      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.

    getMysqlDataBackupOverview Result

    The following output properties are available:

    AutoBackupCount double
    The total number of automatic backups in the current region.
    AutoBackupVolume double
    The total automatic backup capacity of the current region.
    DataBackupArchiveCount double
    The total number of archive backups in the current region.
    DataBackupArchiveVolume double
    The total capacity of the current regional archive backup.
    DataBackupCount double
    The total number of data backups in the current region.
    DataBackupStandbyCount double
    The total number of standard storage backups in the current region.
    DataBackupStandbyVolume double
    The total backup capacity of the current regional standard storage.
    DataBackupVolume double
    Total data backup capacity of the current region (including automatic backup and manual backup, in bytes).
    Id string
    ManualBackupCount double
    The total number of manual backups in the current region.
    ManualBackupVolume double
    The total manual backup capacity of the current region.
    Product string
    RemoteBackupCount double
    The total number of remote backups.
    RemoteBackupVolume double
    The total capacity of remote backup.
    ResultOutputFile string
    AutoBackupCount float64
    The total number of automatic backups in the current region.
    AutoBackupVolume float64
    The total automatic backup capacity of the current region.
    DataBackupArchiveCount float64
    The total number of archive backups in the current region.
    DataBackupArchiveVolume float64
    The total capacity of the current regional archive backup.
    DataBackupCount float64
    The total number of data backups in the current region.
    DataBackupStandbyCount float64
    The total number of standard storage backups in the current region.
    DataBackupStandbyVolume float64
    The total backup capacity of the current regional standard storage.
    DataBackupVolume float64
    Total data backup capacity of the current region (including automatic backup and manual backup, in bytes).
    Id string
    ManualBackupCount float64
    The total number of manual backups in the current region.
    ManualBackupVolume float64
    The total manual backup capacity of the current region.
    Product string
    RemoteBackupCount float64
    The total number of remote backups.
    RemoteBackupVolume float64
    The total capacity of remote backup.
    ResultOutputFile string
    autoBackupCount Double
    The total number of automatic backups in the current region.
    autoBackupVolume Double
    The total automatic backup capacity of the current region.
    dataBackupArchiveCount Double
    The total number of archive backups in the current region.
    dataBackupArchiveVolume Double
    The total capacity of the current regional archive backup.
    dataBackupCount Double
    The total number of data backups in the current region.
    dataBackupStandbyCount Double
    The total number of standard storage backups in the current region.
    dataBackupStandbyVolume Double
    The total backup capacity of the current regional standard storage.
    dataBackupVolume Double
    Total data backup capacity of the current region (including automatic backup and manual backup, in bytes).
    id String
    manualBackupCount Double
    The total number of manual backups in the current region.
    manualBackupVolume Double
    The total manual backup capacity of the current region.
    product String
    remoteBackupCount Double
    The total number of remote backups.
    remoteBackupVolume Double
    The total capacity of remote backup.
    resultOutputFile String
    autoBackupCount number
    The total number of automatic backups in the current region.
    autoBackupVolume number
    The total automatic backup capacity of the current region.
    dataBackupArchiveCount number
    The total number of archive backups in the current region.
    dataBackupArchiveVolume number
    The total capacity of the current regional archive backup.
    dataBackupCount number
    The total number of data backups in the current region.
    dataBackupStandbyCount number
    The total number of standard storage backups in the current region.
    dataBackupStandbyVolume number
    The total backup capacity of the current regional standard storage.
    dataBackupVolume number
    Total data backup capacity of the current region (including automatic backup and manual backup, in bytes).
    id string
    manualBackupCount number
    The total number of manual backups in the current region.
    manualBackupVolume number
    The total manual backup capacity of the current region.
    product string
    remoteBackupCount number
    The total number of remote backups.
    remoteBackupVolume number
    The total capacity of remote backup.
    resultOutputFile string
    auto_backup_count float
    The total number of automatic backups in the current region.
    auto_backup_volume float
    The total automatic backup capacity of the current region.
    data_backup_archive_count float
    The total number of archive backups in the current region.
    data_backup_archive_volume float
    The total capacity of the current regional archive backup.
    data_backup_count float
    The total number of data backups in the current region.
    data_backup_standby_count float
    The total number of standard storage backups in the current region.
    data_backup_standby_volume float
    The total backup capacity of the current regional standard storage.
    data_backup_volume float
    Total data backup capacity of the current region (including automatic backup and manual backup, in bytes).
    id str
    manual_backup_count float
    The total number of manual backups in the current region.
    manual_backup_volume float
    The total manual backup capacity of the current region.
    product str
    remote_backup_count float
    The total number of remote backups.
    remote_backup_volume float
    The total capacity of remote backup.
    result_output_file str
    autoBackupCount Number
    The total number of automatic backups in the current region.
    autoBackupVolume Number
    The total automatic backup capacity of the current region.
    dataBackupArchiveCount Number
    The total number of archive backups in the current region.
    dataBackupArchiveVolume Number
    The total capacity of the current regional archive backup.
    dataBackupCount Number
    The total number of data backups in the current region.
    dataBackupStandbyCount Number
    The total number of standard storage backups in the current region.
    dataBackupStandbyVolume Number
    The total backup capacity of the current regional standard storage.
    dataBackupVolume Number
    Total data backup capacity of the current region (including automatic backup and manual backup, in bytes).
    id String
    manualBackupCount Number
    The total number of manual backups in the current region.
    manualBackupVolume Number
    The total manual backup capacity of the current region.
    product String
    remoteBackupCount Number
    The total number of remote backups.
    remoteBackupVolume Number
    The total capacity of remote backup.
    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