Azure Logic App Trigger HTTP Request

This page shows how to write Terraform and Azure Resource Manager for Logic App Trigger HTTP Request and write them securely.

azurerm_logic_app_trigger_http_request (Terraform)

The Trigger HTTP Request in Logic App can be configured in Terraform with the resource name azurerm_logic_app_trigger_http_request. The following sections describe 8 examples of how to use the resource and its parameters.

Example Usage from GitHub

module.tf#L1
resource "azurerm_logic_app_trigger_http_request" "trigger" {
  name          = var.name
  logic_app_id  = var.logic_app_id
  schema        = var.schema
  method        = try(var.method, null)
  relative_path = try(var.relative_path, null)
main.tf#L7
resource "azurerm_logic_app_trigger_http_request" "this" {
  logic_app_id  = var.logic_app_id
  method        = var.method
  name          = var.name
  relative_path = var.relative_path
  schema        = var.schema
main.tf#L7
resource "azurerm_logic_app_trigger_http_request" "this" {
  logic_app_id  = var.logic_app_id
  method        = var.method
  name          = var.name
  relative_path = var.relative_path
  schema        = var.schema
module.tf#L1
resource "azurerm_logic_app_trigger_http_request" "trigger" {
  name          = var.name
  logic_app_id  = var.logic_app_id
  schema        = var.schema
  method        = try(var.method, null)
  relative_path = try(var.relative_path, null)
module.tf#L12
resource "azurerm_logic_app_trigger_http_request" "laachr" {
  name          = azurecaf_name.laachr.result
  logic_app_id  = var.logic_app_id
  schema        = var.settings.schema
  method        = try(var.settings.method, null)
  relative_path = try(var.settings.relative_path, null)
module.tf#L12
resource "azurerm_logic_app_trigger_http_request" "laachr" {
  name          = azurecaf_name.laachr.result
  logic_app_id  = var.logic_app_id
  schema        = var.settings.schema
  method        = try(var.settings.method, null)
  relative_path = try(var.settings.relative_path, null)
logicapp.tf#L7
resource "azurerm_logic_app_trigger_http_request" "logic-app-trigger" {
  name         = "HTTP_Request"
  logic_app_id = azurerm_logic_app_workflow.logic-app-workflow.id
  schema       = <<SCHEMA
{
    "type": "object",
main.tf#L40
resource "azurerm_logic_app_trigger_http_request" "logic_trigger_http_request" {
  name         = "tf-http-trigger"
  logic_app_id = azurerm_logic_app_workflow.logic_app_workflow_ref.id

  schema = <<SCHEMA
{

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Manages a HTTP Request Trigger within a Logic App Workflow

Microsoft.Logic/workflows (Azure Resource Manager)

The workflows in Microsoft.Logic can be configured in Azure Resource Manager with the resource name Microsoft.Logic/workflows. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

Azure_Logic_Apps.json#L1515
          "values" : [ "Microsoft.Logic/workflows" ]
        }, {
          "not" : false,
          "property" : "primary_aggregation_type",
          "values" : [ "true" ]
        } ],
Azure_Logic_Apps.json#L1515
          "values" : [ "Microsoft.Logic/workflows" ]
        }, {
          "not" : false,
          "property" : "primary_aggregation_type",
          "values" : [ "true" ]
        } ],
Microsoft.Logic.tests.json#L7
        "type": "Microsoft.Logic/workflows",
        "apiVersion": "2016-06-01",
        "name": "name",
        "properties": {}
      }
    },
ceduleur.json#L18
         "type": "Microsoft.Logic/workflows",
         "apiVersion": "2017-07-01",
         "name": "[concat('Planif-CalculMassif-', parameters('HeliosEnvironnementName'), '-al')]",
         "location": "[resourceGroup().location]",
         "tags": {
            "displayName": "Planif_CalculMassif"
Page_Azure_Logic_Apps.json#L153
        "propertyValue" : "Microsoft.Logic/workflows",
        "query" : "resource_type:\"Microsoft.Logic/workflows\"",
        "type" : "property",
        "value" : "Microsoft.Logic/workflows"
      }, {
        "NOT" : false,
Page_Azure_Logic_Apps.json#L153
        "propertyValue" : "Microsoft.Logic/workflows",
        "query" : "resource_type:\"Microsoft.Logic/workflows\"",
        "type" : "property",
        "value" : "Microsoft.Logic/workflows"
      }, {
        "NOT" : false,
LogicApp.json#L92
      "type": "Microsoft.Logic/workflows",
      "location": "[parameters('logicAppLocation')]",
      "apiVersion": "2016-06-01",
      "dependsOn": [
        "[resourceId('Microsoft.Web/connections', parameters('outlook_1_Connection_Name'))]",
        "[resourceId('Microsoft.Web/connections', parameters('telesignsms_1_Connection_Name'))]"

Parameters

  • type required - string
  • apiVersion required - string
  • id optional - string

    The resource id.

  • name optional - string

    Gets the resource name.

  • location optional - string

    The resource location.

  • tags optional - string

    The resource tags.

  • properties required
      • state optional - string

        The state.

      • integrationAccount optional
          • id optional - string

            The resource id.

      • parameters optional - undefined

        The parameters.

Frequently asked questions

What is Azure Logic App Trigger HTTP Request?

Azure Logic App Trigger HTTP Request is a resource for Logic App of Microsoft Azure. Settings can be wrote in Terraform.

Where can I find the example code for the Azure Logic App Trigger HTTP Request?

For Terraform, the anmoltoppo/Terraform, kevinhead/azurerm and niveklabs/azurerm source code examples are useful. See the Terraform Example section for further details.

For Azure Resource Manager, the signalfx/content-discovery-experimental, signalfx/content-discovery-staging and Azure/autorest.azureresourceschema source code examples are useful. See the Azure Resource Manager Example section for further details.