Class AzureFunctionReceiver
java.lang.Object
com.microsoft.azure.management.monitor.AzureFunctionReceiver
An azure function receiver.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the azure resource id of the function app.Get the function name in the function app.Get the http trigger url where http request sent to.name()
Get the name of the azure function receiver.boolean
Get indicates whether to use common alert schema.withFunctionAppResourceId
(String functionAppResourceId) Set the azure resource id of the function app.withFunctionName
(String functionName) Set the function name in the function app.withHttpTriggerUrl
(String httpTriggerUrl) Set the http trigger url where http request sent to.Set the name of the azure function receiver.withUseCommonAlertSchema
(boolean useCommonAlertSchema) Set indicates whether to use common alert schema.
-
Constructor Details
-
AzureFunctionReceiver
public AzureFunctionReceiver()
-
-
Method Details
-
name
Get the name of the azure function receiver. Names must be unique across all receivers within an action group.- Returns:
- the name value
-
withName
Set the name of the azure function receiver. Names must be unique across all receivers within an action group.- Parameters:
name
- the name value to set- Returns:
- the AzureFunctionReceiver object itself.
-
functionAppResourceId
Get the azure resource id of the function app.- Returns:
- the functionAppResourceId value
-
withFunctionAppResourceId
Set the azure resource id of the function app.- Parameters:
functionAppResourceId
- the functionAppResourceId value to set- Returns:
- the AzureFunctionReceiver object itself.
-
functionName
Get the function name in the function app.- Returns:
- the functionName value
-
withFunctionName
Set the function name in the function app.- Parameters:
functionName
- the functionName value to set- Returns:
- the AzureFunctionReceiver object itself.
-
httpTriggerUrl
Get the http trigger url where http request sent to.- Returns:
- the httpTriggerUrl value
-
withHttpTriggerUrl
Set the http trigger url where http request sent to.- Parameters:
httpTriggerUrl
- the httpTriggerUrl value to set- Returns:
- the AzureFunctionReceiver object itself.
-
useCommonAlertSchema
public boolean useCommonAlertSchema()Get indicates whether to use common alert schema.- Returns:
- the useCommonAlertSchema value
-
withUseCommonAlertSchema
Set indicates whether to use common alert schema.- Parameters:
useCommonAlertSchema
- the useCommonAlertSchema value to set- Returns:
- the AzureFunctionReceiver object itself.
-