# replication.list_datasets

List datasets on remote side.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: transport

#### transport

Type: enum (of string)

Transport method to use for listing datasets.

##### Must be one of:

- "SSH"
- "SSH+NETCAT"
- "LOCAL"

##### Parameter 2: ssh_credentials

#### ssh_credentials

Default: null

Keychain credential ID for SSH access. `null` for local transport.

## Any of

Type: integer
Type: null

##

#### Result

Type: array of string

Array of dataset names available for replication.

No Additional Items

##### Each item of this array must be:

Type: string

Required roles: REPLICATION_TASK_WRITE