SubscriptionArgs class

The set of arguments for Subscription. The set of arguments for Subscription.

Constructors

SubscriptionArgs({required Input<String> conninfo, Input<bool>? createSlot, Input<String>? database, Input<String>? name, required Input<List<String>> publications, Input<String>? slotName})
Creates a new SubscriptionArgs. conninfo The connection string to the publisher. It should follow the keyword/value format createSlot Specifies whether the command should create the replication slot on the publisher. Default behavior is true database Which database to create the subscription on. Defaults to provider database. name The name of the publication. publications Names of the publications on the publisher to subscribe to slotName Name of the replication slot to use. The default behavior is to use the name of the subscription for the slot name
const
SubscriptionArgs.fromMap(Map<String, dynamic> map)
factory

Properties

conninfo → Input<String>
The connection string to the publisher. It should follow the keyword/value format
final
createSlot → Input<bool>?
Specifies whether the command should create the replication slot on the publisher. Default behavior is true
final
database → Input<String>?
Which database to create the subscription on. Defaults to provider database.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>?
The name of the publication.
final
publications → Input<List<String>>
Names of the publications on the publisher to subscribe to
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slotName → Input<String>?
Name of the replication slot to use. The default behavior is to use the name of the subscription for the slot name
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited