1. Packages
  2. Juniper Mist
  3. API Docs
  4. org
  5. Network
Juniper Mist v0.0.27 published on Friday, Sep 27, 2024 by Pulumi

junipermist.org.Network

Explore with Pulumi AI

junipermist logo
Juniper Mist v0.0.27 published on Friday, Sep 27, 2024 by Pulumi

    This resource manages the WAN Assurance Networks. The Networks are used in the service_policies from the Gateway configuration and Gateway templates

    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,
    });
    
    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)
    
    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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    resources:
      networkOne:
        type: junipermist:org:Network
        name: network_one
        properties:
          orgId: ${terraformTest.id}
          name: network_one
          subnet: 10.4.0.0/24
          disallowMistServices: false
    

    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,
                internal_access: Optional[NetworkInternalAccessArgs] = None,
                disallow_mist_services: Optional[bool] = None,
                internet_access: Optional[NetworkInternetAccessArgs] = None,
                isolation: 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 string
    The unique name of the resource.
    args NetworkArgs
    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 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 string
    The unique name of the resource.
    args NetworkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
        InternalAccess = new JuniperMist.Org.Inputs.NetworkInternalAccessArgs
        {
            Enabled = false,
        },
        DisallowMistServices = false,
        InternetAccess = new JuniperMist.Org.Inputs.NetworkInternetAccessArgs
        {
            CreateSimpleServicePolicy = false,
            DestinationNat = 
            {
                { "string", new JuniperMist.Org.Inputs.NetworkInternetAccessDestinationNatArgs
                {
                    InternalIp = "string",
                    Name = "string",
                    Port = 0,
                } },
            },
            Enabled = false,
            Restricted = false,
            StaticNat = 
            {
                { "string", new JuniperMist.Org.Inputs.NetworkInternetAccessStaticNatArgs
                {
                    InternalIp = "string",
                    Name = "string",
                    WanName = "string",
                } },
            },
        },
        Isolation = 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 = 0,
                    } },
                },
                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",
                        WanName = "string",
                    } },
                },
                SummarizedSubnet = "string",
                SummarizedSubnetToLanBgp = "string",
                SummarizedSubnetToLanOspf = "string",
            } },
        },
    });
    
    example, err := org.NewNetwork(ctx, "networkResource", &org.NetworkArgs{
    	OrgId:  pulumi.String("string"),
    	Subnet: pulumi.String("string"),
    	InternalAccess: &org.NetworkInternalAccessArgs{
    		Enabled: pulumi.Bool(false),
    	},
    	DisallowMistServices: 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.Int(0),
    			},
    		},
    		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),
    	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.Int(0),
    				},
    			},
    			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"),
    					WanName:    pulumi.String("string"),
    				},
    			},
    			SummarizedSubnet:          pulumi.String("string"),
    			SummarizedSubnetToLanBgp:  pulumi.String("string"),
    			SummarizedSubnetToLanOspf: pulumi.String("string"),
    		},
    	},
    })
    
    var networkResource = new Network("networkResource", NetworkArgs.builder()
        .orgId("string")
        .subnet("string")
        .internalAccess(NetworkInternalAccessArgs.builder()
            .enabled(false)
            .build())
        .disallowMistServices(false)
        .internetAccess(NetworkInternetAccessArgs.builder()
            .createSimpleServicePolicy(false)
            .destinationNat(Map.of("string", Map.ofEntries(
                Map.entry("internalIp", "string"),
                Map.entry("name", "string"),
                Map.entry("port", 0)
            )))
            .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)
        .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", 0)
            ))),
            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("wanName", "string")
            ))),
            Map.entry("summarizedSubnet", "string"),
            Map.entry("summarizedSubnetToLanBgp", "string"),
            Map.entry("summarizedSubnetToLanOspf", "string")
        )))
        .build());
    
    network_resource = junipermist.org.Network("networkResource",
        org_id="string",
        subnet="string",
        internal_access=junipermist.org.NetworkInternalAccessArgs(
            enabled=False,
        ),
        disallow_mist_services=False,
        internet_access=junipermist.org.NetworkInternetAccessArgs(
            create_simple_service_policy=False,
            destination_nat={
                "string": junipermist.org.NetworkInternetAccessDestinationNatArgs(
                    internal_ip="string",
                    name="string",
                    port=0,
                ),
            },
            enabled=False,
            restricted=False,
            static_nat={
                "string": junipermist.org.NetworkInternetAccessStaticNatArgs(
                    internal_ip="string",
                    name="string",
                    wan_name="string",
                ),
            },
        ),
        isolation=False,
        name="string",
        gateway6="string",
        routed_for_networks=["string"],
        gateway="string",
        subnet6="string",
        tenants={
            "string": junipermist.org.NetworkTenantsArgs(
                addresses=["string"],
            ),
        },
        vlan_id="string",
        vpn_access={
            "string": junipermist.org.NetworkVpnAccessArgs(
                advertised_subnet="string",
                allow_ping=False,
                destination_nat={
                    "string": junipermist.org.NetworkVpnAccessDestinationNatArgs(
                        internal_ip="string",
                        name="string",
                        port=0,
                    ),
                },
                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=junipermist.org.NetworkVpnAccessSourceNatArgs(
                    external_ip="string",
                ),
                static_nat={
                    "string": junipermist.org.NetworkVpnAccessStaticNatArgs(
                        internal_ip="string",
                        name="string",
                        wan_name="string",
                    ),
                },
                summarized_subnet="string",
                summarized_subnet_to_lan_bgp="string",
                summarized_subnet_to_lan_ospf="string",
            ),
        })
    
    const networkResource = new junipermist.org.Network("networkResource", {
        orgId: "string",
        subnet: "string",
        internalAccess: {
            enabled: false,
        },
        disallowMistServices: false,
        internetAccess: {
            createSimpleServicePolicy: false,
            destinationNat: {
                string: {
                    internalIp: "string",
                    name: "string",
                    port: 0,
                },
            },
            enabled: false,
            restricted: false,
            staticNat: {
                string: {
                    internalIp: "string",
                    name: "string",
                    wanName: "string",
                },
            },
        },
        isolation: 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: 0,
                    },
                },
                natPool: "string",
                noReadvertiseToLanBgp: false,
                noReadvertiseToLanOspf: false,
                noReadvertiseToOverlay: false,
                otherVrfs: ["string"],
                routed: false,
                sourceNat: {
                    externalIp: "string",
                },
                staticNat: {
                    string: {
                        internalIp: "string",
                        name: "string",
                        wanName: "string",
                    },
                },
                summarizedSubnet: "string",
                summarizedSubnetToLanBgp: "string",
                summarizedSubnetToLanOspf: "string",
            },
        },
    });
    
    type: junipermist:org:Network
    properties:
        disallowMistServices: false
        gateway: string
        gateway6: string
        internalAccess:
            enabled: false
        internetAccess:
            createSimpleServicePolicy: false
            destinationNat:
                string:
                    internalIp: string
                    name: string
                    port: 0
            enabled: false
            restricted: false
            staticNat:
                string:
                    internalIp: string
                    name: string
                    wanName: string
        isolation: false
        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: 0
                natPool: string
                noReadvertiseToLanBgp: false
                noReadvertiseToLanOspf: false
                noReadvertiseToOverlay: false
                otherVrfs:
                    - string
                routed: false
                sourceNat:
                    externalIp: string
                staticNat:
                    string:
                        internalIp: string
                        name: string
                        wanName: string
                summarizedSubnet: string
                summarizedSubnetToLanBgp: string
                summarizedSubnetToLanOspf: string
    

    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

    The Network resource accepts the following input properties:

    OrgId string
    Subnet 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
    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>
    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 string
    Subnet 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
    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
    VlanId string
    VpnAccess map[string]NetworkVpnAccessArgs
    Property key is the VPN name. Whether this network can be accessed from vpn
    orgId String
    subnet 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
    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>
    vlanId String
    vpnAccess Map<String,NetworkVpnAccessArgs>
    Property key is the VPN name. Whether this network can be accessed from vpn
    orgId string
    subnet 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
    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}
    vlanId string
    vpnAccess {[key: string]: NetworkVpnAccessArgs}
    Property key is the VPN name. Whether this network can be accessed from vpn
    org_id str
    subnet 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
    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]
    vlan_id str
    vpn_access Mapping[str, NetworkVpnAccessArgs]
    Property key is the VPN name. Whether this network can be accessed from vpn
    orgId String
    subnet 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
    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>
    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,
            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)
    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:
    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
    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>
    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
    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
    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
    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>
    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
    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}
    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
    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]
    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
    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>
    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 may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    CreateSimpleServicePolicy bool
    DestinationNat map[string]NetworkInternetAccessDestinationNat
    Property key may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    createSimpleServicePolicy Boolean
    destinationNat Map<String,NetworkInternetAccessDestinationNat>
    Property key may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    createSimpleServicePolicy boolean
    destinationNat {[key: string]: NetworkInternetAccessDestinationNat}
    Property key may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    create_simple_service_policy bool
    destination_nat Mapping[str, NetworkInternetAccessDestinationNat]
    Property key may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    createSimpleServicePolicy Boolean
    destinationNat Map<Property Map>
    Property key may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")

    NetworkInternetAccessDestinationNat, NetworkInternetAccessDestinationNatArgs

    InternalIp string
    Name string
    Port int
    InternalIp string
    Name string
    Port int
    internalIp String
    name String
    port Integer
    internalIp string
    name string
    port number
    internalIp String
    name String
    port Number

    NetworkInternetAccessStaticNat, NetworkInternetAccessStaticNatArgs

    InternalIp string
    Name string
    WanName string
    If not set, we configure the nat policies against all WAN ports for simplicity
    InternalIp string
    Name string
    WanName string
    If not set, we configure the nat policies against all WAN ports for simplicity
    internalIp String
    name String
    wanName String
    If not set, we configure the nat policies against all WAN ports for simplicity
    internalIp string
    name string
    wanName string
    If not set, we configure the nat policies against all WAN ports for simplicity
    internal_ip str
    name str
    wan_name str
    If not set, we configure the nat policies against all WAN ports for simplicity
    internalIp String
    name String
    wanName String
    If not set, we configure the nat policies against all WAN ports for simplicity

    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 may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    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 may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    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 may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    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 may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    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 may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    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 may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
    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 IP Address (i.e. "172.16.0.1"), and IP Address and Port (i.e. "172.16.0.1:8443") or a CIDR (i.e. "172.16.0.12/20")
    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
    Name string
    Port int
    InternalIp string
    Name string
    Port int
    internalIp String
    name String
    port Integer
    internalIp string
    name string
    port number
    internalIp String
    name String
    port Number

    NetworkVpnAccessSourceNat, NetworkVpnAccessSourceNatArgs

    ExternalIp string
    ExternalIp string
    externalIp String
    externalIp string
    externalIp String

    NetworkVpnAccessStaticNat, NetworkVpnAccessStaticNatArgs

    InternalIp string
    Name string
    WanName string
    If not set, we configure the nat policies against all WAN ports for simplicity
    InternalIp string
    Name string
    WanName string
    If not set, we configure the nat policies against all WAN ports for simplicity
    internalIp String
    name String
    wanName String
    If not set, we configure the nat policies against all WAN ports for simplicity
    internalIp string
    name string
    wanName string
    If not set, we configure the nat policies against all WAN ports for simplicity
    internal_ip str
    name str
    wan_name str
    If not set, we configure the nat policies against all WAN ports for simplicity
    internalIp String
    name String
    wanName String
    If not set, we configure the nat policies against all WAN ports for simplicity

    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
    

    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.
    junipermist logo
    Juniper Mist v0.0.27 published on Friday, Sep 27, 2024 by Pulumi