Juniper Mist v0.4.0 published on Wednesday, Apr 16, 2025 by Pulumi
junipermist.org.getServices
Explore with Pulumi AI
This data source provides the list of WAN Assurance Services (Applications).
A Service is used to define a Custom Application that can be used in the service_policies
. These Services can be referenced by their name in
- the Service Policies (
mist_org_servicepolicy.services
) - the Gateway configuration (
mist_device_gateway.service_policies.services
) - the Gateway Templates (
mist_org_gatewaytemplate.service_policies.services
) - the HUB Profiles (
mist_org_deviceprofile_gateway.service_policies.services
)
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/junipermist";
const services = junipermist.org.getServices({
orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
});
import pulumi
import pulumi_junipermist as junipermist
services = junipermist.org.get_services(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.GetServices(ctx, &org.GetServicesArgs{
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 services = JuniperMist.Org.GetServices.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.GetServicesArgs;
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 services = OrgFunctions.getServices(GetServicesArgs.builder()
.orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
.build());
}
}
variables:
services:
fn::invoke:
function: junipermist:org:getServices
arguments:
orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
Using getServices
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 getServices(args: GetServicesArgs, opts?: InvokeOptions): Promise<GetServicesResult>
function getServicesOutput(args: GetServicesOutputArgs, opts?: InvokeOptions): Output<GetServicesResult>
def get_services(org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServicesResult
def get_services_output(org_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServicesResult]
func GetServices(ctx *Context, args *GetServicesArgs, opts ...InvokeOption) (*GetServicesResult, error)
func GetServicesOutput(ctx *Context, args *GetServicesOutputArgs, opts ...InvokeOption) GetServicesResultOutput
> Note: This function is named GetServices
in the Go SDK.
public static class GetServices
{
public static Task<GetServicesResult> InvokeAsync(GetServicesArgs args, InvokeOptions? opts = null)
public static Output<GetServicesResult> Invoke(GetServicesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServicesResult> getServices(GetServicesArgs args, InvokeOptions options)
public static Output<GetServicesResult> getServices(GetServicesArgs args, InvokeOptions options)
fn::invoke:
function: junipermist:org/getServices:getServices
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
getServices Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - Org
Services List<Pulumi.Juniper Mist. Org. Outputs. Get Services Org Service>
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - Org
Services []GetServices Org Service
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - org
Services List<GetServices Org Service>
- id string
- The provider-assigned unique ID for this managed resource.
- org
Id string - org
Services GetServices Org Service[]
- id str
- The provider-assigned unique ID for this managed resource.
- org_
id str - org_
services Sequence[GetServices Org Service]
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - org
Services List<Property Map>
Supporting Types
GetServicesOrgService
- Addresses List<string>
- If
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - App
Categories List<string> - When
type
==app_categories
, list of application categories are available through List App Category Definitions - App
Subcategories List<string> - When
type
==app_categories
, list of application categories are available through List App Sub Category Definitions - Apps List<string>
- When
type
==apps
, list of applications are available through:- List Applications
- List Gateway Applications
- /insight/top_app_by-bytes?wired=true
- Client
Limit intDown - 0 means unlimited
- Client
Limit intUp - 0 means unlimited
- Created
Time double - When the object has been created, in epoch
- Description string
- Dscp string
- Failover
Policy string - enum:
non_revertable
,none
,revertable
- Hostnames List<string>
- If
type
==custom
, web filtering - Id string
- Unique ID of the object instance in the Mist Organization
- Max
Jitter string - Max
Latency string - Max
Loss string - Modified
Time double - When the object has been modified for the last time, in epoch
- Name string
- Org
Id string - Service
Limit intDown - 0 means unlimited
- Service
Limit intUp - 0 means unlimited
- Sle
Enabled bool - Whether to enable measure SLE
- Specs
List<Pulumi.
Juniper Mist. Org. Inputs. Get Services Org Service Spec> - When
type
==custom
, optional, if it doesn't exist, http and https is assumed - Ssr
Relaxed boolTcp State Enforcement - Traffic
Class string - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- Traffic
Type string - values from List Traffic Types
- Type string
- enum:
app_categories
,apps
,custom
,urls
- Urls List<string>
- When
type
==urls
, no need for spec as URL can encode the ports being used
- Addresses []string
- If
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - App
Categories []string - When
type
==app_categories
, list of application categories are available through List App Category Definitions - App
Subcategories []string - When
type
==app_categories
, list of application categories are available through List App Sub Category Definitions - Apps []string
- When
type
==apps
, list of applications are available through:- List Applications
- List Gateway Applications
- /insight/top_app_by-bytes?wired=true
- Client
Limit intDown - 0 means unlimited
- Client
Limit intUp - 0 means unlimited
- Created
Time float64 - When the object has been created, in epoch
- Description string
- Dscp string
- Failover
Policy string - enum:
non_revertable
,none
,revertable
- Hostnames []string
- If
type
==custom
, web filtering - Id string
- Unique ID of the object instance in the Mist Organization
- Max
Jitter string - Max
Latency string - Max
Loss string - Modified
Time float64 - When the object has been modified for the last time, in epoch
- Name string
- Org
Id string - Service
Limit intDown - 0 means unlimited
- Service
Limit intUp - 0 means unlimited
- Sle
Enabled bool - Whether to enable measure SLE
- Specs
[]Get
Services Org Service Spec - When
type
==custom
, optional, if it doesn't exist, http and https is assumed - Ssr
Relaxed boolTcp State Enforcement - Traffic
Class string - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- Traffic
Type string - values from List Traffic Types
- Type string
- enum:
app_categories
,apps
,custom
,urls
- Urls []string
- When
type
==urls
, no need for spec as URL can encode the ports being used
- addresses List<String>
- If
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - app
Categories List<String> - When
type
==app_categories
, list of application categories are available through List App Category Definitions - app
Subcategories List<String> - When
type
==app_categories
, list of application categories are available through List App Sub Category Definitions - apps List<String>
- When
type
==apps
, list of applications are available through:- List Applications
- List Gateway Applications
- /insight/top_app_by-bytes?wired=true
- client
Limit IntegerDown - 0 means unlimited
- client
Limit IntegerUp - 0 means unlimited
- created
Time Double - When the object has been created, in epoch
- description String
- dscp String
- failover
Policy String - enum:
non_revertable
,none
,revertable
- hostnames List<String>
- If
type
==custom
, web filtering - id String
- Unique ID of the object instance in the Mist Organization
- max
Jitter String - max
Latency String - max
Loss String - modified
Time Double - When the object has been modified for the last time, in epoch
- name String
- org
Id String - service
Limit IntegerDown - 0 means unlimited
- service
Limit IntegerUp - 0 means unlimited
- sle
Enabled Boolean - Whether to enable measure SLE
- specs
List<Get
Services Org Service Spec> - When
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr
Relaxed BooleanTcp State Enforcement - traffic
Class String - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic
Type String - values from List Traffic Types
- type String
- enum:
app_categories
,apps
,custom
,urls
- urls List<String>
- When
type
==urls
, no need for spec as URL can encode the ports being used
- addresses string[]
- If
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - app
Categories string[] - When
type
==app_categories
, list of application categories are available through List App Category Definitions - app
Subcategories string[] - When
type
==app_categories
, list of application categories are available through List App Sub Category Definitions - apps string[]
- When
type
==apps
, list of applications are available through:- List Applications
- List Gateway Applications
- /insight/top_app_by-bytes?wired=true
- client
Limit numberDown - 0 means unlimited
- client
Limit numberUp - 0 means unlimited
- created
Time number - When the object has been created, in epoch
- description string
- dscp string
- failover
Policy string - enum:
non_revertable
,none
,revertable
- hostnames string[]
- If
type
==custom
, web filtering - id string
- Unique ID of the object instance in the Mist Organization
- max
Jitter string - max
Latency string - max
Loss string - modified
Time number - When the object has been modified for the last time, in epoch
- name string
- org
Id string - service
Limit numberDown - 0 means unlimited
- service
Limit numberUp - 0 means unlimited
- sle
Enabled boolean - Whether to enable measure SLE
- specs
Get
Services Org Service Spec[] - When
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr
Relaxed booleanTcp State Enforcement - traffic
Class string - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic
Type string - values from List Traffic Types
- type string
- enum:
app_categories
,apps
,custom
,urls
- urls string[]
- When
type
==urls
, no need for spec as URL can encode the ports being used
- addresses Sequence[str]
- If
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - app_
categories Sequence[str] - When
type
==app_categories
, list of application categories are available through List App Category Definitions - app_
subcategories Sequence[str] - When
type
==app_categories
, list of application categories are available through List App Sub Category Definitions - apps Sequence[str]
- When
type
==apps
, list of applications are available through:- List Applications
- List Gateway Applications
- /insight/top_app_by-bytes?wired=true
- client_
limit_ intdown - 0 means unlimited
- client_
limit_ intup - 0 means unlimited
- created_
time float - When the object has been created, in epoch
- description str
- dscp str
- failover_
policy str - enum:
non_revertable
,none
,revertable
- hostnames Sequence[str]
- If
type
==custom
, web filtering - id str
- Unique ID of the object instance in the Mist Organization
- max_
jitter str - max_
latency str - max_
loss str - modified_
time float - When the object has been modified for the last time, in epoch
- name str
- org_
id str - service_
limit_ intdown - 0 means unlimited
- service_
limit_ intup - 0 means unlimited
- sle_
enabled bool - Whether to enable measure SLE
- specs
Sequence[Get
Services Org Service Spec] - When
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr_
relaxed_ booltcp_ state_ enforcement - traffic_
class str - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic_
type str - values from List Traffic Types
- type str
- enum:
app_categories
,apps
,custom
,urls
- urls Sequence[str]
- When
type
==urls
, no need for spec as URL can encode the ports being used
- addresses List<String>
- If
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - app
Categories List<String> - When
type
==app_categories
, list of application categories are available through List App Category Definitions - app
Subcategories List<String> - When
type
==app_categories
, list of application categories are available through List App Sub Category Definitions - apps List<String>
- When
type
==apps
, list of applications are available through:- List Applications
- List Gateway Applications
- /insight/top_app_by-bytes?wired=true
- client
Limit NumberDown - 0 means unlimited
- client
Limit NumberUp - 0 means unlimited
- created
Time Number - When the object has been created, in epoch
- description String
- dscp String
- failover
Policy String - enum:
non_revertable
,none
,revertable
- hostnames List<String>
- If
type
==custom
, web filtering - id String
- Unique ID of the object instance in the Mist Organization
- max
Jitter String - max
Latency String - max
Loss String - modified
Time Number - When the object has been modified for the last time, in epoch
- name String
- org
Id String - service
Limit NumberDown - 0 means unlimited
- service
Limit NumberUp - 0 means unlimited
- sle
Enabled Boolean - Whether to enable measure SLE
- specs List<Property Map>
- When
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr
Relaxed BooleanTcp State Enforcement - traffic
Class String - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic
Type String - values from List Traffic Types
- type String
- enum:
app_categories
,apps
,custom
,urls
- urls List<String>
- When
type
==urls
, no need for spec as URL can encode the ports being used
GetServicesOrgServiceSpec
- port_
range str - Port number, port range, or variable
- protocol str
https
/tcp
/udp
/icmp
/gre
/any
/:protocol_number
,protocol_number
is between 1-254
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mist
Terraform Provider.