1. Packages
  2. Azure Native
  3. API Docs
  4. logic
  5. IntegrationAccountSession
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.logic.IntegrationAccountSession

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

The integration account session.

Uses Azure REST API version 2019-05-01. In version 2.x of the Azure Native provider, it used API version 2019-05-01.

Other available API versions: 2018-07-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native logic [ApiVersion]. See the version guide for details.

Example Usage

Create or update an integration account session

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var integrationAccountSession = new AzureNative.Logic.IntegrationAccountSession("integrationAccountSession", new()
    {
        Content = new Dictionary<string, object?>
        {
            ["controlNumber"] = "1234",
            ["controlNumberChangedTime"] = "2017-02-21T22:30:11.9923759Z",
        },
        IntegrationAccountName = "testia123",
        ResourceGroupName = "testrg123",
        SessionName = "testsession123-ICN",
    });

});
Copy
package main

import (
	logic "github.com/pulumi/pulumi-azure-native-sdk/logic/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := logic.NewIntegrationAccountSession(ctx, "integrationAccountSession", &logic.IntegrationAccountSessionArgs{
			Content: pulumi.Any(map[string]interface{}{
				"controlNumber":            "1234",
				"controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z",
			}),
			IntegrationAccountName: pulumi.String("testia123"),
			ResourceGroupName:      pulumi.String("testrg123"),
			SessionName:            pulumi.String("testsession123-ICN"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.logic.IntegrationAccountSession;
import com.pulumi.azurenative.logic.IntegrationAccountSessionArgs;
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 integrationAccountSession = new IntegrationAccountSession("integrationAccountSession", IntegrationAccountSessionArgs.builder()
            .content(Map.ofEntries(
                Map.entry("controlNumber", "1234"),
                Map.entry("controlNumberChangedTime", "2017-02-21T22:30:11.9923759Z")
            ))
            .integrationAccountName("testia123")
            .resourceGroupName("testrg123")
            .sessionName("testsession123-ICN")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const integrationAccountSession = new azure_native.logic.IntegrationAccountSession("integrationAccountSession", {
    content: {
        controlNumber: "1234",
        controlNumberChangedTime: "2017-02-21T22:30:11.9923759Z",
    },
    integrationAccountName: "testia123",
    resourceGroupName: "testrg123",
    sessionName: "testsession123-ICN",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

integration_account_session = azure_native.logic.IntegrationAccountSession("integrationAccountSession",
    content={
        "controlNumber": "1234",
        "controlNumberChangedTime": "2017-02-21T22:30:11.9923759Z",
    },
    integration_account_name="testia123",
    resource_group_name="testrg123",
    session_name="testsession123-ICN")
Copy
resources:
  integrationAccountSession:
    type: azure-native:logic:IntegrationAccountSession
    properties:
      content:
        controlNumber: '1234'
        controlNumberChangedTime: 2017-02-21T22:30:11.9923759Z
      integrationAccountName: testia123
      resourceGroupName: testrg123
      sessionName: testsession123-ICN
Copy

Create IntegrationAccountSession Resource

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

Constructor syntax

new IntegrationAccountSession(name: string, args: IntegrationAccountSessionArgs, opts?: CustomResourceOptions);
@overload
def IntegrationAccountSession(resource_name: str,
                              args: IntegrationAccountSessionArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def IntegrationAccountSession(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              integration_account_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              content: Optional[Any] = None,
                              location: Optional[str] = None,
                              session_name: Optional[str] = None,
                              tags: Optional[Mapping[str, str]] = None)
func NewIntegrationAccountSession(ctx *Context, name string, args IntegrationAccountSessionArgs, opts ...ResourceOption) (*IntegrationAccountSession, error)
public IntegrationAccountSession(string name, IntegrationAccountSessionArgs args, CustomResourceOptions? opts = null)
public IntegrationAccountSession(String name, IntegrationAccountSessionArgs args)
public IntegrationAccountSession(String name, IntegrationAccountSessionArgs args, CustomResourceOptions options)
type: azure-native:logic:IntegrationAccountSession
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAccountSessionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IntegrationAccountSessionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAccountSessionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAccountSessionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IntegrationAccountSessionArgs
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 integrationAccountSessionResource = new AzureNative.Logic.IntegrationAccountSession("integrationAccountSessionResource", new()
{
    IntegrationAccountName = "string",
    ResourceGroupName = "string",
    Content = "any",
    Location = "string",
    SessionName = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := logic.NewIntegrationAccountSession(ctx, "integrationAccountSessionResource", &logic.IntegrationAccountSessionArgs{
	IntegrationAccountName: pulumi.String("string"),
	ResourceGroupName:      pulumi.String("string"),
	Content:                pulumi.Any("any"),
	Location:               pulumi.String("string"),
	SessionName:            pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var integrationAccountSessionResource = new IntegrationAccountSession("integrationAccountSessionResource", IntegrationAccountSessionArgs.builder()
    .integrationAccountName("string")
    .resourceGroupName("string")
    .content("any")
    .location("string")
    .sessionName("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
integration_account_session_resource = azure_native.logic.IntegrationAccountSession("integrationAccountSessionResource",
    integration_account_name="string",
    resource_group_name="string",
    content="any",
    location="string",
    session_name="string",
    tags={
        "string": "string",
    })
Copy
const integrationAccountSessionResource = new azure_native.logic.IntegrationAccountSession("integrationAccountSessionResource", {
    integrationAccountName: "string",
    resourceGroupName: "string",
    content: "any",
    location: "string",
    sessionName: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:logic:IntegrationAccountSession
properties:
    content: any
    integrationAccountName: string
    location: string
    resourceGroupName: string
    sessionName: string
    tags:
        string: string
Copy

IntegrationAccountSession Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The IntegrationAccountSession resource accepts the following input properties:

IntegrationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The integration account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
Content object
The session content.
Location string
The resource location.
SessionName Changes to this property will trigger replacement. string
The integration account session name.
Tags Dictionary<string, string>
The resource tags.
IntegrationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The integration account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
Content interface{}
The session content.
Location string
The resource location.
SessionName Changes to this property will trigger replacement. string
The integration account session name.
Tags map[string]string
The resource tags.
integrationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The integration account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
content Object
The session content.
location String
The resource location.
sessionName Changes to this property will trigger replacement. String
The integration account session name.
tags Map<String,String>
The resource tags.
integrationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The integration account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
content any
The session content.
location string
The resource location.
sessionName Changes to this property will trigger replacement. string
The integration account session name.
tags {[key: string]: string}
The resource tags.
integration_account_name
This property is required.
Changes to this property will trigger replacement.
str
The integration account name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name.
content Any
The session content.
location str
The resource location.
session_name Changes to this property will trigger replacement. str
The integration account session name.
tags Mapping[str, str]
The resource tags.
integrationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The integration account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
content Any
The session content.
location String
The resource location.
sessionName Changes to this property will trigger replacement. String
The integration account session name.
tags Map<String>
The resource tags.

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
ChangedTime string
The changed time.
CreatedTime string
The created time.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Gets the resource name.
Type string
Gets the resource type.
AzureApiVersion string
The Azure API version of the resource.
ChangedTime string
The changed time.
CreatedTime string
The created time.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Gets the resource name.
Type string
Gets the resource type.
azureApiVersion String
The Azure API version of the resource.
changedTime String
The changed time.
createdTime String
The created time.
id String
The provider-assigned unique ID for this managed resource.
name String
Gets the resource name.
type String
Gets the resource type.
azureApiVersion string
The Azure API version of the resource.
changedTime string
The changed time.
createdTime string
The created time.
id string
The provider-assigned unique ID for this managed resource.
name string
Gets the resource name.
type string
Gets the resource type.
azure_api_version str
The Azure API version of the resource.
changed_time str
The changed time.
created_time str
The created time.
id str
The provider-assigned unique ID for this managed resource.
name str
Gets the resource name.
type str
Gets the resource type.
azureApiVersion String
The Azure API version of the resource.
changedTime String
The changed time.
createdTime String
The created time.
id String
The provider-assigned unique ID for this managed resource.
name String
Gets the resource name.
type String
Gets the resource type.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:logic:IntegrationAccountSession testsession123-ICN /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName} 
Copy

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi