1. Registry
  2. Packages
  3. Juniper Mist Provider
  4. API Docs
  5. org
  6. Service
Viewing docs for Juniper Mist v0.11.2
published on Saturday, Jul 11, 2026 by Pulumi
junipermist logo
Viewing docs for Juniper Mist v0.11.2
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:

    OrgId string
    Organization identifier associated with the service definition
    Addresses List<string>
    Custom IPv4 or IPv6 subnets matched by this service when type==custom
    AppCategories List<string>
    Categories of applications matched by this service when type==appCategories
    AppSubcategories List<string>
    Application subcategories matched by this service when type==appCategories
    Apps List<string>
    Application identifiers matched by this service when type==apps
    ClientLimitDown int
    0 means unlimited, value from 0 to 107374182
    ClientLimitUp int
    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
    FailoverPolicy string
    Failover behavior for traffic matched by this service
    Hostnames List<string>
    Domain hostnames matched by this custom service for web filtering
    MaxJitter string
    Maximum jitter threshold used for SSR uplink selection when trafficType==custom
    MaxLatency string
    Maximum latency threshold used for SSR uplink selection when trafficType==custom
    MaxLoss string
    Maximum packet loss threshold used for SSR uplink selection when trafficType==custom
    Name string
    Display name of the service definition
    ServiceLimitDown int
    0 means unlimited, value from 0 to 107374182
    ServiceLimitUp int
    0 means unlimited, value from 0 to 107374182
    SleEnabled bool
    Whether to enable measure SLE
    Specs List<Pulumi.JuniperMist.Org.Inputs.ServiceSpec>
    Protocol and port match rules used when type==custom
    SsrRelaxedTcpStateEnforcement bool
    Whether SSR relaxes TCP state enforcement for this service
    TrafficClass string
    Traffic class applied when trafficType==custom
    TrafficType 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
    OrgId string
    Organization identifier associated with the service definition
    Addresses []string
    Custom IPv4 or IPv6 subnets matched by this service when type==custom
    AppCategories []string
    Categories of applications matched by this service when type==appCategories
    AppSubcategories []string
    Application subcategories matched by this service when type==appCategories
    Apps []string
    Application identifiers matched by this service when type==apps
    ClientLimitDown int
    0 means unlimited, value from 0 to 107374182
    ClientLimitUp int
    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
    FailoverPolicy string
    Failover behavior for traffic matched by this service
    Hostnames []string
    Domain hostnames matched by this custom service for web filtering
    MaxJitter string
    Maximum jitter threshold used for SSR uplink selection when trafficType==custom
    MaxLatency string
    Maximum latency threshold used for SSR uplink selection when trafficType==custom
    MaxLoss string
    Maximum packet loss threshold used for SSR uplink selection when trafficType==custom
    Name string
    Display name of the service definition
    ServiceLimitDown int
    0 means unlimited, value from 0 to 107374182
    ServiceLimitUp int
    0 means unlimited, value from 0 to 107374182
    SleEnabled bool
    Whether to enable measure SLE
    Specs []ServiceSpecArgs
    Protocol and port match rules used when type==custom
    SsrRelaxedTcpStateEnforcement bool
    Whether SSR relaxes TCP state enforcement for this service
    TrafficClass string
    Traffic class applied when trafficType==custom
    TrafficType 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_down number
    0 means unlimited, value from 0 to 107374182
    client_limit_up number
    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_down number
    0 means unlimited, value from 0 to 107374182
    service_limit_up number
    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_tcp_state_enforcement bool
    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
    orgId String
    Organization identifier associated with the service definition
    addresses List<String>
    Custom IPv4 or IPv6 subnets matched by this service when type==custom
    appCategories List<String>
    Categories of applications matched by this service when type==appCategories
    appSubcategories List<String>
    Application subcategories matched by this service when type==appCategories
    apps List<String>
    Application identifiers matched by this service when type==apps
    clientLimitDown Integer
    0 means unlimited, value from 0 to 107374182
    clientLimitUp Integer
    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
    failoverPolicy String
    Failover behavior for traffic matched by this service
    hostnames List<String>
    Domain hostnames matched by this custom service for web filtering
    maxJitter String
    Maximum jitter threshold used for SSR uplink selection when trafficType==custom
    maxLatency String
    Maximum latency threshold used for SSR uplink selection when trafficType==custom
    maxLoss String
    Maximum packet loss threshold used for SSR uplink selection when trafficType==custom
    name String
    Display name of the service definition
    serviceLimitDown Integer
    0 means unlimited, value from 0 to 107374182
    serviceLimitUp Integer
    0 means unlimited, value from 0 to 107374182
    sleEnabled Boolean
    Whether to enable measure SLE
    specs List<ServiceSpec>
    Protocol and port match rules used when type==custom
    ssrRelaxedTcpStateEnforcement Boolean
    Whether SSR relaxes TCP state enforcement for this service
    trafficClass String
    Traffic class applied when trafficType==custom
    trafficType 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
    orgId string
    Organization identifier associated with the service definition
    addresses string[]
    Custom IPv4 or IPv6 subnets matched by this service when type==custom
    appCategories string[]
    Categories of applications matched by this service when type==appCategories
    appSubcategories string[]
    Application subcategories matched by this service when type==appCategories
    apps string[]
    Application identifiers matched by this service when type==apps
    clientLimitDown number
    0 means unlimited, value from 0 to 107374182
    clientLimitUp number
    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
    failoverPolicy string
    Failover behavior for traffic matched by this service
    hostnames string[]
    Domain hostnames matched by this custom service for web filtering
    maxJitter string
    Maximum jitter threshold used for SSR uplink selection when trafficType==custom
    maxLatency string
    Maximum latency threshold used for SSR uplink selection when trafficType==custom
    maxLoss string
    Maximum packet loss threshold used for SSR uplink selection when trafficType==custom
    name string
    Display name of the service definition
    serviceLimitDown number
    0 means unlimited, value from 0 to 107374182
    serviceLimitUp number
    0 means unlimited, value from 0 to 107374182
    sleEnabled boolean
    Whether to enable measure SLE
    specs ServiceSpec[]
    Protocol and port match rules used when type==custom
    ssrRelaxedTcpStateEnforcement boolean
    Whether SSR relaxes TCP state enforcement for this service
    trafficClass string
    Traffic class applied when trafficType==custom
    trafficType 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_down int
    0 means unlimited, value from 0 to 107374182
    client_limit_up int
    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_down int
    0 means unlimited, value from 0 to 107374182
    service_limit_up int
    0 means unlimited, value from 0 to 107374182
    sle_enabled bool
    Whether to enable measure SLE
    specs Sequence[ServiceSpecArgs]
    Protocol and port match rules used when type==custom
    ssr_relaxed_tcp_state_enforcement bool
    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
    orgId String
    Organization identifier associated with the service definition
    addresses List<String>
    Custom IPv4 or IPv6 subnets matched by this service when type==custom
    appCategories List<String>
    Categories of applications matched by this service when type==appCategories
    appSubcategories List<String>
    Application subcategories matched by this service when type==appCategories
    apps List<String>
    Application identifiers matched by this service when type==apps
    clientLimitDown Number
    0 means unlimited, value from 0 to 107374182
    clientLimitUp Number
    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
    failoverPolicy String
    Failover behavior for traffic matched by this service
    hostnames List<String>
    Domain hostnames matched by this custom service for web filtering
    maxJitter String
    Maximum jitter threshold used for SSR uplink selection when trafficType==custom
    maxLatency String
    Maximum latency threshold used for SSR uplink selection when trafficType==custom
    maxLoss String
    Maximum packet loss threshold used for SSR uplink selection when trafficType==custom
    name String
    Display name of the service definition
    serviceLimitDown Number
    0 means unlimited, value from 0 to 107374182
    serviceLimitUp Number
    0 means unlimited, value from 0 to 107374182
    sleEnabled Boolean
    Whether to enable measure SLE
    specs List<Property Map>
    Protocol and port match rules used when type==custom
    ssrRelaxedTcpStateEnforcement Boolean
    Whether SSR relaxes TCP state enforcement for this service
    trafficClass String
    Traffic class applied when trafficType==custom
    trafficType 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) -> Service
    func 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.
    The following state arguments are supported:
    Addresses List<string>
    Custom IPv4 or IPv6 subnets matched by this service when type==custom
    AppCategories List<string>
    Categories of applications matched by this service when type==appCategories
    AppSubcategories List<string>
    Application subcategories matched by this service when type==appCategories
    Apps List<string>
    Application identifiers matched by this service when type==apps
    ClientLimitDown int
    0 means unlimited, value from 0 to 107374182
    ClientLimitUp int
    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
    FailoverPolicy string
    Failover behavior for traffic matched by this service
    Hostnames List<string>
    Domain hostnames matched by this custom service for web filtering
    MaxJitter string
    Maximum jitter threshold used for SSR uplink selection when trafficType==custom
    MaxLatency string
    Maximum latency threshold used for SSR uplink selection when trafficType==custom
    MaxLoss string
    Maximum packet loss threshold used for SSR uplink selection when trafficType==custom
    Name string
    Display name of the service definition
    OrgId string
    Organization identifier associated with the service definition
    ServiceLimitDown int
    0 means unlimited, value from 0 to 107374182
    ServiceLimitUp int
    0 means unlimited, value from 0 to 107374182
    SleEnabled bool
    Whether to enable measure SLE
    Specs List<Pulumi.JuniperMist.Org.Inputs.ServiceSpec>
    Protocol and port match rules used when type==custom
    SsrRelaxedTcpStateEnforcement bool
    Whether SSR relaxes TCP state enforcement for this service
    TrafficClass string
    Traffic class applied when trafficType==custom
    TrafficType 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
    AppCategories []string
    Categories of applications matched by this service when type==appCategories
    AppSubcategories []string
    Application subcategories matched by this service when type==appCategories
    Apps []string
    Application identifiers matched by this service when type==apps
    ClientLimitDown int
    0 means unlimited, value from 0 to 107374182
    ClientLimitUp int
    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
    FailoverPolicy string
    Failover behavior for traffic matched by this service
    Hostnames []string
    Domain hostnames matched by this custom service for web filtering
    MaxJitter string
    Maximum jitter threshold used for SSR uplink selection when trafficType==custom
    MaxLatency string
    Maximum latency threshold used for SSR uplink selection when trafficType==custom
    MaxLoss string
    Maximum packet loss threshold used for SSR uplink selection when trafficType==custom
    Name string
    Display name of the service definition
    OrgId string
    Organization identifier associated with the service definition
    ServiceLimitDown int
    0 means unlimited, value from 0 to 107374182
    ServiceLimitUp int
    0 means unlimited, value from 0 to 107374182
    SleEnabled bool
    Whether to enable measure SLE
    Specs []ServiceSpecArgs
    Protocol and port match rules used when type==custom
    SsrRelaxedTcpStateEnforcement bool
    Whether SSR relaxes TCP state enforcement for this service
    TrafficClass string
    Traffic class applied when trafficType==custom
    TrafficType 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_down number
    0 means unlimited, value from 0 to 107374182
    client_limit_up number
    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_down number
    0 means unlimited, value from 0 to 107374182
    service_limit_up number
    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_tcp_state_enforcement bool
    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
    appCategories List<String>
    Categories of applications matched by this service when type==appCategories
    appSubcategories List<String>
    Application subcategories matched by this service when type==appCategories
    apps List<String>
    Application identifiers matched by this service when type==apps
    clientLimitDown Integer
    0 means unlimited, value from 0 to 107374182
    clientLimitUp Integer
    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
    failoverPolicy String
    Failover behavior for traffic matched by this service
    hostnames List<String>
    Domain hostnames matched by this custom service for web filtering
    maxJitter String
    Maximum jitter threshold used for SSR uplink selection when trafficType==custom
    maxLatency String
    Maximum latency threshold used for SSR uplink selection when trafficType==custom
    maxLoss String
    Maximum packet loss threshold used for SSR uplink selection when trafficType==custom
    name String
    Display name of the service definition
    orgId String
    Organization identifier associated with the service definition
    serviceLimitDown Integer
    0 means unlimited, value from 0 to 107374182
    serviceLimitUp Integer
    0 means unlimited, value from 0 to 107374182
    sleEnabled Boolean
    Whether to enable measure SLE
    specs List<ServiceSpec>
    Protocol and port match rules used when type==custom
    ssrRelaxedTcpStateEnforcement Boolean
    Whether SSR relaxes TCP state enforcement for this service
    trafficClass String
    Traffic class applied when trafficType==custom
    trafficType 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
    appCategories string[]
    Categories of applications matched by this service when type==appCategories
    appSubcategories string[]
    Application subcategories matched by this service when type==appCategories
    apps string[]
    Application identifiers matched by this service when type==apps
    clientLimitDown number
    0 means unlimited, value from 0 to 107374182
    clientLimitUp number
    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
    failoverPolicy string
    Failover behavior for traffic matched by this service
    hostnames string[]
    Domain hostnames matched by this custom service for web filtering
    maxJitter string
    Maximum jitter threshold used for SSR uplink selection when trafficType==custom
    maxLatency string
    Maximum latency threshold used for SSR uplink selection when trafficType==custom
    maxLoss string
    Maximum packet loss threshold used for SSR uplink selection when trafficType==custom
    name string
    Display name of the service definition
    orgId string
    Organization identifier associated with the service definition
    serviceLimitDown number
    0 means unlimited, value from 0 to 107374182
    serviceLimitUp number
    0 means unlimited, value from 0 to 107374182
    sleEnabled boolean
    Whether to enable measure SLE
    specs ServiceSpec[]
    Protocol and port match rules used when type==custom
    ssrRelaxedTcpStateEnforcement boolean
    Whether SSR relaxes TCP state enforcement for this service
    trafficClass string
    Traffic class applied when trafficType==custom
    trafficType 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_down int
    0 means unlimited, value from 0 to 107374182
    client_limit_up int
    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_down int
    0 means unlimited, value from 0 to 107374182
    service_limit_up int
    0 means unlimited, value from 0 to 107374182
    sle_enabled bool
    Whether to enable measure SLE
    specs Sequence[ServiceSpecArgs]
    Protocol and port match rules used when type==custom
    ssr_relaxed_tcp_state_enforcement bool
    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
    appCategories List<String>
    Categories of applications matched by this service when type==appCategories
    appSubcategories List<String>
    Application subcategories matched by this service when type==appCategories
    apps List<String>
    Application identifiers matched by this service when type==apps
    clientLimitDown Number
    0 means unlimited, value from 0 to 107374182
    clientLimitUp Number
    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
    failoverPolicy String
    Failover behavior for traffic matched by this service
    hostnames List<String>
    Domain hostnames matched by this custom service for web filtering
    maxJitter String
    Maximum jitter threshold used for SSR uplink selection when trafficType==custom
    maxLatency String
    Maximum latency threshold used for SSR uplink selection when trafficType==custom
    maxLoss String
    Maximum packet loss threshold used for SSR uplink selection when trafficType==custom
    name String
    Display name of the service definition
    orgId String
    Organization identifier associated with the service definition
    serviceLimitDown Number
    0 means unlimited, value from 0 to 107374182
    serviceLimitUp Number
    0 means unlimited, value from 0 to 107374182
    sleEnabled Boolean
    Whether to enable measure SLE
    specs List<Property Map>
    Protocol and port match rules used when type==custom
    ssrRelaxedTcpStateEnforcement Boolean
    Whether SSR relaxes TCP state enforcement for this service
    trafficClass String
    Traffic class applied when trafficType==custom
    trafficType 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

    PortRange string
    Port number, port range, or variable
    Protocol string
    https/ tcp / udp / icmp / gre / any / :protocol_number, protocolNumber is between 1-254
    PortRange string
    Port number, port range, or variable
    Protocol string
    https/ tcp / udp / icmp / gre / any / :protocol_number, protocolNumber is between 1-254
    port_range string
    Port number, port range, or variable
    protocol string
    https/ tcp / udp / icmp / gre / any / :protocol_number, protocolNumber is between 1-254
    portRange String
    Port number, port range, or variable
    protocol String
    https/ tcp / udp / icmp / gre / any / :protocol_number, protocolNumber is between 1-254
    portRange string
    Port number, port range, or variable
    protocol string
    https/ tcp / udp / icmp / gre / any / :protocol_number, protocolNumber is between 1-254
    port_range str
    Port number, port range, or variable
    protocol str
    https/ tcp / udp / icmp / gre / any / :protocol_number, protocolNumber is between 1-254
    portRange String
    Port number, port range, or variable
    protocol String
    https/ tcp / udp / icmp / gre / any / :protocol_number, protocolNumber is 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 mist Terraform Provider.
    junipermist logo
    Viewing docs for Juniper Mist v0.11.2
    published on Saturday, Jul 11, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial