Juniper Mist v0.4.0 published on Wednesday, Apr 16, 2025 by Pulumi
junipermist.org.getVpns
Explore with Pulumi AI
This data source provide the list of the Org VPNs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/junipermist";
const vpns = junipermist.org.getVpns({
orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
});
import pulumi
import pulumi_junipermist as junipermist
vpns = junipermist.org.get_vpns(org_id="15fca2ac-b1a6-47cc-9953-cc6906281550")
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.GetVpns(ctx, &org.GetVpnsArgs{
OrgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
}, nil)
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 vpns = JuniperMist.Org.GetVpns.Invoke(new()
{
OrgId = "15fca2ac-b1a6-47cc-9953-cc6906281550",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.OrgFunctions;
import com.pulumi.junipermist.org.inputs.GetVpnsArgs;
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) {
final var vpns = OrgFunctions.getVpns(GetVpnsArgs.builder()
.orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
.build());
}
}
variables:
vpns:
fn::invoke:
function: junipermist:org:getVpns
arguments:
orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
Using getVpns
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpns(args: GetVpnsArgs, opts?: InvokeOptions): Promise<GetVpnsResult>
function getVpnsOutput(args: GetVpnsOutputArgs, opts?: InvokeOptions): Output<GetVpnsResult>
def get_vpns(org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpnsResult
def get_vpns_output(org_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpnsResult]
func GetVpns(ctx *Context, args *GetVpnsArgs, opts ...InvokeOption) (*GetVpnsResult, error)
func GetVpnsOutput(ctx *Context, args *GetVpnsOutputArgs, opts ...InvokeOption) GetVpnsResultOutput
> Note: This function is named GetVpns
in the Go SDK.
public static class GetVpns
{
public static Task<GetVpnsResult> InvokeAsync(GetVpnsArgs args, InvokeOptions? opts = null)
public static Output<GetVpnsResult> Invoke(GetVpnsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVpnsResult> getVpns(GetVpnsArgs args, InvokeOptions options)
public static Output<GetVpnsResult> getVpns(GetVpnsArgs args, InvokeOptions options)
fn::invoke:
function: junipermist:org/getVpns:getVpns
arguments:
# arguments dictionary
The following arguments are supported:
- Org
Id string
- Org
Id string
- org
Id String
- org
Id string
- org_
id str
- org
Id String
getVpns Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - Org
Vpns List<Pulumi.Juniper Mist. Org. Outputs. Get Vpns Org Vpn>
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - Org
Vpns []GetVpns Org Vpn
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - org
Vpns List<GetVpns Org Vpn>
- id string
- The provider-assigned unique ID for this managed resource.
- org
Id string - org
Vpns GetVpns Org Vpn[]
- id str
- The provider-assigned unique ID for this managed resource.
- org_
id str - org_
vpns Sequence[GetVpns Org Vpn]
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - org
Vpns List<Property Map>
Supporting Types
GetVpnsOrgVpn
- Created
Time double - When the object has been created, in epoch
- Id string
- Unique ID of the object instance in the Mist Organization
- Modified
Time double - When the object has been modified for the last time, in epoch
- Name string
- Org
Id string - Path
Selection Pulumi.Juniper Mist. Org. Inputs. Get Vpns Org Vpn Path Selection - Only if
type
==hub_spoke
- Paths
Dictionary<string, Pulumi.
Juniper Mist. Org. Inputs. Get Vpns Org Vpn Paths> - For
type
==hub_spoke
, Property key is the VPN name. Fortype
==mesh
, Property key is the Interface name - Type string
- enum:
hub_spoke
,mesh
- Created
Time float64 - When the object has been created, in epoch
- Id string
- Unique ID of the object instance in the Mist Organization
- Modified
Time float64 - When the object has been modified for the last time, in epoch
- Name string
- Org
Id string - Path
Selection GetVpns Org Vpn Path Selection - Only if
type
==hub_spoke
- Paths
map[string]Get
Vpns Org Vpn Paths - For
type
==hub_spoke
, Property key is the VPN name. Fortype
==mesh
, Property key is the Interface name - Type string
- enum:
hub_spoke
,mesh
- created
Time Double - When the object has been created, in epoch
- id String
- Unique ID of the object instance in the Mist Organization
- modified
Time Double - When the object has been modified for the last time, in epoch
- name String
- org
Id String - path
Selection GetVpns Org Vpn Path Selection - Only if
type
==hub_spoke
- paths
Map<String,Get
Vpns Org Vpn Paths> - For
type
==hub_spoke
, Property key is the VPN name. Fortype
==mesh
, Property key is the Interface name - type String
- enum:
hub_spoke
,mesh
- created
Time number - When the object has been created, in epoch
- id string
- Unique ID of the object instance in the Mist Organization
- modified
Time number - When the object has been modified for the last time, in epoch
- name string
- org
Id string - path
Selection GetVpns Org Vpn Path Selection - Only if
type
==hub_spoke
- paths
{[key: string]: Get
Vpns Org Vpn Paths} - For
type
==hub_spoke
, Property key is the VPN name. Fortype
==mesh
, Property key is the Interface name - type string
- enum:
hub_spoke
,mesh
- created_
time float - When the object has been created, in epoch
- id str
- Unique ID of the object instance in the Mist Organization
- modified_
time float - When the object has been modified for the last time, in epoch
- name str
- org_
id str - path_
selection GetVpns Org Vpn Path Selection - Only if
type
==hub_spoke
- paths
Mapping[str, Get
Vpns Org Vpn Paths] - For
type
==hub_spoke
, Property key is the VPN name. Fortype
==mesh
, Property key is the Interface name - type str
- enum:
hub_spoke
,mesh
- created
Time Number - When the object has been created, in epoch
- id String
- Unique ID of the object instance in the Mist Organization
- modified
Time Number - When the object has been modified for the last time, in epoch
- name String
- org
Id String - path
Selection Property Map - Only if
type
==hub_spoke
- paths Map<Property Map>
- For
type
==hub_spoke
, Property key is the VPN name. Fortype
==mesh
, Property key is the Interface name - type String
- enum:
hub_spoke
,mesh
GetVpnsOrgVpnPathSelection
- Strategy string
- enum:
disabled
,simple
,manual
- Strategy string
- enum:
disabled
,simple
,manual
- strategy String
- enum:
disabled
,simple
,manual
- strategy string
- enum:
disabled
,simple
,manual
- strategy str
- enum:
disabled
,simple
,manual
- strategy String
- enum:
disabled
,simple
,manual
GetVpnsOrgVpnPaths
- Bfd
Profile string - enum:
broadband
,lte
- Bfd
Use boolTunnel Mode - If
type
==mesh
and for SSR only, whether toi use tunnel mode - Ip string
- If different from the wan port
- Peer
Paths Dictionary<string, Pulumi.Juniper Mist. Org. Inputs. Get Vpns Org Vpn Paths Peer Paths> - If
type
==mesh
, Property key is the Peer Interface name - Pod int
- Traffic
Shaping Pulumi.Juniper Mist. Org. Inputs. Get Vpns Org Vpn Paths Traffic Shaping
- Bfd
Profile string - enum:
broadband
,lte
- Bfd
Use boolTunnel Mode - If
type
==mesh
and for SSR only, whether toi use tunnel mode - Ip string
- If different from the wan port
- Peer
Paths map[string]GetVpns Org Vpn Paths Peer Paths - If
type
==mesh
, Property key is the Peer Interface name - Pod int
- Traffic
Shaping GetVpns Org Vpn Paths Traffic Shaping
- bfd
Profile String - enum:
broadband
,lte
- bfd
Use BooleanTunnel Mode - If
type
==mesh
and for SSR only, whether toi use tunnel mode - ip String
- If different from the wan port
- peer
Paths Map<String,GetVpns Org Vpn Paths Peer Paths> - If
type
==mesh
, Property key is the Peer Interface name - pod Integer
- traffic
Shaping GetVpns Org Vpn Paths Traffic Shaping
- bfd
Profile string - enum:
broadband
,lte
- bfd
Use booleanTunnel Mode - If
type
==mesh
and for SSR only, whether toi use tunnel mode - ip string
- If different from the wan port
- peer
Paths {[key: string]: GetVpns Org Vpn Paths Peer Paths} - If
type
==mesh
, Property key is the Peer Interface name - pod number
- traffic
Shaping GetVpns Org Vpn Paths Traffic Shaping
- bfd_
profile str - enum:
broadband
,lte
- bfd_
use_ booltunnel_ mode - If
type
==mesh
and for SSR only, whether toi use tunnel mode - ip str
- If different from the wan port
- peer_
paths Mapping[str, GetVpns Org Vpn Paths Peer Paths] - If
type
==mesh
, Property key is the Peer Interface name - pod int
- traffic_
shaping GetVpns Org Vpn Paths Traffic Shaping
- bfd
Profile String - enum:
broadband
,lte
- bfd
Use BooleanTunnel Mode - If
type
==mesh
and for SSR only, whether toi use tunnel mode - ip String
- If different from the wan port
- peer
Paths Map<Property Map> - If
type
==mesh
, Property key is the Peer Interface name - pod Number
- traffic
Shaping Property Map
GetVpnsOrgVpnPathsPeerPaths
- Preference int
- Preference int
- preference Integer
- preference number
- preference int
- preference Number
GetVpnsOrgVpnPathsTrafficShaping
- Class
Percentages List<int> - percentages for different class of traffic: high / medium / low / best-effort adding up to 100
- Enabled bool
- Max
Tx intKbps
- Class
Percentages []int - percentages for different class of traffic: high / medium / low / best-effort adding up to 100
- Enabled bool
- Max
Tx intKbps
- class
Percentages List<Integer> - percentages for different class of traffic: high / medium / low / best-effort adding up to 100
- enabled Boolean
- max
Tx IntegerKbps
- class
Percentages number[] - percentages for different class of traffic: high / medium / low / best-effort adding up to 100
- enabled boolean
- max
Tx numberKbps
- class_
percentages Sequence[int] - percentages for different class of traffic: high / medium / low / best-effort adding up to 100
- enabled bool
- max_
tx_ intkbps
- class
Percentages List<Number> - percentages for different class of traffic: high / medium / low / best-effort adding up to 100
- enabled Boolean
- max
Tx NumberKbps
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mist
Terraform Provider.