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 replication slots
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const example = volcengine.rds_postgresql.getReplicationSlots({
instanceId: "postgres-72715e0d9f58",
slotName: "my_standby_slot1",
slotStatus: "INACTIVE",
slotType: "physical",
});
import pulumi
import pulumi_volcengine as volcengine
example = volcengine.rds_postgresql.get_replication_slots(instance_id="postgres-72715e0d9f58",
slot_name="my_standby_slot1",
slot_status="INACTIVE",
slot_type="physical")
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.GetReplicationSlots(ctx, &rds_postgresql.GetReplicationSlotsArgs{
InstanceId: "postgres-72715e0d9f58",
SlotName: pulumi.StringRef("my_standby_slot1"),
SlotStatus: pulumi.StringRef("INACTIVE"),
SlotType: pulumi.StringRef("physical"),
}, 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.GetReplicationSlots.Invoke(new()
{
InstanceId = "postgres-72715e0d9f58",
SlotName = "my_standby_slot1",
SlotStatus = "INACTIVE",
SlotType = "physical",
});
});
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.GetReplicationSlotsArgs;
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.getReplicationSlots(GetReplicationSlotsArgs.builder()
.instanceId("postgres-72715e0d9f58")
.slotName("my_standby_slot1")
.slotStatus("INACTIVE")
.slotType("physical")
.build());
}
}
variables:
example:
fn::invoke:
Function: volcengine:rds_postgresql:getReplicationSlots
Arguments:
instanceId: postgres-72715e0d9f58
slotName: my_standby_slot1
slotStatus: INACTIVE
slotType: physical
Using getReplicationSlots
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 getReplicationSlots(args: GetReplicationSlotsArgs, opts?: InvokeOptions): Promise<GetReplicationSlotsResult>
function getReplicationSlotsOutput(args: GetReplicationSlotsOutputArgs, opts?: InvokeOptions): Output<GetReplicationSlotsResult>def get_replication_slots(data_base: Optional[str] = None,
instance_id: Optional[str] = None,
ip_address: Optional[str] = None,
output_file: Optional[str] = None,
plugin: Optional[str] = None,
slot_name: Optional[str] = None,
slot_status: Optional[str] = None,
slot_type: Optional[str] = None,
temporary: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetReplicationSlotsResult
def get_replication_slots_output(data_base: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
ip_address: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
plugin: Optional[pulumi.Input[str]] = None,
slot_name: Optional[pulumi.Input[str]] = None,
slot_status: Optional[pulumi.Input[str]] = None,
slot_type: Optional[pulumi.Input[str]] = None,
temporary: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetReplicationSlotsResult]func GetReplicationSlots(ctx *Context, args *GetReplicationSlotsArgs, opts ...InvokeOption) (*GetReplicationSlotsResult, error)
func GetReplicationSlotsOutput(ctx *Context, args *GetReplicationSlotsOutputArgs, opts ...InvokeOption) GetReplicationSlotsResultOutput> Note: This function is named GetReplicationSlots in the Go SDK.
public static class GetReplicationSlots
{
public static Task<GetReplicationSlotsResult> InvokeAsync(GetReplicationSlotsArgs args, InvokeOptions? opts = null)
public static Output<GetReplicationSlotsResult> Invoke(GetReplicationSlotsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetReplicationSlotsResult> getReplicationSlots(GetReplicationSlotsArgs args, InvokeOptions options)
public static Output<GetReplicationSlotsResult> getReplicationSlots(GetReplicationSlotsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_postgresql/getReplicationSlots:getReplicationSlots
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - The id of the PostgreSQL instance.
- Data
Base string - The database where the replication slot is located.
- Ip
Address string - The ip address.
- Output
File string - File name where to save data source results.
- Plugin string
- The name of the plugin used by the logical replication slot to parse WAL logs.
- Slot
Name string - The name of the slot.
- Slot
Status string - The status of the replication slot: ACTIVE or INACTIVE.
- Slot
Type string - The type of the slot: physical or logical.
- Temporary bool
- Whether the slot is temporary.
- Instance
Id string - The id of the PostgreSQL instance.
- Data
Base string - The database where the replication slot is located.
- Ip
Address string - The ip address.
- Output
File string - File name where to save data source results.
- Plugin string
- The name of the plugin used by the logical replication slot to parse WAL logs.
- Slot
Name string - The name of the slot.
- Slot
Status string - The status of the replication slot: ACTIVE or INACTIVE.
- Slot
Type string - The type of the slot: physical or logical.
- Temporary bool
- Whether the slot is temporary.
- instance
Id String - The id of the PostgreSQL instance.
- data
Base String - The database where the replication slot is located.
- ip
Address String - The ip address.
- output
File String - File name where to save data source results.
- plugin String
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot
Name String - The name of the slot.
- slot
Status String - The status of the replication slot: ACTIVE or INACTIVE.
- slot
Type String - The type of the slot: physical or logical.
- temporary Boolean
- Whether the slot is temporary.
- instance
Id string - The id of the PostgreSQL instance.
- data
Base string - The database where the replication slot is located.
- ip
Address string - The ip address.
- output
File string - File name where to save data source results.
- plugin string
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot
Name string - The name of the slot.
- slot
Status string - The status of the replication slot: ACTIVE or INACTIVE.
- slot
Type string - The type of the slot: physical or logical.
- temporary boolean
- Whether the slot is temporary.
- instance_
id str - The id of the PostgreSQL instance.
- data_
base str - The database where the replication slot is located.
- ip_
address str - The ip address.
- output_
file str - File name where to save data source results.
- plugin str
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot_
name str - The name of the slot.
- slot_
status str - The status of the replication slot: ACTIVE or INACTIVE.
- slot_
type str - The type of the slot: physical or logical.
- temporary bool
- Whether the slot is temporary.
- instance
Id String - The id of the PostgreSQL instance.
- data
Base String - The database where the replication slot is located.
- ip
Address String - The ip address.
- output
File String - File name where to save data source results.
- plugin String
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot
Name String - The name of the slot.
- slot
Status String - The status of the replication slot: ACTIVE or INACTIVE.
- slot
Type String - The type of the slot: physical or logical.
- temporary Boolean
- Whether the slot is temporary.
getReplicationSlots Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Replication
Slots List<GetReplication Slots Replication Slot> - Replication slots under the specified query conditions in the instance.
- Total
Count int - The total count of query.
- Data
Base string - Ip
Address string - Output
File string - Plugin string
- The name of the plugin used by the logical replication slot to parse WAL logs.
- Slot
Name string - The name of the slot.
- Slot
Status string - Slot
Type string - The type of the slot: physical or logical.
- Temporary bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Replication
Slots []GetReplication Slots Replication Slot - Replication slots under the specified query conditions in the instance.
- Total
Count int - The total count of query.
- Data
Base string - Ip
Address string - Output
File string - Plugin string
- The name of the plugin used by the logical replication slot to parse WAL logs.
- Slot
Name string - The name of the slot.
- Slot
Status string - Slot
Type string - The type of the slot: physical or logical.
- Temporary bool
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - replication
Slots List<GetReplication Slots Replication Slot> - Replication slots under the specified query conditions in the instance.
- total
Count Integer - The total count of query.
- data
Base String - ip
Address String - output
File String - plugin String
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot
Name String - The name of the slot.
- slot
Status String - slot
Type String - The type of the slot: physical or logical.
- temporary Boolean
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - replication
Slots GetReplication Slots Replication Slot[] - Replication slots under the specified query conditions in the instance.
- total
Count number - The total count of query.
- data
Base string - ip
Address string - output
File string - plugin string
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot
Name string - The name of the slot.
- slot
Status string - slot
Type string - The type of the slot: physical or logical.
- temporary boolean
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - replication_
slots Sequence[GetReplication Slots Replication Slot] - Replication slots under the specified query conditions in the instance.
- total_
count int - The total count of query.
- data_
base str - ip_
address str - output_
file str - plugin str
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot_
name str - The name of the slot.
- slot_
status str - slot_
type str - The type of the slot: physical or logical.
- temporary bool
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - replication
Slots List<Property Map> - Replication slots under the specified query conditions in the instance.
- total
Count Number - The total count of query.
- data
Base String - ip
Address String - output
File String - plugin String
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot
Name String - The name of the slot.
- slot
Status String - slot
Type String - The type of the slot: physical or logical.
- temporary Boolean
Supporting Types
GetReplicationSlotsReplicationSlot
- Plugin string
- The name of the plugin used by the logical replication slot to parse WAL logs.
- Slot
Name string - The name of the slot.
- Slot
Type string - The type of the slot: physical or logical.
- Data
Base string - The database where the replication slot is located.
- Ip
Address string - The ip address.
- Slot
Status string - The status of the replication slot: ACTIVE or INACTIVE.
- Temporary bool
- Whether the slot is temporary.
- Wal
Delay int - The cumulative WAL log volume corresponding to this replication slot. The unit is Byte.
- Plugin string
- The name of the plugin used by the logical replication slot to parse WAL logs.
- Slot
Name string - The name of the slot.
- Slot
Type string - The type of the slot: physical or logical.
- Data
Base string - The database where the replication slot is located.
- Ip
Address string - The ip address.
- Slot
Status string - The status of the replication slot: ACTIVE or INACTIVE.
- Temporary bool
- Whether the slot is temporary.
- Wal
Delay int - The cumulative WAL log volume corresponding to this replication slot. The unit is Byte.
- plugin String
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot
Name String - The name of the slot.
- slot
Type String - The type of the slot: physical or logical.
- data
Base String - The database where the replication slot is located.
- ip
Address String - The ip address.
- slot
Status String - The status of the replication slot: ACTIVE or INACTIVE.
- temporary Boolean
- Whether the slot is temporary.
- wal
Delay Integer - The cumulative WAL log volume corresponding to this replication slot. The unit is Byte.
- plugin string
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot
Name string - The name of the slot.
- slot
Type string - The type of the slot: physical or logical.
- data
Base string - The database where the replication slot is located.
- ip
Address string - The ip address.
- slot
Status string - The status of the replication slot: ACTIVE or INACTIVE.
- temporary boolean
- Whether the slot is temporary.
- wal
Delay number - The cumulative WAL log volume corresponding to this replication slot. The unit is Byte.
- plugin str
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot_
name str - The name of the slot.
- slot_
type str - The type of the slot: physical or logical.
- data_
base str - The database where the replication slot is located.
- ip_
address str - The ip address.
- slot_
status str - The status of the replication slot: ACTIVE or INACTIVE.
- temporary bool
- Whether the slot is temporary.
- wal_
delay int - The cumulative WAL log volume corresponding to this replication slot. The unit is Byte.
- plugin String
- The name of the plugin used by the logical replication slot to parse WAL logs.
- slot
Name String - The name of the slot.
- slot
Type String - The type of the slot: physical or logical.
- data
Base String - The database where the replication slot is located.
- ip
Address String - The ip address.
- slot
Status String - The status of the replication slot: ACTIVE or INACTIVE.
- temporary Boolean
- Whether the slot is temporary.
- wal
Delay Number - The cumulative WAL log volume corresponding to this replication slot. The unit is Byte.
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
