List all resources currently being automated and matching the specified filter options in a table.
Requires (min.): SA Operations API 1.0.0
Following Success Message can be returned by this command:
SACLI006300 - Listing resources success
Usage
zowe system-automation list resources [options]
Options
View group
Profile Options
Base Connection Options
-
--host
| -H
(string)
- Host name of service on the mainframe.
-
--port
| -P
(number)
- Port number of service on the mainframe.
-
--user
| -u
(string)
- User name to authenticate to service on the mainframe.
-
--password
| --pass
| --pw
(string)
- Password to authenticate to service on the mainframe.
-
--reject-unauthorized
| --ru
(boolean)
-
--token-type
| --tt
(string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value
| --tv
(string)
- The value of the token to pass to the API.
-
--cert-file
(local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication
Examples
-
List all resources:
zowe system-automation list resources
-
List all resources including their ID:
zowe system-automation list resources --showid
-
List all AVAILABLE resources including ID:
zowe system-automation list resources --observed=available --showid
-
List all resources where name is starting with WEB:
zowe system-automation list resources --name=WEB*