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

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.network.Profile

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages a Network Profile.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "examplegroup",
        location: "West Europe",
    });
    const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
        name: "examplevnet",
        location: example.location,
        resourceGroupName: example.name,
        addressSpaces: ["10.1.0.0/16"],
    });
    const exampleSubnet = new azure.network.Subnet("example", {
        name: "examplesubnet",
        resourceGroupName: example.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("example", {
        name: "examplenetprofile",
        location: example.location,
        resourceGroupName: example.name,
        containerNetworkInterface: {
            name: "examplecnic",
            ipConfigurations: [{
                name: "exampleipconfig",
                subnetId: exampleSubnet.id,
            }],
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="examplegroup",
        location="West Europe")
    example_virtual_network = azure.network.VirtualNetwork("example",
        name="examplevnet",
        location=example.location,
        resource_group_name=example.name,
        address_spaces=["10.1.0.0/16"])
    example_subnet = azure.network.Subnet("example",
        name="examplesubnet",
        resource_group_name=example.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("example",
        name="examplenetprofile",
        location=example.location,
        resource_group_name=example.name,
        container_network_interface=azure.network.ProfileContainerNetworkInterfaceArgs(
            name="examplecnic",
            ip_configurations=[azure.network.ProfileContainerNetworkInterfaceIpConfigurationArgs(
                name="exampleipconfig",
                subnet_id=example_subnet.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 {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("examplegroup"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
    			Name:              pulumi.String("examplevnet"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			AddressSpaces: pulumi.StringArray{
    				pulumi.String("10.1.0.0/16"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
    			Name:               pulumi.String("examplesubnet"),
    			ResourceGroupName:  example.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, "example", &network.ProfileArgs{
    			Name:              pulumi.String("examplenetprofile"),
    			Location:          example.Location,
    			ResourceGroupName: example.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
    	})
    }
    
    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 = "examplegroup",
            Location = "West Europe",
        });
    
        var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
        {
            Name = "examplevnet",
            Location = example.Location,
            ResourceGroupName = example.Name,
            AddressSpaces = new[]
            {
                "10.1.0.0/16",
            },
        });
    
        var exampleSubnet = new Azure.Network.Subnet("example", new()
        {
            Name = "examplesubnet",
            ResourceGroupName = example.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("example", new()
        {
            Name = "examplenetprofile",
            Location = example.Location,
            ResourceGroupName = example.Name,
            ContainerNetworkInterface = new Azure.Network.Inputs.ProfileContainerNetworkInterfaceArgs
            {
                Name = "examplecnic",
                IpConfigurations = new[]
                {
                    new Azure.Network.Inputs.ProfileContainerNetworkInterfaceIpConfigurationArgs
                    {
                        Name = "exampleipconfig",
                        SubnetId = exampleSubnet.Id,
                    },
                },
            },
        });
    
    });
    
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("examplegroup")
                .location("West Europe")
                .build());
    
            var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
                .name("examplevnet")
                .location(example.location())
                .resourceGroupName(example.name())
                .addressSpaces("10.1.0.0/16")
                .build());
    
            var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
                .name("examplesubnet")
                .resourceGroupName(example.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()
                .name("examplenetprofile")
                .location(example.location())
                .resourceGroupName(example.name())
                .containerNetworkInterface(ProfileContainerNetworkInterfaceArgs.builder()
                    .name("examplecnic")
                    .ipConfigurations(ProfileContainerNetworkInterfaceIpConfigurationArgs.builder()
                        .name("exampleipconfig")
                        .subnetId(exampleSubnet.id())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: examplegroup
          location: West Europe
      exampleVirtualNetwork:
        type: azure:network:VirtualNetwork
        name: example
        properties:
          name: examplevnet
          location: ${example.location}
          resourceGroupName: ${example.name}
          addressSpaces:
            - 10.1.0.0/16
      exampleSubnet:
        type: azure:network:Subnet
        name: example
        properties:
          name: examplesubnet
          resourceGroupName: ${example.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
        name: example
        properties:
          name: examplenetprofile
          location: ${example.location}
          resourceGroupName: ${example.name}
          containerNetworkInterface:
            name: examplecnic
            ipConfigurations:
              - name: exampleipconfig
                subnetId: ${exampleSubnet.id}
    

    Create Profile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Profile(name: string, args: ProfileArgs, opts?: CustomResourceOptions);
    @overload
    def Profile(resource_name: str,
                args: ProfileArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Profile(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                container_network_interface: Optional[ProfileContainerNetworkInterfaceArgs] = None,
                resource_group_name: Optional[str] = None,
                location: Optional[str] = None,
                name: Optional[str] = None,
                tags: Optional[Mapping[str, str]] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var azureProfileResource = new Azure.Network.Profile("azureProfileResource", new()
    {
        ContainerNetworkInterface = new Azure.Network.Inputs.ProfileContainerNetworkInterfaceArgs
        {
            IpConfigurations = new[]
            {
                new Azure.Network.Inputs.ProfileContainerNetworkInterfaceIpConfigurationArgs
                {
                    Name = "string",
                    SubnetId = "string",
                },
            },
            Name = "string",
        },
        ResourceGroupName = "string",
        Location = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := network.NewProfile(ctx, "azureProfileResource", &network.ProfileArgs{
    	ContainerNetworkInterface: &network.ProfileContainerNetworkInterfaceArgs{
    		IpConfigurations: network.ProfileContainerNetworkInterfaceIpConfigurationArray{
    			&network.ProfileContainerNetworkInterfaceIpConfigurationArgs{
    				Name:     pulumi.String("string"),
    				SubnetId: pulumi.String("string"),
    			},
    		},
    		Name: pulumi.String("string"),
    	},
    	ResourceGroupName: pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var azureProfileResource = new Profile("azureProfileResource", ProfileArgs.builder()
        .containerNetworkInterface(ProfileContainerNetworkInterfaceArgs.builder()
            .ipConfigurations(ProfileContainerNetworkInterfaceIpConfigurationArgs.builder()
                .name("string")
                .subnetId("string")
                .build())
            .name("string")
            .build())
        .resourceGroupName("string")
        .location("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    azure_profile_resource = azure.network.Profile("azureProfileResource",
        container_network_interface=azure.network.ProfileContainerNetworkInterfaceArgs(
            ip_configurations=[azure.network.ProfileContainerNetworkInterfaceIpConfigurationArgs(
                name="string",
                subnet_id="string",
            )],
            name="string",
        ),
        resource_group_name="string",
        location="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const azureProfileResource = new azure.network.Profile("azureProfileResource", {
        containerNetworkInterface: {
            ipConfigurations: [{
                name: "string",
                subnetId: "string",
            }],
            name: "string",
        },
        resourceGroupName: "string",
        location: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:network:Profile
    properties:
        containerNetworkInterface:
            ipConfigurations:
                - name: string
                  subnetId: string
            name: string
        location: string
        name: string
        resourceGroupName: string
        tags:
            string: string
    

    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 assigned 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 assigned 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 assigned 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 assigned 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 assigned 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 assigned 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 assigned 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 assigned 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 assigned 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 assigned 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 assigned 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 assigned 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
    

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

    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.81.0 published on Monday, Jun 24, 2024 by Pulumi