List
List namespaces with paging
List
List namespaces with paging
yaml
type: io.kestra.plugin.kestra.namespaces.ListExamples
yaml
id: list_paginated_namespaces
namespace: company.team
tasks:
- id: list_namespaces_paged
type: io.kestra.plugin.kestra.namespaces.List
kestraUrl: http://localhost:8080
auth:
username: admin@kestra.io # pass your Kestra username as secret or KV pair
password: Admin1234 # pass your Kestra password as secret or KV pair
page: 1
size: 20
yaml
id: list_filtered_namespaces
namespace: company.team
tasks:
- id: list_dev_namespaces
type: io.kestra.plugin.kestra.namespaces.List
kestraUrl: https://cloud.kestra.io
auth:
username: admin@kestra.io # pass your Kestra username as secret or KV pair
password: Admin1234 # pass your Kestra password as secret or KV pair
tenantId: mytenant
prefix: dev.
existingOnly: true
yaml
id: list_all_namespaces
namespace: company.team
tasks:
- id: fetch_all_namespaces
type: io.kestra.plugin.kestra.namespaces.List
kestraUrl: http://localhost:8080
auth:
username: admin@kestra.io # pass your Kestra username as secret or KV pair
password: Admin1234 # pass your Kestra password as secret or KV pair
# No 'page' or 'size' properties to fetch all
Properties
auth Non-dynamic
Definitions
io.kestra.plugin.kestra.AbstractKestraTask-Auth
apiTokenstring
autobooleanstring
Default
truepasswordstring
usernamestring
existingOnly booleanstring
Default
falsekestraUrl string
page integerstring
prefix string
size integerstring
Default
10tenantId string
Outputs
namespaces array
SubTypestring