1. Packages
  2. Volcengine
  3. API Docs
  4. rds_postgresql
  5. ReplicationSlots
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
volcengine logo
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
    Deprecated: volcengine.rds_postgresql.ReplicationSlots has been deprecated in favor of volcengine.rds_postgresql.getReplicationSlots

    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 ReplicationSlots

    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 replicationSlots(args: ReplicationSlotsArgs, opts?: InvokeOptions): Promise<ReplicationSlotsResult>
    function replicationSlotsOutput(args: ReplicationSlotsOutputArgs, opts?: InvokeOptions): Output<ReplicationSlotsResult>
    def 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) -> ReplicationSlotsResult
    def 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[ReplicationSlotsResult]
    func ReplicationSlots(ctx *Context, args *ReplicationSlotsArgs, opts ...InvokeOption) (*ReplicationSlotsResult, error)
    func ReplicationSlotsOutput(ctx *Context, args *ReplicationSlotsOutputArgs, opts ...InvokeOption) ReplicationSlotsResultOutput
    public static class ReplicationSlots 
    {
        public static Task<ReplicationSlotsResult> InvokeAsync(ReplicationSlotsArgs args, InvokeOptions? opts = null)
        public static Output<ReplicationSlotsResult> Invoke(ReplicationSlotsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ReplicationSlotsResult> replicationSlots(ReplicationSlotsArgs args, InvokeOptions options)
    public static Output<ReplicationSlotsResult> replicationSlots(ReplicationSlotsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_postgresql:ReplicationSlots
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    The id of the PostgreSQL instance.
    DataBase string
    The database where the replication slot is located.
    IpAddress string
    The ip address.
    OutputFile 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.
    SlotName string
    The name of the slot.
    SlotStatus string
    The status of the replication slot: ACTIVE or INACTIVE.
    SlotType string
    The type of the slot: physical or logical.
    Temporary bool
    Whether the slot is temporary.
    InstanceId string
    The id of the PostgreSQL instance.
    DataBase string
    The database where the replication slot is located.
    IpAddress string
    The ip address.
    OutputFile 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.
    SlotName string
    The name of the slot.
    SlotStatus string
    The status of the replication slot: ACTIVE or INACTIVE.
    SlotType string
    The type of the slot: physical or logical.
    Temporary bool
    Whether the slot is temporary.
    instanceId String
    The id of the PostgreSQL instance.
    dataBase String
    The database where the replication slot is located.
    ipAddress String
    The ip address.
    outputFile 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.
    slotName String
    The name of the slot.
    slotStatus String
    The status of the replication slot: ACTIVE or INACTIVE.
    slotType String
    The type of the slot: physical or logical.
    temporary Boolean
    Whether the slot is temporary.
    instanceId string
    The id of the PostgreSQL instance.
    dataBase string
    The database where the replication slot is located.
    ipAddress string
    The ip address.
    outputFile 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.
    slotName string
    The name of the slot.
    slotStatus string
    The status of the replication slot: ACTIVE or INACTIVE.
    slotType 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.
    instanceId String
    The id of the PostgreSQL instance.
    dataBase String
    The database where the replication slot is located.
    ipAddress String
    The ip address.
    outputFile 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.
    slotName String
    The name of the slot.
    slotStatus String
    The status of the replication slot: ACTIVE or INACTIVE.
    slotType String
    The type of the slot: physical or logical.
    temporary Boolean
    Whether the slot is temporary.

    ReplicationSlots Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    ReplicationSlots List<ReplicationSlotsReplicationSlot>
    Replication slots under the specified query conditions in the instance.
    TotalCount int
    The total count of query.
    DataBase string
    IpAddress string
    OutputFile string
    Plugin string
    The name of the plugin used by the logical replication slot to parse WAL logs.
    SlotName string
    The name of the slot.
    SlotStatus string
    SlotType string
    The type of the slot: physical or logical.
    Temporary bool
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    ReplicationSlots []ReplicationSlotsReplicationSlot
    Replication slots under the specified query conditions in the instance.
    TotalCount int
    The total count of query.
    DataBase string
    IpAddress string
    OutputFile string
    Plugin string
    The name of the plugin used by the logical replication slot to parse WAL logs.
    SlotName string
    The name of the slot.
    SlotStatus string
    SlotType string
    The type of the slot: physical or logical.
    Temporary bool
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    replicationSlots List<ReplicationSlotsReplicationSlot>
    Replication slots under the specified query conditions in the instance.
    totalCount Integer
    The total count of query.
    dataBase String
    ipAddress String
    outputFile String
    plugin String
    The name of the plugin used by the logical replication slot to parse WAL logs.
    slotName String
    The name of the slot.
    slotStatus String
    slotType String
    The type of the slot: physical or logical.
    temporary Boolean
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    replicationSlots ReplicationSlotsReplicationSlot[]
    Replication slots under the specified query conditions in the instance.
    totalCount number
    The total count of query.
    dataBase string
    ipAddress string
    outputFile string
    plugin string
    The name of the plugin used by the logical replication slot to parse WAL logs.
    slotName string
    The name of the slot.
    slotStatus string
    slotType 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[ReplicationSlotsReplicationSlot]
    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.
    instanceId String
    replicationSlots List<Property Map>
    Replication slots under the specified query conditions in the instance.
    totalCount Number
    The total count of query.
    dataBase String
    ipAddress String
    outputFile String
    plugin String
    The name of the plugin used by the logical replication slot to parse WAL logs.
    slotName String
    The name of the slot.
    slotStatus String
    slotType String
    The type of the slot: physical or logical.
    temporary Boolean

    Supporting Types

    ReplicationSlotsReplicationSlot

    Plugin string
    The name of the plugin used by the logical replication slot to parse WAL logs.
    SlotName string
    The name of the slot.
    SlotType string
    The type of the slot: physical or logical.
    DataBase string
    The database where the replication slot is located.
    IpAddress string
    The ip address.
    SlotStatus string
    The status of the replication slot: ACTIVE or INACTIVE.
    Temporary bool
    Whether the slot is temporary.
    WalDelay 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.
    SlotName string
    The name of the slot.
    SlotType string
    The type of the slot: physical or logical.
    DataBase string
    The database where the replication slot is located.
    IpAddress string
    The ip address.
    SlotStatus string
    The status of the replication slot: ACTIVE or INACTIVE.
    Temporary bool
    Whether the slot is temporary.
    WalDelay 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.
    slotName String
    The name of the slot.
    slotType String
    The type of the slot: physical or logical.
    dataBase String
    The database where the replication slot is located.
    ipAddress String
    The ip address.
    slotStatus String
    The status of the replication slot: ACTIVE or INACTIVE.
    temporary Boolean
    Whether the slot is temporary.
    walDelay 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.
    slotName string
    The name of the slot.
    slotType string
    The type of the slot: physical or logical.
    dataBase string
    The database where the replication slot is located.
    ipAddress string
    The ip address.
    slotStatus string
    The status of the replication slot: ACTIVE or INACTIVE.
    temporary boolean
    Whether the slot is temporary.
    walDelay 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.
    slotName String
    The name of the slot.
    slotType String
    The type of the slot: physical or logical.
    dataBase String
    The database where the replication slot is located.
    ipAddress String
    The ip address.
    slotStatus String
    The status of the replication slot: ACTIVE or INACTIVE.
    temporary Boolean
    Whether the slot is temporary.
    walDelay 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 volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate