-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add README for ServiceBus functions extensions #19415
Conversation
01a5e75
to
535154a
Compare
535154a
to
90c8217
Compare
90c8217
to
dfba7de
Compare
dfba7de
to
ecce6b9
Compare
```json | ||
{ | ||
"Values": { | ||
"<connection_name>": "Endpoint=sb://<service_bus_namespace>.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=<access key>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to consider a slug for the key name to discourage using the root key in the interest of least privilege.
[FunctionName("BindingToSender")] | ||
public static async Task Run( | ||
[TimerTrigger("0 */5 * * * *")] TimerInfo myTimer, | ||
[ServiceBus("<queue_or_topic_name>", Connection = "<connection_name>")] ServiceBusSender sender) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow.... I had no idea that this was possible.... nice!
|
||
The Service Bus Trigger allows a function to be executed when a message is sent to a Service Bus queue or topic. | ||
|
||
Please follow the [Azure Service Bus trigger tutorial](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus-trigger?tabs=csharp) to learn more about Service Bus triggers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Locale in the URL
|
||
The Service Bus Output Binding allows a function to send Service Bus messages. | ||
|
||
Please follow the [Azure Service Bus output binding](https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus-output?tabs=csharp) to learn more about Service Bus bindings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Locale in the URL
Resolves #17567