跳轉到主要內容
POST
Register Event Hub Function

授權

X-EntityToken
string
header
必填

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

主體

application/json

A title can have many functions, RegisterEventHubFunction associates a function name with an event hub name and connection string.

A title can have many functions, RegisterEventHubFunction associates a function name with an event hub name and connection string.

ConnectionString
string
必填

A connection string for the namespace of the event hub for the Azure Function.

EventHubName
string
必填

The name of the event hub for the Azure Function.

FunctionName
string
必填

The name of the function to register

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

回應

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
最後修改於 2026年10月6日