1. Packages
  2. Juniper Mist Provider
  3. API Docs
  4. org
  5. Network
Juniper Mist v0.4.0 published on Wednesday, Apr 16, 2025 by Pulumi

junipermist.org.Network

Explore with Pulumi AI

This resource manages the WAN Assurance Networks.

The Networks are used in the service_policies from the Gateway configuration, Gateway templates or HUB Profiles

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/juniper-mist";

const networkOne = new junipermist.org.Network("network_one", {
    orgId: terraformTest.id,
    name: "network_one",
    subnet: "10.4.0.0/24",
    disallowMistServices: false,
});
Copy
import pulumi
import pulumi_juniper_mist as junipermist

network_one = junipermist.org.Network("network_one",
    org_id=terraform_test["id"],
    name="network_one",
    subnet="10.4.0.0/24",
    disallow_mist_services=False)
Copy
package main

import (
	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/org"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := org.NewNetwork(ctx, "network_one", &org.NetworkArgs{
			OrgId:                pulumi.Any(terraformTest.Id),
			Name:                 pulumi.String("network_one"),
			Subnet:               pulumi.String("10.4.0.0/24"),
			DisallowMistServices: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using JuniperMist = Pulumi.JuniperMist;

return await Deployment.RunAsync(() => 
{
    var networkOne = new JuniperMist.Org.Network("network_one", new()
    {
        OrgId = terraformTest.Id,
        Name = "network_one",
        Subnet = "10.4.0.0/24",
        DisallowMistServices = false,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.Network;
import com.pulumi.junipermist.org.NetworkArgs;
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 networkOne = new Network("networkOne", NetworkArgs.builder()
            .orgId(terraformTest.id())
            .name("network_one")
            .subnet("10.4.0.0/24")
            .disallowMistServices(false)
            .build());

    }
}
Copy
resources:
  networkOne:
    type: junipermist:org:Network
    name: network_one
    properties:
      orgId: ${terraformTest.id}
      name: network_one
      subnet: 10.4.0.0/24
      disallowMistServices: false
Copy

Create Network Resource

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

Constructor syntax

new Network(name: string, args: NetworkArgs, opts?: CustomResourceOptions);
@overload
def Network(resource_name: str,
            args: NetworkArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Network(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            org_id: Optional[str] = None,
            subnet: Optional[str] = None,
            multicast: Optional[NetworkMulticastArgs] = None,
            internal_access: Optional[NetworkInternalAccessArgs] = None,
            internet_access: Optional[NetworkInternetAccessArgs] = None,
            isolation: Optional[bool] = None,
            disallow_mist_services: Optional[bool] = None,
            name: Optional[str] = None,
            gateway6: Optional[str] = None,
            routed_for_networks: Optional[Sequence[str]] = None,
            gateway: Optional[str] = None,
            subnet6: Optional[str] = None,
            tenants: Optional[Mapping[str, NetworkTenantsArgs]] = None,
            vlan_id: Optional[str] = None,
            vpn_access: Optional[Mapping[str, NetworkVpnAccessArgs]] = None)
func NewNetwork(ctx *Context, name string, args NetworkArgs, opts ...ResourceOption) (*Network, error)
public Network(string name, NetworkArgs args, CustomResourceOptions? opts = null)
public Network(String name, NetworkArgs args)
public Network(String name, NetworkArgs args, CustomResourceOptions options)
type: junipermist:org:Network
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NetworkArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NetworkArgs
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 networkResource = new JuniperMist.Org.Network("networkResource", new()
{
    OrgId = "string",
    Subnet = "string",
    Multicast = new JuniperMist.Org.Inputs.NetworkMulticastArgs
    {
        DisableIgmp = false,
        Enabled = false,
        Groups = 
        {
            { "string", new JuniperMist.Org.Inputs.NetworkMulticastGroupsArgs
            {
                RpIp = "string",
            } },
        },
    },
    InternalAccess = new JuniperMist.Org.Inputs.NetworkInternalAccessArgs
    {
        Enabled = false,
    },
    InternetAccess = new JuniperMist.Org.Inputs.NetworkInternetAccessArgs
    {
        CreateSimpleServicePolicy = false,
        DestinationNat = 
        {
            { "string", new JuniperMist.Org.Inputs.NetworkInternetAccessDestinationNatArgs
            {
                InternalIp = "string",
                Name = "string",
                Port = "string",
                WanName = "string",
            } },
        },
        Enabled = false,
        Restricted = false,
        StaticNat = 
        {
            { "string", new JuniperMist.Org.Inputs.NetworkInternetAccessStaticNatArgs
            {
                InternalIp = "string",
                Name = "string",
                WanName = "string",
            } },
        },
    },
    Isolation = false,
    DisallowMistServices = false,
    Name = "string",
    Gateway6 = "string",
    RoutedForNetworks = new[]
    {
        "string",
    },
    Gateway = "string",
    Subnet6 = "string",
    Tenants = 
    {
        { "string", new JuniperMist.Org.Inputs.NetworkTenantsArgs
        {
            Addresses = new[]
            {
                "string",
            },
        } },
    },
    VlanId = "string",
    VpnAccess = 
    {
        { "string", new JuniperMist.Org.Inputs.NetworkVpnAccessArgs
        {
            AdvertisedSubnet = "string",
            AllowPing = false,
            DestinationNat = 
            {
                { "string", new JuniperMist.Org.Inputs.NetworkVpnAccessDestinationNatArgs
                {
                    InternalIp = "string",
                    Name = "string",
                    Port = "string",
                } },
            },
            NatPool = "string",
            NoReadvertiseToLanBgp = false,
            NoReadvertiseToLanOspf = false,
            NoReadvertiseToOverlay = false,
            OtherVrfs = new[]
            {
                "string",
            },
            Routed = false,
            SourceNat = new JuniperMist.Org.Inputs.NetworkVpnAccessSourceNatArgs
            {
                ExternalIp = "string",
            },
            StaticNat = 
            {
                { "string", new JuniperMist.Org.Inputs.NetworkVpnAccessStaticNatArgs
                {
                    InternalIp = "string",
                    Name = "string",
                } },
            },
            SummarizedSubnet = "string",
            SummarizedSubnetToLanBgp = "string",
            SummarizedSubnetToLanOspf = "string",
        } },
    },
});
Copy
example, err := org.NewNetwork(ctx, "networkResource", &org.NetworkArgs{
	OrgId:  pulumi.String("string"),
	Subnet: pulumi.String("string"),
	Multicast: &org.NetworkMulticastArgs{
		DisableIgmp: pulumi.Bool(false),
		Enabled:     pulumi.Bool(false),
		Groups: org.NetworkMulticastGroupsMap{
			"string": &org.NetworkMulticastGroupsArgs{
				RpIp: pulumi.String("string"),
			},
		},
	},
	InternalAccess: &org.NetworkInternalAccessArgs{
		Enabled: pulumi.Bool(false),
	},
	InternetAccess: &org.NetworkInternetAccessArgs{
		CreateSimpleServicePolicy: pulumi.Bool(false),
		DestinationNat: org.NetworkInternetAccessDestinationNatMap{
			"string": &org.NetworkInternetAccessDestinationNatArgs{
				InternalIp: pulumi.String("string"),
				Name:       pulumi.String("string"),
				Port:       pulumi.String("string"),
				WanName:    pulumi.String("string"),
			},
		},
		Enabled:    pulumi.Bool(false),
		Restricted: pulumi.Bool(false),
		StaticNat: org.NetworkInternetAccessStaticNatMap{
			"string": &org.NetworkInternetAccessStaticNatArgs{
				InternalIp: pulumi.String("string"),
				Name:       pulumi.String("string"),
				WanName:    pulumi.String("string"),
			},
		},
	},
	Isolation:            pulumi.Bool(false),
	DisallowMistServices: pulumi.Bool(false),
	Name:                 pulumi.String("string"),
	Gateway6:             pulumi.String("string"),
	RoutedForNetworks: pulumi.StringArray{
		pulumi.String("string"),
	},
	Gateway: pulumi.String("string"),
	Subnet6: pulumi.String("string"),
	Tenants: org.NetworkTenantsMap{
		"string": &org.NetworkTenantsArgs{
			Addresses: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	VlanId: pulumi.String("string"),
	VpnAccess: org.NetworkVpnAccessMap{
		"string": &org.NetworkVpnAccessArgs{
			AdvertisedSubnet: pulumi.String("string"),
			AllowPing:        pulumi.Bool(false),
			DestinationNat: org.NetworkVpnAccessDestinationNatMap{
				"string": &org.NetworkVpnAccessDestinationNatArgs{
					InternalIp: pulumi.String("string"),
					Name:       pulumi.String("string"),
					Port:       pulumi.String("string"),
				},
			},
			NatPool:                pulumi.String("string"),
			NoReadvertiseToLanBgp:  pulumi.Bool(false),
			NoReadvertiseToLanOspf: pulumi.Bool(false),
			NoReadvertiseToOverlay: pulumi.Bool(false),
			OtherVrfs: pulumi.StringArray{
				pulumi.String("string"),
			},
			Routed: pulumi.Bool(false),
			SourceNat: &org.NetworkVpnAccessSourceNatArgs{
				ExternalIp: pulumi.String("string"),
			},
			StaticNat: org.NetworkVpnAccessStaticNatMap{
				"string": &org.NetworkVpnAccessStaticNatArgs{
					InternalIp: pulumi.String("string"),
					Name:       pulumi.String("string"),
				},
			},
			SummarizedSubnet:          pulumi.String("string"),
			SummarizedSubnetToLanBgp:  pulumi.String("string"),
			SummarizedSubnetToLanOspf: pulumi.String("string"),
		},
	},
})
Copy
var networkResource = new Network("networkResource", NetworkArgs.builder()
    .orgId("string")
    .subnet("string")
    .multicast(NetworkMulticastArgs.builder()
        .disableIgmp(false)
        .enabled(false)
        .groups(Map.of("string", Map.of("rpIp", "string")))
        .build())
    .internalAccess(NetworkInternalAccessArgs.builder()
        .enabled(false)
        .build())
    .internetAccess(NetworkInternetAccessArgs.builder()
        .createSimpleServicePolicy(false)
        .destinationNat(Map.of("string", Map.ofEntries(
            Map.entry("internalIp", "string"),
            Map.entry("name", "string"),
            Map.entry("port", "string"),
            Map.entry("wanName", "string")
        )))
        .enabled(false)
        .restricted(false)
        .staticNat(Map.of("string", Map.ofEntries(
            Map.entry("internalIp", "string"),
            Map.entry("name", "string"),
            Map.entry("wanName", "string")
        )))
        .build())
    .isolation(false)
    .disallowMistServices(false)
    .name("string")
    .gateway6("string")
    .routedForNetworks("string")
    .gateway("string")
    .subnet6("string")
    .tenants(Map.of("string", Map.of("addresses", "string")))
    .vlanId("string")
    .vpnAccess(Map.of("string", Map.ofEntries(
        Map.entry("advertisedSubnet", "string"),
        Map.entry("allowPing", false),
        Map.entry("destinationNat", Map.of("string", Map.ofEntries(
            Map.entry("internalIp", "string"),
            Map.entry("name", "string"),
            Map.entry("port", "string")
        ))),
        Map.entry("natPool", "string"),
        Map.entry("noReadvertiseToLanBgp", false),
        Map.entry("noReadvertiseToLanOspf", false),
        Map.entry("noReadvertiseToOverlay", false),
        Map.entry("otherVrfs", "string"),
        Map.entry("routed", false),
        Map.entry("sourceNat", Map.of("externalIp", "string")),
        Map.entry("staticNat", Map.of("string", Map.ofEntries(
            Map.entry("internalIp", "string"),
            Map.entry("name", "string")
        ))),
        Map.entry("summarizedSubnet", "string"),
        Map.entry("summarizedSubnetToLanBgp", "string"),
        Map.entry("summarizedSubnetToLanOspf", "string")
    )))
    .build());
Copy
network_resource = junipermist.org.Network("networkResource",
    org_id="string",
    subnet="string",
    multicast={
        "disable_igmp": False,
        "enabled": False,
        "groups": {
            "string": {
                "rp_ip": "string",
            },
        },
    },
    internal_access={
        "enabled": False,
    },
    internet_access={
        "create_simple_service_policy": False,
        "destination_nat": {
            "string": {
                "internal_ip": "string",
                "name": "string",
                "port": "string",
                "wan_name": "string",
            },
        },
        "enabled": False,
        "restricted": False,
        "static_nat": {
            "string": {
                "internal_ip": "string",
                "name": "string",
                "wan_name": "string",
            },
        },
    },
    isolation=False,
    disallow_mist_services=False,
    name="string",
    gateway6="string",
    routed_for_networks=["string"],
    gateway="string",
    subnet6="string",
    tenants={
        "string": {
            "addresses": ["string"],
        },
    },
    vlan_id="string",
    vpn_access={
        "string": {
            "advertised_subnet": "string",
            "allow_ping": False,
            "destination_nat": {
                "string": {
                    "internal_ip": "string",
                    "name": "string",
                    "port": "string",
                },
            },
            "nat_pool": "string",
            "no_readvertise_to_lan_bgp": False,
            "no_readvertise_to_lan_ospf": False,
            "no_readvertise_to_overlay": False,
            "other_vrfs": ["string"],
            "routed": False,
            "source_nat": {
                "external_ip": "string",
            },
            "static_nat": {
                "string": {
                    "internal_ip": "string",
                    "name": "string",
                },
            },
            "summarized_subnet": "string",
            "summarized_subnet_to_lan_bgp": "string",
            "summarized_subnet_to_lan_ospf": "string",
        },
    })
Copy
const networkResource = new junipermist.org.Network("networkResource", {
    orgId: "string",
    subnet: "string",
    multicast: {
        disableIgmp: false,
        enabled: false,
        groups: {
            string: {
                rpIp: "string",
            },
        },
    },
    internalAccess: {
        enabled: false,
    },
    internetAccess: {
        createSimpleServicePolicy: false,
        destinationNat: {
            string: {
                internalIp: "string",
                name: "string",
                port: "string",
                wanName: "string",
            },
        },
        enabled: false,
        restricted: false,
        staticNat: {
            string: {
                internalIp: "string",
                name: "string",
                wanName: "string",
            },
        },
    },
    isolation: false,
    disallowMistServices: false,
    name: "string",
    gateway6: "string",
    routedForNetworks: ["string"],
    gateway: "string",
    subnet6: "string",
    tenants: {
        string: {
            addresses: ["string"],
        },
    },
    vlanId: "string",
    vpnAccess: {
        string: {
            advertisedSubnet: "string",
            allowPing: false,
            destinationNat: {
                string: {
                    internalIp: "string",
                    name: "string",
                    port: "string",
                },
            },
            natPool: "string",
            noReadvertiseToLanBgp: false,
            noReadvertiseToLanOspf: false,
            noReadvertiseToOverlay: false,
            otherVrfs: ["string"],
            routed: false,
            sourceNat: {
                externalIp: "string",
            },
            staticNat: {
                string: {
                    internalIp: "string",
                    name: "string",
                },
            },
            summarizedSubnet: "string",
            summarizedSubnetToLanBgp: "string",
            summarizedSubnetToLanOspf: "string",
        },
    },
});
Copy
type: junipermist:org:Network
properties:
    disallowMistServices: false
    gateway: string
    gateway6: string
    internalAccess:
        enabled: false
    internetAccess:
        createSimpleServicePolicy: false
        destinationNat:
            string:
                internalIp: string
                name: string
                port: string
                wanName: string
        enabled: false
        restricted: false
        staticNat:
            string:
                internalIp: string
                name: string
                wanName: string
    isolation: false
    multicast:
        disableIgmp: false
        enabled: false
        groups:
            string:
                rpIp: string
    name: string
    orgId: string
    routedForNetworks:
        - string
    subnet: string
    subnet6: string
    tenants:
        string:
            addresses:
                - string
    vlanId: string
    vpnAccess:
        string:
            advertisedSubnet: string
            allowPing: false
            destinationNat:
                string:
                    internalIp: string
                    name: string
                    port: string
            natPool: string
            noReadvertiseToLanBgp: false
            noReadvertiseToLanOspf: false
            noReadvertiseToOverlay: false
            otherVrfs:
                - string
            routed: false
            sourceNat:
                externalIp: string
            staticNat:
                string:
                    internalIp: string
                    name: string
            summarizedSubnet: string
            summarizedSubnetToLanBgp: string
            summarizedSubnetToLanOspf: string
Copy

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

OrgId This property is required. string
Subnet This property is required. string
DisallowMistServices bool
Whether to disallow Mist Devices in the network
Gateway string
Gateway6 string
InternalAccess Pulumi.JuniperMist.Org.Inputs.NetworkInternalAccess
InternetAccess Pulumi.JuniperMist.Org.Inputs.NetworkInternetAccess
Whether this network has direct internet access
Isolation bool
Whether to allow clients in the network to talk to each other
Multicast Pulumi.JuniperMist.Org.Inputs.NetworkMulticast
Whether to enable multicast support (only PIM-sparse mode is supported)
Name string
RoutedForNetworks List<string>
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
Subnet6 string
Tenants Dictionary<string, Pulumi.JuniperMist.Org.Inputs.NetworkTenantsArgs>
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
VlanId string
VpnAccess Dictionary<string, Pulumi.JuniperMist.Org.Inputs.NetworkVpnAccessArgs>
Property key is the VPN name. Whether this network can be accessed from vpn
OrgId This property is required. string
Subnet This property is required. string
DisallowMistServices bool
Whether to disallow Mist Devices in the network
Gateway string
Gateway6 string
InternalAccess NetworkInternalAccessArgs
InternetAccess NetworkInternetAccessArgs
Whether this network has direct internet access
Isolation bool
Whether to allow clients in the network to talk to each other
Multicast NetworkMulticastArgs
Whether to enable multicast support (only PIM-sparse mode is supported)
Name string
RoutedForNetworks []string
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
Subnet6 string
Tenants map[string]NetworkTenantsArgs
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
VlanId string
VpnAccess map[string]NetworkVpnAccessArgs
Property key is the VPN name. Whether this network can be accessed from vpn
orgId This property is required. String
subnet This property is required. String
disallowMistServices Boolean
Whether to disallow Mist Devices in the network
gateway String
gateway6 String
internalAccess NetworkInternalAccess
internetAccess NetworkInternetAccess
Whether this network has direct internet access
isolation Boolean
Whether to allow clients in the network to talk to each other
multicast NetworkMulticast
Whether to enable multicast support (only PIM-sparse mode is supported)
name String
routedForNetworks List<String>
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
subnet6 String
tenants Map<String,NetworkTenantsArgs>
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
vlanId String
vpnAccess Map<String,NetworkVpnAccessArgs>
Property key is the VPN name. Whether this network can be accessed from vpn
orgId This property is required. string
subnet This property is required. string
disallowMistServices boolean
Whether to disallow Mist Devices in the network
gateway string
gateway6 string
internalAccess NetworkInternalAccess
internetAccess NetworkInternetAccess
Whether this network has direct internet access
isolation boolean
Whether to allow clients in the network to talk to each other
multicast NetworkMulticast
Whether to enable multicast support (only PIM-sparse mode is supported)
name string
routedForNetworks string[]
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
subnet6 string
tenants {[key: string]: NetworkTenantsArgs}
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
vlanId string
vpnAccess {[key: string]: NetworkVpnAccessArgs}
Property key is the VPN name. Whether this network can be accessed from vpn
org_id This property is required. str
subnet This property is required. str
disallow_mist_services bool
Whether to disallow Mist Devices in the network
gateway str
gateway6 str
internal_access NetworkInternalAccessArgs
internet_access NetworkInternetAccessArgs
Whether this network has direct internet access
isolation bool
Whether to allow clients in the network to talk to each other
multicast NetworkMulticastArgs
Whether to enable multicast support (only PIM-sparse mode is supported)
name str
routed_for_networks Sequence[str]
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
subnet6 str
tenants Mapping[str, NetworkTenantsArgs]
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
vlan_id str
vpn_access Mapping[str, NetworkVpnAccessArgs]
Property key is the VPN name. Whether this network can be accessed from vpn
orgId This property is required. String
subnet This property is required. String
disallowMistServices Boolean
Whether to disallow Mist Devices in the network
gateway String
gateway6 String
internalAccess Property Map
internetAccess Property Map
Whether this network has direct internet access
isolation Boolean
Whether to allow clients in the network to talk to each other
multicast Property Map
Whether to enable multicast support (only PIM-sparse mode is supported)
name String
routedForNetworks List<String>
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
subnet6 String
tenants Map<Property Map>
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
vlanId String
vpnAccess Map<Property Map>
Property key is the VPN name. Whether this network can be accessed from vpn

Outputs

All input properties are implicitly available as output properties. Additionally, the Network 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 Network Resource

Get an existing Network 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?: NetworkState, opts?: CustomResourceOptions): Network
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        disallow_mist_services: Optional[bool] = None,
        gateway: Optional[str] = None,
        gateway6: Optional[str] = None,
        internal_access: Optional[NetworkInternalAccessArgs] = None,
        internet_access: Optional[NetworkInternetAccessArgs] = None,
        isolation: Optional[bool] = None,
        multicast: Optional[NetworkMulticastArgs] = None,
        name: Optional[str] = None,
        org_id: Optional[str] = None,
        routed_for_networks: Optional[Sequence[str]] = None,
        subnet: Optional[str] = None,
        subnet6: Optional[str] = None,
        tenants: Optional[Mapping[str, NetworkTenantsArgs]] = None,
        vlan_id: Optional[str] = None,
        vpn_access: Optional[Mapping[str, NetworkVpnAccessArgs]] = None) -> Network
func GetNetwork(ctx *Context, name string, id IDInput, state *NetworkState, opts ...ResourceOption) (*Network, error)
public static Network Get(string name, Input<string> id, NetworkState? state, CustomResourceOptions? opts = null)
public static Network get(String name, Output<String> id, NetworkState state, CustomResourceOptions options)
resources:  _:    type: junipermist:org:Network    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
DisallowMistServices bool
Whether to disallow Mist Devices in the network
Gateway string
Gateway6 string
InternalAccess Pulumi.JuniperMist.Org.Inputs.NetworkInternalAccess
InternetAccess Pulumi.JuniperMist.Org.Inputs.NetworkInternetAccess
Whether this network has direct internet access
Isolation bool
Whether to allow clients in the network to talk to each other
Multicast Pulumi.JuniperMist.Org.Inputs.NetworkMulticast
Whether to enable multicast support (only PIM-sparse mode is supported)
Name string
OrgId string
RoutedForNetworks List<string>
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
Subnet string
Subnet6 string
Tenants Dictionary<string, Pulumi.JuniperMist.Org.Inputs.NetworkTenantsArgs>
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
VlanId string
VpnAccess Dictionary<string, Pulumi.JuniperMist.Org.Inputs.NetworkVpnAccessArgs>
Property key is the VPN name. Whether this network can be accessed from vpn
DisallowMistServices bool
Whether to disallow Mist Devices in the network
Gateway string
Gateway6 string
InternalAccess NetworkInternalAccessArgs
InternetAccess NetworkInternetAccessArgs
Whether this network has direct internet access
Isolation bool
Whether to allow clients in the network to talk to each other
Multicast NetworkMulticastArgs
Whether to enable multicast support (only PIM-sparse mode is supported)
Name string
OrgId string
RoutedForNetworks []string
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
Subnet string
Subnet6 string
Tenants map[string]NetworkTenantsArgs
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
VlanId string
VpnAccess map[string]NetworkVpnAccessArgs
Property key is the VPN name. Whether this network can be accessed from vpn
disallowMistServices Boolean
Whether to disallow Mist Devices in the network
gateway String
gateway6 String
internalAccess NetworkInternalAccess
internetAccess NetworkInternetAccess
Whether this network has direct internet access
isolation Boolean
Whether to allow clients in the network to talk to each other
multicast NetworkMulticast
Whether to enable multicast support (only PIM-sparse mode is supported)
name String
orgId String
routedForNetworks List<String>
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
subnet String
subnet6 String
tenants Map<String,NetworkTenantsArgs>
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
vlanId String
vpnAccess Map<String,NetworkVpnAccessArgs>
Property key is the VPN name. Whether this network can be accessed from vpn
disallowMistServices boolean
Whether to disallow Mist Devices in the network
gateway string
gateway6 string
internalAccess NetworkInternalAccess
internetAccess NetworkInternetAccess
Whether this network has direct internet access
isolation boolean
Whether to allow clients in the network to talk to each other
multicast NetworkMulticast
Whether to enable multicast support (only PIM-sparse mode is supported)
name string
orgId string
routedForNetworks string[]
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
subnet string
subnet6 string
tenants {[key: string]: NetworkTenantsArgs}
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
vlanId string
vpnAccess {[key: string]: NetworkVpnAccessArgs}
Property key is the VPN name. Whether this network can be accessed from vpn
disallow_mist_services bool
Whether to disallow Mist Devices in the network
gateway str
gateway6 str
internal_access NetworkInternalAccessArgs
internet_access NetworkInternetAccessArgs
Whether this network has direct internet access
isolation bool
Whether to allow clients in the network to talk to each other
multicast NetworkMulticastArgs
Whether to enable multicast support (only PIM-sparse mode is supported)
name str
org_id str
routed_for_networks Sequence[str]
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
subnet str
subnet6 str
tenants Mapping[str, NetworkTenantsArgs]
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
vlan_id str
vpn_access Mapping[str, NetworkVpnAccessArgs]
Property key is the VPN name. Whether this network can be accessed from vpn
disallowMistServices Boolean
Whether to disallow Mist Devices in the network
gateway String
gateway6 String
internalAccess Property Map
internetAccess Property Map
Whether this network has direct internet access
isolation Boolean
Whether to allow clients in the network to talk to each other
multicast Property Map
Whether to enable multicast support (only PIM-sparse mode is supported)
name String
orgId String
routedForNetworks List<String>
For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
subnet String
subnet6 String
tenants Map<Property Map>
Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
vlanId String
vpnAccess Map<Property Map>
Property key is the VPN name. Whether this network can be accessed from vpn

Supporting Types

NetworkInternalAccess
, NetworkInternalAccessArgs

Enabled bool
Enabled bool
enabled Boolean
enabled boolean
enabled bool
enabled Boolean

NetworkInternetAccess
, NetworkInternetAccessArgs

CreateSimpleServicePolicy bool
DestinationNat Dictionary<string, Pulumi.JuniperMist.Org.Inputs.NetworkInternetAccessDestinationNat>
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
Enabled bool
Restricted bool
By default, all access is allowed, to only allow certain traffic, make restricted=true and define service_policies
StaticNat Dictionary<string, Pulumi.JuniperMist.Org.Inputs.NetworkInternetAccessStaticNat>
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
CreateSimpleServicePolicy bool
DestinationNat map[string]NetworkInternetAccessDestinationNat
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
Enabled bool
Restricted bool
By default, all access is allowed, to only allow certain traffic, make restricted=true and define service_policies
StaticNat map[string]NetworkInternetAccessStaticNat
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
createSimpleServicePolicy Boolean
destinationNat Map<String,NetworkInternetAccessDestinationNat>
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
enabled Boolean
restricted Boolean
By default, all access is allowed, to only allow certain traffic, make restricted=true and define service_policies
staticNat Map<String,NetworkInternetAccessStaticNat>
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
createSimpleServicePolicy boolean
destinationNat {[key: string]: NetworkInternetAccessDestinationNat}
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
enabled boolean
restricted boolean
By default, all access is allowed, to only allow certain traffic, make restricted=true and define service_policies
staticNat {[key: string]: NetworkInternetAccessStaticNat}
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
create_simple_service_policy bool
destination_nat Mapping[str, NetworkInternetAccessDestinationNat]
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
enabled bool
restricted bool
By default, all access is allowed, to only allow certain traffic, make restricted=true and define service_policies
static_nat Mapping[str, NetworkInternetAccessStaticNat]
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
createSimpleServicePolicy Boolean
destinationNat Map<Property Map>
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
enabled Boolean
restricted Boolean
By default, all access is allowed, to only allow certain traffic, make restricted=true and define service_policies
staticNat Map<Property Map>
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")

NetworkInternetAccessDestinationNat
, NetworkInternetAccessDestinationNatArgs

InternalIp string
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
Name string
Port string
The Destination NAT destination IP Address. Must be a Port (i.e. "443") or a Variable (i.e. "{{myvar}}")
WanName string
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity
InternalIp string
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
Name string
Port string
The Destination NAT destination IP Address. Must be a Port (i.e. "443") or a Variable (i.e. "{{myvar}}")
WanName string
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity
internalIp String
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
name String
port String
The Destination NAT destination IP Address. Must be a Port (i.e. "443") or a Variable (i.e. "{{myvar}}")
wanName String
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity
internalIp string
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
name string
port string
The Destination NAT destination IP Address. Must be a Port (i.e. "443") or a Variable (i.e. "{{myvar}}")
wanName string
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity
internal_ip str
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
name str
port str
The Destination NAT destination IP Address. Must be a Port (i.e. "443") or a Variable (i.e. "{{myvar}}")
wan_name str
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity
internalIp String
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
name String
port String
The Destination NAT destination IP Address. Must be a Port (i.e. "443") or a Variable (i.e. "{{myvar}}")
wanName String
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity

NetworkInternetAccessStaticNat
, NetworkInternetAccessStaticNatArgs

InternalIp This property is required. string
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
Name This property is required. string
WanName string
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity. Can be a Variable (i.e. "{{myvar}}")
InternalIp This property is required. string
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
Name This property is required. string
WanName string
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity. Can be a Variable (i.e. "{{myvar}}")
internalIp This property is required. String
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
name This property is required. String
wanName String
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity. Can be a Variable (i.e. "{{myvar}}")
internalIp This property is required. string
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
name This property is required. string
wanName string
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity. Can be a Variable (i.e. "{{myvar}}")
internal_ip This property is required. str
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
name This property is required. str
wan_name str
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity. Can be a Variable (i.e. "{{myvar}}")
internalIp This property is required. String
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
name This property is required. String
wanName String
SRX Only. If not set, we configure the nat policies against all WAN ports for simplicity. Can be a Variable (i.e. "{{myvar}}")

NetworkMulticast
, NetworkMulticastArgs

DisableIgmp bool
If the network will only be the source of the multicast traffic, IGMP can be disabled
Enabled bool
Groups Dictionary<string, Pulumi.JuniperMist.Org.Inputs.NetworkMulticastGroups>
Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32")
DisableIgmp bool
If the network will only be the source of the multicast traffic, IGMP can be disabled
Enabled bool
Groups map[string]NetworkMulticastGroups
Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32")
disableIgmp Boolean
If the network will only be the source of the multicast traffic, IGMP can be disabled
enabled Boolean
groups Map<String,NetworkMulticastGroups>
Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32")
disableIgmp boolean
If the network will only be the source of the multicast traffic, IGMP can be disabled
enabled boolean
groups {[key: string]: NetworkMulticastGroups}
Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32")
disable_igmp bool
If the network will only be the source of the multicast traffic, IGMP can be disabled
enabled bool
groups Mapping[str, NetworkMulticastGroups]
Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32")
disableIgmp Boolean
If the network will only be the source of the multicast traffic, IGMP can be disabled
enabled Boolean
groups Map<Property Map>
Group address to RP (rendezvous point) mapping. Property Key is the CIDR (example "225.1.0.3/32")

NetworkMulticastGroups
, NetworkMulticastGroupsArgs

RpIp string
RP (rendezvous point) IP Address
RpIp string
RP (rendezvous point) IP Address
rpIp String
RP (rendezvous point) IP Address
rpIp string
RP (rendezvous point) IP Address
rp_ip str
RP (rendezvous point) IP Address
rpIp String
RP (rendezvous point) IP Address

NetworkTenants
, NetworkTenantsArgs

Addresses List<string>
Addresses []string
addresses List<String>
addresses string[]
addresses Sequence[str]
addresses List<String>

NetworkVpnAccess
, NetworkVpnAccessArgs

AdvertisedSubnet string
If routed==true, whether to advertise an aggregated subnet toward HUB this is useful when there are multiple networks on SPOKE's side
AllowPing bool
Whether to allow ping from vpn into this routed network
DestinationNat Dictionary<string, Pulumi.JuniperMist.Org.Inputs.NetworkVpnAccessDestinationNat>
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
NatPool string
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub, a subnet is required to create and advertise the route to Hub
NoReadvertiseToLanBgp bool
toward LAN-side BGP peers
NoReadvertiseToLanOspf bool
toward LAN-side OSPF peers
NoReadvertiseToOverlay bool
toward overlay, how HUB should deal with routes it received from Spokes
OtherVrfs List<string>
By default, the routes are only readvertised toward the same vrf on spoke. To allow it to be leaked to other vrfs
Routed bool
Whether this network is routable
SourceNat Pulumi.JuniperMist.Org.Inputs.NetworkVpnAccessSourceNat
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub
StaticNat Dictionary<string, Pulumi.JuniperMist.Org.Inputs.NetworkVpnAccessStaticNat>
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
SummarizedSubnet string
toward overlay, how HUB should deal with routes it received from Spokes
SummarizedSubnetToLanBgp string
toward LAN-side BGP peers
SummarizedSubnetToLanOspf string
toward LAN-side OSPF peers
AdvertisedSubnet string
If routed==true, whether to advertise an aggregated subnet toward HUB this is useful when there are multiple networks on SPOKE's side
AllowPing bool
Whether to allow ping from vpn into this routed network
DestinationNat map[string]NetworkVpnAccessDestinationNat
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
NatPool string
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub, a subnet is required to create and advertise the route to Hub
NoReadvertiseToLanBgp bool
toward LAN-side BGP peers
NoReadvertiseToLanOspf bool
toward LAN-side OSPF peers
NoReadvertiseToOverlay bool
toward overlay, how HUB should deal with routes it received from Spokes
OtherVrfs []string
By default, the routes are only readvertised toward the same vrf on spoke. To allow it to be leaked to other vrfs
Routed bool
Whether this network is routable
SourceNat NetworkVpnAccessSourceNat
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub
StaticNat map[string]NetworkVpnAccessStaticNat
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
SummarizedSubnet string
toward overlay, how HUB should deal with routes it received from Spokes
SummarizedSubnetToLanBgp string
toward LAN-side BGP peers
SummarizedSubnetToLanOspf string
toward LAN-side OSPF peers
advertisedSubnet String
If routed==true, whether to advertise an aggregated subnet toward HUB this is useful when there are multiple networks on SPOKE's side
allowPing Boolean
Whether to allow ping from vpn into this routed network
destinationNat Map<String,NetworkVpnAccessDestinationNat>
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
natPool String
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub, a subnet is required to create and advertise the route to Hub
noReadvertiseToLanBgp Boolean
toward LAN-side BGP peers
noReadvertiseToLanOspf Boolean
toward LAN-side OSPF peers
noReadvertiseToOverlay Boolean
toward overlay, how HUB should deal with routes it received from Spokes
otherVrfs List<String>
By default, the routes are only readvertised toward the same vrf on spoke. To allow it to be leaked to other vrfs
routed Boolean
Whether this network is routable
sourceNat NetworkVpnAccessSourceNat
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub
staticNat Map<String,NetworkVpnAccessStaticNat>
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
summarizedSubnet String
toward overlay, how HUB should deal with routes it received from Spokes
summarizedSubnetToLanBgp String
toward LAN-side BGP peers
summarizedSubnetToLanOspf String
toward LAN-side OSPF peers
advertisedSubnet string
If routed==true, whether to advertise an aggregated subnet toward HUB this is useful when there are multiple networks on SPOKE's side
allowPing boolean
Whether to allow ping from vpn into this routed network
destinationNat {[key: string]: NetworkVpnAccessDestinationNat}
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
natPool string
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub, a subnet is required to create and advertise the route to Hub
noReadvertiseToLanBgp boolean
toward LAN-side BGP peers
noReadvertiseToLanOspf boolean
toward LAN-side OSPF peers
noReadvertiseToOverlay boolean
toward overlay, how HUB should deal with routes it received from Spokes
otherVrfs string[]
By default, the routes are only readvertised toward the same vrf on spoke. To allow it to be leaked to other vrfs
routed boolean
Whether this network is routable
sourceNat NetworkVpnAccessSourceNat
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub
staticNat {[key: string]: NetworkVpnAccessStaticNat}
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
summarizedSubnet string
toward overlay, how HUB should deal with routes it received from Spokes
summarizedSubnetToLanBgp string
toward LAN-side BGP peers
summarizedSubnetToLanOspf string
toward LAN-side OSPF peers
advertised_subnet str
If routed==true, whether to advertise an aggregated subnet toward HUB this is useful when there are multiple networks on SPOKE's side
allow_ping bool
Whether to allow ping from vpn into this routed network
destination_nat Mapping[str, NetworkVpnAccessDestinationNat]
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
nat_pool str
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub, a subnet is required to create and advertise the route to Hub
no_readvertise_to_lan_bgp bool
toward LAN-side BGP peers
no_readvertise_to_lan_ospf bool
toward LAN-side OSPF peers
no_readvertise_to_overlay bool
toward overlay, how HUB should deal with routes it received from Spokes
other_vrfs Sequence[str]
By default, the routes are only readvertised toward the same vrf on spoke. To allow it to be leaked to other vrfs
routed bool
Whether this network is routable
source_nat NetworkVpnAccessSourceNat
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub
static_nat Mapping[str, NetworkVpnAccessStaticNat]
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
summarized_subnet str
toward overlay, how HUB should deal with routes it received from Spokes
summarized_subnet_to_lan_bgp str
toward LAN-side BGP peers
summarized_subnet_to_lan_ospf str
toward LAN-side OSPF peers
advertisedSubnet String
If routed==true, whether to advertise an aggregated subnet toward HUB this is useful when there are multiple networks on SPOKE's side
allowPing Boolean
Whether to allow ping from vpn into this routed network
destinationNat Map<Property Map>
Property key can be an External IP (i.e. "63.16.0.3"), an External IP:Port (i.e. "63.16.0.3:443"), an External Port (i.e. ":443"), an External CIDR (i.e. "63.16.0.0/30"), an External CIDR:Port (i.e. "63.16.0.0/30:443") or a Variable (i.e. "{{myvar}}"). At least one of the internal_ip or port must be defined
natPool String
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub, a subnet is required to create and advertise the route to Hub
noReadvertiseToLanBgp Boolean
toward LAN-side BGP peers
noReadvertiseToLanOspf Boolean
toward LAN-side OSPF peers
noReadvertiseToOverlay Boolean
toward overlay, how HUB should deal with routes it received from Spokes
otherVrfs List<String>
By default, the routes are only readvertised toward the same vrf on spoke. To allow it to be leaked to other vrfs
routed Boolean
Whether this network is routable
sourceNat Property Map
If routed==false (usually at Spoke), but some hosts needs to be reachable from Hub
staticNat Map<Property Map>
Property key may be an External IP Address (i.e. "63.16.0.3"), a CIDR (i.e. "63.16.0.12/20") or a Variable (i.e. "{{myvar}}")
summarizedSubnet String
toward overlay, how HUB should deal with routes it received from Spokes
summarizedSubnetToLanBgp String
toward LAN-side BGP peers
summarizedSubnetToLanOspf String
toward LAN-side OSPF peers

NetworkVpnAccessDestinationNat
, NetworkVpnAccessDestinationNatArgs

InternalIp string
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
Name string
Port string
InternalIp string
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
Name string
Port string
internalIp String
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
name String
port String
internalIp string
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
name string
port string
internal_ip str
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
name str
port str
internalIp String
The Destination NAT destination IP Address. Must be an IP (i.e. "192.168.70.30") or a Variable (i.e. "{{myvar}}")
name String
port String

NetworkVpnAccessSourceNat
, NetworkVpnAccessSourceNatArgs

ExternalIp string
ExternalIp string
externalIp String
externalIp string
externalIp String

NetworkVpnAccessStaticNat
, NetworkVpnAccessStaticNatArgs

InternalIp This property is required. string
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
Name This property is required. string
InternalIp This property is required. string
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
Name This property is required. string
internalIp This property is required. String
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
name This property is required. String
internalIp This property is required. string
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
name This property is required. string
internal_ip This property is required. str
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
name This property is required. str
internalIp This property is required. String
The Static NAT destination IP Address. Must be an IP Address (i.e. "192.168.70.3") or a Variable (i.e. "{{myvar}}")
name This property is required. String

Import

Using pulumi import, import mist_org_network with:

Org Network can be imported by specifying the org_id and the network_id

$ pulumi import junipermist:org/network:Network network_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
Copy

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

Package Details

Repository
junipermist pulumi/pulumi-junipermist
License
Apache-2.0
Notes
This Pulumi package is based on the mist Terraform Provider.