tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getMysqlBackupOverview
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 backup_overview
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const backupOverview = tencentcloud.getMysqlBackupOverview({
product: "mysql",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
backup_overview = tencentcloud.get_mysql_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.GetMysqlBackupOverview(ctx, &tencentcloud.GetMysqlBackupOverviewArgs{
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 backupOverview = Tencentcloud.GetMysqlBackupOverview.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.GetMysqlBackupOverviewArgs;
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 backupOverview = TencentcloudFunctions.getMysqlBackupOverview(GetMysqlBackupOverviewArgs.builder()
.product("mysql")
.build());
}
}
variables:
backupOverview:
fn::invoke:
function: tencentcloud:getMysqlBackupOverview
arguments:
product: mysql
Using getMysqlBackupOverview
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 getMysqlBackupOverview(args: GetMysqlBackupOverviewArgs, opts?: InvokeOptions): Promise<GetMysqlBackupOverviewResult>
function getMysqlBackupOverviewOutput(args: GetMysqlBackupOverviewOutputArgs, opts?: InvokeOptions): Output<GetMysqlBackupOverviewResult>
def get_mysql_backup_overview(id: Optional[str] = None,
product: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMysqlBackupOverviewResult
def get_mysql_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[GetMysqlBackupOverviewResult]
func GetMysqlBackupOverview(ctx *Context, args *GetMysqlBackupOverviewArgs, opts ...InvokeOption) (*GetMysqlBackupOverviewResult, error)
func GetMysqlBackupOverviewOutput(ctx *Context, args *GetMysqlBackupOverviewOutputArgs, opts ...InvokeOption) GetMysqlBackupOverviewResultOutput
> Note: This function is named GetMysqlBackupOverview
in the Go SDK.
public static class GetMysqlBackupOverview
{
public static Task<GetMysqlBackupOverviewResult> InvokeAsync(GetMysqlBackupOverviewArgs args, InvokeOptions? opts = null)
public static Output<GetMysqlBackupOverviewResult> Invoke(GetMysqlBackupOverviewInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMysqlBackupOverviewResult> getMysqlBackupOverview(GetMysqlBackupOverviewArgs args, InvokeOptions options)
public static Output<GetMysqlBackupOverviewResult> getMysqlBackupOverview(GetMysqlBackupOverviewArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMysqlBackupOverview:getMysqlBackupOverview
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.
getMysqlBackupOverview Result
The following output properties are available:
- Backup
Archive doubleVolume - Archive backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- Backup
Count double - The total number of user backups in the current region (including data backups and log backups).
- Backup
Standby doubleVolume - Standard storage backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- Backup
Volume double - The total backup capacity of the user in the current region.
- Billing
Volume double - The billable capacity of the user's backup in the current region, that is, the part that exceeds the gifted capacity.
- Free
Volume double - The free backup capacity obtained by the user in the current region.
- Id string
- Product string
- Remote
Backup doubleVolume - The total capacity of off-site backup of the user in the current region. Note: This field may return null, indicating that no valid value can be obtained.
- Result
Output stringFile
- Backup
Archive float64Volume - Archive backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- Backup
Count float64 - The total number of user backups in the current region (including data backups and log backups).
- Backup
Standby float64Volume - Standard storage backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- Backup
Volume float64 - The total backup capacity of the user in the current region.
- Billing
Volume float64 - The billable capacity of the user's backup in the current region, that is, the part that exceeds the gifted capacity.
- Free
Volume float64 - The free backup capacity obtained by the user in the current region.
- Id string
- Product string
- Remote
Backup float64Volume - The total capacity of off-site backup of the user in the current region. Note: This field may return null, indicating that no valid value can be obtained.
- Result
Output stringFile
- backup
Archive DoubleVolume - Archive backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- backup
Count Double - The total number of user backups in the current region (including data backups and log backups).
- backup
Standby DoubleVolume - Standard storage backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- backup
Volume Double - The total backup capacity of the user in the current region.
- billing
Volume Double - The billable capacity of the user's backup in the current region, that is, the part that exceeds the gifted capacity.
- free
Volume Double - The free backup capacity obtained by the user in the current region.
- id String
- product String
- remote
Backup DoubleVolume - The total capacity of off-site backup of the user in the current region. Note: This field may return null, indicating that no valid value can be obtained.
- result
Output StringFile
- backup
Archive numberVolume - Archive backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- backup
Count number - The total number of user backups in the current region (including data backups and log backups).
- backup
Standby numberVolume - Standard storage backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- backup
Volume number - The total backup capacity of the user in the current region.
- billing
Volume number - The billable capacity of the user's backup in the current region, that is, the part that exceeds the gifted capacity.
- free
Volume number - The free backup capacity obtained by the user in the current region.
- id string
- product string
- remote
Backup numberVolume - The total capacity of off-site backup of the user in the current region. Note: This field may return null, indicating that no valid value can be obtained.
- result
Output stringFile
- backup_
archive_ floatvolume - Archive backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- backup_
count float - The total number of user backups in the current region (including data backups and log backups).
- backup_
standby_ floatvolume - Standard storage backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- backup_
volume float - The total backup capacity of the user in the current region.
- billing_
volume float - The billable capacity of the user's backup in the current region, that is, the part that exceeds the gifted capacity.
- free_
volume float - The free backup capacity obtained by the user in the current region.
- id str
- product str
- remote_
backup_ floatvolume - The total capacity of off-site backup of the user in the current region. Note: This field may return null, indicating that no valid value can be obtained.
- result_
output_ strfile
- backup
Archive NumberVolume - Archive backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- backup
Count Number - The total number of user backups in the current region (including data backups and log backups).
- backup
Standby NumberVolume - Standard storage backup capacity, including data backup and log backup. Note: This field may return null, indicating that no valid value can be obtained.
- backup
Volume Number - The total backup capacity of the user in the current region.
- billing
Volume Number - The billable capacity of the user's backup in the current region, that is, the part that exceeds the gifted capacity.
- free
Volume Number - The free backup capacity obtained by the user in the current region.
- id String
- product String
- remote
Backup NumberVolume - The total capacity of off-site backup of the user in the current region. Note: This field may return null, indicating that no valid value can be obtained.
- 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