TriggerHttpRequest

class TriggerHttpRequest : KotlinCustomResource

Manages a HTTP Request Trigger within a Logic App Workflow

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.logicapps.Workflow;
import com.pulumi.azure.logicapps.WorkflowArgs;
import com.pulumi.azure.logicapps.TriggerHttpRequest;
import com.pulumi.azure.logicapps.TriggerHttpRequestArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("workflow-resources")
.location("West Europe")
.build());
var exampleWorkflow = new Workflow("exampleWorkflow", WorkflowArgs.builder()
.name("workflow1")
.location(example.location())
.resourceGroupName(example.name())
.build());
var exampleTriggerHttpRequest = new TriggerHttpRequest("exampleTriggerHttpRequest", TriggerHttpRequestArgs.builder()
.name("some-http-trigger")
.logicAppId(exampleWorkflow.id())
.schema("""
{
"type": "object",
"properties": {
"hello": {
"type": "string"
}
}
}
""")
.build());
}
}

Import

Logic App HTTP Request Triggers can be imported using the resource id, e.g.

$ pulumi import azure:logicapps/triggerHttpRequest:TriggerHttpRequest request1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1/triggers/request1

Properties

Link copied to clipboard
val callbackUrl: Output<String>

The URL for the workflow trigger

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val logicAppId: Output<String>

Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.

Link copied to clipboard
val method: Output<String>?

Specifies the HTTP Method which the request be using. Possible values include DELETE, GET, PATCH, POST or PUT.

Link copied to clipboard
val name: Output<String>

Specifies the name of the HTTP Request Trigger to be created within the Logic App Workflow. Changing this forces a new resource to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val relativePath: Output<String>?

Specifies the Relative Path used for this Request.

Link copied to clipboard
val schema: Output<String>

A JSON Blob defining the Schema of the incoming request. This needs to be valid JSON.

Link copied to clipboard
val urn: Output<String>