1. Packages
  2. Juniper Mist
  3. API Docs
  4. org
  5. Service
Juniper Mist v0.0.27 published on Friday, Sep 27, 2024 by Pulumi

junipermist.org.Service

Explore with Pulumi AI

junipermist logo
Juniper Mist v0.0.27 published on Friday, Sep 27, 2024 by Pulumi

    This resource manages WAN Assurance Services (Applications). The Services are used in the service_policies from the Gateway configuration and Gateway templates, or can be used in the Org Service Policies (org_servicepolicy resource).

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    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.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var 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")
                    .port_range("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
              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,
                urls: Optional[Sequence[str]] = None,
                max_latency: Optional[str] = None,
                description: Optional[str] = None,
                dscp: Optional[str] = None,
                failover_policy: Optional[str] = None,
                hostnames: Optional[Sequence[str]] = None,
                max_jitter: Optional[str] = None,
                apps: Optional[Sequence[str]] = None,
                app_subcategories: Optional[Sequence[str]] = None,
                app_categories: Optional[Sequence[str]] = None,
                name: Optional[str] = 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,
                addresses: 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.
    
    

    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",
        Urls = new[]
        {
            "string",
        },
        MaxLatency = "string",
        Description = "string",
        Dscp = "string",
        FailoverPolicy = "string",
        Hostnames = new[]
        {
            "string",
        },
        MaxJitter = "string",
        Apps = new[]
        {
            "string",
        },
        AppSubcategories = new[]
        {
            "string",
        },
        AppCategories = new[]
        {
            "string",
        },
        Name = "string",
        SleEnabled = false,
        Specs = new[]
        {
            new JuniperMist.Org.Inputs.ServiceSpecArgs
            {
                PortRange = "string",
                Protocol = "string",
            },
        },
        SsrRelaxedTcpStateEnforcement = false,
        TrafficClass = "string",
        TrafficType = "string",
        Type = "string",
        Addresses = new[]
        {
            "string",
        },
    });
    
    example, err := org.NewService(ctx, "serviceResource", &org.ServiceArgs{
    	OrgId:   pulumi.String("string"),
    	MaxLoss: pulumi.String("string"),
    	Urls: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	MaxLatency:     pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	Dscp:           pulumi.String("string"),
    	FailoverPolicy: pulumi.String("string"),
    	Hostnames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	MaxJitter: pulumi.String("string"),
    	Apps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AppSubcategories: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AppCategories: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:       pulumi.String("string"),
    	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"),
    	Addresses: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var serviceResource = new Service("serviceResource", ServiceArgs.builder()
        .orgId("string")
        .maxLoss("string")
        .urls("string")
        .maxLatency("string")
        .description("string")
        .dscp("string")
        .failoverPolicy("string")
        .hostnames("string")
        .maxJitter("string")
        .apps("string")
        .appSubcategories("string")
        .appCategories("string")
        .name("string")
        .sleEnabled(false)
        .specs(ServiceSpecArgs.builder()
            .portRange("string")
            .protocol("string")
            .build())
        .ssrRelaxedTcpStateEnforcement(false)
        .trafficClass("string")
        .trafficType("string")
        .type("string")
        .addresses("string")
        .build());
    
    service_resource = junipermist.org.Service("serviceResource",
        org_id="string",
        max_loss="string",
        urls=["string"],
        max_latency="string",
        description="string",
        dscp="string",
        failover_policy="string",
        hostnames=["string"],
        max_jitter="string",
        apps=["string"],
        app_subcategories=["string"],
        app_categories=["string"],
        name="string",
        sle_enabled=False,
        specs=[junipermist.org.ServiceSpecArgs(
            port_range="string",
            protocol="string",
        )],
        ssr_relaxed_tcp_state_enforcement=False,
        traffic_class="string",
        traffic_type="string",
        type="string",
        addresses=["string"])
    
    const serviceResource = new junipermist.org.Service("serviceResource", {
        orgId: "string",
        maxLoss: "string",
        urls: ["string"],
        maxLatency: "string",
        description: "string",
        dscp: "string",
        failoverPolicy: "string",
        hostnames: ["string"],
        maxJitter: "string",
        apps: ["string"],
        appSubcategories: ["string"],
        appCategories: ["string"],
        name: "string",
        sleEnabled: false,
        specs: [{
            portRange: "string",
            protocol: "string",
        }],
        ssrRelaxedTcpStateEnforcement: false,
        trafficClass: "string",
        trafficType: "string",
        type: "string",
        addresses: ["string"],
    });
    
    type: junipermist:org:Service
    properties:
        addresses:
            - string
        appCategories:
            - string
        appSubcategories:
            - string
        apps:
            - string
        description: string
        dscp: string
        failoverPolicy: string
        hostnames:
            - string
        maxJitter: string
        maxLatency: string
        maxLoss: string
        name: string
        orgId: string
        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

    The Service resource accepts the following input properties:

    OrgId string
    Addresses List<string>
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    AppCategories List<string>
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    AppSubcategories List<string>
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    Apps List<string>
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    Description string
    Dscp string
    FailoverPolicy string
    enum: non_revertable, none, revertable
    Hostnames List<string>
    if type==custom, web filtering
    MaxJitter string
    MaxLatency string
    MaxLoss string
    Name string
    SleEnabled bool
    whether to enable measure SLE
    Specs List<Pulumi.JuniperMist.Org.Inputs.ServiceSpec>
    when type==custom, optional, if it doesn't exist, http and https is assumed
    SsrRelaxedTcpStateEnforcement bool
    TrafficClass string
    when traffic_type==custom. enum: best_effort, high, low, medium
    TrafficType string
    values from /api/v1/consts/traffic_types
    Type string
    enum: app_categories, apps, custom, urls
    Urls List<string>
    when type==urls, no need for spec as URL can encode the ports being used
    OrgId string
    Addresses []string
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    AppCategories []string
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    AppSubcategories []string
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    Apps []string
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    Description string
    Dscp string
    FailoverPolicy string
    enum: non_revertable, none, revertable
    Hostnames []string
    if type==custom, web filtering
    MaxJitter string
    MaxLatency string
    MaxLoss string
    Name string
    SleEnabled bool
    whether to enable measure SLE
    Specs []ServiceSpecArgs
    when type==custom, optional, if it doesn't exist, http and https is assumed
    SsrRelaxedTcpStateEnforcement bool
    TrafficClass string
    when traffic_type==custom. enum: best_effort, high, low, medium
    TrafficType string
    values from /api/v1/consts/traffic_types
    Type string
    enum: app_categories, apps, custom, urls
    Urls []string
    when type==urls, no need for spec as URL can encode the ports being used
    orgId String
    addresses List<String>
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    appCategories List<String>
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    appSubcategories List<String>
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    apps List<String>
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    description String
    dscp String
    failoverPolicy String
    enum: non_revertable, none, revertable
    hostnames List<String>
    if type==custom, web filtering
    maxJitter String
    maxLatency String
    maxLoss String
    name String
    sleEnabled Boolean
    whether to enable measure SLE
    specs List<ServiceSpec>
    when type==custom, optional, if it doesn't exist, http and https is assumed
    ssrRelaxedTcpStateEnforcement Boolean
    trafficClass String
    when traffic_type==custom. enum: best_effort, high, low, medium
    trafficType String
    values from /api/v1/consts/traffic_types
    type String
    enum: app_categories, apps, custom, urls
    urls List<String>
    when type==urls, no need for spec as URL can encode the ports being used
    orgId string
    addresses string[]
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    appCategories string[]
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    appSubcategories string[]
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    apps string[]
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    description string
    dscp string
    failoverPolicy string
    enum: non_revertable, none, revertable
    hostnames string[]
    if type==custom, web filtering
    maxJitter string
    maxLatency string
    maxLoss string
    name string
    sleEnabled boolean
    whether to enable measure SLE
    specs ServiceSpec[]
    when type==custom, optional, if it doesn't exist, http and https is assumed
    ssrRelaxedTcpStateEnforcement boolean
    trafficClass string
    when traffic_type==custom. enum: best_effort, high, low, medium
    trafficType string
    values from /api/v1/consts/traffic_types
    type string
    enum: app_categories, apps, custom, urls
    urls string[]
    when type==urls, no need for spec as URL can encode the ports being used
    org_id str
    addresses Sequence[str]
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    app_categories Sequence[str]
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    app_subcategories Sequence[str]
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    apps Sequence[str]
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    description str
    dscp str
    failover_policy str
    enum: non_revertable, none, revertable
    hostnames Sequence[str]
    if type==custom, web filtering
    max_jitter str
    max_latency str
    max_loss str
    name str
    sle_enabled bool
    whether to enable measure SLE
    specs Sequence[ServiceSpecArgs]
    when type==custom, optional, if it doesn't exist, http and https is assumed
    ssr_relaxed_tcp_state_enforcement bool
    traffic_class str
    when traffic_type==custom. enum: best_effort, high, low, medium
    traffic_type str
    values from /api/v1/consts/traffic_types
    type str
    enum: app_categories, apps, custom, urls
    urls Sequence[str]
    when type==urls, no need for spec as URL can encode the ports being used
    orgId String
    addresses List<String>
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    appCategories List<String>
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    appSubcategories List<String>
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    apps List<String>
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    description String
    dscp String
    failoverPolicy String
    enum: non_revertable, none, revertable
    hostnames List<String>
    if type==custom, web filtering
    maxJitter String
    maxLatency String
    maxLoss String
    name String
    sleEnabled Boolean
    whether to enable measure SLE
    specs List<Property Map>
    when type==custom, optional, if it doesn't exist, http and https is assumed
    ssrRelaxedTcpStateEnforcement Boolean
    trafficClass String
    when traffic_type==custom. enum: best_effort, high, low, medium
    trafficType String
    values from /api/v1/consts/traffic_types
    type String
    enum: app_categories, apps, custom, urls
    urls List<String>
    when type==urls, no need for spec as URL can encode the ports being used

    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 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,
            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,
            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)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Addresses List<string>
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    AppCategories List<string>
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    AppSubcategories List<string>
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    Apps List<string>
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    Description string
    Dscp string
    FailoverPolicy string
    enum: non_revertable, none, revertable
    Hostnames List<string>
    if type==custom, web filtering
    MaxJitter string
    MaxLatency string
    MaxLoss string
    Name string
    OrgId string
    SleEnabled bool
    whether to enable measure SLE
    Specs List<Pulumi.JuniperMist.Org.Inputs.ServiceSpec>
    when type==custom, optional, if it doesn't exist, http and https is assumed
    SsrRelaxedTcpStateEnforcement bool
    TrafficClass string
    when traffic_type==custom. enum: best_effort, high, low, medium
    TrafficType string
    values from /api/v1/consts/traffic_types
    Type string
    enum: app_categories, apps, custom, urls
    Urls List<string>
    when type==urls, no need for spec as URL can encode the ports being used
    Addresses []string
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    AppCategories []string
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    AppSubcategories []string
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    Apps []string
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    Description string
    Dscp string
    FailoverPolicy string
    enum: non_revertable, none, revertable
    Hostnames []string
    if type==custom, web filtering
    MaxJitter string
    MaxLatency string
    MaxLoss string
    Name string
    OrgId string
    SleEnabled bool
    whether to enable measure SLE
    Specs []ServiceSpecArgs
    when type==custom, optional, if it doesn't exist, http and https is assumed
    SsrRelaxedTcpStateEnforcement bool
    TrafficClass string
    when traffic_type==custom. enum: best_effort, high, low, medium
    TrafficType string
    values from /api/v1/consts/traffic_types
    Type string
    enum: app_categories, apps, custom, urls
    Urls []string
    when type==urls, no need for spec as URL can encode the ports being used
    addresses List<String>
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    appCategories List<String>
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    appSubcategories List<String>
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    apps List<String>
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    description String
    dscp String
    failoverPolicy String
    enum: non_revertable, none, revertable
    hostnames List<String>
    if type==custom, web filtering
    maxJitter String
    maxLatency String
    maxLoss String
    name String
    orgId String
    sleEnabled Boolean
    whether to enable measure SLE
    specs List<ServiceSpec>
    when type==custom, optional, if it doesn't exist, http and https is assumed
    ssrRelaxedTcpStateEnforcement Boolean
    trafficClass String
    when traffic_type==custom. enum: best_effort, high, low, medium
    trafficType String
    values from /api/v1/consts/traffic_types
    type String
    enum: app_categories, apps, custom, urls
    urls List<String>
    when type==urls, no need for spec as URL can encode the ports being used
    addresses string[]
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    appCategories string[]
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    appSubcategories string[]
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    apps string[]
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    description string
    dscp string
    failoverPolicy string
    enum: non_revertable, none, revertable
    hostnames string[]
    if type==custom, web filtering
    maxJitter string
    maxLatency string
    maxLoss string
    name string
    orgId string
    sleEnabled boolean
    whether to enable measure SLE
    specs ServiceSpec[]
    when type==custom, optional, if it doesn't exist, http and https is assumed
    ssrRelaxedTcpStateEnforcement boolean
    trafficClass string
    when traffic_type==custom. enum: best_effort, high, low, medium
    trafficType string
    values from /api/v1/consts/traffic_types
    type string
    enum: app_categories, apps, custom, urls
    urls string[]
    when type==urls, no need for spec as URL can encode the ports being used
    addresses Sequence[str]
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    app_categories Sequence[str]
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    app_subcategories Sequence[str]
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    apps Sequence[str]
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    description str
    dscp str
    failover_policy str
    enum: non_revertable, none, revertable
    hostnames Sequence[str]
    if type==custom, web filtering
    max_jitter str
    max_latency str
    max_loss str
    name str
    org_id str
    sle_enabled bool
    whether to enable measure SLE
    specs Sequence[ServiceSpecArgs]
    when type==custom, optional, if it doesn't exist, http and https is assumed
    ssr_relaxed_tcp_state_enforcement bool
    traffic_class str
    when traffic_type==custom. enum: best_effort, high, low, medium
    traffic_type str
    values from /api/v1/consts/traffic_types
    type str
    enum: app_categories, apps, custom, urls
    urls Sequence[str]
    when type==urls, no need for spec as URL can encode the ports being used
    addresses List<String>
    if type==custom, ip subnets (e.g. 10.0.0.0/8)
    appCategories List<String>
    when type==app_categories, list of application categories are available through /api/v1/const/app_categories
    appSubcategories List<String>
    when type==app_categories, list of application categories are available through /api/v1/const/app_subcategories
    apps List<String>
    when type==apps, list of applications are available through: * /api/v1/const/applications * /api/v1/const/gateway_applications * /insight/top_app_by-bytes?wired=true
    description String
    dscp String
    failoverPolicy String
    enum: non_revertable, none, revertable
    hostnames List<String>
    if type==custom, web filtering
    maxJitter String
    maxLatency String
    maxLoss String
    name String
    orgId String
    sleEnabled Boolean
    whether to enable measure SLE
    specs List<Property Map>
    when type==custom, optional, if it doesn't exist, http and https is assumed
    ssrRelaxedTcpStateEnforcement Boolean
    trafficClass String
    when traffic_type==custom. enum: best_effort, high, low, medium
    trafficType String
    values from /api/v1/consts/traffic_types
    type String
    enum: app_categories, apps, custom, urls
    urls List<String>
    when type==urls, no need for spec as URL can encode the ports being used

    Supporting Types

    ServiceSpec, ServiceSpecArgs

    PortRange string
    port number, port range, or variable
    Protocol string
    https/ tcp / udp / icmp / gre / any / :protocol_number. protocol_number is between 1-254
    PortRange string
    port number, port range, or variable
    Protocol string
    https/ tcp / udp / icmp / gre / any / :protocol_number. protocol_number is between 1-254
    portRange String
    port number, port range, or variable
    protocol String
    https/ tcp / udp / icmp / gre / any / :protocol_number. protocol_number is between 1-254
    portRange string
    port number, port range, or variable
    protocol string
    https/ tcp / udp / icmp / gre / any / :protocol_number. protocol_number is between 1-254
    port_range str
    port number, port range, or variable
    protocol str
    https/ tcp / udp / icmp / gre / any / :protocol_number. protocol_number is between 1-254
    portRange String
    port number, port range, or variable
    protocol String
    https/ tcp / udp / icmp / gre / any / :protocol_number. protocol_number is between 1-254

    Import

    Using pulumi import, import mist_org_service with:

    Org Service can be imported by specifying the org_id and the service_id

    $ 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
    Juniper Mist v0.0.27 published on Friday, Sep 27, 2024 by Pulumi