There is a command group 'az_iot_hub_routing endpoint'. This group of commands could 'manage custom endpoints 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_routing endpoint_create'.The syntax is: az iot hub routing-endpoint create --endpoint-name
                                   --endpoint-resource-group
                                   --endpoint-subscription-id
                                   --endpoint-type {azurestoragecontainer, eventhub, servicebusqueue, servicebustopic}
                                   --hub-name
                                   [--auth-type {identitybased, keybased}]
                                   [--batch-frequency]
                                   [--chunk-size]
                                   [--connection-string]
                                   [--container]
                                   [--encoding {avro, json}]
                                   [--endpoint-uri]
                                   [--entity-path]
                                   [--ff]
                                   [--identity]
                                   [--resource-group]. The 1th example of the child command would be to use it to 'add a new endpoint  e2  of type eventhub to  myiothub  iot hub', the syntax is: az iot hub routing-endpoint create --resource-group MyResourceGroup --hub-name MyIotHub --endpoint-name E2 --endpoint-type eventhub --endpoint-resource-group {ResourceGroup} --endpoint-subscription-id {SubscriptionId} --connection-string {ConnectionString}. The 2th example of the child command would be to use it to 'add a new endpoint  s1  of type azurestoragecontainer to the  myiothub  iot hub within the endpoint resource group  myendpointresourcegroup', the syntax is: az iot hub routing-endpoint create --resource-group MyResourceGroup --hub-name MyIotHub \
--endpoint-name S1 --endpoint-type azurestoragecontainer --endpoint-resource-group MyEndpointResourceGroup \
--endpoint-subscription-id {SubscriptionId} --connection-string {ConnectionString} \
--container-name {ContainerName} --batch-frequency 100 --chunk-size 100 \
--ff {iothub}-{partition}-{YYYY}-{MM}-{DD}-{HH}-{mm}. The 3th example of the child command would be to use it to 'add a new identity based eventhub endpoint named  eventhubidentity  and authenticate using a user assigned managed identity', the syntax is: az iot hub routing-endpoint create --resource-group MyResourceGroup --hub-name MyIotHub --endpoint-name EventHubIdentity --endpoint-type eventhub --endpoint-resource-group {ResourceGroup} --endpoint-subscription-id {SubscriptionId} --auth-type identityBased --identity {userIdentityResourceId} --endpoint-uri {EventHubEndpointUri} --entity-path {EntityPath}. The parameter '--endpoint-name --name -n' is required. It is used to name of the routing endpoint.. The parameter '--endpoint-resource-group --erg -r' is required. It is used to resource group of the endpoint resoure.. The parameter '--endpoint-subscription-id -s' is required. It is used to subscriptionid of the endpoint resource.. The parameter '--endpoint-type --type -t' is required. It is used to type of the routing endpoint.. The parameter '--hub-name' is required. It is used to iot hub name.. The parameter '--auth-type' is optional. authentication type for the endpoint. the default is keybased.. The parameter '--batch-frequency -b' is optional. request batch frequency in seconds. the maximum amount of time that can elapse before data is written to a blob, between 60 and 720 seconds.. The parameter '--chunk-size -w' is optional. request chunk size in megabytes(mb). the maximum size of blobs, between 10 and 500 mb.. The parameter '--connection-string -c' is optional. connection string of the routing endpoint.. The parameter '--container --container-name' is optional. name of the storage container.. The parameter '--encoding' is optional. encoding format for the container. the default is avro. note that this field is applicable only for blob container endpoints.. The parameter '--endpoint-uri' is optional. the uri of the endpoint resource.. The parameter '--entity-path' is optional. the entity path of the endpoint resource.. The parameter '--ff --file-name-format' is optional. file name format for the blob. the file name format must contain {iothub}, {partition}, {yyyy}, {mm}, {dd}, {hh} and {mm} fields. all parameters are mandatory but can be reordered with or without delimiters.. 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. if you use --auth-type without this parameter, system-assigned managed identity is assumed.. The parameter '--resource-group -g' is optional. name of resource group. you can configure the default group using `az configure --defaults group=<name>`.. 