-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move EventHub management functions to separate class (#824)
Co-authored-by: supereddie <>
- Loading branch information
1 parent
5c7635b
commit f555ed9
Showing
3 changed files
with
236 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
using Microsoft.ServiceBus.Messaging; | ||
|
||
namespace ServiceBusExplorer.WindowsAzure | ||
{ | ||
internal interface IServiceBusEventHub : IServiceBusEntity | ||
{ | ||
EventHubDescription CreateEventHub(EventHubDescription description); | ||
|
||
void DeleteEventHub(EventHubDescription eventHubDescription); | ||
|
||
void DeleteEventHub(string path); | ||
|
||
void DeleteEventHubs(IEnumerable<string> eventHubs); | ||
|
||
EventHubDescription GetEventHub(string path); | ||
|
||
Task<IEnumerable<EventHubDescription>> GetEventHubs(int timeoutInSeconds); | ||
|
||
Uri GetEventHubUri(string eventHubPath); | ||
|
||
EventHubDescription UpdateEventHub(EventHubDescription description); | ||
} | ||
} |
Oops, something went wrong.