Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.rds_postgresql.InstanceRecoverableTimes has been deprecated in favor of volcengine.rds_postgresql.getInstanceRecoverableTimes
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 InstanceRecoverableTimes
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 instanceRecoverableTimes(args: InstanceRecoverableTimesArgs, opts?: InvokeOptions): Promise<InstanceRecoverableTimesResult>
function instanceRecoverableTimesOutput(args: InstanceRecoverableTimesOutputArgs, opts?: InvokeOptions): Output<InstanceRecoverableTimesResult>def instance_recoverable_times(instance_id: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> InstanceRecoverableTimesResult
def instance_recoverable_times_output(instance_id: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[InstanceRecoverableTimesResult]func InstanceRecoverableTimes(ctx *Context, args *InstanceRecoverableTimesArgs, opts ...InvokeOption) (*InstanceRecoverableTimesResult, error)
func InstanceRecoverableTimesOutput(ctx *Context, args *InstanceRecoverableTimesOutputArgs, opts ...InvokeOption) InstanceRecoverableTimesResultOutputpublic static class InstanceRecoverableTimes
{
public static Task<InstanceRecoverableTimesResult> InvokeAsync(InstanceRecoverableTimesArgs args, InvokeOptions? opts = null)
public static Output<InstanceRecoverableTimesResult> Invoke(InstanceRecoverableTimesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<InstanceRecoverableTimesResult> instanceRecoverableTimes(InstanceRecoverableTimesArgs args, InvokeOptions options)
public static Output<InstanceRecoverableTimesResult> instanceRecoverableTimes(InstanceRecoverableTimesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_postgresql:InstanceRecoverableTimes
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.
InstanceRecoverableTimes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Recoverable
Time List<InstanceInfos 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 []InstanceInfos 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<InstanceInfos 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 InstanceInfos 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[Instanceinfos 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
InstanceRecoverableTimesRecoverableTimeInfo
- 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.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
