1. Packages
  2. Packages
  3. Azure Classic
  4. API Docs
  5. servicefabric
  6. MeshLocalNetwork

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Import

    Service Fabric Mesh Local Network can be imported using the resource id, e.g.

     $ pulumi import azure:servicefabric/meshLocalNetwork:MeshLocalNetwork network1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ServiceFabricMesh/networks/network1
    

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleMeshLocalNetwork = new Azure.ServiceFabric.MeshLocalNetwork("exampleMeshLocalNetwork", new Azure.ServiceFabric.MeshLocalNetworkArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                NetworkAddressPrefix = "10.0.0.0/22",
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/servicefabric"
    	"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
    		}
    		_, err = servicefabric.NewMeshLocalNetwork(ctx, "exampleMeshLocalNetwork", &servicefabric.MeshLocalNetworkArgs{
    			ResourceGroupName:    exampleResourceGroup.Name,
    			Location:             exampleResourceGroup.Location,
    			NetworkAddressPrefix: pulumi.String("10.0.0.0/22"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleMeshLocalNetwork = new azure.servicefabric.MeshLocalNetwork("exampleMeshLocalNetwork", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        networkAddressPrefix: "10.0.0.0/22",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_mesh_local_network = azure.servicefabric.MeshLocalNetwork("exampleMeshLocalNetwork",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        network_address_prefix="10.0.0.0/22")
    

    Example coming soon!

    Create MeshLocalNetwork Resource

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

    Constructor syntax

    new MeshLocalNetwork(name: string, args: MeshLocalNetworkArgs, opts?: CustomResourceOptions);
    @overload
    def MeshLocalNetwork(resource_name: str,
                         args: MeshLocalNetworkArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def MeshLocalNetwork(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         network_address_prefix: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         description: Optional[str] = None,
                         location: Optional[str] = None,
                         name: Optional[str] = None,
                         tags: Optional[Mapping[str, str]] = None)
    func NewMeshLocalNetwork(ctx *Context, name string, args MeshLocalNetworkArgs, opts ...ResourceOption) (*MeshLocalNetwork, error)
    public MeshLocalNetwork(string name, MeshLocalNetworkArgs args, CustomResourceOptions? opts = null)
    public MeshLocalNetwork(String name, MeshLocalNetworkArgs args)
    public MeshLocalNetwork(String name, MeshLocalNetworkArgs args, CustomResourceOptions options)
    
    type: azure:servicefabric:MeshLocalNetwork
    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 MeshLocalNetworkArgs
    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 MeshLocalNetworkArgs
    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 MeshLocalNetworkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MeshLocalNetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MeshLocalNetworkArgs
    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 meshLocalNetworkResource = new Azure.ServiceFabric.MeshLocalNetwork("meshLocalNetworkResource", new()
    {
        NetworkAddressPrefix = "string",
        ResourceGroupName = "string",
        Description = "string",
        Location = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := servicefabric.NewMeshLocalNetwork(ctx, "meshLocalNetworkResource", &servicefabric.MeshLocalNetworkArgs{
    	NetworkAddressPrefix: pulumi.String("string"),
    	ResourceGroupName:    pulumi.String("string"),
    	Description:          pulumi.String("string"),
    	Location:             pulumi.String("string"),
    	Name:                 pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var meshLocalNetworkResource = new MeshLocalNetwork("meshLocalNetworkResource", MeshLocalNetworkArgs.builder()
        .networkAddressPrefix("string")
        .resourceGroupName("string")
        .description("string")
        .location("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    mesh_local_network_resource = azure.servicefabric.MeshLocalNetwork("meshLocalNetworkResource",
        network_address_prefix="string",
        resource_group_name="string",
        description="string",
        location="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const meshLocalNetworkResource = new azure.servicefabric.MeshLocalNetwork("meshLocalNetworkResource", {
        networkAddressPrefix: "string",
        resourceGroupName: "string",
        description: "string",
        location: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:servicefabric:MeshLocalNetwork
    properties:
        description: string
        location: string
        name: string
        networkAddressPrefix: string
        resourceGroupName: string
        tags:
            string: string
    

    MeshLocalNetwork Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MeshLocalNetwork resource accepts the following input properties:

    NetworkAddressPrefix string
    The address space for the local container network.
    ResourceGroupName string
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    Description string
    A description of this Service Fabric Mesh Local Network.
    Location string
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    Name string
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    NetworkAddressPrefix string
    The address space for the local container network.
    ResourceGroupName string
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    Description string
    A description of this Service Fabric Mesh Local Network.
    Location string
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    Name string
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    networkAddressPrefix String
    The address space for the local container network.
    resourceGroupName String
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    description String
    A description of this Service Fabric Mesh Local Network.
    location String
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    name String
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    networkAddressPrefix string
    The address space for the local container network.
    resourceGroupName string
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    description string
    A description of this Service Fabric Mesh Local Network.
    location string
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    name string
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    network_address_prefix str
    The address space for the local container network.
    resource_group_name str
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    description str
    A description of this Service Fabric Mesh Local Network.
    location str
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    name str
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    networkAddressPrefix String
    The address space for the local container network.
    resourceGroupName String
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    description String
    A description of this Service Fabric Mesh Local Network.
    location String
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    name String
    The name of the Service Fabric Mesh Local Network. 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 MeshLocalNetwork resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing MeshLocalNetwork Resource

    Get an existing MeshLocalNetwork 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?: MeshLocalNetworkState, opts?: CustomResourceOptions): MeshLocalNetwork
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            network_address_prefix: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> MeshLocalNetwork
    func GetMeshLocalNetwork(ctx *Context, name string, id IDInput, state *MeshLocalNetworkState, opts ...ResourceOption) (*MeshLocalNetwork, error)
    public static MeshLocalNetwork Get(string name, Input<string> id, MeshLocalNetworkState? state, CustomResourceOptions? opts = null)
    public static MeshLocalNetwork get(String name, Output<String> id, MeshLocalNetworkState state, CustomResourceOptions options)
    resources:  _:    type: azure:servicefabric:MeshLocalNetwork    get:      id: ${id}
    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:
    Description string
    A description of this Service Fabric Mesh Local Network.
    Location string
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    Name string
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    NetworkAddressPrefix string
    The address space for the local container network.
    ResourceGroupName string
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    Description string
    A description of this Service Fabric Mesh Local Network.
    Location string
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    Name string
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    NetworkAddressPrefix string
    The address space for the local container network.
    ResourceGroupName string
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    description String
    A description of this Service Fabric Mesh Local Network.
    location String
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    name String
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    networkAddressPrefix String
    The address space for the local container network.
    resourceGroupName String
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    description string
    A description of this Service Fabric Mesh Local Network.
    location string
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    name string
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    networkAddressPrefix string
    The address space for the local container network.
    resourceGroupName string
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    description str
    A description of this Service Fabric Mesh Local Network.
    location str
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    name str
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    network_address_prefix str
    The address space for the local container network.
    resource_group_name str
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    description String
    A description of this Service Fabric Mesh Local Network.
    location String
    Specifies the Azure Region where the Service Fabric Mesh Local Network should exist. Changing this forces a new resource to be created.
    name String
    The name of the Service Fabric Mesh Local Network. Changing this forces a new resource to be created.
    networkAddressPrefix String
    The address space for the local container network.
    resourceGroupName String
    The name of the Resource Group in which the Service Fabric Mesh Local Network exists. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags to assign to the resource.

    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.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.