共用方式為


MonitorEventHubReceiver(String, String, String, String) Constructor

Definition

Initializes a new instance of MonitorEventHubReceiver.

public MonitorEventHubReceiver (string name, string eventHubNameSpace, string eventHubName, string subscriptionId);
new Azure.ResourceManager.Monitor.Models.MonitorEventHubReceiver : string * string * string * string -> Azure.ResourceManager.Monitor.Models.MonitorEventHubReceiver
Public Sub New (name As String, eventHubNameSpace As String, eventHubName As String, subscriptionId As String)

Parameters

name
String

The name of the Event hub receiver. Names must be unique across all receivers within an action group.

eventHubNameSpace
String

The Event Hub namespace.

eventHubName
String

The name of the specific Event Hub queue.

subscriptionId
String

The Id for the subscription containing this event hub.

Exceptions

name, eventHubNameSpace, eventHubName or subscriptionId is null.

Applies to