@PLUGIN@ list - List remote destination information.
ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list [--remote <PATTERN>] [--detail] [--json]
Lists the name and URL for remote destinations.
Caller must be a member of the privileged ‘Administrators’ group.
This command is intended to be used in scripts.
--remote <PATTERN>
: Only print information for destinations whose remote name matches the PATTERN
.
--detail
: Print additional detailed information: AdminUrl, AuthGroup, Project and queue (pending and in-flight).
--json
: Output in json format.
List all destinations:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list
List all destinations detail information:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --detail
List all destinations detail information in json format:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --detail --json
List destinations whose name contains mirror:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --remote mirror $ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --remote ^.*mirror.*