Juniper Mist v0.6.3 published on Saturday, Sep 6, 2025 by Pulumi
junipermist.org.getServicepolicies
This data source provides the list of WAN Assurance Service Policies (Application Policies).
The Service Policies can be used in the service_policies object by referencing the Service Policy ID as the servicepolicy_id in:
- the Gateway configuration (mist_device_gateway.service_policies)
- the Gateway Templates (mist_org_gatewaytemplate.service_policies)
- the HUB Profiles (mist_org_deviceprofile_gateway.service_policies) They can be used to manage common policies between multiples configurations
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as junipermist from "@pulumi/juniper-mist";
const servicepolicies = junipermist.org.getServicepolicies({
    orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
});
import pulumi
import pulumi_junipermist as junipermist
servicepolicies = junipermist.org.get_servicepolicies(org_id="15fca2ac-b1a6-47cc-9953-cc6906281550")
package main
import (
	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/org"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := org.GetServicepolicies(ctx, &org.GetServicepoliciesArgs{
			OrgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using JuniperMist = Pulumi.JuniperMist;
return await Deployment.RunAsync(() => 
{
    var servicepolicies = JuniperMist.Org.GetServicepolicies.Invoke(new()
    {
        OrgId = "15fca2ac-b1a6-47cc-9953-cc6906281550",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.junipermist.org.OrgFunctions;
import com.pulumi.junipermist.org.inputs.GetServicepoliciesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var servicepolicies = OrgFunctions.getServicepolicies(GetServicepoliciesArgs.builder()
            .orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
            .build());
    }
}
variables:
  servicepolicies:
    fn::invoke:
      function: junipermist:org:getServicepolicies
      arguments:
        orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
Using getServicepolicies
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getServicepolicies(args: GetServicepoliciesArgs, opts?: InvokeOptions): Promise<GetServicepoliciesResult>
function getServicepoliciesOutput(args: GetServicepoliciesOutputArgs, opts?: InvokeOptions): Output<GetServicepoliciesResult>def get_servicepolicies(org_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetServicepoliciesResult
def get_servicepolicies_output(org_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetServicepoliciesResult]func GetServicepolicies(ctx *Context, args *GetServicepoliciesArgs, opts ...InvokeOption) (*GetServicepoliciesResult, error)
func GetServicepoliciesOutput(ctx *Context, args *GetServicepoliciesOutputArgs, opts ...InvokeOption) GetServicepoliciesResultOutput> Note: This function is named GetServicepolicies in the Go SDK.
public static class GetServicepolicies 
{
    public static Task<GetServicepoliciesResult> InvokeAsync(GetServicepoliciesArgs args, InvokeOptions? opts = null)
    public static Output<GetServicepoliciesResult> Invoke(GetServicepoliciesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServicepoliciesResult> getServicepolicies(GetServicepoliciesArgs args, InvokeOptions options)
public static Output<GetServicepoliciesResult> getServicepolicies(GetServicepoliciesArgs args, InvokeOptions options)
fn::invoke:
  function: junipermist:org/getServicepolicies:getServicepolicies
  arguments:
    # arguments dictionaryThe following arguments are supported:
- OrgId string
- OrgId string
- orgId String
- orgId string
- org_id str
- orgId String
getServicepolicies Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- OrgId string
- OrgServicepolicies List<Pulumi.Juniper Mist. Org. Outputs. Get Servicepolicies Org Servicepolicy> 
- Id string
- The provider-assigned unique ID for this managed resource.
- OrgId string
- OrgServicepolicies []GetServicepolicies Org Servicepolicy 
- id String
- The provider-assigned unique ID for this managed resource.
- orgId String
- orgServicepolicies List<GetServicepolicies Org Servicepolicy> 
- id string
- The provider-assigned unique ID for this managed resource.
- orgId string
- orgServicepolicies GetServicepolicies Org Servicepolicy[] 
- id str
- The provider-assigned unique ID for this managed resource.
- org_id str
- org_servicepolicies Sequence[GetServicepolicies Org Servicepolicy] 
- id String
- The provider-assigned unique ID for this managed resource.
- orgId String
- orgServicepolicies List<Property Map>
Supporting Types
GetServicepoliciesOrgServicepolicy   
- Aamw
Pulumi.Juniper Mist. Org. Inputs. Get Servicepolicies Org Servicepolicy Aamw 
- For SRX Only
- Action string
- enum: allow,deny
- Antivirus
Pulumi.Juniper Mist. Org. Inputs. Get Servicepolicies Org Servicepolicy Antivirus 
- For SRX-only
- Appqoe
Pulumi.Juniper Mist. Org. Inputs. Get Servicepolicies Org Servicepolicy Appqoe 
- For SRX Only
- CreatedTime double
- When the object has been created, in epoch
- Ewfs
List<Pulumi.Juniper Mist. Org. Inputs. Get Servicepolicies Org Servicepolicy Ewf> 
- Id string
- Unique ID of the object instance in the Mist Organization
- Idp
Pulumi.Juniper Mist. Org. Inputs. Get Servicepolicies Org Servicepolicy Idp 
- LocalRouting bool
- access within the same VRF
- ModifiedTime double
- When the object has been modified for the last time, in epoch
- Name string
- OrgId string
- PathPreference string
- By default, we derive all paths available and use them, optionally, you can customize by using path_preference
- Services List<string>
- SslProxy Pulumi.Juniper Mist. Org. Inputs. Get Servicepolicies Org Servicepolicy Ssl Proxy 
- For SRX-only
- Tenants List<string>
- Aamw
GetServicepolicies Org Servicepolicy Aamw 
- For SRX Only
- Action string
- enum: allow,deny
- Antivirus
GetServicepolicies Org Servicepolicy Antivirus 
- For SRX-only
- Appqoe
GetServicepolicies Org Servicepolicy Appqoe 
- For SRX Only
- CreatedTime float64
- When the object has been created, in epoch
- Ewfs
[]GetServicepolicies Org Servicepolicy Ewf 
- Id string
- Unique ID of the object instance in the Mist Organization
- Idp
GetServicepolicies Org Servicepolicy Idp 
- LocalRouting bool
- access within the same VRF
- ModifiedTime float64
- When the object has been modified for the last time, in epoch
- Name string
- OrgId string
- PathPreference string
- By default, we derive all paths available and use them, optionally, you can customize by using path_preference
- Services []string
- SslProxy GetServicepolicies Org Servicepolicy Ssl Proxy 
- For SRX-only
- Tenants []string
- aamw
GetServicepolicies Org Servicepolicy Aamw 
- For SRX Only
- action String
- enum: allow,deny
- antivirus
GetServicepolicies Org Servicepolicy Antivirus 
- For SRX-only
- appqoe
GetServicepolicies Org Servicepolicy Appqoe 
- For SRX Only
- createdTime Double
- When the object has been created, in epoch
- ewfs
List<GetServicepolicies Org Servicepolicy Ewf> 
- id String
- Unique ID of the object instance in the Mist Organization
- idp
GetServicepolicies Org Servicepolicy Idp 
- localRouting Boolean
- access within the same VRF
- modifiedTime Double
- When the object has been modified for the last time, in epoch
- name String
- orgId String
- pathPreference String
- By default, we derive all paths available and use them, optionally, you can customize by using path_preference
- services List<String>
- sslProxy GetServicepolicies Org Servicepolicy Ssl Proxy 
- For SRX-only
- tenants List<String>
- aamw
GetServicepolicies Org Servicepolicy Aamw 
- For SRX Only
- action string
- enum: allow,deny
- antivirus
GetServicepolicies Org Servicepolicy Antivirus 
- For SRX-only
- appqoe
GetServicepolicies Org Servicepolicy Appqoe 
- For SRX Only
- createdTime number
- When the object has been created, in epoch
- ewfs
GetServicepolicies Org Servicepolicy Ewf[] 
- id string
- Unique ID of the object instance in the Mist Organization
- idp
GetServicepolicies Org Servicepolicy Idp 
- localRouting boolean
- access within the same VRF
- modifiedTime number
- When the object has been modified for the last time, in epoch
- name string
- orgId string
- pathPreference string
- By default, we derive all paths available and use them, optionally, you can customize by using path_preference
- services string[]
- sslProxy GetServicepolicies Org Servicepolicy Ssl Proxy 
- For SRX-only
- tenants string[]
- aamw
GetServicepolicies Org Servicepolicy Aamw 
- For SRX Only
- action str
- enum: allow,deny
- antivirus
GetServicepolicies Org Servicepolicy Antivirus 
- For SRX-only
- appqoe
GetServicepolicies Org Servicepolicy Appqoe 
- For SRX Only
- created_time float
- When the object has been created, in epoch
- ewfs
Sequence[GetServicepolicies Org Servicepolicy Ewf] 
- id str
- Unique ID of the object instance in the Mist Organization
- idp
GetServicepolicies Org Servicepolicy Idp 
- local_routing bool
- access within the same VRF
- modified_time float
- When the object has been modified for the last time, in epoch
- name str
- org_id str
- path_preference str
- By default, we derive all paths available and use them, optionally, you can customize by using path_preference
- services Sequence[str]
- ssl_proxy GetServicepolicies Org Servicepolicy Ssl Proxy 
- For SRX-only
- tenants Sequence[str]
- aamw Property Map
- For SRX Only
- action String
- enum: allow,deny
- antivirus Property Map
- For SRX-only
- appqoe Property Map
- For SRX Only
- createdTime Number
- When the object has been created, in epoch
- ewfs List<Property Map>
- id String
- Unique ID of the object instance in the Mist Organization
- idp Property Map
- localRouting Boolean
- access within the same VRF
- modifiedTime Number
- When the object has been modified for the last time, in epoch
- name String
- orgId String
- pathPreference String
- By default, we derive all paths available and use them, optionally, you can customize by using path_preference
- services List<String>
- sslProxy Property Map
- For SRX-only
- tenants List<String>
GetServicepoliciesOrgServicepolicyAamw    
- AamwprofileId string
- org-level Advanced Advance Anti Malware Profile (SkyAtp) Profile can be used, this takes precedence over 'profile'
- Enabled bool
- Profile string
- enum: docsonly,executables,standard
- AamwprofileId string
- org-level Advanced Advance Anti Malware Profile (SkyAtp) Profile can be used, this takes precedence over 'profile'
- Enabled bool
- Profile string
- enum: docsonly,executables,standard
- aamwprofileId String
- org-level Advanced Advance Anti Malware Profile (SkyAtp) Profile can be used, this takes precedence over 'profile'
- enabled Boolean
- profile String
- enum: docsonly,executables,standard
- aamwprofileId string
- org-level Advanced Advance Anti Malware Profile (SkyAtp) Profile can be used, this takes precedence over 'profile'
- enabled boolean
- profile string
- enum: docsonly,executables,standard
- aamwprofile_id str
- org-level Advanced Advance Anti Malware Profile (SkyAtp) Profile can be used, this takes precedence over 'profile'
- enabled bool
- profile str
- enum: docsonly,executables,standard
- aamwprofileId String
- org-level Advanced Advance Anti Malware Profile (SkyAtp) Profile can be used, this takes precedence over 'profile'
- enabled Boolean
- profile String
- enum: docsonly,executables,standard
GetServicepoliciesOrgServicepolicyAntivirus    
- AvprofileId string
- org-level AV Profile can be used, this takes precedence over 'profile'
- Enabled bool
- Profile string
- Default / noftp / httponly / or keys from av_profiles
- AvprofileId string
- org-level AV Profile can be used, this takes precedence over 'profile'
- Enabled bool
- Profile string
- Default / noftp / httponly / or keys from av_profiles
- avprofileId String
- org-level AV Profile can be used, this takes precedence over 'profile'
- enabled Boolean
- profile String
- Default / noftp / httponly / or keys from av_profiles
- avprofileId string
- org-level AV Profile can be used, this takes precedence over 'profile'
- enabled boolean
- profile string
- Default / noftp / httponly / or keys from av_profiles
- avprofile_id str
- org-level AV Profile can be used, this takes precedence over 'profile'
- enabled bool
- profile str
- Default / noftp / httponly / or keys from av_profiles
- avprofileId String
- org-level AV Profile can be used, this takes precedence over 'profile'
- enabled Boolean
- profile String
- Default / noftp / httponly / or keys from av_profiles
GetServicepoliciesOrgServicepolicyAppqoe    
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
GetServicepoliciesOrgServicepolicyEwf    
- AlertOnly bool
- BlockMessage string
- Enabled bool
- Profile string
- enum: critical,standard,strict
- AlertOnly bool
- BlockMessage string
- Enabled bool
- Profile string
- enum: critical,standard,strict
- alertOnly Boolean
- blockMessage String
- enabled Boolean
- profile String
- enum: critical,standard,strict
- alertOnly boolean
- blockMessage string
- enabled boolean
- profile string
- enum: critical,standard,strict
- alert_only bool
- block_message str
- enabled bool
- profile str
- enum: critical,standard,strict
- alertOnly Boolean
- blockMessage String
- enabled Boolean
- profile String
- enum: critical,standard,strict
GetServicepoliciesOrgServicepolicyIdp    
- AlertOnly bool
- Enabled bool
- IdpprofileId string
- org_level IDP Profile can be used, this takes precedence over profile
- Profile string
- enum: Custom,strict(default),standardor keys from idp_profiles
- AlertOnly bool
- Enabled bool
- IdpprofileId string
- org_level IDP Profile can be used, this takes precedence over profile
- Profile string
- enum: Custom,strict(default),standardor keys from idp_profiles
- alertOnly Boolean
- enabled Boolean
- idpprofileId String
- org_level IDP Profile can be used, this takes precedence over profile
- profile String
- enum: Custom,strict(default),standardor keys from idp_profiles
- alertOnly boolean
- enabled boolean
- idpprofileId string
- org_level IDP Profile can be used, this takes precedence over profile
- profile string
- enum: Custom,strict(default),standardor keys from idp_profiles
- alert_only bool
- enabled bool
- idpprofile_id str
- org_level IDP Profile can be used, this takes precedence over profile
- profile str
- enum: Custom,strict(default),standardor keys from idp_profiles
- alertOnly Boolean
- enabled Boolean
- idpprofileId String
- org_level IDP Profile can be used, this takes precedence over profile
- profile String
- enum: Custom,strict(default),standardor keys from idp_profiles
GetServicepoliciesOrgServicepolicySslProxy     
- CiphersCategory string
- enum: medium,strong,weak
- Enabled bool
- CiphersCategory string
- enum: medium,strong,weak
- Enabled bool
- ciphersCategory String
- enum: medium,strong,weak
- enabled Boolean
- ciphersCategory string
- enum: medium,strong,weak
- enabled boolean
- ciphers_category str
- enum: medium,strong,weak
- enabled bool
- ciphersCategory String
- enum: medium,strong,weak
- enabled Boolean
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the mistTerraform Provider.
 
