subscription-manager
1.0.9-beta1
This is a prerelease version of subscription-manager.
dotnet tool install --global subscription-manager --version 1.0.9-beta1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local subscription-manager --version 1.0.9-beta1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=subscription-manager&version=1.0.9-beta1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package subscription-manager --version 1.0.9-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Usage
After installation, the tool is avaialable as part of dotnet CLI. All you need to do is:
dotnet subscribe
The tool looks for event-subscriptions.yaml file in the current directory and its parents.
Sample config:
# this is the default subscription setting that will be "inherited" by all topic
subscription:
name: my-subscription
# suffix will be appended to subscription name. you can use env variables in the suffix
suffix: "-$(USERNAME)-local"
# handler URL is used by event grid subscriptions
handler: "http://localhost:8080/api/events"
# describe all the messaging services
services:
# use fully qualified name as key. The domain name helps recognizing servicebug vs eventgrid etc
my-service-bus.servicebus.windows.net:
topics:
# a shorthand version of topic definition is simply its name
- shipments
- name: orders
# the subscription should use sessions
sessions: true
subscription:
# override the subscription name. Note that suffix will be inherited unless it's overriden as well
name: another-subscription
my-event-grid.westeurope-1.eventgrid.azure.net:
schema: EventGrid # EventGrid or CloudEvent
topics:
# this will use global defaults
- invoices
- name: users
subscription:
# override handler URL if needed:
handler: "http://localhost:1234/api/user-event"
another-event-grid.westeurope-1.eventgrid.azure.net:
schema: CloudEvent
topics: []
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.9-beta1 | 246 | 11/1/2023 |