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

tencentcloud.getCynosdbRollbackTimeRange

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 cynosdb rollback_time_range

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const rollbackTimeRange = tencentcloud.getCynosdbRollbackTimeRange({
        clusterId: "cynosdbmysql-bws8h88b",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    rollback_time_range = tencentcloud.get_cynosdb_rollback_time_range(cluster_id="cynosdbmysql-bws8h88b")
    
    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.GetCynosdbRollbackTimeRange(ctx, &tencentcloud.GetCynosdbRollbackTimeRangeArgs{
    			ClusterId: "cynosdbmysql-bws8h88b",
    		}, 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 rollbackTimeRange = Tencentcloud.GetCynosdbRollbackTimeRange.Invoke(new()
        {
            ClusterId = "cynosdbmysql-bws8h88b",
        });
    
    });
    
    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.GetCynosdbRollbackTimeRangeArgs;
    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 rollbackTimeRange = TencentcloudFunctions.getCynosdbRollbackTimeRange(GetCynosdbRollbackTimeRangeArgs.builder()
                .clusterId("cynosdbmysql-bws8h88b")
                .build());
    
        }
    }
    
    variables:
      rollbackTimeRange:
        fn::invoke:
          function: tencentcloud:getCynosdbRollbackTimeRange
          arguments:
            clusterId: cynosdbmysql-bws8h88b
    

    Using getCynosdbRollbackTimeRange

    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 getCynosdbRollbackTimeRange(args: GetCynosdbRollbackTimeRangeArgs, opts?: InvokeOptions): Promise<GetCynosdbRollbackTimeRangeResult>
    function getCynosdbRollbackTimeRangeOutput(args: GetCynosdbRollbackTimeRangeOutputArgs, opts?: InvokeOptions): Output<GetCynosdbRollbackTimeRangeResult>
    def get_cynosdb_rollback_time_range(cluster_id: Optional[str] = None,
                                        id: Optional[str] = None,
                                        result_output_file: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetCynosdbRollbackTimeRangeResult
    def get_cynosdb_rollback_time_range_output(cluster_id: Optional[pulumi.Input[str]] = None,
                                        id: Optional[pulumi.Input[str]] = None,
                                        result_output_file: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetCynosdbRollbackTimeRangeResult]
    func GetCynosdbRollbackTimeRange(ctx *Context, args *GetCynosdbRollbackTimeRangeArgs, opts ...InvokeOption) (*GetCynosdbRollbackTimeRangeResult, error)
    func GetCynosdbRollbackTimeRangeOutput(ctx *Context, args *GetCynosdbRollbackTimeRangeOutputArgs, opts ...InvokeOption) GetCynosdbRollbackTimeRangeResultOutput

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

    public static class GetCynosdbRollbackTimeRange 
    {
        public static Task<GetCynosdbRollbackTimeRangeResult> InvokeAsync(GetCynosdbRollbackTimeRangeArgs args, InvokeOptions? opts = null)
        public static Output<GetCynosdbRollbackTimeRangeResult> Invoke(GetCynosdbRollbackTimeRangeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCynosdbRollbackTimeRangeResult> getCynosdbRollbackTimeRange(GetCynosdbRollbackTimeRangeArgs args, InvokeOptions options)
    public static Output<GetCynosdbRollbackTimeRangeResult> getCynosdbRollbackTimeRange(GetCynosdbRollbackTimeRangeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCynosdbRollbackTimeRange:getCynosdbRollbackTimeRange
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterId string
    Cluster ID.
    Id string
    ResultOutputFile string
    Used to save results.
    ClusterId string
    Cluster ID.
    Id string
    ResultOutputFile string
    Used to save results.
    clusterId String
    Cluster ID.
    id String
    resultOutputFile String
    Used to save results.
    clusterId string
    Cluster ID.
    id string
    resultOutputFile string
    Used to save results.
    cluster_id str
    Cluster ID.
    id str
    result_output_file str
    Used to save results.
    clusterId String
    Cluster ID.
    id String
    resultOutputFile String
    Used to save results.

    getCynosdbRollbackTimeRange Result

    The following output properties are available:

    ClusterId string
    Id string
    RollbackTimeRanges List<GetCynosdbRollbackTimeRangeRollbackTimeRange>
    Reversible time range.
    TimeRangeEnd string
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    TimeRangeStart string
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    ResultOutputFile string
    ClusterId string
    Id string
    RollbackTimeRanges []GetCynosdbRollbackTimeRangeRollbackTimeRange
    Reversible time range.
    TimeRangeEnd string
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    TimeRangeStart string
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    ResultOutputFile string
    clusterId String
    id String
    rollbackTimeRanges List<GetCynosdbRollbackTimeRangeRollbackTimeRange>
    Reversible time range.
    timeRangeEnd String
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    timeRangeStart String
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    resultOutputFile String
    clusterId string
    id string
    rollbackTimeRanges GetCynosdbRollbackTimeRangeRollbackTimeRange[]
    Reversible time range.
    timeRangeEnd string
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    timeRangeStart string
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    resultOutputFile string
    cluster_id str
    id str
    rollback_time_ranges Sequence[GetCynosdbRollbackTimeRangeRollbackTimeRange]
    Reversible time range.
    time_range_end str
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    time_range_start str
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    result_output_file str
    clusterId String
    id String
    rollbackTimeRanges List<Property Map>
    Reversible time range.
    timeRangeEnd String
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    timeRangeStart String
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    resultOutputFile String

    Supporting Types

    GetCynosdbRollbackTimeRangeRollbackTimeRange

    TimeRangeEnd string
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    TimeRangeStart string
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    TimeRangeEnd string
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    TimeRangeStart string
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    timeRangeEnd String
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    timeRangeStart String
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    timeRangeEnd string
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    timeRangeStart string
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    time_range_end str
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    time_range_start str
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    timeRangeEnd String
    Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
    timeRangeStart String
    Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.

    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