Create a generic AOF event for API rules processing
Usage
zowe ops create event <eventCode> <eventText> [options]
Positional Arguments
-
eventCode
(string)
- The event code that is passed, upper-cased, to API rules in the AOF variable API.ID. This code can be up to 10 characters long.
-
eventText
(string)
- The event text that is passed, unaltered, to API rules in the AOF variable API.TEXT. This text can be up to 255 characters long.
OPS/MVS Web Services / REST API connection options
-
--user
(string)
- Your z/OS user name that is used to authenticate to OPS/MVS Web Services / REST API.
-
--password
| --pass
(string)
- Your z/OS password that is used to authenticate to OPS/MVS Web Services / REST API.
-
--host
(string)
- The hostname of the server where OPS/MVS Web Services / REST API is running.
-
--port
| -p
(number)
- The port number for OPS/MVS Web Services / REST API.
-
--reject-unauthorized
| --ru
(boolean)
-
--protocol
| --prot
(string)
-
The protocol that is used for connecting to OPS/MVS Web Services / REST API.
Default value: https
Allowed values: http, https
-
--subsystem
| --subs
(string)
-
--rest-api
| --ra
(boolean)
-
--base-path
| --bp
(string)
- NOTE: This can only be used with the REST API server. The base path for your Zowe API Mediation Layer instance. Specify this option to prepend the base path to all resources when making REST requests. Only specify this option if you are using an Zowe API Mediation Layer.
Profile Options
Base Connection Options
-
--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.
Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs.
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication
Examples