【问题标题】:Create Subscription in a Topic programatically using Windows Azure Service Bus REST API使用 Windows Azure 服务总线 REST API 以编程方式在主题中创建订阅
【发布时间】:2013-09-07 12:28:56
【问题描述】:

是否可以使用 REST API 在 Azure 服务总线中以编程方式在现有主题中创建订阅?

我想即时创建一个,然后也以编程方式删除。

【问题讨论】:

    标签: rest azure azureservicebus


    【解决方案1】:

    是的,你可以。请在此处查看 REST API 文档:

    创建订阅:http://msdn.microsoft.com/en-us/library/windowsazure/hh780748.aspx

    删除订阅:http://msdn.microsoft.com/en-us/library/windowsazure/hh780740.aspx

    有关服务总线上 REST API 操作的完整列表:http://msdn.microsoft.com/en-us/library/windowsazure/hh780776.aspx

    【讨论】:

    • 肯定有一种更简单的方法可以用 C# 和 nuget 包做到这一点?
    • 您可以通过Microsoft.Azure.ServiceBus.Management.ManagementClient。在这里查看我的答案stackoverflow.com/a/60957230/591097
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-08-31
    • 2014-03-19
    • 2019-02-12
    • 1970-01-01
    • 1970-01-01
    • 2018-08-27
    • 2016-02-10
    相关资源
    最近更新 更多