Known Bugs & Nice to know's
How can the connection string and websocket URL be retrieved from az cli?
# ID of your Azure subscription
SUB="..."
# Name of the resource group containing the ux4iot instance
RG="..."
# Name of the ux4iot instance
NAME="ux4iot"
RESOURCE_ID="/subscriptions/$SUB/resourceGroups/$RG/providers/Microsoft.Solutions/applications/$NAME"
az resource show \
--ids $RESOURCE_ID/customwebsocketUrls/url \
--api-version 2018-09-01-preview \
--query properties.value \
--output tsv# ID of your Azure subscription
SUB="..."
# Name of the resource group containing the ux4iot instance
RG="..."
# Name of the ux4iot instance
NAME="ux4iot"
RESOURCE_ID="/subscriptions/$SUB/resourceGroups/$RG/providers/Microsoft.Solutions/applications/$NAME"
az resource show \
--ids $RESOURCE_ID/customsharedAccessPolicies/Primary \
--api-version 2018-09-01-preview \
--query properties.connectionString \
--output tsvFailed to publish event hub message ... "$cbs" endpoint timed out
Last updated
Was this helpful?
