There is a command group 'az_iot_central_diagnostics'. This group of commands could 'perform application and device level diagnostics'. The group of commands has global parameter '--debug' which means 'Increase logging verbosity to show all debug logs.'. The group of commands has global parameter '--help -h' which means 'Show this help message and exit.'. The group of commands has global parameter '--only-show-errors' which means 'Only show errors, suppressing warnings.'. The group of commands has global parameter '--output -o' which means 'Output format.'. The group of commands has global parameter '--query' which means 'JMESPath query string. See <a href="http://jmespath.org/">http://jmespath.org/</a> for more information and examples.'. The group of commands has global parameter '--subscription' which means 'Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.'. The group of commands has global parameter '--verbose' which means 'Increase logging verbosity. Use --debug for full debug logs.'. This group contains a child command 'az_iot_central_diagnostics_validate messages'.The syntax is: az iot central diagnostics validate-messages --app-id
                                             [--central-api-uri]
                                             [--cg]
                                             [--device-id]
                                             [--dr]
                                             [--enqueued-time]
                                             [--max-messages]
                                             [--minimum-severity {error, info, warning}]
                                             [--module-id]
                                             [--properties {all, anno, app, sys}]
                                             [--repair {false, true}]
                                             [--style {csv, json, scroll}]
                                             [--timeout]
                                             [--token]
                                             [--yes {false, true}]. The 1th example of the child command would be to use it to 'basic usage', the syntax is: az iot central diagnostics validate-messages --app-id {app_id}. The 2th example of the child command would be to use it to 'output errors as they are detected', the syntax is: az iot central diagnostics validate-messages --app-id {app_id} --style scroll. The 3th example of the child command would be to use it to 'basic usage when filtering on target device', the syntax is: az iot central diagnostics validate-messages --app-id {app_id} -d {device_id}. The 4th example of the child command would be to use it to 'basic usage when filtering targeted devices with a wildcard in the id', the syntax is: az iot central diagnostics validate-messages --app-id {app_id} -d Device*. The 5th example of the child command would be to use it to 'basic usage when filtering on module', the syntax is: az iot central diagnostics validate-messages --app-id {app_id} -m {module_id}. The 6th example of the child command would be to use it to 'basic usage when filtering targeted modules with a wildcard in the id', the syntax is: az iot central diagnostics validate-messages --app-id {app_id} -m Module*. The 7th example of the child command would be to use it to 'filter device and specify an event hub consumer group to bind to', the syntax is: az iot central diagnostics validate-messages --app-id {app_id} -d {device_id} --cg {consumer_group_name}. The parameter '--app-id -n' is required. It is used to the app id of the iot central app you want to manage. you can find the app id in the "about" page for your application under the help menu.. The parameter '--central-api-uri --central-dns-suffix' is optional. the iot central dns suffix associated with your application.. The parameter '--cg --consumer-group -c' is optional. specify the consumer group to use when connecting to event hub endpoint.. The parameter '--device-id -d' is optional. the device id of the target device.you can find the device id by, clicking on the connect button on the device details page.. The parameter '--dr --duration' is optional. maximum duration to receive messages from target device before terminating connection.use 0 for infinity.. The parameter '--enqueued-time --et -e' is optional. indicates the time that should be used as a starting point to read messages from the partitions. units are milliseconds since unix epoch. if no time is indicated "now" is used.. The parameter '--max-messages --mm' is optional. maximum number of messages to recieve from target device before terminating connection.use 0 for infinity.. The parameter '--minimum-severity' is optional. minimum severity of issue required for reporting.. The parameter '--module-id -m' is optional. the iot edge module id if the device type is iot edge.. The parameter '--properties --props -p' is optional. indicate key message properties to output. sys = system properties, app = application properties, anno = annotations.. The parameter '--repair -r' is optional. reinstall uamqp dependency compatible with extension version. default: false.. The parameter '--style' is optional. indicate output stylescroll = deliver errors as they arrive, json = summarize results as json, csv = summarize results as csv.. The parameter '--timeout --to -t' is optional. maximum seconds to maintain connection without receiving message. use 0 for infinity.. The parameter '--token' is optional. if you'd prefer to submit your request without authenticating against the azure cli, you can specify a valid user token to authenticate your request. you must specify the type of key as part of the request. learn more at https://aka.ms/iotcentraldocsapi.. The parameter '--yes -y' is optional. skip user prompts. indicates acceptance of action. used primarily for automation scenarios. default: false.. 