AutomationActionLogicApp Class

public final class AutomationActionLogicApp
extends AutomationAction

The logic app action that should be triggered. To learn more about Microsoft Defender for Cloud's Workflow Automation capabilities, visit https://aka.ms/ASCWorkflowAutomationLearnMore.

Constructor Summary

Constructor Description
AutomationActionLogicApp()

Creates an instance of AutomationActionLogicApp class.

Method Summary

Modifier and Type Method and Description
ActionType actionType()

Get the actionType property: The type of the action that will be triggered by the Automation.

static AutomationActionLogicApp fromJson(JsonReader jsonReader)

Reads an instance of AutomationActionLogicApp from the JsonReader.

String logicAppResourceId()

Get the logicAppResourceId property: The triggered Logic App Azure Resource ID.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

Get the uri property: The Logic App trigger URI endpoint (it will not be included in any response).

void validate()

Validates the instance.

AutomationActionLogicApp withLogicAppResourceId(String logicAppResourceId)

Set the logicAppResourceId property: The triggered Logic App Azure Resource ID.

AutomationActionLogicApp withUri(String uri)

Set the uri property: The Logic App trigger URI endpoint (it will not be included in any response).

Methods inherited from AutomationAction

Methods inherited from java.lang.Object

Constructor Details

AutomationActionLogicApp

public AutomationActionLogicApp()

Creates an instance of AutomationActionLogicApp class.

Method Details

actionType

public ActionType actionType()

Get the actionType property: The type of the action that will be triggered by the Automation.

Overrides:

AutomationActionLogicApp.actionType()

Returns:

the actionType value.

fromJson

public static AutomationActionLogicApp fromJson(JsonReader jsonReader)

Reads an instance of AutomationActionLogicApp from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AutomationActionLogicApp if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AutomationActionLogicApp.

logicAppResourceId

public String logicAppResourceId()

Get the logicAppResourceId property: The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App.

Returns:

the logicAppResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AutomationActionLogicApp.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uri

public String uri()

Get the uri property: The Logic App trigger URI endpoint (it will not be included in any response).

Returns:

the uri value.

validate

public void validate()

Validates the instance.

Overrides:

AutomationActionLogicApp.validate()

withLogicAppResourceId

public AutomationActionLogicApp withLogicAppResourceId(String logicAppResourceId)

Set the logicAppResourceId property: The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App.

Parameters:

logicAppResourceId - the logicAppResourceId value to set.

Returns:

the AutomationActionLogicApp object itself.

withUri

public AutomationActionLogicApp withUri(String uri)

Set the uri property: The Logic App trigger URI endpoint (it will not be included in any response).

Parameters:

uri - the uri value to set.

Returns:

the AutomationActionLogicApp object itself.

Applies to