There is a command group 'az_iot_hub_message endpoint_create'. This group of commands could 'add an endpoint to 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_message endpoint_create_cosmosdb container'.The syntax is: az iot hub message-endpoint create cosmosdb-container --container
                                                      --database-name
                                                      --en
                                                      --hub-name
                                                      [--connection-string]
                                                      [--endpoint-account]
                                                      [--endpoint-resource-group]
                                                      [--endpoint-subscription-id]
                                                      [--endpoint-uri]
                                                      [--identity]
                                                      [--partition-key-name]
                                                      [--partition-key-template]
                                                      [--pk]
                                                      [--resource-group]
                                                      [--secondary-key]. The 1th example of the child command would be to use it to 'create a key based cosmos db container endpoint for an iot hub', the syntax is: az iot hub message-endpoint create cosmosdb-container -n {iothub_name} --en {endpoint_name} --container {container} --db {database} --endpoint-account {account_name}. The 2th example of the child command would be to use it to 'create a cosmos db container endpoint for an iot hub using a connection string', the syntax is: az iot hub message-endpoint create cosmosdb-container -n {iothub_name} --en {endpoint_name} -c {connection_string} --container {container} --db {database}. The 3th example of the child command would be to use it to 'create a cosmos db container endpoint for an iot hub using the specified primary key and endpoint uri', the syntax is: az iot hub message-endpoint create cosmosdb-container -n {iothub_name} --en {endpoint_name} --pk {primary_key} --endpoint-uri {endpoint_uri} --container {container} --db {database}. The 4th example of the child command would be to use it to 'create a cosmos db container endpoint for an iot hub using system assigned identity and a partition key name  the partition key template will be the default', the syntax is: az iot hub message-endpoint create cosmosdb-container -n {iothub_name} --en {endpoint_name} --endpoint-uri {endpoint_uri} --container {container} --db {database} --pkn {partition_key_name} --identity [system]. The 5th example of the child command would be to use it to 'create a cosmos db container endpoint for an iot hub using user assigned identity  partition key name  and partition key template', the syntax is: az iot hub message-endpoint create cosmosdb-container -n {iothub_name} --en {endpoint_name} --endpoint-uri {endpoint_uri} --container {container} --db {database} --pkn {partition_key_name} --pkt {partition_key_template} --identity {user_identity_resource_id}. The parameter '--container --container-name' is required. It is used to the name of the cosmos db sql container in the cosmos db database.. The parameter '--database-name --db' is required. It is used to the name of the cosmos db database in the cosmos db account.. The parameter '--en --endpoint --endpoint-name' is required. It is used to name of the routing endpoint.. The parameter '--hub-name -n' is required. It is used to iot hub name.. The parameter '--connection-string -c' is optional. connection string of the routing endpoint.. The parameter '--endpoint-account' is optional. the account name for the endpoint resource.. The parameter '--endpoint-resource-group --erg -r' is optional. resource group of the endpoint resoure. if not provided, the iot hub's resource group will be used.. The parameter '--endpoint-subscription-id -s' is optional. subscription id of the endpoint resource. if not provided, the iot hub's subscription will be used.. The parameter '--endpoint-uri' is optional. the uri of the endpoint resource.. The parameter '--identity' is optional. use a system-assigned or user-assigned managed identity for endpoint authentication. use "[system]" to refer to the system-assigned identity or a resource id to refer to a user-assigned identity.. The parameter '--partition-key-name --pkn' is optional. the name of the partition key associated with this cosmos db sql container if one exists.. The parameter '--partition-key-template --pkt' is optional. the template for generating a synthetic partition key value for use with this cosmos db sql container. the template must include at least one of the following placeholders: {iothub}, {deviceid}, {dd}, {mm}, and {yyyy}. any one placeholder may be specified at most once, but order and non-placeholder components are arbitrary. if partition key name is provided, partition key template defaults to {deviceid}-{yyyy}-{mm}.. The parameter '--pk --primary-key' is optional. the primary key of the cosmos db account.. The parameter '--resource-group -g' is optional. name of resource group. you can configure the default group using `az configure --defaults group=<name>`.. The parameter '--secondary-key --sk' is optional. the secondary key of the cosmos db account.. 