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 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={
"enabled": False,
},
disallow_mist_services=False,
internet_access={
"create_simple_service_policy": False,
"destination_nat": {
"string": {
"internal_ip": "string",
"name": "string",
"port": 0,
},
},
"enabled": False,
"restricted": False,
"static_nat": {
"string": {
"internal_ip": "string",
"name": "string",
"wan_name": "string",
},
},
},
isolation=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": 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": {
"external_ip": "string",
},
"static_nat": {
"string": {
"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
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:
- Org
Id string - Subnet string
- Disallow
Mist boolServices - whether to disallow Mist Devices in the network
- Gateway string
- Gateway6 string
- Internal
Access Pulumi.Juniper Mist. Org. Inputs. Network Internal Access - Internet
Access Pulumi.Juniper Mist. Org. Inputs. Network Internet Access - whether this network has direct internet access
- Isolation bool
- whether to allow clients in the network to talk to each other
- Name string
- Routed
For List<string>Networks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- Subnet6 string
- Tenants
Dictionary<string, Pulumi.
Juniper Mist. Org. Inputs. Network Tenants Args> - Vlan
Id string - Vpn
Access Dictionary<string, Pulumi.Juniper Mist. Org. Inputs. Network Vpn Access Args> - Property key is the VPN name. Whether this network can be accessed from vpn
- Org
Id string - Subnet string
- Disallow
Mist boolServices - whether to disallow Mist Devices in the network
- Gateway string
- Gateway6 string
- Internal
Access NetworkInternal Access Args - Internet
Access NetworkInternet Access Args - whether this network has direct internet access
- Isolation bool
- whether to allow clients in the network to talk to each other
- Name string
- Routed
For []stringNetworks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- Subnet6 string
- Tenants
map[string]Network
Tenants Args - Vlan
Id string - Vpn
Access map[string]NetworkVpn Access Args - Property key is the VPN name. Whether this network can be accessed from vpn
- org
Id String - subnet String
- disallow
Mist BooleanServices - whether to disallow Mist Devices in the network
- gateway String
- gateway6 String
- internal
Access NetworkInternal Access - internet
Access NetworkInternet Access - whether this network has direct internet access
- isolation Boolean
- whether to allow clients in the network to talk to each other
- name String
- routed
For List<String>Networks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- subnet6 String
- tenants
Map<String,Network
Tenants Args> - vlan
Id String - vpn
Access Map<String,NetworkVpn Access Args> - Property key is the VPN name. Whether this network can be accessed from vpn
- org
Id string - subnet string
- disallow
Mist booleanServices - whether to disallow Mist Devices in the network
- gateway string
- gateway6 string
- internal
Access NetworkInternal Access - internet
Access NetworkInternet Access - whether this network has direct internet access
- isolation boolean
- whether to allow clients in the network to talk to each other
- name string
- routed
For string[]Networks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- subnet6 string
- tenants
{[key: string]: Network
Tenants Args} - vlan
Id string - vpn
Access {[key: string]: NetworkVpn Access Args} - Property key is the VPN name. Whether this network can be accessed from vpn
- org_
id str - subnet str
- disallow_
mist_ boolservices - whether to disallow Mist Devices in the network
- gateway str
- gateway6 str
- internal_
access NetworkInternal Access Args - internet_
access NetworkInternet Access Args - 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_ Sequence[str]networks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- subnet6 str
- tenants
Mapping[str, Network
Tenants Args] - vlan_
id str - vpn_
access Mapping[str, NetworkVpn Access Args] - Property key is the VPN name. Whether this network can be accessed from vpn
- org
Id String - subnet String
- disallow
Mist BooleanServices - whether to disallow Mist Devices in the network
- gateway String
- gateway6 String
- internal
Access Property Map - internet
Access 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
- routed
For List<String>Networks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- subnet6 String
- tenants Map<Property Map>
- vlan
Id String - vpn
Access 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.
- Disallow
Mist boolServices - whether to disallow Mist Devices in the network
- Gateway string
- Gateway6 string
- Internal
Access Pulumi.Juniper Mist. Org. Inputs. Network Internal Access - Internet
Access Pulumi.Juniper Mist. Org. Inputs. Network Internet Access - whether this network has direct internet access
- Isolation bool
- whether to allow clients in the network to talk to each other
- Name string
- Org
Id string - Routed
For List<string>Networks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- Subnet string
- Subnet6 string
- Tenants
Dictionary<string, Pulumi.
Juniper Mist. Org. Inputs. Network Tenants Args> - Vlan
Id string - Vpn
Access Dictionary<string, Pulumi.Juniper Mist. Org. Inputs. Network Vpn Access Args> - Property key is the VPN name. Whether this network can be accessed from vpn
- Disallow
Mist boolServices - whether to disallow Mist Devices in the network
- Gateway string
- Gateway6 string
- Internal
Access NetworkInternal Access Args - Internet
Access NetworkInternet Access Args - whether this network has direct internet access
- Isolation bool
- whether to allow clients in the network to talk to each other
- Name string
- Org
Id string - Routed
For []stringNetworks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- Subnet string
- Subnet6 string
- Tenants
map[string]Network
Tenants Args - Vlan
Id string - Vpn
Access map[string]NetworkVpn Access Args - Property key is the VPN name. Whether this network can be accessed from vpn
- disallow
Mist BooleanServices - whether to disallow Mist Devices in the network
- gateway String
- gateway6 String
- internal
Access NetworkInternal Access - internet
Access NetworkInternet Access - whether this network has direct internet access
- isolation Boolean
- whether to allow clients in the network to talk to each other
- name String
- org
Id String - routed
For List<String>Networks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- subnet String
- subnet6 String
- tenants
Map<String,Network
Tenants Args> - vlan
Id String - vpn
Access Map<String,NetworkVpn Access Args> - Property key is the VPN name. Whether this network can be accessed from vpn
- disallow
Mist booleanServices - whether to disallow Mist Devices in the network
- gateway string
- gateway6 string
- internal
Access NetworkInternal Access - internet
Access NetworkInternet Access - whether this network has direct internet access
- isolation boolean
- whether to allow clients in the network to talk to each other
- name string
- org
Id string - routed
For string[]Networks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- subnet string
- subnet6 string
- tenants
{[key: string]: Network
Tenants Args} - vlan
Id string - vpn
Access {[key: string]: NetworkVpn Access Args} - Property key is the VPN name. Whether this network can be accessed from vpn
- disallow_
mist_ boolservices - whether to disallow Mist Devices in the network
- gateway str
- gateway6 str
- internal_
access NetworkInternal Access Args - internet_
access NetworkInternet Access Args - 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_ Sequence[str]networks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- subnet str
- subnet6 str
- tenants
Mapping[str, Network
Tenants Args] - vlan_
id str - vpn_
access Mapping[str, NetworkVpn Access Args] - Property key is the VPN name. Whether this network can be accessed from vpn
- disallow
Mist BooleanServices - whether to disallow Mist Devices in the network
- gateway String
- gateway6 String
- internal
Access Property Map - internet
Access 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
- org
Id String - routed
For List<String>Networks - for a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
- subnet String
- subnet6 String
- tenants Map<Property Map>
- vlan
Id String - vpn
Access 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
- Create
Simple boolService Policy - Destination
Nat Dictionary<string, Pulumi.Juniper Mist. Org. Inputs. Network Internet Access Destination Nat> - 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 Dictionary<string, Pulumi.Juniper Mist. Org. Inputs. Network Internet Access Static Nat> - 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 boolService Policy - Destination
Nat map[string]NetworkInternet Access Destination Nat - 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 map[string]NetworkInternet Access Static Nat - 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 BooleanService Policy - destination
Nat Map<String,NetworkInternet Access Destination Nat> - 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 - static
Nat Map<String,NetworkInternet Access Static Nat> - 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 booleanService Policy - destination
Nat {[key: string]: NetworkInternet Access Destination Nat} - 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 - static
Nat {[key: string]: NetworkInternet Access Static Nat} - 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_ boolservice_ policy - destination_
nat Mapping[str, NetworkInternet Access Destination Nat] - 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, NetworkInternet Access Static Nat] - 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 BooleanService Policy - destination
Nat 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 - static
Nat 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
- Internal
Ip string - Name string
- Port int
- Internal
Ip string - Name string
- Port int
- internal
Ip String - name String
- port Integer
- internal
Ip string - name string
- port number
- internal_
ip str - name str
- port int
- internal
Ip String - name String
- port Number
NetworkInternetAccessStaticNat, NetworkInternetAccessStaticNatArgs
- Internal
Ip string - Name string
- Wan
Name string - If not set, we configure the nat policies against all WAN ports for simplicity
- Internal
Ip string - Name string
- Wan
Name string - If not set, we configure the nat policies against all WAN ports for simplicity
- internal
Ip String - name String
- wan
Name String - If not set, we configure the nat policies against all WAN ports for simplicity
- internal
Ip string - name string
- wan
Name 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
- internal
Ip String - name String
- wan
Name 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
- Advertised
Subnet string - 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 Dictionary<string, Pulumi.Juniper Mist. Org. Inputs. Network Vpn Access Destination Nat> - Property key may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
- Nat
Pool 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 - No
Readvertise boolTo Lan Bgp - toward LAN-side BGP peers
- No
Readvertise boolTo Lan Ospf - toward LAN-side OSPF peers
- No
Readvertise boolTo Overlay - toward overlay how HUB should deal with routes it received from Spokes
- Other
Vrfs 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
- Source
Nat Pulumi.Juniper Mist. Org. Inputs. Network Vpn Access Source Nat - if
routed
==false
(usually at Spoke), but some hosts needs to be reachable from Hub - Static
Nat Dictionary<string, Pulumi.Juniper Mist. Org. Inputs. Network Vpn Access Static Nat> - 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 string - toward overlay how HUB should deal with routes it received from Spokes
- Summarized
Subnet stringTo Lan Bgp - toward LAN-side BGP peers
- Summarized
Subnet stringTo Lan Ospf - toward LAN-side OSPF peers
- Advertised
Subnet string - 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 map[string]NetworkVpn Access Destination Nat - Property key may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
- Nat
Pool 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 - No
Readvertise boolTo Lan Bgp - toward LAN-side BGP peers
- No
Readvertise boolTo Lan Ospf - toward LAN-side OSPF peers
- No
Readvertise boolTo Overlay - toward overlay how HUB should deal with routes it received from Spokes
- Other
Vrfs []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
- Source
Nat NetworkVpn Access Source Nat - if
routed
==false
(usually at Spoke), but some hosts needs to be reachable from Hub - Static
Nat map[string]NetworkVpn Access Static Nat - 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 string - toward overlay how HUB should deal with routes it received from Spokes
- Summarized
Subnet stringTo Lan Bgp - toward LAN-side BGP peers
- Summarized
Subnet stringTo Lan Ospf - toward LAN-side OSPF peers
- advertised
Subnet String - 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 Boolean - whether to allow ping from vpn into this routed network
- destination
Nat Map<String,NetworkVpn Access Destination Nat> - Property key may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
- nat
Pool 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 - no
Readvertise BooleanTo Lan Bgp - toward LAN-side BGP peers
- no
Readvertise BooleanTo Lan Ospf - toward LAN-side OSPF peers
- no
Readvertise BooleanTo Overlay - toward overlay how HUB should deal with routes it received from Spokes
- other
Vrfs 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
- source
Nat NetworkVpn Access Source Nat - if
routed
==false
(usually at Spoke), but some hosts needs to be reachable from Hub - static
Nat Map<String,NetworkVpn Access Static Nat> - 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 String - toward overlay how HUB should deal with routes it received from Spokes
- summarized
Subnet StringTo Lan Bgp - toward LAN-side BGP peers
- summarized
Subnet StringTo Lan Ospf - toward LAN-side OSPF peers
- advertised
Subnet string - 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 boolean - whether to allow ping from vpn into this routed network
- destination
Nat {[key: string]: NetworkVpn Access Destination Nat} - Property key may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
- nat
Pool 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 - no
Readvertise booleanTo Lan Bgp - toward LAN-side BGP peers
- no
Readvertise booleanTo Lan Ospf - toward LAN-side OSPF peers
- no
Readvertise booleanTo Overlay - toward overlay how HUB should deal with routes it received from Spokes
- other
Vrfs 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
- source
Nat NetworkVpn Access Source Nat - if
routed
==false
(usually at Spoke), but some hosts needs to be reachable from Hub - static
Nat {[key: string]: NetworkVpn Access Static Nat} - 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 string - toward overlay how HUB should deal with routes it received from Spokes
- summarized
Subnet stringTo Lan Bgp - toward LAN-side BGP peers
- summarized
Subnet stringTo Lan Ospf - 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, NetworkVpn Access Destination Nat] - 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_ boolto_ lan_ bgp - toward LAN-side BGP peers
- no_
readvertise_ boolto_ lan_ ospf - toward LAN-side OSPF peers
- no_
readvertise_ boolto_ overlay - 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 NetworkVpn Access Source Nat - if
routed
==false
(usually at Spoke), but some hosts needs to be reachable from Hub - static_
nat Mapping[str, NetworkVpn Access Static Nat] - 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_ strto_ lan_ bgp - toward LAN-side BGP peers
- summarized_
subnet_ strto_ lan_ ospf - toward LAN-side OSPF peers
- advertised
Subnet String - 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 Boolean - whether to allow ping from vpn into this routed network
- destination
Nat Map<Property Map> - Property key may be an IP/Port (i.e. "63.16.0.3:443"), or a port (i.e. ":2222")
- nat
Pool 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 - no
Readvertise BooleanTo Lan Bgp - toward LAN-side BGP peers
- no
Readvertise BooleanTo Lan Ospf - toward LAN-side OSPF peers
- no
Readvertise BooleanTo Overlay - toward overlay how HUB should deal with routes it received from Spokes
- other
Vrfs 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
- source
Nat Property Map - if
routed
==false
(usually at Spoke), but some hosts needs to be reachable from Hub - static
Nat 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")
- summarized
Subnet String - toward overlay how HUB should deal with routes it received from Spokes
- summarized
Subnet StringTo Lan Bgp - toward LAN-side BGP peers
- summarized
Subnet StringTo Lan Ospf - toward LAN-side OSPF peers
NetworkVpnAccessDestinationNat, NetworkVpnAccessDestinationNatArgs
- Internal
Ip string - Name string
- Port int
- Internal
Ip string - Name string
- Port int
- internal
Ip String - name String
- port Integer
- internal
Ip string - name string
- port number
- internal_
ip str - name str
- port int
- internal
Ip String - name String
- port Number
NetworkVpnAccessSourceNat, NetworkVpnAccessSourceNatArgs
- External
Ip string
- External
Ip string
- external
Ip String
- external
Ip string
- external_
ip str
- external
Ip String
NetworkVpnAccessStaticNat, NetworkVpnAccessStaticNatArgs
- Internal
Ip string - Name string
- Wan
Name string - If not set, we configure the nat policies against all WAN ports for simplicity
- Internal
Ip string - Name string
- Wan
Name string - If not set, we configure the nat policies against all WAN ports for simplicity
- internal
Ip String - name String
- wan
Name String - If not set, we configure the nat policies against all WAN ports for simplicity
- internal
Ip string - name string
- wan
Name 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
- internal
Ip String - name String
- wan
Name 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.