Home > Blockchain >  Is there a way to schedule Azure Event Hubs turning on/off?
Is there a way to schedule Azure Event Hubs turning on/off?

Time:05-19

I'd need to run an Event Hub for a few hours a day.

I'm not sure if it would be possible to schedule a time for it to be turned either on or off. In the Event Hubs portal, I see an option to disable it, but this would be a manual routine every time I'd want to turn it on/off.

I'm assuming there is an alternative, as it wouldn't be practical to recreate the the event hub every day.

Could anyone assist?

CodePudding user response:

Yes, you can disable an Azure Event Hub, but you need to understand that it is not lowering the costs. Pricing is based on througput units which are shared by all the Event Hubs in a given namespace:

Throughput units are pre-purchased and are billed per hour. Once purchased, throughput units are billed for a minimum of one hour. Up to 40 throughput units can be purchased for an Event Hubs namespace and are shared across all event hubs in that namespace. (enter image description here

enter image description here

RESULTS:

enter image description here

enter image description here

  • Related