
Azure ListInstances
CertifiedList pg_durable instances
Azure ListInstances
List pg_durable instances
Queries df.list_instances(status, limit), with an optional status filter and row limit, and returns matching instances according to fetchType (FETCH or STORE).
type: io.kestra.plugin.azure.horizondb.durable.ListInstancesExamples
id: horizondb_durable_list_instances
namespace: company.team
inputs:
- id: host
type: STRING
tasks:
- id: list_running
type: io.kestra.plugin.azure.horizondb.durable.ListInstances
host: "{{ inputs.host }}"
port: 5432
database: mydb
username: "{{ secret('HORIZONDB_USERNAME') }}"
password: "{{ secret('HORIZONDB_PASSWORD') }}"
statusFilter: Running
fetchType: FETCH
Properties
database *Requiredstring
Database name
host *Requiredstring
HorizonDB server host
Hostname of the Azure HorizonDB server, without protocol or port (e.g. myserver.postgres.horizondb.azure.com).
clientId string
Azure client id
Used with tenantId/clientSecret for service principal authentication when useEntraId is true. Ignored otherwise.
clientSecret string
Azure client secret
Used with tenantId/clientId for service principal authentication when useEntraId is true. Ignored otherwise.
fetchSize integerstring
10000JDBC fetch size
Number of rows fetched per database round trip; only used for STORE mode.
fetchType string
FETCHSTOREFETCHFETCH_ONENONEResult fetching mode
STORE streams matching instances to internal storage (ION). Any other value (including the FETCH default) returns them as an in-memory list; FETCH_ONE and NONE are not treated specially by this task.
limit integerstring
1000Row limit
Maximum number of instances to return, passed as df.list_instances()'s own limit argument. Defaults to 1000 so this can't silently load an unbounded number of instances into memory (or into a STORE'd file); raise it explicitly if you need more in one call.
password string
Password
Required unless useEntraId is true.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
port integerstring
5432HorizonDB server port
Defaults to the standard PostgreSQL port.
ssl booleanstring
trueRequire TLS
When true (the default), the connection is rejected unless it is encrypted (sslmode=require). Set to false only for local development against a non-TLS instance.
statusFilter string
Status filter
Optional status to filter instances by (e.g. Running, Completed, Failed, Cancelled). Passed as df.list_instances()'s own status argument. When empty, all instances (up to limit) are returned.
tenantId string
Azure tenant id
Used with clientId/clientSecret for service principal authentication when useEntraId is true. Ignored otherwise.
useEntraId booleanstring
falseAuthenticate with Azure Entra ID
When true, authenticates using Azure Entra ID (via the Azure Identity Extensions JDBC plugin) instead of a static password. With no further properties set, this falls back to whatever DefaultAzureCredential resolves on the worker (managed identity, environment variables, Azure CLI login, etc.); set tenantId/clientId/clientSecret below to authenticate as a specific service principal instead.
username string
Username
Required unless useEntraId is true and the Entra ID token carries the identity.
Outputs
instances array
Matching instances
Only populated when fetchType is FETCH.
size integer
Number of matching instances
uri string
uriURI of stored results in internal storage
Only populated when fetchType is STORE; stored using ION format.