1. Packages
  2. Azure Classic
  3. API Docs
  4. logicapps
  5. ActionHttp

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

azure.logicapps.ActionHttp

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

    Manages an HTTP Action within a Logic App Workflow

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "workflow-resources",
        location: "West Europe",
    });
    const exampleWorkflow = new azure.logicapps.Workflow("example", {
        name: "workflow1",
        location: example.location,
        resourceGroupName: example.name,
    });
    const exampleActionHttp = new azure.logicapps.ActionHttp("example", {
        name: "webhook",
        logicAppId: exampleWorkflow.id,
        method: "GET",
        uri: "http://example.com/some-webhook",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="workflow-resources",
        location="West Europe")
    example_workflow = azure.logicapps.Workflow("example",
        name="workflow1",
        location=example.location,
        resource_group_name=example.name)
    example_action_http = azure.logicapps.ActionHttp("example",
        name="webhook",
        logic_app_id=example_workflow.id,
        method="GET",
        uri="http://example.com/some-webhook")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/logicapps"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("workflow-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleWorkflow, err := logicapps.NewWorkflow(ctx, "example", &logicapps.WorkflowArgs{
    			Name:              pulumi.String("workflow1"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = logicapps.NewActionHttp(ctx, "example", &logicapps.ActionHttpArgs{
    			Name:       pulumi.String("webhook"),
    			LogicAppId: exampleWorkflow.ID(),
    			Method:     pulumi.String("GET"),
    			Uri:        pulumi.String("http://example.com/some-webhook"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "workflow-resources",
            Location = "West Europe",
        });
    
        var exampleWorkflow = new Azure.LogicApps.Workflow("example", new()
        {
            Name = "workflow1",
            Location = example.Location,
            ResourceGroupName = example.Name,
        });
    
        var exampleActionHttp = new Azure.LogicApps.ActionHttp("example", new()
        {
            Name = "webhook",
            LogicAppId = exampleWorkflow.Id,
            Method = "GET",
            Uri = "http://example.com/some-webhook",
        });
    
    });
    
    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.ActionHttp;
    import com.pulumi.azure.logicapps.ActionHttpArgs;
    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 exampleActionHttp = new ActionHttp("exampleActionHttp", ActionHttpArgs.builder()
                .name("webhook")
                .logicAppId(exampleWorkflow.id())
                .method("GET")
                .uri("http://example.com/some-webhook")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: workflow-resources
          location: West Europe
      exampleWorkflow:
        type: azure:logicapps:Workflow
        name: example
        properties:
          name: workflow1
          location: ${example.location}
          resourceGroupName: ${example.name}
      exampleActionHttp:
        type: azure:logicapps:ActionHttp
        name: example
        properties:
          name: webhook
          logicAppId: ${exampleWorkflow.id}
          method: GET
          uri: http://example.com/some-webhook
    

    Create ActionHttp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ActionHttp(name: string, args: ActionHttpArgs, opts?: CustomResourceOptions);
    @overload
    def ActionHttp(resource_name: str,
                   args: ActionHttpArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ActionHttp(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   logic_app_id: Optional[str] = None,
                   method: Optional[str] = None,
                   uri: Optional[str] = None,
                   body: Optional[str] = None,
                   headers: Optional[Mapping[str, str]] = None,
                   name: Optional[str] = None,
                   queries: Optional[Mapping[str, str]] = None,
                   run_afters: Optional[Sequence[ActionHttpRunAfterArgs]] = None)
    func NewActionHttp(ctx *Context, name string, args ActionHttpArgs, opts ...ResourceOption) (*ActionHttp, error)
    public ActionHttp(string name, ActionHttpArgs args, CustomResourceOptions? opts = null)
    public ActionHttp(String name, ActionHttpArgs args)
    public ActionHttp(String name, ActionHttpArgs args, CustomResourceOptions options)
    
    type: azure:logicapps:ActionHttp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ActionHttpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ActionHttpArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ActionHttpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ActionHttpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ActionHttpArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var actionHttpResource = new Azure.LogicApps.ActionHttp("actionHttpResource", new()
    {
        LogicAppId = "string",
        Method = "string",
        Uri = "string",
        Body = "string",
        Headers = 
        {
            { "string", "string" },
        },
        Name = "string",
        Queries = 
        {
            { "string", "string" },
        },
        RunAfters = new[]
        {
            new Azure.LogicApps.Inputs.ActionHttpRunAfterArgs
            {
                ActionName = "string",
                ActionResult = "string",
            },
        },
    });
    
    example, err := logicapps.NewActionHttp(ctx, "actionHttpResource", &logicapps.ActionHttpArgs{
    	LogicAppId: pulumi.String("string"),
    	Method:     pulumi.String("string"),
    	Uri:        pulumi.String("string"),
    	Body:       pulumi.String("string"),
    	Headers: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Queries: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	RunAfters: logicapps.ActionHttpRunAfterArray{
    		&logicapps.ActionHttpRunAfterArgs{
    			ActionName:   pulumi.String("string"),
    			ActionResult: pulumi.String("string"),
    		},
    	},
    })
    
    var actionHttpResource = new ActionHttp("actionHttpResource", ActionHttpArgs.builder()
        .logicAppId("string")
        .method("string")
        .uri("string")
        .body("string")
        .headers(Map.of("string", "string"))
        .name("string")
        .queries(Map.of("string", "string"))
        .runAfters(ActionHttpRunAfterArgs.builder()
            .actionName("string")
            .actionResult("string")
            .build())
        .build());
    
    action_http_resource = azure.logicapps.ActionHttp("actionHttpResource",
        logic_app_id="string",
        method="string",
        uri="string",
        body="string",
        headers={
            "string": "string",
        },
        name="string",
        queries={
            "string": "string",
        },
        run_afters=[{
            "actionName": "string",
            "actionResult": "string",
        }])
    
    const actionHttpResource = new azure.logicapps.ActionHttp("actionHttpResource", {
        logicAppId: "string",
        method: "string",
        uri: "string",
        body: "string",
        headers: {
            string: "string",
        },
        name: "string",
        queries: {
            string: "string",
        },
        runAfters: [{
            actionName: "string",
            actionResult: "string",
        }],
    });
    
    type: azure:logicapps:ActionHttp
    properties:
        body: string
        headers:
            string: string
        logicAppId: string
        method: string
        name: string
        queries:
            string: string
        runAfters:
            - actionName: string
              actionResult: string
        uri: string
    

    ActionHttp Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ActionHttp resource accepts the following input properties:

    LogicAppId string
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    Method string
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    Uri string
    Specifies the URI which will be called when this HTTP Action is triggered.
    Body string
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    Headers Dictionary<string, string>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    Name string

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    Queries Dictionary<string, string>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    RunAfters List<ActionHttpRunAfter>
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    LogicAppId string
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    Method string
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    Uri string
    Specifies the URI which will be called when this HTTP Action is triggered.
    Body string
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    Headers map[string]string
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    Name string

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    Queries map[string]string
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    RunAfters []ActionHttpRunAfterArgs
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    logicAppId String
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    method String
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    uri String
    Specifies the URI which will be called when this HTTP Action is triggered.
    body String
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    headers Map<String,String>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    name String

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    queries Map<String,String>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    runAfters List<ActionHttpRunAfter>
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    logicAppId string
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    method string
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    uri string
    Specifies the URI which will be called when this HTTP Action is triggered.
    body string
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    headers {[key: string]: string}
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    name string

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    queries {[key: string]: string}
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    runAfters ActionHttpRunAfter[]
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    logic_app_id str
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    method str
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    uri str
    Specifies the URI which will be called when this HTTP Action is triggered.
    body str
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    headers Mapping[str, str]
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    name str

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    queries Mapping[str, str]
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    run_afters Sequence[ActionHttpRunAfterArgs]
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    logicAppId String
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    method String
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    uri String
    Specifies the URI which will be called when this HTTP Action is triggered.
    body String
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    headers Map<String>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    name String

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    queries Map<String>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    runAfters List<Property Map>
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ActionHttp resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ActionHttp Resource

    Get an existing ActionHttp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ActionHttpState, opts?: CustomResourceOptions): ActionHttp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            body: Optional[str] = None,
            headers: Optional[Mapping[str, str]] = None,
            logic_app_id: Optional[str] = None,
            method: Optional[str] = None,
            name: Optional[str] = None,
            queries: Optional[Mapping[str, str]] = None,
            run_afters: Optional[Sequence[ActionHttpRunAfterArgs]] = None,
            uri: Optional[str] = None) -> ActionHttp
    func GetActionHttp(ctx *Context, name string, id IDInput, state *ActionHttpState, opts ...ResourceOption) (*ActionHttp, error)
    public static ActionHttp Get(string name, Input<string> id, ActionHttpState? state, CustomResourceOptions? opts = null)
    public static ActionHttp get(String name, Output<String> id, ActionHttpState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Body string
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    Headers Dictionary<string, string>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    LogicAppId string
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    Method string
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    Name string

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    Queries Dictionary<string, string>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    RunAfters List<ActionHttpRunAfter>
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    Uri string
    Specifies the URI which will be called when this HTTP Action is triggered.
    Body string
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    Headers map[string]string
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    LogicAppId string
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    Method string
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    Name string

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    Queries map[string]string
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    RunAfters []ActionHttpRunAfterArgs
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    Uri string
    Specifies the URI which will be called when this HTTP Action is triggered.
    body String
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    headers Map<String,String>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    logicAppId String
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    method String
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    name String

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    queries Map<String,String>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    runAfters List<ActionHttpRunAfter>
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    uri String
    Specifies the URI which will be called when this HTTP Action is triggered.
    body string
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    headers {[key: string]: string}
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    logicAppId string
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    method string
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    name string

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    queries {[key: string]: string}
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    runAfters ActionHttpRunAfter[]
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    uri string
    Specifies the URI which will be called when this HTTP Action is triggered.
    body str
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    headers Mapping[str, str]
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    logic_app_id str
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    method str
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    name str

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    queries Mapping[str, str]
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    run_afters Sequence[ActionHttpRunAfterArgs]
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    uri str
    Specifies the URI which will be called when this HTTP Action is triggered.
    body String
    Specifies the HTTP Body that should be sent to the uri when this HTTP Action is triggered.
    headers Map<String>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    logicAppId String
    Specifies the ID of the Logic App Workflow. Changing this forces a new resource to be created.
    method String
    Specifies the HTTP Method which should be used for this HTTP Action. Possible values include DELETE, GET, PATCH, POST and PUT.
    name String

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

    NOTE: This name must be unique across all Actions within the Logic App Workflow.

    queries Map<String>
    Specifies a Map of Key-Value Pairs that should be sent to the uri when this HTTP Action is triggered.
    runAfters List<Property Map>
    Specifies the place of the HTTP Action in the Logic App Workflow. If not specified, the HTTP Action is right after the Trigger. A run_after block is as defined below.
    uri String
    Specifies the URI which will be called when this HTTP Action is triggered.

    Supporting Types

    ActionHttpRunAfter, ActionHttpRunAfterArgs

    ActionName string
    Specifies the name of the precedent HTTP Action.
    ActionResult string
    Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include Succeeded, Failed, Skipped and TimedOut.
    ActionName string
    Specifies the name of the precedent HTTP Action.
    ActionResult string
    Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include Succeeded, Failed, Skipped and TimedOut.
    actionName String
    Specifies the name of the precedent HTTP Action.
    actionResult String
    Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include Succeeded, Failed, Skipped and TimedOut.
    actionName string
    Specifies the name of the precedent HTTP Action.
    actionResult string
    Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include Succeeded, Failed, Skipped and TimedOut.
    action_name str
    Specifies the name of the precedent HTTP Action.
    action_result str
    Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include Succeeded, Failed, Skipped and TimedOut.
    actionName String
    Specifies the name of the precedent HTTP Action.
    actionResult String
    Specifies the expected result of the precedent HTTP Action, only after which the current HTTP Action will be triggered. Possible values include Succeeded, Failed, Skipped and TimedOut.

    Import

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

    $ pulumi import azure:logicapps/actionHttp:ActionHttp webhook1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Logic/workflows/workflow1/actions/webhook1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi