Azure Service Bus触发器用于主题和订阅的Azure功能,我想知道Azure Service Bus触发器的输入和输出是否支持共享访问签名(SAS)?
here https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-sas
输出
[FunctionName(nameof(Order))]
public async Task<IActionResult> Order(
[HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)]
HttpRequest request,
[ServiceBus("%TopicName%", EntityType.Topic, Connection = "AzureServiceBus_ConnectionString")]
IAsyncCollector<Message> collector)
{
await collector.AddAsync(message);
}
输入
[FunctionName("ServiceBusQueueTriggerCSharp")]
public static void Run(
[ServiceBusTrigger("myqueue", AccessRights.Manage, Connection = "ServiceBusConnection")]
string myQueueItem,
Int32 deliveryCount,
DateTime enqueuedTimeUtc,
string messageId,
ILogger log)
{
}
有什么主意吗?
如果不支持,请采取任何解决方法