tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCynosdbRollbackTimeRange
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 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:
- Cluster
Id string - Cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- Cluster
Id string - Cluster ID.
- Id string
- Result
Output stringFile - Used to save results.
- cluster
Id String - Cluster ID.
- id String
- result
Output StringFile - Used to save results.
- cluster
Id string - Cluster ID.
- id string
- result
Output stringFile - Used to save results.
- cluster_
id str - Cluster ID.
- id str
- result_
output_ strfile - Used to save results.
- cluster
Id String - Cluster ID.
- id String
- result
Output StringFile - Used to save results.
getCynosdbRollbackTimeRange Result
The following output properties are available:
- Cluster
Id string - Id string
- Rollback
Time List<GetRanges Cynosdb Rollback Time Range Rollback Time Range> - Reversible time range.
- Time
Range stringEnd - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- Time
Range stringStart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- Result
Output stringFile
- Cluster
Id string - Id string
- Rollback
Time []GetRanges Cynosdb Rollback Time Range Rollback Time Range - Reversible time range.
- Time
Range stringEnd - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- Time
Range stringStart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- Result
Output stringFile
- cluster
Id String - id String
- rollback
Time List<GetRanges Cynosdb Rollback Time Range Rollback Time Range> - Reversible time range.
- time
Range StringEnd - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time
Range StringStart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- result
Output StringFile
- cluster
Id string - id string
- rollback
Time GetRanges Cynosdb Rollback Time Range Rollback Time Range[] - Reversible time range.
- time
Range stringEnd - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time
Range stringStart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- result
Output stringFile
- cluster_
id str - id str
- rollback_
time_ Sequence[Getranges Cynosdb Rollback Time Range Rollback Time Range] - Reversible time range.
- time_
range_ strend - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time_
range_ strstart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- result_
output_ strfile
- cluster
Id String - id String
- rollback
Time List<Property Map>Ranges - Reversible time range.
- time
Range StringEnd - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time
Range StringStart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- result
Output StringFile
Supporting Types
GetCynosdbRollbackTimeRangeRollbackTimeRange
- Time
Range stringEnd - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- Time
Range stringStart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- Time
Range stringEnd - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- Time
Range stringStart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time
Range StringEnd - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time
Range StringStart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time
Range stringEnd - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time
Range stringStart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time_
range_ strend - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time_
range_ strstart - Effective regression time range start time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time
Range StringEnd - Effective regression time range end time point (obsolete) Note: This field may return null, indicating that a valid value cannot be obtained.
- time
Range StringStart - 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 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack