publish
publish
yaml
type: io.kestra.plugin.azure.servicebus.publishExamples
yaml
id: azure_cosmos_service_bus_publish
namespace: company.team
tasks:
- id: create
type: io.kestra.plugin.azure.servicebus.Publish
queueName: your-queue-name
tenantId: "{{ secret('AZURE_TENANT_ID') }}"
clientId: "{{ secret('AZURE_CLIENT_ID') }}"
clientSecret: "{{ secret('AZURE_CLIENT_SECRET') }}"
from:
timeToLive: PT10S
body: "messageBody"
Properties
from *Requiredstringarray
Definitions
io.kestra.plugin.azure.servicebus.Message
applicationPropertiesobject
bodyobject
messageIdstring
subjectstring
timeToLivestring
Format
durationtenantId *Requiredstring
clientId string
clientSecret string
connectionString string
pemCertificate string
queueName string
serdeType string
Default
STRINGPossible Values
STRINGJSONsubscriptionName string
topicName string
Outputs
messagesCount integer
Metrics
servicebus.publish.queue.messages counter
Unit
messagesservicebus.publish.topic.messages counter
Unit
messages