junipermist.org.Service
Explore with Pulumi AI
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=[{
"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
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 - Addresses List<string>
- if
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - App
Categories List<string> - when
type
==app_categories
, list of application categories are available through /api/v1/const/app_categories - App
Subcategories 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
- Failover
Policy string - enum:
non_revertable
,none
,revertable
- Hostnames List<string>
- if
type
==custom
, web filtering - Max
Jitter string - Max
Latency string - Max
Loss string - Name string
- Sle
Enabled bool - whether to enable measure SLE
- Specs
List<Pulumi.
Juniper Mist. Org. Inputs. Service Spec> - when
type
==custom
, optional, if it doesn't exist, http and https is assumed - Ssr
Relaxed boolTcp State Enforcement - Traffic
Class string - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- Traffic
Type string - values from
/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
- Org
Id string - Addresses []string
- if
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - App
Categories []string - when
type
==app_categories
, list of application categories are available through /api/v1/const/app_categories - App
Subcategories []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
- Failover
Policy string - enum:
non_revertable
,none
,revertable
- Hostnames []string
- if
type
==custom
, web filtering - Max
Jitter string - Max
Latency string - Max
Loss string - Name string
- Sle
Enabled bool - whether to enable measure SLE
- Specs
[]Service
Spec Args - when
type
==custom
, optional, if it doesn't exist, http and https is assumed - Ssr
Relaxed boolTcp State Enforcement - Traffic
Class string - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- Traffic
Type string - values from
/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 String - addresses List<String>
- if
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - app
Categories List<String> - when
type
==app_categories
, list of application categories are available through /api/v1/const/app_categories - app
Subcategories 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
- failover
Policy String - enum:
non_revertable
,none
,revertable
- hostnames List<String>
- if
type
==custom
, web filtering - max
Jitter String - max
Latency String - max
Loss String - name String
- sle
Enabled Boolean - whether to enable measure SLE
- specs
List<Service
Spec> - when
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr
Relaxed BooleanTcp State Enforcement - traffic
Class String - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic
Type String - values from
/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
- org
Id string - addresses string[]
- if
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - app
Categories string[] - when
type
==app_categories
, list of application categories are available through /api/v1/const/app_categories - app
Subcategories 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
- failover
Policy string - enum:
non_revertable
,none
,revertable
- hostnames string[]
- if
type
==custom
, web filtering - max
Jitter string - max
Latency string - max
Loss string - name string
- sle
Enabled boolean - whether to enable measure SLE
- specs
Service
Spec[] - when
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr
Relaxed booleanTcp State Enforcement - traffic
Class string - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic
Type string - values from
/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[Service
Spec Args] - when
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr_
relaxed_ booltcp_ state_ enforcement - traffic_
class str - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic_
type str - values from
/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
- org
Id String - addresses List<String>
- if
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - app
Categories List<String> - when
type
==app_categories
, list of application categories are available through /api/v1/const/app_categories - app
Subcategories 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
- failover
Policy String - enum:
non_revertable
,none
,revertable
- hostnames List<String>
- if
type
==custom
, web filtering - max
Jitter String - max
Latency String - max
Loss String - name String
- sle
Enabled Boolean - whether to enable measure SLE
- specs List<Property Map>
- when
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr
Relaxed BooleanTcp State Enforcement - traffic
Class String - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic
Type String - values from
/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.
- Addresses List<string>
- if
type
==custom
, ip subnets (e.g. 10.0.0.0/8) - App
Categories List<string> - when
type
==app_categories
, list of application categories are available through /api/v1/const/app_categories - App
Subcategories 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
- Failover
Policy string - enum:
non_revertable
,none
,revertable
- Hostnames List<string>
- if
type
==custom
, web filtering - Max
Jitter string - Max
Latency string - Max
Loss string - Name string
- Org
Id string - Sle
Enabled bool - whether to enable measure SLE
- Specs
List<Pulumi.
Juniper Mist. Org. Inputs. Service Spec> - when
type
==custom
, optional, if it doesn't exist, http and https is assumed - Ssr
Relaxed boolTcp State Enforcement - Traffic
Class string - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- Traffic
Type string - values from
/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) - App
Categories []string - when
type
==app_categories
, list of application categories are available through /api/v1/const/app_categories - App
Subcategories []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
- Failover
Policy string - enum:
non_revertable
,none
,revertable
- Hostnames []string
- if
type
==custom
, web filtering - Max
Jitter string - Max
Latency string - Max
Loss string - Name string
- Org
Id string - Sle
Enabled bool - whether to enable measure SLE
- Specs
[]Service
Spec Args - when
type
==custom
, optional, if it doesn't exist, http and https is assumed - Ssr
Relaxed boolTcp State Enforcement - Traffic
Class string - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- Traffic
Type string - values from
/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) - app
Categories List<String> - when
type
==app_categories
, list of application categories are available through /api/v1/const/app_categories - app
Subcategories 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
- failover
Policy String - enum:
non_revertable
,none
,revertable
- hostnames List<String>
- if
type
==custom
, web filtering - max
Jitter String - max
Latency String - max
Loss String - name String
- org
Id String - sle
Enabled Boolean - whether to enable measure SLE
- specs
List<Service
Spec> - when
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr
Relaxed BooleanTcp State Enforcement - traffic
Class String - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic
Type String - values from
/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) - app
Categories string[] - when
type
==app_categories
, list of application categories are available through /api/v1/const/app_categories - app
Subcategories 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
- failover
Policy string - enum:
non_revertable
,none
,revertable
- hostnames string[]
- if
type
==custom
, web filtering - max
Jitter string - max
Latency string - max
Loss string - name string
- org
Id string - sle
Enabled boolean - whether to enable measure SLE
- specs
Service
Spec[] - when
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr
Relaxed booleanTcp State Enforcement - traffic
Class string - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic
Type string - values from
/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[Service
Spec Args] - when
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr_
relaxed_ booltcp_ state_ enforcement - traffic_
class str - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic_
type str - values from
/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) - app
Categories List<String> - when
type
==app_categories
, list of application categories are available through /api/v1/const/app_categories - app
Subcategories 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
- failover
Policy String - enum:
non_revertable
,none
,revertable
- hostnames List<String>
- if
type
==custom
, web filtering - max
Jitter String - max
Latency String - max
Loss String - name String
- org
Id String - sle
Enabled Boolean - whether to enable measure SLE
- specs List<Property Map>
- when
type
==custom
, optional, if it doesn't exist, http and https is assumed - ssr
Relaxed BooleanTcp State Enforcement - traffic
Class String - when
traffic_type
==custom
. enum:best_effort
,high
,low
,medium
- traffic
Type String - values from
/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
- 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
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.