Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
Use this data source to query detailed information of rds postgresql instance recoverable times
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const example = volcengine.rds_postgresql.getInstanceRecoverableTimes({
instanceId: "postgres-72715e0d9f58",
});
import pulumi
import pulumi_volcengine as volcengine
example = volcengine.rds_postgresql.get_instance_recoverable_times(instance_id="postgres-72715e0d9f58")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_postgresql"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := rds_postgresql.GetInstanceRecoverableTimes(ctx, &rds_postgresql.GetInstanceRecoverableTimesArgs{
InstanceId: "postgres-72715e0d9f58",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var example = Volcengine.Rds_postgresql.GetInstanceRecoverableTimes.Invoke(new()
{
InstanceId = "postgres-72715e0d9f58",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.rds_postgresql.Rds_postgresqlFunctions;
import com.pulumi.volcengine.rds_postgresql.inputs.GetInstanceRecoverableTimesArgs;
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 example = Rds_postgresqlFunctions.getInstanceRecoverableTimes(GetInstanceRecoverableTimesArgs.builder()
.instanceId("postgres-72715e0d9f58")
.build());
}
}
variables:
example:
fn::invoke:
Function: volcengine:rds_postgresql:getInstanceRecoverableTimes
Arguments:
instanceId: postgres-72715e0d9f58
Using getInstanceRecoverableTimes
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 getInstanceRecoverableTimes(args: GetInstanceRecoverableTimesArgs, opts?: InvokeOptions): Promise<GetInstanceRecoverableTimesResult>
function getInstanceRecoverableTimesOutput(args: GetInstanceRecoverableTimesOutputArgs, opts?: InvokeOptions): Output<GetInstanceRecoverableTimesResult>def get_instance_recoverable_times(instance_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceRecoverableTimesResult
def get_instance_recoverable_times_output(instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceRecoverableTimesResult]func GetInstanceRecoverableTimes(ctx *Context, args *GetInstanceRecoverableTimesArgs, opts ...InvokeOption) (*GetInstanceRecoverableTimesResult, error)
func GetInstanceRecoverableTimesOutput(ctx *Context, args *GetInstanceRecoverableTimesOutputArgs, opts ...InvokeOption) GetInstanceRecoverableTimesResultOutput> Note: This function is named GetInstanceRecoverableTimes in the Go SDK.
public static class GetInstanceRecoverableTimes
{
public static Task<GetInstanceRecoverableTimesResult> InvokeAsync(GetInstanceRecoverableTimesArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceRecoverableTimesResult> Invoke(GetInstanceRecoverableTimesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceRecoverableTimesResult> getInstanceRecoverableTimes(GetInstanceRecoverableTimesArgs args, InvokeOptions options)
public static Output<GetInstanceRecoverableTimesResult> getInstanceRecoverableTimes(GetInstanceRecoverableTimesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_postgresql/getInstanceRecoverableTimes:getInstanceRecoverableTimes
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - The id of the Postgresql instance.
- Output
File string - File name where to save data source results.
- Instance
Id string - The id of the Postgresql instance.
- Output
File string - File name where to save data source results.
- instance
Id String - The id of the Postgresql instance.
- output
File String - File name where to save data source results.
- instance
Id string - The id of the Postgresql instance.
- output
File string - File name where to save data source results.
- instance_
id str - The id of the Postgresql instance.
- output_
file str - File name where to save data source results.
- instance
Id String - The id of the Postgresql instance.
- output
File String - File name where to save data source results.
getInstanceRecoverableTimes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Recoverable
Time List<GetInfos Instance Recoverable Times Recoverable Time Info> - The earliest and latest recoverable times of the instance (UTC time). If it is empty, it indicates that the instance is currently unrecoverable.
- Total
Count int - The total count of query.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Recoverable
Time []GetInfos Instance Recoverable Times Recoverable Time Info - The earliest and latest recoverable times of the instance (UTC time). If it is empty, it indicates that the instance is currently unrecoverable.
- Total
Count int - The total count of query.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - recoverable
Time List<GetInfos Instance Recoverable Times Recoverable Time Info> - The earliest and latest recoverable times of the instance (UTC time). If it is empty, it indicates that the instance is currently unrecoverable.
- total
Count Integer - The total count of query.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - recoverable
Time GetInfos Instance Recoverable Times Recoverable Time Info[] - The earliest and latest recoverable times of the instance (UTC time). If it is empty, it indicates that the instance is currently unrecoverable.
- total
Count number - The total count of query.
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - recoverable_
time_ Sequence[Getinfos Instance Recoverable Times Recoverable Time Info] - The earliest and latest recoverable times of the instance (UTC time). If it is empty, it indicates that the instance is currently unrecoverable.
- total_
count int - The total count of query.
- output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - recoverable
Time List<Property Map>Infos - The earliest and latest recoverable times of the instance (UTC time). If it is empty, it indicates that the instance is currently unrecoverable.
- total
Count Number - The total count of query.
- output
File String
Supporting Types
GetInstanceRecoverableTimesRecoverableTimeInfo
- Earliest
Recoverable stringTime - The earliest recoverable time of the instance (UTC time).
- Latest
Recoverable stringTime - The latest recoverable time of the instance (UTC time).
- Earliest
Recoverable stringTime - The earliest recoverable time of the instance (UTC time).
- Latest
Recoverable stringTime - The latest recoverable time of the instance (UTC time).
- earliest
Recoverable StringTime - The earliest recoverable time of the instance (UTC time).
- latest
Recoverable StringTime - The latest recoverable time of the instance (UTC time).
- earliest
Recoverable stringTime - The earliest recoverable time of the instance (UTC time).
- latest
Recoverable stringTime - The latest recoverable time of the instance (UTC time).
- earliest_
recoverable_ strtime - The earliest recoverable time of the instance (UTC time).
- latest_
recoverable_ strtime - The latest recoverable time of the instance (UTC time).
- earliest
Recoverable StringTime - The earliest recoverable time of the instance (UTC time).
- latest
Recoverable StringTime - The latest recoverable time of the instance (UTC time).
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
