Writes a message to Azure's Servicebus
An example workflow of writing 'Hello World!' to the servicebus.
id: write-helloworld
functions:
- id: write
image: direktiv/azure-servicebus:v1
description: "Writes 'Hello World!' to an Azure Servicebus."
states:
- id: write-message
type: action
action:
function: write
input: jq(.)
The input required to run the above workflow properly is the following:
input:
policy: jq(.secrets.AZURE_POLICY)
key: jq(.secrets.AZURE_POLICY_KEY)
namespace: "direktiv"
message: "Hello World!"
queue: "listener"
If the action is successful, no output will be returned.
In the case that an error is encountered, it will present in the following format:
{
"errorCode": "com.azure-servicebus.error",
"errorMsg": "Something went wrong"
}
Content type
Image
Digest
sha256:3764ec92c…
Size
2.3 MB
Last updated
about 4 years ago
docker pull westwind027/azure-servicebus