Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Microsoft.Logic integrationAccounts/sessions

Bicep resource definition

The integrationAccounts/sessions resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Logic/integrationAccounts/sessions resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Logic/integrationAccounts/sessions@2019-05-01' = {
 parent: resourceSymbolicName
 location: 'string'
 name: 'string'
 properties: {
 content: any(...)
 }
 tags: {
 {customized property}: 'string'
 }
}

Property Values

Microsoft.Logic/integrationAccounts/sessions

Name Description Value
location The resource location. string
name The resource name string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: integrationAccounts
properties The integration account session properties. IntegrationAccountSessionProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates

IntegrationAccountSessionProperties

Name Description Value
content The session content. any

ResourceTags

Name Description Value

Usage Examples

Bicep Samples

A basic example of deploying Logic App Integration Account Session.

param resourceName string = 'acctest0001'
param location string = 'westeurope'

resource integrationAccount 'Microsoft.Logic/integrationAccounts@2019-05-01' = {
 name: resourceName
 location: location
 sku: {
 name: 'Basic'
 }
 properties: {}
}

resource session 'Microsoft.Logic/integrationAccounts/sessions@2019-05-01' = {
 name: resourceName
 parent: integrationAccount
 properties: {
 content: /* ERROR: Unparsed HCL syntax in LiteralNode */ {}
 }
}

ARM template resource definition

The integrationAccounts/sessions resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Logic/integrationAccounts/sessions resource, add the following JSON to your template.

{
 "type": "Microsoft.Logic/integrationAccounts/sessions",
 "apiVersion": "2019-05-01",
 "name": "string",
 "location": "string",
 "properties": {
 "content": {}
 },
 "tags": {
 "{customized property}": "string"
 }
}

Property Values

Microsoft.Logic/integrationAccounts/sessions

Name Description Value
apiVersion The api version '2019-05-01'
location The resource location. string
name The resource name string (required)
properties The integration account session properties. IntegrationAccountSessionProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Logic/integrationAccounts/sessions'

IntegrationAccountSessionProperties

Name Description Value
content The session content. any

ResourceTags

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The integrationAccounts/sessions resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Logic/integrationAccounts/sessions resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
 type = "Microsoft.Logic/integrationAccounts/sessions@2019-05-01"
 name = "string"
 parent_id = "string"
 location = "string"
 tags = {
 {customized property} = "string"
 }
 body = {
 properties = {
 content = ?
 }
 }
}

Property Values

Microsoft.Logic/integrationAccounts/sessions

Name Description Value
location The resource location. string
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: integrationAccounts
properties The integration account session properties. IntegrationAccountSessionProperties (required)
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Logic/integrationAccounts/sessions@2019-05-01"

IntegrationAccountSessionProperties

Name Description Value
content The session content. any

ResourceTags

Name Description Value

Usage Examples

Terraform Samples

A basic example of deploying Logic App Integration Account Session.

terraform {
 required_providers {
 azapi = {
 source = "Azure/azapi"
 }
 }
}

provider "azapi" {
 skip_provider_registration = false
}

variable "resource_name" {
 type = string
 default = "acctest0001"
}

variable "location" {
 type = string
 default = "westeurope"
}

resource "azapi_resource" "resourceGroup" {
 type = "Microsoft.Resources/resourceGroups@2020-06-01"
 name = var.resource_name
 location = var.location
}

resource "azapi_resource" "integrationAccount" {
 type = "Microsoft.Logic/integrationAccounts@2019-05-01"
 parent_id = azapi_resource.resourceGroup.id
 name = var.resource_name
 location = var.location
 body = {
 properties = {
 }
 sku = {
 name = "Basic"
 }
 }
 schema_validation_enabled = false
 response_export_values = ["*"]
}

resource "azapi_resource" "session" {
 type = "Microsoft.Logic/integrationAccounts/sessions@2019-05-01"
 parent_id = azapi_resource.integrationAccount.id
 name = var.resource_name
 body = {
 properties = {
 content = "\t{\n \"controlNumber\": \"1234\"\n }\n"
 }
 }
 schema_validation_enabled = false
 response_export_values = ["*"]
}

Feedback

Was this page helpful?

Additional resources