Juniper Mist v0.4.0 published on Wednesday, Apr 16, 2025 by Pulumi
junipermist.org.getServicepolicies
Explore with Pulumi AI
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/junipermist";
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 dictionary
The following arguments are supported:
- Org
Id string
- Org
Id string
- org
Id String
- org
Id string
- org_
id str
- org
Id String
getServicepolicies Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - Org
Servicepolicies List<Pulumi.Juniper Mist. Org. Outputs. Get Servicepolicies Org Servicepolicy>
- Id string
- The provider-assigned unique ID for this managed resource.
- Org
Id string - Org
Servicepolicies []GetServicepolicies Org Servicepolicy
- id String
- The provider-assigned unique ID for this managed resource.
- org
Id String - org
Servicepolicies List<GetServicepolicies Org Servicepolicy>
- id string
- The provider-assigned unique ID for this managed resource.
- org
Id string - org
Servicepolicies 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.
- org
Id String - org
Servicepolicies 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
- Created
Time 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 - Local
Routing bool - access within the same VRF
- Modified
Time double - When the object has been modified for the last time, in epoch
- Name string
- Org
Id string - Path
Preference string - By default, we derive all paths available and use them, optionally, you can customize by using
path_preference
- Services List<string>
- Ssl
Proxy Pulumi.Juniper Mist. Org. Inputs. Get Servicepolicies Org Servicepolicy Ssl Proxy - For SRX-only
- Tenants List<string>
- Aamw
Get
Servicepolicies Org Servicepolicy Aamw - For SRX Only
- Action string
- enum:
allow
,deny
- Antivirus
Get
Servicepolicies Org Servicepolicy Antivirus - For SRX-only
- Appqoe
Get
Servicepolicies Org Servicepolicy Appqoe - For SRX Only
- Created
Time float64 - When the object has been created, in epoch
- Ewfs
[]Get
Servicepolicies Org Servicepolicy Ewf - Id string
- Unique ID of the object instance in the Mist Organization
- Idp
Get
Servicepolicies Org Servicepolicy Idp - Local
Routing bool - access within the same VRF
- Modified
Time float64 - When the object has been modified for the last time, in epoch
- Name string
- Org
Id string - Path
Preference string - By default, we derive all paths available and use them, optionally, you can customize by using
path_preference
- Services []string
- Ssl
Proxy GetServicepolicies Org Servicepolicy Ssl Proxy - For SRX-only
- Tenants []string
- aamw
Get
Servicepolicies Org Servicepolicy Aamw - For SRX Only
- action String
- enum:
allow
,deny
- antivirus
Get
Servicepolicies Org Servicepolicy Antivirus - For SRX-only
- appqoe
Get
Servicepolicies Org Servicepolicy Appqoe - For SRX Only
- created
Time Double - When the object has been created, in epoch
- ewfs
List<Get
Servicepolicies Org Servicepolicy Ewf> - id String
- Unique ID of the object instance in the Mist Organization
- idp
Get
Servicepolicies Org Servicepolicy Idp - local
Routing Boolean - access within the same VRF
- modified
Time Double - When the object has been modified for the last time, in epoch
- name String
- org
Id String - path
Preference String - By default, we derive all paths available and use them, optionally, you can customize by using
path_preference
- services List<String>
- ssl
Proxy GetServicepolicies Org Servicepolicy Ssl Proxy - For SRX-only
- tenants List<String>
- aamw
Get
Servicepolicies Org Servicepolicy Aamw - For SRX Only
- action string
- enum:
allow
,deny
- antivirus
Get
Servicepolicies Org Servicepolicy Antivirus - For SRX-only
- appqoe
Get
Servicepolicies Org Servicepolicy Appqoe - For SRX Only
- created
Time number - When the object has been created, in epoch
- ewfs
Get
Servicepolicies Org Servicepolicy Ewf[] - id string
- Unique ID of the object instance in the Mist Organization
- idp
Get
Servicepolicies Org Servicepolicy Idp - local
Routing boolean - access within the same VRF
- modified
Time number - When the object has been modified for the last time, in epoch
- name string
- org
Id string - path
Preference string - By default, we derive all paths available and use them, optionally, you can customize by using
path_preference
- services string[]
- ssl
Proxy GetServicepolicies Org Servicepolicy Ssl Proxy - For SRX-only
- tenants string[]
- aamw
Get
Servicepolicies Org Servicepolicy Aamw - For SRX Only
- action str
- enum:
allow
,deny
- antivirus
Get
Servicepolicies Org Servicepolicy Antivirus - For SRX-only
- appqoe
Get
Servicepolicies Org Servicepolicy Appqoe - For SRX Only
- created_
time float - When the object has been created, in epoch
- ewfs
Sequence[Get
Servicepolicies Org Servicepolicy Ewf] - id str
- Unique ID of the object instance in the Mist Organization
- idp
Get
Servicepolicies 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
- created
Time 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
- local
Routing Boolean - access within the same VRF
- modified
Time Number - When the object has been modified for the last time, in epoch
- name String
- org
Id String - path
Preference String - By default, we derive all paths available and use them, optionally, you can customize by using
path_preference
- services List<String>
- ssl
Proxy Property Map - For SRX-only
- tenants List<String>
GetServicepoliciesOrgServicepolicyAamw
- Aamwprofile
Id 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
- Aamwprofile
Id 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
- aamwprofile
Id 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 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
- aamwprofile
Id 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
- Avprofile
Id 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
- Avprofile
Id 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
- avprofile
Id 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 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
- avprofile
Id 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
- Alert
Only bool - Block
Message string - Enabled bool
- Profile string
- enum:
critical
,standard
,strict
- Alert
Only bool - Block
Message string - Enabled bool
- Profile string
- enum:
critical
,standard
,strict
- alert
Only Boolean - block
Message String - enabled Boolean
- profile String
- enum:
critical
,standard
,strict
- alert
Only boolean - block
Message string - enabled boolean
- profile string
- enum:
critical
,standard
,strict
- alert_
only bool - block_
message str - enabled bool
- profile str
- enum:
critical
,standard
,strict
- alert
Only Boolean - block
Message String - enabled Boolean
- profile String
- enum:
critical
,standard
,strict
GetServicepoliciesOrgServicepolicyIdp
- Alert
Only bool - Enabled bool
- Idpprofile
Id string - org_level IDP Profile can be used, this takes precedence over
profile
- Profile string
- enum:
Custom
,strict
(default),standard
or keys from idp_profiles
- Alert
Only bool - Enabled bool
- Idpprofile
Id string - org_level IDP Profile can be used, this takes precedence over
profile
- Profile string
- enum:
Custom
,strict
(default),standard
or keys from idp_profiles
- alert
Only Boolean - enabled Boolean
- idpprofile
Id String - org_level IDP Profile can be used, this takes precedence over
profile
- profile String
- enum:
Custom
,strict
(default),standard
or keys from idp_profiles
- alert
Only boolean - enabled boolean
- idpprofile
Id string - org_level IDP Profile can be used, this takes precedence over
profile
- profile string
- enum:
Custom
,strict
(default),standard
or 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),standard
or keys from idp_profiles
- alert
Only Boolean - enabled Boolean
- idpprofile
Id String - org_level IDP Profile can be used, this takes precedence over
profile
- profile String
- enum:
Custom
,strict
(default),standard
or keys from idp_profiles
GetServicepoliciesOrgServicepolicySslProxy
- Ciphers
Category string - enum:
medium
,strong
,weak
- Enabled bool
- Ciphers
Category string - enum:
medium
,strong
,weak
- Enabled bool
- ciphers
Category String - enum:
medium
,strong
,weak
- enabled Boolean
- ciphers
Category string - enum:
medium
,strong
,weak
- enabled boolean
- ciphers_
category str - enum:
medium
,strong
,weak
- enabled bool
- ciphers
Category 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
mist
Terraform Provider.