AzureFunctionReceiver Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. AzureFunctionReceiver
- com.
Implements
public final class AzureFunctionReceiver
implements JsonSerializable<AzureFunctionReceiver>
An azure function receiver.
Constructor Summary
Constructor | Description |
---|---|
AzureFunctionReceiver() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
String |
functionAppResourceId()
Get the function |
String |
functionName()
Get the function |
String |
httpTriggerUrl()
Get the http |
String |
name()
Get the name property: The name of the azure function receiver. |
Json |
toJson(JsonWriter jsonWriter) |
Boolean |
useCommonAlertSchema()
Get the use |
void |
validate()
Validates the instance. |
Azure |
withFunctionAppResourceId(String functionAppResourceId)
Set the function |
Azure |
withFunctionName(String functionName)
Set the function |
Azure |
withHttpTriggerUrl(String httpTriggerUrl)
Set the http |
Azure |
withName(String name)
Set the name property: The name of the azure function receiver. |
Azure |
withUseCommonAlertSchema(Boolean useCommonAlertSchema)
Set the use |
Methods inherited from java.lang.Object
Constructor Details
AzureFunctionReceiver
public AzureFunctionReceiver()
Creates an instance of AzureFunctionReceiver class.
Method Details
fromJson
public static AzureFunctionReceiver fromJson(JsonReader jsonReader)
Reads an instance of AzureFunctionReceiver from the JsonReader.
Parameters:
Returns:
Throws:
functionAppResourceId
public String functionAppResourceId()
Get the functionAppResourceId property: The azure resource id of the function app.
Returns:
functionName
public String functionName()
Get the functionName property: The function name in the function app.
Returns:
httpTriggerUrl
public String httpTriggerUrl()
Get the httpTriggerUrl property: The http trigger url where http request sent to.
Returns:
name
public String name()
Get the name property: The name of the azure function receiver. Names must be unique across all receivers within an action group.
Returns:
toJson
useCommonAlertSchema
public Boolean useCommonAlertSchema()
Get the useCommonAlertSchema property: Indicates whether to use common alert schema.
Returns:
validate
public void validate()
Validates the instance.
withFunctionAppResourceId
public AzureFunctionReceiver withFunctionAppResourceId(String functionAppResourceId)
Set the functionAppResourceId property: The azure resource id of the function app.
Parameters:
Returns:
withFunctionName
public AzureFunctionReceiver withFunctionName(String functionName)
Set the functionName property: The function name in the function app.
Parameters:
Returns:
withHttpTriggerUrl
public AzureFunctionReceiver withHttpTriggerUrl(String httpTriggerUrl)
Set the httpTriggerUrl property: The http trigger url where http request sent to.
Parameters:
Returns:
withName
public AzureFunctionReceiver withName(String name)
Set the name property: The name of the azure function receiver. Names must be unique across all receivers within an action group.
Parameters:
Returns:
withUseCommonAlertSchema
public AzureFunctionReceiver withUseCommonAlertSchema(Boolean useCommonAlertSchema)
Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
Parameters:
Returns:
Applies to
Azure SDK for Java