There is a command group 'az_iot_hub_state'. This group of commands could 'manage the state of an iot hub'. 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_hub_state_export'.The syntax is: az iot hub state export --state-file
                        [--aspects {arm, configurations, devices}]
                        [--auth-type {key, login}]
                        [--hub-name]
                        [--login]
                        [--replace]
                        [--resource-group]. The 1th example of the child command would be to use it to 'export the supported state of the specified hub to the specified file', the syntax is: az iot hub state export -n {iothub_name} -f {state_filename}. The 2th example of the child command would be to use it to 'export the supported state of the specified hub to the specified file  overwriting the file contents', the syntax is: az iot hub state export -n {iothub_name} -f {state_filename} -r. The 3th example of the child command would be to use it to 'export only the devices and configurations of the specified hub to the specified file', the syntax is: az iot hub state export -n {iothub_name} -f {state_filename} --aspects devices configurations. The parameter '--state-file -f' is required. It is used to the path to the file where the state information will be stored.. The parameter '--aspects' is optional. hub aspects (space-separated).. The parameter '--auth-type' is optional. indicates whether the operation should auto-derive a policy key or use the current azure ad session. if the authentication type is login and the resource hostname is provided, resource lookup will be skipped unless needed.you can configure the default using `az configure --defaults iothub-data-auth-type=<auth-type-value>`.. The parameter '--hub-name -n' is optional. iot hub name or hostname. required if --login is not provided.. The parameter '--login -l' is optional. this command supports an entity connection string with rights to perform action. use to avoid session login via "az login". if both an entity connection string and name are provided the connection string takes priority. required if --hub-name is not provided.. The parameter '--replace -r' is optional. if this flag is set, then the command will overwrite the contents of the output file.. The parameter '--resource-group -g' is optional. name of resource group. you can configure the default group using `az configure --defaults group=<name>`.. 