1. Packages
  2. Azure Classic
  3. API Docs
  4. network
  5. Profile

We recommend using Azure Native.

Azure Classic v5.58.0 published on Saturday, Dec 2, 2023 by Pulumi

azure.network.Profile

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.58.0 published on Saturday, Dec 2, 2023 by Pulumi

    Manages a Network Profile.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
        {
            Location = "West Europe",
        });
    
        var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("exampleVirtualNetwork", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            AddressSpaces = new[]
            {
                "10.1.0.0/16",
            },
        });
    
        var exampleSubnet = new Azure.Network.Subnet("exampleSubnet", new()
        {
            ResourceGroupName = exampleResourceGroup.Name,
            VirtualNetworkName = exampleVirtualNetwork.Name,
            AddressPrefixes = new[]
            {
                "10.1.0.0/24",
            },
            Delegations = new[]
            {
                new Azure.Network.Inputs.SubnetDelegationArgs
                {
                    Name = "delegation",
                    ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs
                    {
                        Name = "Microsoft.ContainerInstance/containerGroups",
                        Actions = new[]
                        {
                            "Microsoft.Network/virtualNetworks/subnets/action",
                        },
                    },
                },
            },
        });
    
        var exampleProfile = new Azure.Network.Profile("exampleProfile", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            ContainerNetworkInterface = new Azure.Network.Inputs.ProfileContainerNetworkInterfaceArgs
            {
                Name = "examplecnic",
                IpConfigurations = new[]
                {
                    new Azure.Network.Inputs.ProfileContainerNetworkInterfaceIpConfigurationArgs
                    {
                        Name = "exampleipconfig",
                        SubnetId = exampleSubnet.Id,
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"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 {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			AddressSpaces: pulumi.StringArray{
    				pulumi.String("10.1.0.0/16"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
    			ResourceGroupName:  exampleResourceGroup.Name,
    			VirtualNetworkName: exampleVirtualNetwork.Name,
    			AddressPrefixes: pulumi.StringArray{
    				pulumi.String("10.1.0.0/24"),
    			},
    			Delegations: network.SubnetDelegationArray{
    				&network.SubnetDelegationArgs{
    					Name: pulumi.String("delegation"),
    					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
    						Name: pulumi.String("Microsoft.ContainerInstance/containerGroups"),
    						Actions: pulumi.StringArray{
    							pulumi.String("Microsoft.Network/virtualNetworks/subnets/action"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = network.NewProfile(ctx, "exampleProfile", &network.ProfileArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			ContainerNetworkInterface: &network.ProfileContainerNetworkInterfaceArgs{
    				Name: pulumi.String("examplecnic"),
    				IpConfigurations: network.ProfileContainerNetworkInterfaceIpConfigurationArray{
    					&network.ProfileContainerNetworkInterfaceIpConfigurationArgs{
    						Name:     pulumi.String("exampleipconfig"),
    						SubnetId: exampleSubnet.ID(),
    					},
    				},
    			},
    		})
    		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.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.network.Profile;
    import com.pulumi.azure.network.ProfileArgs;
    import com.pulumi.azure.network.inputs.ProfileContainerNetworkInterfaceArgs;
    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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .location("West Europe")
                .build());
    
            var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .addressSpaces("10.1.0.0/16")
                .build());
    
            var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()        
                .resourceGroupName(exampleResourceGroup.name())
                .virtualNetworkName(exampleVirtualNetwork.name())
                .addressPrefixes("10.1.0.0/24")
                .delegations(SubnetDelegationArgs.builder()
                    .name("delegation")
                    .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()
                        .name("Microsoft.ContainerInstance/containerGroups")
                        .actions("Microsoft.Network/virtualNetworks/subnets/action")
                        .build())
                    .build())
                .build());
    
            var exampleProfile = new Profile("exampleProfile", ProfileArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .containerNetworkInterface(ProfileContainerNetworkInterfaceArgs.builder()
                    .name("examplecnic")
                    .ipConfigurations(ProfileContainerNetworkInterfaceIpConfigurationArgs.builder()
                        .name("exampleipconfig")
                        .subnetId(exampleSubnet.id())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        address_spaces=["10.1.0.0/16"])
    example_subnet = azure.network.Subnet("exampleSubnet",
        resource_group_name=example_resource_group.name,
        virtual_network_name=example_virtual_network.name,
        address_prefixes=["10.1.0.0/24"],
        delegations=[azure.network.SubnetDelegationArgs(
            name="delegation",
            service_delegation=azure.network.SubnetDelegationServiceDelegationArgs(
                name="Microsoft.ContainerInstance/containerGroups",
                actions=["Microsoft.Network/virtualNetworks/subnets/action"],
            ),
        )])
    example_profile = azure.network.Profile("exampleProfile",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        container_network_interface=azure.network.ProfileContainerNetworkInterfaceArgs(
            name="examplecnic",
            ip_configurations=[azure.network.ProfileContainerNetworkInterfaceIpConfigurationArgs(
                name="exampleipconfig",
                subnet_id=example_subnet.id,
            )],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        addressSpaces: ["10.1.0.0/16"],
    });
    const exampleSubnet = new azure.network.Subnet("exampleSubnet", {
        resourceGroupName: exampleResourceGroup.name,
        virtualNetworkName: exampleVirtualNetwork.name,
        addressPrefixes: ["10.1.0.0/24"],
        delegations: [{
            name: "delegation",
            serviceDelegation: {
                name: "Microsoft.ContainerInstance/containerGroups",
                actions: ["Microsoft.Network/virtualNetworks/subnets/action"],
            },
        }],
    });
    const exampleProfile = new azure.network.Profile("exampleProfile", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        containerNetworkInterface: {
            name: "examplecnic",
            ipConfigurations: [{
                name: "exampleipconfig",
                subnetId: exampleSubnet.id,
            }],
        },
    });
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        properties:
          location: West Europe
      exampleVirtualNetwork:
        type: azure:network:VirtualNetwork
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          addressSpaces:
            - 10.1.0.0/16
      exampleSubnet:
        type: azure:network:Subnet
        properties:
          resourceGroupName: ${exampleResourceGroup.name}
          virtualNetworkName: ${exampleVirtualNetwork.name}
          addressPrefixes:
            - 10.1.0.0/24
          delegations:
            - name: delegation
              serviceDelegation:
                name: Microsoft.ContainerInstance/containerGroups
                actions:
                  - Microsoft.Network/virtualNetworks/subnets/action
      exampleProfile:
        type: azure:network:Profile
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          containerNetworkInterface:
            name: examplecnic
            ipConfigurations:
              - name: exampleipconfig
                subnetId: ${exampleSubnet.id}
    

    Create Profile Resource

    new Profile(name: string, args: ProfileArgs, opts?: CustomResourceOptions);
    @overload
    def Profile(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                container_network_interface: Optional[ProfileContainerNetworkInterfaceArgs] = None,
                location: Optional[str] = None,
                name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = None)
    @overload
    def Profile(resource_name: str,
                args: ProfileArgs,
                opts: Optional[ResourceOptions] = None)
    func NewProfile(ctx *Context, name string, args ProfileArgs, opts ...ResourceOption) (*Profile, error)
    public Profile(string name, ProfileArgs args, CustomResourceOptions? opts = null)
    public Profile(String name, ProfileArgs args)
    public Profile(String name, ProfileArgs args, CustomResourceOptions options)
    
    type: azure:network:Profile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ProfileArgs
    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 ProfileArgs
    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 ProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Profile 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 Profile resource accepts the following input properties:

    ContainerNetworkInterface ProfileContainerNetworkInterface

    A container_network_interface block as documented below.

    ResourceGroupName string

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    Location string

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    Name string

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    Tags Dictionary<string, string>

    A mapping of tags to assign to the resource.

    ContainerNetworkInterface ProfileContainerNetworkInterfaceArgs

    A container_network_interface block as documented below.

    ResourceGroupName string

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    Location string

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    Name string

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    Tags map[string]string

    A mapping of tags to assign to the resource.

    containerNetworkInterface ProfileContainerNetworkInterface

    A container_network_interface block as documented below.

    resourceGroupName String

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    location String

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    name String

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    tags Map<String,String>

    A mapping of tags to assign to the resource.

    containerNetworkInterface ProfileContainerNetworkInterface

    A container_network_interface block as documented below.

    resourceGroupName string

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    location string

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    name string

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    tags {[key: string]: string}

    A mapping of tags to assign to the resource.

    container_network_interface ProfileContainerNetworkInterfaceArgs

    A container_network_interface block as documented below.

    resource_group_name str

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    location str

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    name str

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    tags Mapping[str, str]

    A mapping of tags to assign to the resource.

    containerNetworkInterface Property Map

    A container_network_interface block as documented below.

    resourceGroupName String

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    location String

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    name String

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    tags Map<String>

    A mapping of tags to assign to the resource.

    Outputs

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

    ContainerNetworkInterfaceIds List<string>

    A list of Container Network Interface IDs.

    Id string

    The provider-assigned unique ID for this managed resource.

    ContainerNetworkInterfaceIds []string

    A list of Container Network Interface IDs.

    Id string

    The provider-assigned unique ID for this managed resource.

    containerNetworkInterfaceIds List<String>

    A list of Container Network Interface IDs.

    id String

    The provider-assigned unique ID for this managed resource.

    containerNetworkInterfaceIds string[]

    A list of Container Network Interface IDs.

    id string

    The provider-assigned unique ID for this managed resource.

    container_network_interface_ids Sequence[str]

    A list of Container Network Interface IDs.

    id str

    The provider-assigned unique ID for this managed resource.

    containerNetworkInterfaceIds List<String>

    A list of Container Network Interface IDs.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing Profile Resource

    Get an existing Profile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ProfileState, opts?: CustomResourceOptions): Profile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            container_network_interface: Optional[ProfileContainerNetworkInterfaceArgs] = None,
            container_network_interface_ids: Optional[Sequence[str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> Profile
    func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
    public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
    public static Profile get(String name, Output<String> id, ProfileState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ContainerNetworkInterface ProfileContainerNetworkInterface

    A container_network_interface block as documented below.

    ContainerNetworkInterfaceIds List<string>

    A list of Container Network Interface IDs.

    Location string

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    Name string

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    ResourceGroupName string

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    Tags Dictionary<string, string>

    A mapping of tags to assign to the resource.

    ContainerNetworkInterface ProfileContainerNetworkInterfaceArgs

    A container_network_interface block as documented below.

    ContainerNetworkInterfaceIds []string

    A list of Container Network Interface IDs.

    Location string

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    Name string

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    ResourceGroupName string

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    Tags map[string]string

    A mapping of tags to assign to the resource.

    containerNetworkInterface ProfileContainerNetworkInterface

    A container_network_interface block as documented below.

    containerNetworkInterfaceIds List<String>

    A list of Container Network Interface IDs.

    location String

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    name String

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    resourceGroupName String

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    tags Map<String,String>

    A mapping of tags to assign to the resource.

    containerNetworkInterface ProfileContainerNetworkInterface

    A container_network_interface block as documented below.

    containerNetworkInterfaceIds string[]

    A list of Container Network Interface IDs.

    location string

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    name string

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    resourceGroupName string

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    tags {[key: string]: string}

    A mapping of tags to assign to the resource.

    container_network_interface ProfileContainerNetworkInterfaceArgs

    A container_network_interface block as documented below.

    container_network_interface_ids Sequence[str]

    A list of Container Network Interface IDs.

    location str

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    name str

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    resource_group_name str

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    tags Mapping[str, str]

    A mapping of tags to assign to the resource.

    containerNetworkInterface Property Map

    A container_network_interface block as documented below.

    containerNetworkInterfaceIds List<String>

    A list of Container Network Interface IDs.

    location String

    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

    name String

    Specifies the name of the Network Profile. Changing this forces a new resource to be created.

    resourceGroupName String

    The name of the resource group in which to create the resource. Changing this forces a new resource to be created.

    tags Map<String>

    A mapping of tags to assign to the resource.

    Supporting Types

    ProfileContainerNetworkInterface, ProfileContainerNetworkInterfaceArgs

    IpConfigurations List<ProfileContainerNetworkInterfaceIpConfiguration>

    One or more ip_configuration blocks as documented below.

    Name string

    Specifies the name of the IP Configuration.

    IpConfigurations []ProfileContainerNetworkInterfaceIpConfiguration

    One or more ip_configuration blocks as documented below.

    Name string

    Specifies the name of the IP Configuration.

    ipConfigurations List<ProfileContainerNetworkInterfaceIpConfiguration>

    One or more ip_configuration blocks as documented below.

    name String

    Specifies the name of the IP Configuration.

    ipConfigurations ProfileContainerNetworkInterfaceIpConfiguration[]

    One or more ip_configuration blocks as documented below.

    name string

    Specifies the name of the IP Configuration.

    ip_configurations Sequence[ProfileContainerNetworkInterfaceIpConfiguration]

    One or more ip_configuration blocks as documented below.

    name str

    Specifies the name of the IP Configuration.

    ipConfigurations List<Property Map>

    One or more ip_configuration blocks as documented below.

    name String

    Specifies the name of the IP Configuration.

    ProfileContainerNetworkInterfaceIpConfiguration, ProfileContainerNetworkInterfaceIpConfigurationArgs

    Name string

    Specifies the name of the IP Configuration.

    SubnetId string

    Reference to the subnet associated with the IP Configuration.

    Name string

    Specifies the name of the IP Configuration.

    SubnetId string

    Reference to the subnet associated with the IP Configuration.

    name String

    Specifies the name of the IP Configuration.

    subnetId String

    Reference to the subnet associated with the IP Configuration.

    name string

    Specifies the name of the IP Configuration.

    subnetId string

    Reference to the subnet associated with the IP Configuration.

    name str

    Specifies the name of the IP Configuration.

    subnet_id str

    Reference to the subnet associated with the IP Configuration.

    name String

    Specifies the name of the IP Configuration.

    subnetId String

    Reference to the subnet associated with the IP Configuration.

    Import

    Network Profile can be imported using the resource id, e.g.

     $ pulumi import azure:network/profile:Profile example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/networkProfiles/examplenetprofile
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the azurerm Terraform Provider.

    azure logo

    We recommend using Azure Native.

    Azure Classic v5.58.0 published on Saturday, Dec 2, 2023 by Pulumi