Hook command 'payload-register'

The information in this doc is based on Juju version 3.5.5, and may not accurately reflect other versions of Juju.

Summary

Register a charm payload with Juju.

Usage

payload-register [options] <type> <class> <id> [tags...]

Details

“payload-register” is used while a hook is running to let Juju know that a payload has been started. The information used to start the payload must be provided when “register” is run.

The payload class must correspond to one of the payloads defined in the charm’s metadata.yaml.