com.pulumi.azure.logicapps.kotlin.InterationServiceEnvironmentArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.logicapps.kotlin
import com.pulumi.azure.logicapps.InterationServiceEnvironmentArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Manages private and isolated Logic App instances within an Azure virtual network.
* !> **NOTE:** The `azure.logicapps.InterationServiceEnvironment` resource is deprecated and will be removed in v4.0 of the Azure Provider. The underlying Azure Service is being retired on 2024-08-31 and new instances cannot be provisioned by default after 2022-11-01. More information on the retirement and how to migrate to Logic Apps Standard [can be found here](https://aka.ms/isedeprecation).
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulumi/azure";
* const example = new azure.core.ResourceGroup("example", {
* name: "exampleRG1",
* location: "West Europe",
* });
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
* name: "example-vnet1",
* location: example.location,
* resourceGroupName: example.name,
* addressSpaces: ["10.0.0.0/22"],
* });
* const isesubnet1 = new azure.network.Subnet("isesubnet1", {
* name: "isesubnet1",
* resourceGroupName: example.name,
* virtualNetworkName: exampleVirtualNetwork.name,
* addressPrefixes: ["10.0.1.0/27"],
* delegations: [{
* name: "integrationServiceEnvironments",
* serviceDelegation: {
* name: "Microsoft.Logic/integrationServiceEnvironments",
* },
* }],
* });
* const isesubnet2 = new azure.network.Subnet("isesubnet2", {
* name: "isesubnet2",
* resourceGroupName: example.name,
* virtualNetworkName: exampleVirtualNetwork.name,
* addressPrefixes: ["10.0.1.32/27"],
* });
* const isesubnet3 = new azure.network.Subnet("isesubnet3", {
* name: "isesubnet3",
* resourceGroupName: example.name,
* virtualNetworkName: exampleVirtualNetwork.name,
* addressPrefixes: ["10.0.1.64/27"],
* });
* const isesubnet4 = new azure.network.Subnet("isesubnet4", {
* name: "isesubnet4",
* resourceGroupName: example.name,
* virtualNetworkName: exampleVirtualNetwork.name,
* addressPrefixes: ["10.0.1.96/27"],
* });
* const exampleInterationServiceEnvironment = new azure.logicapps.InterationServiceEnvironment("example", {
* name: "example-ise",
* location: example.location,
* resourceGroupName: example.name,
* skuName: "Developer_0",
* accessEndpointType: "Internal",
* virtualNetworkSubnetIds: [
* isesubnet1.id,
* isesubnet2.id,
* isesubnet3.id,
* isesubnet4.id,
* ],
* tags: {
* environment: "development",
* },
* });
* ```
* ```python
* import pulumi
* import pulumi_azure as azure
* example = azure.core.ResourceGroup("example",
* name="exampleRG1",
* location="West Europe")
* example_virtual_network = azure.network.VirtualNetwork("example",
* name="example-vnet1",
* location=example.location,
* resource_group_name=example.name,
* address_spaces=["10.0.0.0/22"])
* isesubnet1 = azure.network.Subnet("isesubnet1",
* name="isesubnet1",
* resource_group_name=example.name,
* virtual_network_name=example_virtual_network.name,
* address_prefixes=["10.0.1.0/27"],
* delegations=[azure.network.SubnetDelegationArgs(
* name="integrationServiceEnvironments",
* service_delegation=azure.network.SubnetDelegationServiceDelegationArgs(
* name="Microsoft.Logic/integrationServiceEnvironments",
* ),
* )])
* isesubnet2 = azure.network.Subnet("isesubnet2",
* name="isesubnet2",
* resource_group_name=example.name,
* virtual_network_name=example_virtual_network.name,
* address_prefixes=["10.0.1.32/27"])
* isesubnet3 = azure.network.Subnet("isesubnet3",
* name="isesubnet3",
* resource_group_name=example.name,
* virtual_network_name=example_virtual_network.name,
* address_prefixes=["10.0.1.64/27"])
* isesubnet4 = azure.network.Subnet("isesubnet4",
* name="isesubnet4",
* resource_group_name=example.name,
* virtual_network_name=example_virtual_network.name,
* address_prefixes=["10.0.1.96/27"])
* example_interation_service_environment = azure.logicapps.InterationServiceEnvironment("example",
* name="example-ise",
* location=example.location,
* resource_group_name=example.name,
* sku_name="Developer_0",
* access_endpoint_type="Internal",
* virtual_network_subnet_ids=[
* isesubnet1.id,
* isesubnet2.id,
* isesubnet3.id,
* isesubnet4.id,
* ],
* tags={
* "environment": "development",
* })
* ```
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using Azure = Pulumi.Azure;
* return await Deployment.RunAsync(() =>
* {
* var example = new Azure.Core.ResourceGroup("example", new()
* {
* Name = "exampleRG1",
* Location = "West Europe",
* });
* var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
* {
* Name = "example-vnet1",
* Location = example.Location,
* ResourceGroupName = example.Name,
* AddressSpaces = new[]
* {
* "10.0.0.0/22",
* },
* });
* var isesubnet1 = new Azure.Network.Subnet("isesubnet1", new()
* {
* Name = "isesubnet1",
* ResourceGroupName = example.Name,
* VirtualNetworkName = exampleVirtualNetwork.Name,
* AddressPrefixes = new[]
* {
* "10.0.1.0/27",
* },
* Delegations = new[]
* {
* new Azure.Network.Inputs.SubnetDelegationArgs
* {
* Name = "integrationServiceEnvironments",
* ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs
* {
* Name = "Microsoft.Logic/integrationServiceEnvironments",
* },
* },
* },
* });
* var isesubnet2 = new Azure.Network.Subnet("isesubnet2", new()
* {
* Name = "isesubnet2",
* ResourceGroupName = example.Name,
* VirtualNetworkName = exampleVirtualNetwork.Name,
* AddressPrefixes = new[]
* {
* "10.0.1.32/27",
* },
* });
* var isesubnet3 = new Azure.Network.Subnet("isesubnet3", new()
* {
* Name = "isesubnet3",
* ResourceGroupName = example.Name,
* VirtualNetworkName = exampleVirtualNetwork.Name,
* AddressPrefixes = new[]
* {
* "10.0.1.64/27",
* },
* });
* var isesubnet4 = new Azure.Network.Subnet("isesubnet4", new()
* {
* Name = "isesubnet4",
* ResourceGroupName = example.Name,
* VirtualNetworkName = exampleVirtualNetwork.Name,
* AddressPrefixes = new[]
* {
* "10.0.1.96/27",
* },
* });
* var exampleInterationServiceEnvironment = new Azure.LogicApps.InterationServiceEnvironment("example", new()
* {
* Name = "example-ise",
* Location = example.Location,
* ResourceGroupName = example.Name,
* SkuName = "Developer_0",
* AccessEndpointType = "Internal",
* VirtualNetworkSubnetIds = new[]
* {
* isesubnet1.Id,
* isesubnet2.Id,
* isesubnet3.Id,
* isesubnet4.Id,
* },
* Tags =
* {
* { "environment", "development" },
* },
* });
* });
* ```
* ```go
* package main
* import (
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/logicapps"
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
* Name: pulumi.String("exampleRG1"),
* Location: pulumi.String("West Europe"),
* })
* if err != nil {
* return err
* }
* exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
* Name: pulumi.String("example-vnet1"),
* Location: example.Location,
* ResourceGroupName: example.Name,
* AddressSpaces: pulumi.StringArray{
* pulumi.String("10.0.0.0/22"),
* },
* })
* if err != nil {
* return err
* }
* isesubnet1, err := network.NewSubnet(ctx, "isesubnet1", &network.SubnetArgs{
* Name: pulumi.String("isesubnet1"),
* ResourceGroupName: example.Name,
* VirtualNetworkName: exampleVirtualNetwork.Name,
* AddressPrefixes: pulumi.StringArray{
* pulumi.String("10.0.1.0/27"),
* },
* Delegations: network.SubnetDelegationArray{
* &network.SubnetDelegationArgs{
* Name: pulumi.String("integrationServiceEnvironments"),
* ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
* Name: pulumi.String("Microsoft.Logic/integrationServiceEnvironments"),
* },
* },
* },
* })
* if err != nil {
* return err
* }
* isesubnet2, err := network.NewSubnet(ctx, "isesubnet2", &network.SubnetArgs{
* Name: pulumi.String("isesubnet2"),
* ResourceGroupName: example.Name,
* VirtualNetworkName: exampleVirtualNetwork.Name,
* AddressPrefixes: pulumi.StringArray{
* pulumi.String("10.0.1.32/27"),
* },
* })
* if err != nil {
* return err
* }
* isesubnet3, err := network.NewSubnet(ctx, "isesubnet3", &network.SubnetArgs{
* Name: pulumi.String("isesubnet3"),
* ResourceGroupName: example.Name,
* VirtualNetworkName: exampleVirtualNetwork.Name,
* AddressPrefixes: pulumi.StringArray{
* pulumi.String("10.0.1.64/27"),
* },
* })
* if err != nil {
* return err
* }
* isesubnet4, err := network.NewSubnet(ctx, "isesubnet4", &network.SubnetArgs{
* Name: pulumi.String("isesubnet4"),
* ResourceGroupName: example.Name,
* VirtualNetworkName: exampleVirtualNetwork.Name,
* AddressPrefixes: pulumi.StringArray{
* pulumi.String("10.0.1.96/27"),
* },
* })
* if err != nil {
* return err
* }
* _, err = logicapps.NewInterationServiceEnvironment(ctx, "example", &logicapps.InterationServiceEnvironmentArgs{
* Name: pulumi.String("example-ise"),
* Location: example.Location,
* ResourceGroupName: example.Name,
* SkuName: pulumi.String("Developer_0"),
* AccessEndpointType: pulumi.String("Internal"),
* VirtualNetworkSubnetIds: pulumi.StringArray{
* isesubnet1.ID(),
* isesubnet2.ID(),
* isesubnet3.ID(),
* isesubnet4.ID(),
* },
* Tags: pulumi.StringMap{
* "environment": pulumi.String("development"),
* },
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* package generated_program;
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azure.core.ResourceGroup;
* import com.pulumi.azure.core.ResourceGroupArgs;
* import com.pulumi.azure.network.VirtualNetwork;
* import com.pulumi.azure.network.VirtualNetworkArgs;
* import com.pulumi.azure.network.Subnet;
* import com.pulumi.azure.network.SubnetArgs;
* import com.pulumi.azure.network.inputs.SubnetDelegationArgs;
* import com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;
* import com.pulumi.azure.logicapps.InterationServiceEnvironment;
* import com.pulumi.azure.logicapps.InterationServiceEnvironmentArgs;
* 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
* .name("exampleRG1")
* .location("West Europe")
* .build());
* var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
* .name("example-vnet1")
* .location(example.location())
* .resourceGroupName(example.name())
* .addressSpaces("10.0.0.0/22")
* .build());
* var isesubnet1 = new Subnet("isesubnet1", SubnetArgs.builder()
* .name("isesubnet1")
* .resourceGroupName(example.name())
* .virtualNetworkName(exampleVirtualNetwork.name())
* .addressPrefixes("10.0.1.0/27")
* .delegations(SubnetDelegationArgs.builder()
* .name("integrationServiceEnvironments")
* .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()
* .name("Microsoft.Logic/integrationServiceEnvironments")
* .build())
* .build())
* .build());
* var isesubnet2 = new Subnet("isesubnet2", SubnetArgs.builder()
* .name("isesubnet2")
* .resourceGroupName(example.name())
* .virtualNetworkName(exampleVirtualNetwork.name())
* .addressPrefixes("10.0.1.32/27")
* .build());
* var isesubnet3 = new Subnet("isesubnet3", SubnetArgs.builder()
* .name("isesubnet3")
* .resourceGroupName(example.name())
* .virtualNetworkName(exampleVirtualNetwork.name())
* .addressPrefixes("10.0.1.64/27")
* .build());
* var isesubnet4 = new Subnet("isesubnet4", SubnetArgs.builder()
* .name("isesubnet4")
* .resourceGroupName(example.name())
* .virtualNetworkName(exampleVirtualNetwork.name())
* .addressPrefixes("10.0.1.96/27")
* .build());
* var exampleInterationServiceEnvironment = new InterationServiceEnvironment("exampleInterationServiceEnvironment", InterationServiceEnvironmentArgs.builder()
* .name("example-ise")
* .location(example.location())
* .resourceGroupName(example.name())
* .skuName("Developer_0")
* .accessEndpointType("Internal")
* .virtualNetworkSubnetIds(
* isesubnet1.id(),
* isesubnet2.id(),
* isesubnet3.id(),
* isesubnet4.id())
* .tags(Map.of("environment", "development"))
* .build());
* }
* }
* ```
* ```yaml
* resources:
* example:
* type: azure:core:ResourceGroup
* properties:
* name: exampleRG1
* location: West Europe
* exampleVirtualNetwork:
* type: azure:network:VirtualNetwork
* name: example
* properties:
* name: example-vnet1
* location: ${example.location}
* resourceGroupName: ${example.name}
* addressSpaces:
* - 10.0.0.0/22
* isesubnet1:
* type: azure:network:Subnet
* properties:
* name: isesubnet1
* resourceGroupName: ${example.name}
* virtualNetworkName: ${exampleVirtualNetwork.name}
* addressPrefixes:
* - 10.0.1.0/27
* delegations:
* - name: integrationServiceEnvironments
* serviceDelegation:
* name: Microsoft.Logic/integrationServiceEnvironments
* isesubnet2:
* type: azure:network:Subnet
* properties:
* name: isesubnet2
* resourceGroupName: ${example.name}
* virtualNetworkName: ${exampleVirtualNetwork.name}
* addressPrefixes:
* - 10.0.1.32/27
* isesubnet3:
* type: azure:network:Subnet
* properties:
* name: isesubnet3
* resourceGroupName: ${example.name}
* virtualNetworkName: ${exampleVirtualNetwork.name}
* addressPrefixes:
* - 10.0.1.64/27
* isesubnet4:
* type: azure:network:Subnet
* properties:
* name: isesubnet4
* resourceGroupName: ${example.name}
* virtualNetworkName: ${exampleVirtualNetwork.name}
* addressPrefixes:
* - 10.0.1.96/27
* exampleInterationServiceEnvironment:
* type: azure:logicapps:InterationServiceEnvironment
* name: example
* properties:
* name: example-ise
* location: ${example.location}
* resourceGroupName: ${example.name}
* skuName: Developer_0
* accessEndpointType: Internal
* virtualNetworkSubnetIds:
* - ${isesubnet1.id}
* - ${isesubnet2.id}
* - ${isesubnet3.id}
* - ${isesubnet4.id}
* tags:
* environment: development
* ```
*
* ## Import
* Integration Service Environments can be imported using the `resource id`, e.g.
* ```sh
* $ pulumi import azure:logicapps/interationServiceEnvironment:InterationServiceEnvironment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Logic/integrationServiceEnvironments/ise1
* ```
* @property accessEndpointType The type of access endpoint to use for the Integration Service Environment. Possible Values are `Internal` and `External`. Changing this forces a new Integration Service Environment to be created.
* @property location The Azure Region where the Integration Service Environment should exist. Changing this forces a new Integration Service Environment to be created.
* @property name The name of the Integration Service Environment. Changing this forces a new Integration Service Environment to be created.
* @property resourceGroupName The name of the Resource Group where the Integration Service Environment should exist. Changing this forces a new Integration Service Environment to be created.
* @property skuName The SKU name and capacity of the Integration Service Environment. Possible values are `Developer_0`, `Premium_0`, `Premium_1`, `Premium_2`, `Premium_3`, `Premium_4`, `Premium_5`, `Premium_6`, `Premium_7`, `Premium_8`, `Premium_9` and `Premium_10`. Defaults to `Developer_0`.
* > **NOTE** For a `sku_name` using the `Developer` `sku` the `capacity` element must be always `0`. For a `sku_name` using the `sku` of `Premium` the `capacity` element can be between `0` and `10`.
* @property tags A mapping of tags which should be assigned to the Integration Service Environment.
* @property virtualNetworkSubnetIds A list of virtual network subnet ids to be used by Integration Service Environment. Exactly four distinct ids to `/27` subnets must be provided. Changing this forces a new Integration Service Environment to be created.
*/
public data class InterationServiceEnvironmentArgs(
public val accessEndpointType: Output? = null,
public val location: Output? = null,
public val name: Output? = null,
public val resourceGroupName: Output? = null,
public val skuName: Output? = null,
public val tags: Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy