The create command provisions a new Event Hub message queue.

JSON Input Data Format
{
    "name": string,
    "cloudid": string,
    "hasdl": boolean
}
name * Specifies the name for the Event Hub. Input guidelines mandate lowercase letters from a to z and digits from 0 to 9, with no spaces allowed.
cloudid * Specifies the Sky Node ID where the Event Hub will be created.
hasdl * Set to true to create and link a Dead-Letter Hub to the Event Hub. This option ensures that messages failing to process will be delivered to the Dead-Letter Hub to prevent message loss.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "The process was successfully completed",
    "id": "V7-49ff499f-xxxx-xxxx-xxxx-b47fxxxx99af"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}