azure-native.logic.IntegrationAccountSession
Explore with Pulumi AI
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:
- Integration
Account stringName - The integration account name.
- Resource
Group stringName - The resource group name.
- Content object
- The session content.
- Location string
- The resource location.
- Session
Name string - The integration account session name.
- Dictionary<string, string>
- The resource tags.
- Integration
Account stringName - The integration account name.
- Resource
Group stringName - The resource group name.
- Content interface{}
- The session content.
- Location string
- The resource location.
- Session
Name string - The integration account session name.
- map[string]string
- The resource tags.
- integration
Account StringName - The integration account name.
- resource
Group StringName - The resource group name.
- content Object
- The session content.
- location String
- The resource location.
- session
Name String - The integration account session name.
- Map<String,String>
- The resource tags.
- integration
Account stringName - The integration account name.
- resource
Group stringName - The resource group name.
- content any
- The session content.
- location string
- The resource location.
- session
Name string - The integration account session name.
- {[key: string]: string}
- The resource tags.
- integration_
account_ strname - The integration account name.
- resource_
group_ strname - The resource group name.
- content Any
- The session content.
- location str
- The resource location.
- session_
name str - The integration account session name.
- Mapping[str, str]
- The resource tags.
- integration
Account StringName - The integration account name.
- resource
Group StringName - The resource group name.
- content Any
- The session content.
- location String
- The resource location.
- session
Name String - The integration account session name.
- Map<String>
- The resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationAccountSession resource produces the following output properties:
- Changed
Time string - The changed time.
- Created
Time 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 string - The changed time.
- Created
Time 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 String - The changed time.
- created
Time 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 string - The changed time.
- created
Time 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.
- changed
Time String - The changed time.
- created
Time 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