published on Saturday, Jul 11, 2026 by Pulumi
published on Saturday, Jul 11, 2026 by Pulumi
This resource manages WAN Assurance Services (Applications).
A Service is used to define a Custom Application that can be used in the servicePolicies. 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/juniper-mist";
const serviceOne = new junipermist.org.Service("service_one", {
orgId: terraformTest.id,
name: "service_one",
addresses: [
"10.3.0.0/24",
"10.4.0.0/24",
],
type: "custom",
specs: [{
protocol: "tcp",
portRange: "443",
}],
});
import pulumi
import pulumi_juniper_mist as junipermist
service_one = junipermist.org.Service("service_one",
org_id=terraform_test["id"],
name="service_one",
addresses=[
"10.3.0.0/24",
"10.4.0.0/24",
],
type="custom",
specs=[{
"protocol": "tcp",
"port_range": "443",
}])
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.NewService(ctx, "service_one", &org.ServiceArgs{
OrgId: pulumi.Any(terraformTest.Id),
Name: pulumi.String("service_one"),
Addresses: pulumi.StringArray{
pulumi.String("10.3.0.0/24"),
pulumi.String("10.4.0.0/24"),
},
Type: pulumi.String("custom"),
Specs: org.ServiceSpecArray{
&org.ServiceSpecArgs{
Protocol: pulumi.String("tcp"),
PortRange: pulumi.String("443"),
},
},
})
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 serviceOne = new JuniperMist.Org.Service("service_one", new()
{
OrgId = terraformTest.Id,
Name = "service_one",
Addresses = new[]
{
"10.3.0.0/24",
"10.4.0.0/24",
},
Type = "custom",
Specs = new[]
{
new JuniperMist.Org.Inputs.ServiceSpecArgs
{
Protocol = "tcp",
PortRange = "443",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.Service;
import com.pulumi.junipermist.org.ServiceArgs;
import com.pulumi.junipermist.org.inputs.ServiceSpecArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 serviceOne = new Service("serviceOne", ServiceArgs.builder()
.orgId(terraformTest.id())
.name("service_one")
.addresses(
"10.3.0.0/24",
"10.4.0.0/24")
.type("custom")
.specs(ServiceSpecArgs.builder()
.protocol("tcp")
.portRange("443")
.build())
.build());
}
}
resources:
serviceOne:
type: junipermist:org:Service
name: service_one
properties:
orgId: ${terraformTest.id}
name: service_one
addresses:
- 10.3.0.0/24
- 10.4.0.0/24
type: custom
specs:
- protocol: tcp
portRange: '443'
pulumi {
required_providers {
junipermist = {
source = "pulumi/junipermist"
}
}
}
resource "junipermist_org_service" "service_one" {
org_id = terraformTest.id
name = "service_one"
addresses = ["10.3.0.0/24", "10.4.0.0/24"]
type = "custom"
specs {
protocol = "tcp"
port_range = "443"
}
}
Create Service Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);@overload
def Service(resource_name: str,
args: ServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Service(resource_name: str,
opts: Optional[ResourceOptions] = None,
org_id: Optional[str] = None,
max_loss: Optional[str] = None,
hostnames: Optional[Sequence[str]] = None,
apps: Optional[Sequence[str]] = None,
client_limit_down: Optional[int] = None,
client_limit_up: Optional[int] = None,
description: Optional[str] = None,
dscp: Optional[str] = None,
name: Optional[str] = None,
addresses: Optional[Sequence[str]] = None,
max_jitter: Optional[str] = None,
app_subcategories: Optional[Sequence[str]] = None,
max_latency: Optional[str] = None,
failover_policy: Optional[str] = None,
app_categories: Optional[Sequence[str]] = None,
service_limit_down: Optional[int] = None,
service_limit_up: Optional[int] = None,
sle_enabled: Optional[bool] = None,
specs: Optional[Sequence[ServiceSpecArgs]] = None,
ssr_relaxed_tcp_state_enforcement: Optional[bool] = None,
traffic_class: Optional[str] = None,
traffic_type: Optional[str] = None,
type: Optional[str] = None,
urls: Optional[Sequence[str]] = None)func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)
public Service(String name, ServiceArgs args)
public Service(String name, ServiceArgs args, CustomResourceOptions options)
type: junipermist:org:Service
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "junipermist_org_service" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ServiceArgs
- 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 ServiceArgs
- 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 ServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceArgs
- 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 serviceResource = new JuniperMist.Org.Service("serviceResource", new()
{
OrgId = "string",
MaxLoss = "string",
Hostnames = new[]
{
"string",
},
Apps = new[]
{
"string",
},
ClientLimitDown = 0,
ClientLimitUp = 0,
Description = "string",
Dscp = "string",
Name = "string",
Addresses = new[]
{
"string",
},
MaxJitter = "string",
AppSubcategories = new[]
{
"string",
},
MaxLatency = "string",
FailoverPolicy = "string",
AppCategories = new[]
{
"string",
},
ServiceLimitDown = 0,
ServiceLimitUp = 0,
SleEnabled = false,
Specs = new[]
{
new JuniperMist.Org.Inputs.ServiceSpecArgs
{
PortRange = "string",
Protocol = "string",
},
},
SsrRelaxedTcpStateEnforcement = false,
TrafficClass = "string",
TrafficType = "string",
Type = "string",
Urls = new[]
{
"string",
},
});
example, err := org.NewService(ctx, "serviceResource", &org.ServiceArgs{
OrgId: pulumi.String("string"),
MaxLoss: pulumi.String("string"),
Hostnames: pulumi.StringArray{
pulumi.String("string"),
},
Apps: pulumi.StringArray{
pulumi.String("string"),
},
ClientLimitDown: pulumi.Int(0),
ClientLimitUp: pulumi.Int(0),
Description: pulumi.String("string"),
Dscp: pulumi.String("string"),
Name: pulumi.String("string"),
Addresses: pulumi.StringArray{
pulumi.String("string"),
},
MaxJitter: pulumi.String("string"),
AppSubcategories: pulumi.StringArray{
pulumi.String("string"),
},
MaxLatency: pulumi.String("string"),
FailoverPolicy: pulumi.String("string"),
AppCategories: pulumi.StringArray{
pulumi.String("string"),
},
ServiceLimitDown: pulumi.Int(0),
ServiceLimitUp: pulumi.Int(0),
SleEnabled: pulumi.Bool(false),
Specs: org.ServiceSpecArray{
&org.ServiceSpecArgs{
PortRange: pulumi.String("string"),
Protocol: pulumi.String("string"),
},
},
SsrRelaxedTcpStateEnforcement: pulumi.Bool(false),
TrafficClass: pulumi.String("string"),
TrafficType: pulumi.String("string"),
Type: pulumi.String("string"),
Urls: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "junipermist_org_service" "serviceResource" {
lifecycle {
create_before_destroy = true
}
org_id = "string"
max_loss = "string"
hostnames = ["string"]
apps = ["string"]
client_limit_down = 0
client_limit_up = 0
description = "string"
dscp = "string"
name = "string"
addresses = ["string"]
max_jitter = "string"
app_subcategories = ["string"]
max_latency = "string"
failover_policy = "string"
app_categories = ["string"]
service_limit_down = 0
service_limit_up = 0
sle_enabled = false
specs {
port_range = "string"
protocol = "string"
}
ssr_relaxed_tcp_state_enforcement = false
traffic_class = "string"
traffic_type = "string"
type = "string"
urls = ["string"]
}
var serviceResource = new Service("serviceResource", ServiceArgs.builder()
.orgId("string")
.maxLoss("string")
.hostnames("string")
.apps("string")
.clientLimitDown(0)
.clientLimitUp(0)
.description("string")
.dscp("string")
.name("string")
.addresses("string")
.maxJitter("string")
.appSubcategories("string")
.maxLatency("string")
.failoverPolicy("string")
.appCategories("string")
.serviceLimitDown(0)
.serviceLimitUp(0)
.sleEnabled(false)
.specs(ServiceSpecArgs.builder()
.portRange("string")
.protocol("string")
.build())
.ssrRelaxedTcpStateEnforcement(false)
.trafficClass("string")
.trafficType("string")
.type("string")
.urls("string")
.build());
service_resource = junipermist.org.Service("serviceResource",
org_id="string",
max_loss="string",
hostnames=["string"],
apps=["string"],
client_limit_down=0,
client_limit_up=0,
description="string",
dscp="string",
name="string",
addresses=["string"],
max_jitter="string",
app_subcategories=["string"],
max_latency="string",
failover_policy="string",
app_categories=["string"],
service_limit_down=0,
service_limit_up=0,
sle_enabled=False,
specs=[{
"port_range": "string",
"protocol": "string",
}],
ssr_relaxed_tcp_state_enforcement=False,
traffic_class="string",
traffic_type="string",
type="string",
urls=["string"])
const serviceResource = new junipermist.org.Service("serviceResource", {
orgId: "string",
maxLoss: "string",
hostnames: ["string"],
apps: ["string"],
clientLimitDown: 0,
clientLimitUp: 0,
description: "string",
dscp: "string",
name: "string",
addresses: ["string"],
maxJitter: "string",
appSubcategories: ["string"],
maxLatency: "string",
failoverPolicy: "string",
appCategories: ["string"],
serviceLimitDown: 0,
serviceLimitUp: 0,
sleEnabled: false,
specs: [{
portRange: "string",
protocol: "string",
}],
ssrRelaxedTcpStateEnforcement: false,
trafficClass: "string",
trafficType: "string",
type: "string",
urls: ["string"],
});
type: junipermist:org:Service
properties:
addresses:
- string
appCategories:
- string
appSubcategories:
- string
apps:
- string
clientLimitDown: 0
clientLimitUp: 0
description: string
dscp: string
failoverPolicy: string
hostnames:
- string
maxJitter: string
maxLatency: string
maxLoss: string
name: string
orgId: string
serviceLimitDown: 0
serviceLimitUp: 0
sleEnabled: false
specs:
- portRange: string
protocol: string
ssrRelaxedTcpStateEnforcement: false
trafficClass: string
trafficType: string
type: string
urls:
- string
Service 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 Service resource accepts the following input properties:
- Org
Id string - Organization identifier associated with the service definition
- Addresses List<string>
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - App
Categories List<string> - Categories of applications matched by this service when
type==appCategories - App
Subcategories List<string> - Application subcategories matched by this service when
type==appCategories - Apps List<string>
- Application identifiers matched by this service when
type==apps - Client
Limit intDown - 0 means unlimited, value from 0 to 107374182
- Client
Limit intUp - 0 means unlimited, value from 0 to 107374182
- Description string
- Free-form description of the service definition
- Dscp string
- QoS DSCP value used for custom SSR traffic classification
- Failover
Policy string - Failover behavior for traffic matched by this service
- Hostnames List<string>
- Domain hostnames matched by this custom service for web filtering
- Max
Jitter string - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - Max
Latency string - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - Max
Loss string - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - Name string
- Display name of the service definition
- Service
Limit intDown - 0 means unlimited, value from 0 to 107374182
- Service
Limit intUp - 0 means unlimited, value from 0 to 107374182
- Sle
Enabled bool - Whether to enable measure SLE
- Specs
List<Pulumi.
Juniper Mist. Org. Inputs. Service Spec> - Protocol and port match rules used when
type==custom - Ssr
Relaxed boolTcp State Enforcement - Whether SSR relaxes TCP state enforcement for this service
- Traffic
Class string - Traffic class applied when
trafficType==custom - Traffic
Type string - values from List Traffic Types
- Type string
- Matching mode that determines which app, URL, or custom fields are used
- Urls List<string>
- URL patterns matched by this service when
type==urls
- Org
Id string - Organization identifier associated with the service definition
- Addresses []string
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - App
Categories []string - Categories of applications matched by this service when
type==appCategories - App
Subcategories []string - Application subcategories matched by this service when
type==appCategories - Apps []string
- Application identifiers matched by this service when
type==apps - Client
Limit intDown - 0 means unlimited, value from 0 to 107374182
- Client
Limit intUp - 0 means unlimited, value from 0 to 107374182
- Description string
- Free-form description of the service definition
- Dscp string
- QoS DSCP value used for custom SSR traffic classification
- Failover
Policy string - Failover behavior for traffic matched by this service
- Hostnames []string
- Domain hostnames matched by this custom service for web filtering
- Max
Jitter string - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - Max
Latency string - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - Max
Loss string - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - Name string
- Display name of the service definition
- Service
Limit intDown - 0 means unlimited, value from 0 to 107374182
- Service
Limit intUp - 0 means unlimited, value from 0 to 107374182
- Sle
Enabled bool - Whether to enable measure SLE
- Specs
[]Service
Spec Args - Protocol and port match rules used when
type==custom - Ssr
Relaxed boolTcp State Enforcement - Whether SSR relaxes TCP state enforcement for this service
- Traffic
Class string - Traffic class applied when
trafficType==custom - Traffic
Type string - values from List Traffic Types
- Type string
- Matching mode that determines which app, URL, or custom fields are used
- Urls []string
- URL patterns matched by this service when
type==urls
- org_
id string - Organization identifier associated with the service definition
- addresses list(string)
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - app_
categories list(string) - Categories of applications matched by this service when
type==appCategories - app_
subcategories list(string) - Application subcategories matched by this service when
type==appCategories - apps list(string)
- Application identifiers matched by this service when
type==apps - client_
limit_ numberdown - 0 means unlimited, value from 0 to 107374182
- client_
limit_ numberup - 0 means unlimited, value from 0 to 107374182
- description string
- Free-form description of the service definition
- dscp string
- QoS DSCP value used for custom SSR traffic classification
- failover_
policy string - Failover behavior for traffic matched by this service
- hostnames list(string)
- Domain hostnames matched by this custom service for web filtering
- max_
jitter string - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - max_
latency string - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - max_
loss string - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - name string
- Display name of the service definition
- service_
limit_ numberdown - 0 means unlimited, value from 0 to 107374182
- service_
limit_ numberup - 0 means unlimited, value from 0 to 107374182
- sle_
enabled bool - Whether to enable measure SLE
- specs list(object)
- Protocol and port match rules used when
type==custom - ssr_
relaxed_ booltcp_ state_ enforcement - Whether SSR relaxes TCP state enforcement for this service
- traffic_
class string - Traffic class applied when
trafficType==custom - traffic_
type string - values from List Traffic Types
- type string
- Matching mode that determines which app, URL, or custom fields are used
- urls list(string)
- URL patterns matched by this service when
type==urls
- org
Id String - Organization identifier associated with the service definition
- addresses List<String>
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - app
Categories List<String> - Categories of applications matched by this service when
type==appCategories - app
Subcategories List<String> - Application subcategories matched by this service when
type==appCategories - apps List<String>
- Application identifiers matched by this service when
type==apps - client
Limit IntegerDown - 0 means unlimited, value from 0 to 107374182
- client
Limit IntegerUp - 0 means unlimited, value from 0 to 107374182
- description String
- Free-form description of the service definition
- dscp String
- QoS DSCP value used for custom SSR traffic classification
- failover
Policy String - Failover behavior for traffic matched by this service
- hostnames List<String>
- Domain hostnames matched by this custom service for web filtering
- max
Jitter String - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - max
Latency String - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - max
Loss String - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - name String
- Display name of the service definition
- service
Limit IntegerDown - 0 means unlimited, value from 0 to 107374182
- service
Limit IntegerUp - 0 means unlimited, value from 0 to 107374182
- sle
Enabled Boolean - Whether to enable measure SLE
- specs
List<Service
Spec> - Protocol and port match rules used when
type==custom - ssr
Relaxed BooleanTcp State Enforcement - Whether SSR relaxes TCP state enforcement for this service
- traffic
Class String - Traffic class applied when
trafficType==custom - traffic
Type String - values from List Traffic Types
- type String
- Matching mode that determines which app, URL, or custom fields are used
- urls List<String>
- URL patterns matched by this service when
type==urls
- org
Id string - Organization identifier associated with the service definition
- addresses string[]
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - app
Categories string[] - Categories of applications matched by this service when
type==appCategories - app
Subcategories string[] - Application subcategories matched by this service when
type==appCategories - apps string[]
- Application identifiers matched by this service when
type==apps - client
Limit numberDown - 0 means unlimited, value from 0 to 107374182
- client
Limit numberUp - 0 means unlimited, value from 0 to 107374182
- description string
- Free-form description of the service definition
- dscp string
- QoS DSCP value used for custom SSR traffic classification
- failover
Policy string - Failover behavior for traffic matched by this service
- hostnames string[]
- Domain hostnames matched by this custom service for web filtering
- max
Jitter string - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - max
Latency string - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - max
Loss string - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - name string
- Display name of the service definition
- service
Limit numberDown - 0 means unlimited, value from 0 to 107374182
- service
Limit numberUp - 0 means unlimited, value from 0 to 107374182
- sle
Enabled boolean - Whether to enable measure SLE
- specs
Service
Spec[] - Protocol and port match rules used when
type==custom - ssr
Relaxed booleanTcp State Enforcement - Whether SSR relaxes TCP state enforcement for this service
- traffic
Class string - Traffic class applied when
trafficType==custom - traffic
Type string - values from List Traffic Types
- type string
- Matching mode that determines which app, URL, or custom fields are used
- urls string[]
- URL patterns matched by this service when
type==urls
- org_
id str - Organization identifier associated with the service definition
- addresses Sequence[str]
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - app_
categories Sequence[str] - Categories of applications matched by this service when
type==appCategories - app_
subcategories Sequence[str] - Application subcategories matched by this service when
type==appCategories - apps Sequence[str]
- Application identifiers matched by this service when
type==apps - client_
limit_ intdown - 0 means unlimited, value from 0 to 107374182
- client_
limit_ intup - 0 means unlimited, value from 0 to 107374182
- description str
- Free-form description of the service definition
- dscp str
- QoS DSCP value used for custom SSR traffic classification
- failover_
policy str - Failover behavior for traffic matched by this service
- hostnames Sequence[str]
- Domain hostnames matched by this custom service for web filtering
- max_
jitter str - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - max_
latency str - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - max_
loss str - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - name str
- Display name of the service definition
- service_
limit_ intdown - 0 means unlimited, value from 0 to 107374182
- service_
limit_ intup - 0 means unlimited, value from 0 to 107374182
- sle_
enabled bool - Whether to enable measure SLE
- specs
Sequence[Service
Spec Args] - Protocol and port match rules used when
type==custom - ssr_
relaxed_ booltcp_ state_ enforcement - Whether SSR relaxes TCP state enforcement for this service
- traffic_
class str - Traffic class applied when
trafficType==custom - traffic_
type str - values from List Traffic Types
- type str
- Matching mode that determines which app, URL, or custom fields are used
- urls Sequence[str]
- URL patterns matched by this service when
type==urls
- org
Id String - Organization identifier associated with the service definition
- addresses List<String>
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - app
Categories List<String> - Categories of applications matched by this service when
type==appCategories - app
Subcategories List<String> - Application subcategories matched by this service when
type==appCategories - apps List<String>
- Application identifiers matched by this service when
type==apps - client
Limit NumberDown - 0 means unlimited, value from 0 to 107374182
- client
Limit NumberUp - 0 means unlimited, value from 0 to 107374182
- description String
- Free-form description of the service definition
- dscp String
- QoS DSCP value used for custom SSR traffic classification
- failover
Policy String - Failover behavior for traffic matched by this service
- hostnames List<String>
- Domain hostnames matched by this custom service for web filtering
- max
Jitter String - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - max
Latency String - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - max
Loss String - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - name String
- Display name of the service definition
- service
Limit NumberDown - 0 means unlimited, value from 0 to 107374182
- service
Limit NumberUp - 0 means unlimited, value from 0 to 107374182
- sle
Enabled Boolean - Whether to enable measure SLE
- specs List<Property Map>
- Protocol and port match rules used when
type==custom - ssr
Relaxed BooleanTcp State Enforcement - Whether SSR relaxes TCP state enforcement for this service
- traffic
Class String - Traffic class applied when
trafficType==custom - traffic
Type String - values from List Traffic Types
- type String
- Matching mode that determines which app, URL, or custom fields are used
- urls List<String>
- URL patterns matched by this service when
type==urls
Outputs
All input properties are implicitly available as output properties. Additionally, the Service 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 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 Service Resource
Get an existing Service 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?: ServiceState, opts?: CustomResourceOptions): Service@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
addresses: Optional[Sequence[str]] = None,
app_categories: Optional[Sequence[str]] = None,
app_subcategories: Optional[Sequence[str]] = None,
apps: Optional[Sequence[str]] = None,
client_limit_down: Optional[int] = None,
client_limit_up: Optional[int] = None,
description: Optional[str] = None,
dscp: Optional[str] = None,
failover_policy: Optional[str] = None,
hostnames: Optional[Sequence[str]] = None,
max_jitter: Optional[str] = None,
max_latency: Optional[str] = None,
max_loss: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
service_limit_down: Optional[int] = None,
service_limit_up: Optional[int] = None,
sle_enabled: Optional[bool] = None,
specs: Optional[Sequence[ServiceSpecArgs]] = None,
ssr_relaxed_tcp_state_enforcement: Optional[bool] = None,
traffic_class: Optional[str] = None,
traffic_type: Optional[str] = None,
type: Optional[str] = None,
urls: Optional[Sequence[str]] = None) -> Servicefunc GetService(ctx *Context, name string, id IDInput, state *ServiceState, opts ...ResourceOption) (*Service, error)public static Service Get(string name, Input<string> id, ServiceState? state, CustomResourceOptions? opts = null)public static Service get(String name, Output<String> id, ServiceState state, CustomResourceOptions options)resources: _: type: junipermist:org:Service get: id: ${id}import {
to = junipermist_org_service.example
id = "${id}"
}
- 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.
- Addresses List<string>
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - App
Categories List<string> - Categories of applications matched by this service when
type==appCategories - App
Subcategories List<string> - Application subcategories matched by this service when
type==appCategories - Apps List<string>
- Application identifiers matched by this service when
type==apps - Client
Limit intDown - 0 means unlimited, value from 0 to 107374182
- Client
Limit intUp - 0 means unlimited, value from 0 to 107374182
- Description string
- Free-form description of the service definition
- Dscp string
- QoS DSCP value used for custom SSR traffic classification
- Failover
Policy string - Failover behavior for traffic matched by this service
- Hostnames List<string>
- Domain hostnames matched by this custom service for web filtering
- Max
Jitter string - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - Max
Latency string - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - Max
Loss string - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - Name string
- Display name of the service definition
- Org
Id string - Organization identifier associated with the service definition
- Service
Limit intDown - 0 means unlimited, value from 0 to 107374182
- Service
Limit intUp - 0 means unlimited, value from 0 to 107374182
- Sle
Enabled bool - Whether to enable measure SLE
- Specs
List<Pulumi.
Juniper Mist. Org. Inputs. Service Spec> - Protocol and port match rules used when
type==custom - Ssr
Relaxed boolTcp State Enforcement - Whether SSR relaxes TCP state enforcement for this service
- Traffic
Class string - Traffic class applied when
trafficType==custom - Traffic
Type string - values from List Traffic Types
- Type string
- Matching mode that determines which app, URL, or custom fields are used
- Urls List<string>
- URL patterns matched by this service when
type==urls
- Addresses []string
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - App
Categories []string - Categories of applications matched by this service when
type==appCategories - App
Subcategories []string - Application subcategories matched by this service when
type==appCategories - Apps []string
- Application identifiers matched by this service when
type==apps - Client
Limit intDown - 0 means unlimited, value from 0 to 107374182
- Client
Limit intUp - 0 means unlimited, value from 0 to 107374182
- Description string
- Free-form description of the service definition
- Dscp string
- QoS DSCP value used for custom SSR traffic classification
- Failover
Policy string - Failover behavior for traffic matched by this service
- Hostnames []string
- Domain hostnames matched by this custom service for web filtering
- Max
Jitter string - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - Max
Latency string - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - Max
Loss string - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - Name string
- Display name of the service definition
- Org
Id string - Organization identifier associated with the service definition
- Service
Limit intDown - 0 means unlimited, value from 0 to 107374182
- Service
Limit intUp - 0 means unlimited, value from 0 to 107374182
- Sle
Enabled bool - Whether to enable measure SLE
- Specs
[]Service
Spec Args - Protocol and port match rules used when
type==custom - Ssr
Relaxed boolTcp State Enforcement - Whether SSR relaxes TCP state enforcement for this service
- Traffic
Class string - Traffic class applied when
trafficType==custom - Traffic
Type string - values from List Traffic Types
- Type string
- Matching mode that determines which app, URL, or custom fields are used
- Urls []string
- URL patterns matched by this service when
type==urls
- addresses list(string)
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - app_
categories list(string) - Categories of applications matched by this service when
type==appCategories - app_
subcategories list(string) - Application subcategories matched by this service when
type==appCategories - apps list(string)
- Application identifiers matched by this service when
type==apps - client_
limit_ numberdown - 0 means unlimited, value from 0 to 107374182
- client_
limit_ numberup - 0 means unlimited, value from 0 to 107374182
- description string
- Free-form description of the service definition
- dscp string
- QoS DSCP value used for custom SSR traffic classification
- failover_
policy string - Failover behavior for traffic matched by this service
- hostnames list(string)
- Domain hostnames matched by this custom service for web filtering
- max_
jitter string - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - max_
latency string - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - max_
loss string - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - name string
- Display name of the service definition
- org_
id string - Organization identifier associated with the service definition
- service_
limit_ numberdown - 0 means unlimited, value from 0 to 107374182
- service_
limit_ numberup - 0 means unlimited, value from 0 to 107374182
- sle_
enabled bool - Whether to enable measure SLE
- specs list(object)
- Protocol and port match rules used when
type==custom - ssr_
relaxed_ booltcp_ state_ enforcement - Whether SSR relaxes TCP state enforcement for this service
- traffic_
class string - Traffic class applied when
trafficType==custom - traffic_
type string - values from List Traffic Types
- type string
- Matching mode that determines which app, URL, or custom fields are used
- urls list(string)
- URL patterns matched by this service when
type==urls
- addresses List<String>
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - app
Categories List<String> - Categories of applications matched by this service when
type==appCategories - app
Subcategories List<String> - Application subcategories matched by this service when
type==appCategories - apps List<String>
- Application identifiers matched by this service when
type==apps - client
Limit IntegerDown - 0 means unlimited, value from 0 to 107374182
- client
Limit IntegerUp - 0 means unlimited, value from 0 to 107374182
- description String
- Free-form description of the service definition
- dscp String
- QoS DSCP value used for custom SSR traffic classification
- failover
Policy String - Failover behavior for traffic matched by this service
- hostnames List<String>
- Domain hostnames matched by this custom service for web filtering
- max
Jitter String - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - max
Latency String - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - max
Loss String - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - name String
- Display name of the service definition
- org
Id String - Organization identifier associated with the service definition
- service
Limit IntegerDown - 0 means unlimited, value from 0 to 107374182
- service
Limit IntegerUp - 0 means unlimited, value from 0 to 107374182
- sle
Enabled Boolean - Whether to enable measure SLE
- specs
List<Service
Spec> - Protocol and port match rules used when
type==custom - ssr
Relaxed BooleanTcp State Enforcement - Whether SSR relaxes TCP state enforcement for this service
- traffic
Class String - Traffic class applied when
trafficType==custom - traffic
Type String - values from List Traffic Types
- type String
- Matching mode that determines which app, URL, or custom fields are used
- urls List<String>
- URL patterns matched by this service when
type==urls
- addresses string[]
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - app
Categories string[] - Categories of applications matched by this service when
type==appCategories - app
Subcategories string[] - Application subcategories matched by this service when
type==appCategories - apps string[]
- Application identifiers matched by this service when
type==apps - client
Limit numberDown - 0 means unlimited, value from 0 to 107374182
- client
Limit numberUp - 0 means unlimited, value from 0 to 107374182
- description string
- Free-form description of the service definition
- dscp string
- QoS DSCP value used for custom SSR traffic classification
- failover
Policy string - Failover behavior for traffic matched by this service
- hostnames string[]
- Domain hostnames matched by this custom service for web filtering
- max
Jitter string - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - max
Latency string - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - max
Loss string - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - name string
- Display name of the service definition
- org
Id string - Organization identifier associated with the service definition
- service
Limit numberDown - 0 means unlimited, value from 0 to 107374182
- service
Limit numberUp - 0 means unlimited, value from 0 to 107374182
- sle
Enabled boolean - Whether to enable measure SLE
- specs
Service
Spec[] - Protocol and port match rules used when
type==custom - ssr
Relaxed booleanTcp State Enforcement - Whether SSR relaxes TCP state enforcement for this service
- traffic
Class string - Traffic class applied when
trafficType==custom - traffic
Type string - values from List Traffic Types
- type string
- Matching mode that determines which app, URL, or custom fields are used
- urls string[]
- URL patterns matched by this service when
type==urls
- addresses Sequence[str]
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - app_
categories Sequence[str] - Categories of applications matched by this service when
type==appCategories - app_
subcategories Sequence[str] - Application subcategories matched by this service when
type==appCategories - apps Sequence[str]
- Application identifiers matched by this service when
type==apps - client_
limit_ intdown - 0 means unlimited, value from 0 to 107374182
- client_
limit_ intup - 0 means unlimited, value from 0 to 107374182
- description str
- Free-form description of the service definition
- dscp str
- QoS DSCP value used for custom SSR traffic classification
- failover_
policy str - Failover behavior for traffic matched by this service
- hostnames Sequence[str]
- Domain hostnames matched by this custom service for web filtering
- max_
jitter str - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - max_
latency str - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - max_
loss str - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - name str
- Display name of the service definition
- org_
id str - Organization identifier associated with the service definition
- service_
limit_ intdown - 0 means unlimited, value from 0 to 107374182
- service_
limit_ intup - 0 means unlimited, value from 0 to 107374182
- sle_
enabled bool - Whether to enable measure SLE
- specs
Sequence[Service
Spec Args] - Protocol and port match rules used when
type==custom - ssr_
relaxed_ booltcp_ state_ enforcement - Whether SSR relaxes TCP state enforcement for this service
- traffic_
class str - Traffic class applied when
trafficType==custom - traffic_
type str - values from List Traffic Types
- type str
- Matching mode that determines which app, URL, or custom fields are used
- urls Sequence[str]
- URL patterns matched by this service when
type==urls
- addresses List<String>
- Custom IPv4 or IPv6 subnets matched by this service when
type==custom - app
Categories List<String> - Categories of applications matched by this service when
type==appCategories - app
Subcategories List<String> - Application subcategories matched by this service when
type==appCategories - apps List<String>
- Application identifiers matched by this service when
type==apps - client
Limit NumberDown - 0 means unlimited, value from 0 to 107374182
- client
Limit NumberUp - 0 means unlimited, value from 0 to 107374182
- description String
- Free-form description of the service definition
- dscp String
- QoS DSCP value used for custom SSR traffic classification
- failover
Policy String - Failover behavior for traffic matched by this service
- hostnames List<String>
- Domain hostnames matched by this custom service for web filtering
- max
Jitter String - Maximum jitter threshold used for SSR uplink selection when
trafficType==custom - max
Latency String - Maximum latency threshold used for SSR uplink selection when
trafficType==custom - max
Loss String - Maximum packet loss threshold used for SSR uplink selection when
trafficType==custom - name String
- Display name of the service definition
- org
Id String - Organization identifier associated with the service definition
- service
Limit NumberDown - 0 means unlimited, value from 0 to 107374182
- service
Limit NumberUp - 0 means unlimited, value from 0 to 107374182
- sle
Enabled Boolean - Whether to enable measure SLE
- specs List<Property Map>
- Protocol and port match rules used when
type==custom - ssr
Relaxed BooleanTcp State Enforcement - Whether SSR relaxes TCP state enforcement for this service
- traffic
Class String - Traffic class applied when
trafficType==custom - traffic
Type String - values from List Traffic Types
- type String
- Matching mode that determines which app, URL, or custom fields are used
- urls List<String>
- URL patterns matched by this service when
type==urls
Supporting Types
ServiceSpec, ServiceSpecArgs
- port_
range string - Port number, port range, or variable
- protocol string
https/tcp/udp/icmp/gre/any/:protocol_number,protocolNumberis between 1-254
- port_
range str - Port number, port range, or variable
- protocol str
https/tcp/udp/icmp/gre/any/:protocol_number,protocolNumberis between 1-254
Import
Using pulumi import, import junipermist.org.Service with:
Org Service can be imported by specifying the orgId and the serviceId
$ pulumi import junipermist:org/service:Service service_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
mistTerraform Provider.
published on Saturday, Jul 11, 2026 by Pulumi