1. Packages
  2. Azure Native v1
  3. API Docs
  4. logic
  5. IntegrationAccountSession
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.logic.IntegrationAccountSession

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    The integration account session. API Version: 2019-05-01.

    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 = 
            {
                { "controlNumber", "1234" },
                { "controlNumberChangedTime", "2017-02-21T22:30:11.9923759Z" },
            },
            IntegrationAccountName = "testia123",
            ResourceGroupName = "testrg123",
            SessionName = "testsession123-ICN",
        });
    
    });
    
    package main
    
    import (
    	logic "github.com/pulumi/pulumi-azure-native-sdk/logic"
    	"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{
    				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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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 string
    The unique name of the resource.
    args IntegrationAccountSessionArgs
    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 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 string
    The unique name of the resource.
    args IntegrationAccountSessionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationAccountSessionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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" },
        },
    });
    
    example, err := logic.NewIntegrationAccountSession(ctx, "integrationAccountSessionResource", &logic.IntegrationAccountSessionArgs{
    	IntegrationAccountName: "string",
    	ResourceGroupName:      "string",
    	Content:                "any",
    	Location:               "string",
    	SessionName:            "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var integrationAccountSessionResource = new IntegrationAccountSession("integrationAccountSessionResource", IntegrationAccountSessionArgs.builder()
        .integrationAccountName("string")
        .resourceGroupName("string")
        .content("any")
        .location("string")
        .sessionName("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    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,
        })
    
    const integrationAccountSessionResource = new azure_native.logic.IntegrationAccountSession("integrationAccountSessionResource", {
        integrationAccountName: "string",
        resourceGroupName: "string",
        content: "any",
        location: "string",
        sessionName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:logic:IntegrationAccountSession
    properties:
        content: any
        integrationAccountName: string
        location: string
        resourceGroupName: string
        sessionName: string
        tags:
            string: string
    

    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

    The IntegrationAccountSession resource accepts the following input properties:

    IntegrationAccountName string
    The integration account name.
    ResourceGroupName string
    The resource group name.
    Content object
    The session content.
    Location string
    The resource location.
    SessionName string
    The integration account session name.
    Tags Dictionary<string, string>
    The resource tags.
    IntegrationAccountName string
    The integration account name.
    ResourceGroupName string
    The resource group name.
    Content interface{}
    The session content.
    Location string
    The resource location.
    SessionName string
    The integration account session name.
    Tags map[string]string
    The resource tags.
    integrationAccountName String
    The integration account name.
    resourceGroupName String
    The resource group name.
    content Object
    The session content.
    location String
    The resource location.
    sessionName String
    The integration account session name.
    tags Map<String,String>
    The resource tags.
    integrationAccountName string
    The integration account name.
    resourceGroupName string
    The resource group name.
    content any
    The session content.
    location string
    The resource location.
    sessionName string
    The integration account session name.
    tags {[key: string]: string}
    The resource tags.
    integration_account_name str
    The integration account name.
    resource_group_name str
    The resource group name.
    content Any
    The session content.
    location str
    The resource location.
    session_name str
    The integration account session name.
    tags Mapping[str, str]
    The resource tags.
    integrationAccountName String
    The integration account name.
    resourceGroupName String
    The resource group name.
    content Any
    The session content.
    location String
    The resource location.
    sessionName 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:

    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.
    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.
    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.
    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.
    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.
    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/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/sessions/testsession123-ICN 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi