azure-native.logic.IntegrationAccount
Explore with Pulumi AI
The integration account. API Version: 2019-05-01.
Example Usage
Create or update an integration account
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var integrationAccount = new AzureNative.Logic.IntegrationAccount("integrationAccount", new()
{
IntegrationAccountName = "testIntegrationAccount",
Location = "westus",
ResourceGroupName = "testResourceGroup",
Sku = new AzureNative.Logic.Inputs.IntegrationAccountSkuArgs
{
Name = "Standard",
},
});
});
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.NewIntegrationAccount(ctx, "integrationAccount", &logic.IntegrationAccountArgs{
IntegrationAccountName: pulumi.String("testIntegrationAccount"),
Location: pulumi.String("westus"),
ResourceGroupName: pulumi.String("testResourceGroup"),
Sku: &logic.IntegrationAccountSkuArgs{
Name: pulumi.String("Standard"),
},
})
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.IntegrationAccount;
import com.pulumi.azurenative.logic.IntegrationAccountArgs;
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 integrationAccount = new IntegrationAccount("integrationAccount", IntegrationAccountArgs.builder()
.integrationAccountName("testIntegrationAccount")
.location("westus")
.resourceGroupName("testResourceGroup")
.sku(Map.of("name", "Standard"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
integration_account = azure_native.logic.IntegrationAccount("integrationAccount",
integration_account_name="testIntegrationAccount",
location="westus",
resource_group_name="testResourceGroup",
sku=azure_native.logic.IntegrationAccountSkuArgs(
name="Standard",
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const integrationAccount = new azure_native.logic.IntegrationAccount("integrationAccount", {
integrationAccountName: "testIntegrationAccount",
location: "westus",
resourceGroupName: "testResourceGroup",
sku: {
name: "Standard",
},
});
resources:
integrationAccount:
type: azure-native:logic:IntegrationAccount
properties:
integrationAccountName: testIntegrationAccount
location: westus
resourceGroupName: testResourceGroup
sku:
name: Standard
Create IntegrationAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationAccount(name: string, args: IntegrationAccountArgs, opts?: CustomResourceOptions);
@overload
def IntegrationAccount(resource_name: str,
args: IntegrationAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
integration_account_name: Optional[str] = None,
integration_service_environment: Optional[ResourceReferenceArgs] = None,
location: Optional[str] = None,
sku: Optional[IntegrationAccountSkuArgs] = None,
state: Optional[Union[str, WorkflowState]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewIntegrationAccount(ctx *Context, name string, args IntegrationAccountArgs, opts ...ResourceOption) (*IntegrationAccount, error)
public IntegrationAccount(string name, IntegrationAccountArgs args, CustomResourceOptions? opts = null)
public IntegrationAccount(String name, IntegrationAccountArgs args)
public IntegrationAccount(String name, IntegrationAccountArgs args, CustomResourceOptions options)
type: azure-native:logic:IntegrationAccount
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 IntegrationAccountArgs
- 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 IntegrationAccountArgs
- 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 IntegrationAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationAccountArgs
- 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 integrationAccountResource = new AzureNative.Logic.IntegrationAccount("integrationAccountResource", new()
{
ResourceGroupName = "string",
IntegrationAccountName = "string",
IntegrationServiceEnvironment =
{
{ "id", "string" },
},
Location = "string",
Sku =
{
{ "name", "string" },
},
State = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := logic.NewIntegrationAccount(ctx, "integrationAccountResource", &logic.IntegrationAccountArgs{
ResourceGroupName: "string",
IntegrationAccountName: "string",
IntegrationServiceEnvironment: map[string]interface{}{
"id": "string",
},
Location: "string",
Sku: map[string]interface{}{
"name": "string",
},
State: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var integrationAccountResource = new IntegrationAccount("integrationAccountResource", IntegrationAccountArgs.builder()
.resourceGroupName("string")
.integrationAccountName("string")
.integrationServiceEnvironment(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.state("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
integration_account_resource = azure_native.logic.IntegrationAccount("integrationAccountResource",
resource_group_name=string,
integration_account_name=string,
integration_service_environment={
id: string,
},
location=string,
sku={
name: string,
},
state=string,
tags={
string: string,
})
const integrationAccountResource = new azure_native.logic.IntegrationAccount("integrationAccountResource", {
resourceGroupName: "string",
integrationAccountName: "string",
integrationServiceEnvironment: {
id: "string",
},
location: "string",
sku: {
name: "string",
},
state: "string",
tags: {
string: "string",
},
});
type: azure-native:logic:IntegrationAccount
properties:
integrationAccountName: string
integrationServiceEnvironment:
id: string
location: string
resourceGroupName: string
sku:
name: string
state: string
tags:
string: string
IntegrationAccount 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 IntegrationAccount resource accepts the following input properties:
- Resource
Group stringName - The resource group name.
- Integration
Account stringName - The integration account name.
- Integration
Service Pulumi.Environment Azure Native. Logic. Inputs. Resource Reference - The integration service environment.
- Location string
- The resource location.
- Sku
Pulumi.
Azure Native. Logic. Inputs. Integration Account Sku - The sku.
- State
string | Pulumi.
Azure Native. Logic. Workflow State - The workflow state.
- Dictionary<string, string>
- The resource tags.
- Resource
Group stringName - The resource group name.
- Integration
Account stringName - The integration account name.
- Integration
Service ResourceEnvironment Reference Args - The integration service environment.
- Location string
- The resource location.
- Sku
Integration
Account Sku Args - The sku.
- State
string | Workflow
State Enum - The workflow state.
- map[string]string
- The resource tags.
- resource
Group StringName - The resource group name.
- integration
Account StringName - The integration account name.
- integration
Service ResourceEnvironment Reference - The integration service environment.
- location String
- The resource location.
- sku
Integration
Account Sku - The sku.
- state
String | Workflow
State - The workflow state.
- Map<String,String>
- The resource tags.
- resource
Group stringName - The resource group name.
- integration
Account stringName - The integration account name.
- integration
Service ResourceEnvironment Reference - The integration service environment.
- location string
- The resource location.
- sku
Integration
Account Sku - The sku.
- state
string | Workflow
State - The workflow state.
- {[key: string]: string}
- The resource tags.
- resource_
group_ strname - The resource group name.
- integration_
account_ strname - The integration account name.
- integration_
service_ Resourceenvironment Reference Args - The integration service environment.
- location str
- The resource location.
- sku
Integration
Account Sku Args - The sku.
- state
str | Workflow
State - The workflow state.
- Mapping[str, str]
- The resource tags.
- resource
Group StringName - The resource group name.
- integration
Account StringName - The integration account name.
- integration
Service Property MapEnvironment - The integration service environment.
- location String
- The resource location.
- sku Property Map
- The sku.
- state
String | "Not
Specified" | "Completed" | "Enabled" | "Disabled" | "Deleted" | "Suspended" - The workflow state.
- Map<String>
- The resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationAccount resource produces the following output properties:
Supporting Types
IntegrationAccountSku, IntegrationAccountSkuArgs
- Name
string | Pulumi.
Azure Native. Logic. Integration Account Sku Name - The sku name.
- Name
string | Integration
Account Sku Name - The sku name.
- name
String | Integration
Account Sku Name - The sku name.
- name
string | Integration
Account Sku Name - The sku name.
- name
str | Integration
Account Sku Name - The sku name.
- name
String | "Not
Specified" | "Free" | "Basic" | "Standard" - The sku name.
IntegrationAccountSkuName, IntegrationAccountSkuNameArgs
- Not
Specified - NotSpecified
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Integration
Account Sku Name Not Specified - NotSpecified
- Integration
Account Sku Name Free - Free
- Integration
Account Sku Name Basic - Basic
- Integration
Account Sku Name Standard - Standard
- Not
Specified - NotSpecified
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- Not
Specified - NotSpecified
- Free
- Free
- Basic
- Basic
- Standard
- Standard
- NOT_SPECIFIED
- NotSpecified
- FREE
- Free
- BASIC
- Basic
- STANDARD
- Standard
- "Not
Specified" - NotSpecified
- "Free"
- Free
- "Basic"
- Basic
- "Standard"
- Standard
IntegrationAccountSkuResponse, IntegrationAccountSkuResponseArgs
- Name string
- The sku name.
- Name string
- The sku name.
- name String
- The sku name.
- name string
- The sku name.
- name str
- The sku name.
- name String
- The sku name.
ResourceReference, ResourceReferenceArgs
- Id string
- The resource id.
- Id string
- The resource id.
- id String
- The resource id.
- id string
- The resource id.
- id str
- The resource id.
- id String
- The resource id.
ResourceReferenceResponse, ResourceReferenceResponseArgs
WorkflowState, WorkflowStateArgs
- Not
Specified - NotSpecified
- Completed
- Completed
- Enabled
- Enabled
- Disabled
- Disabled
- Deleted
- Deleted
- Suspended
- Suspended
- Workflow
State Not Specified - NotSpecified
- Workflow
State Completed - Completed
- Workflow
State Enabled - Enabled
- Workflow
State Disabled - Disabled
- Workflow
State Deleted - Deleted
- Workflow
State Suspended - Suspended
- Not
Specified - NotSpecified
- Completed
- Completed
- Enabled
- Enabled
- Disabled
- Disabled
- Deleted
- Deleted
- Suspended
- Suspended
- Not
Specified - NotSpecified
- Completed
- Completed
- Enabled
- Enabled
- Disabled
- Disabled
- Deleted
- Deleted
- Suspended
- Suspended
- NOT_SPECIFIED
- NotSpecified
- COMPLETED
- Completed
- ENABLED
- Enabled
- DISABLED
- Disabled
- DELETED
- Deleted
- SUSPENDED
- Suspended
- "Not
Specified" - NotSpecified
- "Completed"
- Completed
- "Enabled"
- Enabled
- "Disabled"
- Disabled
- "Deleted"
- Deleted
- "Suspended"
- Suspended
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:logic:IntegrationAccount testIntegrationAccount /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount
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