Juniper Mist v0.1.1 published on Monday, Nov 4, 2024 by Pulumi
junipermist.org.getServicepolicies
Explore with Pulumi AI
This data source provides the list of WAN Assurance Service Policies (Application Policiess).
The Service Policies are used in the servicepolicy_policies
from the Gateway configuration and Gateway templates.They can be used to manage common policies betweeen 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)
// Output-based functions aren't available in Java yet
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
- Action string
- enum:
allow
,deny
- Appqoe
Pulumi.
Juniper Mist. Org. Inputs. Get Servicepolicies Org Servicepolicy Appqoe - For SRX Only
- Created
Time double - Ewfs
List<Pulumi.
Juniper Mist. Org. Inputs. Get Servicepolicies Org Servicepolicy Ewf> - Id string
- Idp
Pulumi.
Juniper Mist. Org. Inputs. Get Servicepolicies Org Servicepolicy Idp - Local
Routing bool - access within the same VRF
- Modified
Time double - 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>
- Tenants List<string>
- Action string
- enum:
allow
,deny
- Appqoe
Get
Servicepolicies Org Servicepolicy Appqoe - For SRX Only
- Created
Time float64 - Ewfs
[]Get
Servicepolicies Org Servicepolicy Ewf - Id string
- Idp
Get
Servicepolicies Org Servicepolicy Idp - Local
Routing bool - access within the same VRF
- Modified
Time float64 - 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
- Tenants []string
- action String
- enum:
allow
,deny
- appqoe
Get
Servicepolicies Org Servicepolicy Appqoe - For SRX Only
- created
Time Double - ewfs
List<Get
Servicepolicies Org Servicepolicy Ewf> - id String
- idp
Get
Servicepolicies Org Servicepolicy Idp - local
Routing Boolean - access within the same VRF
- modified
Time Double - 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>
- tenants List<String>
- action string
- enum:
allow
,deny
- appqoe
Get
Servicepolicies Org Servicepolicy Appqoe - For SRX Only
- created
Time number - ewfs
Get
Servicepolicies Org Servicepolicy Ewf[] - id string
- idp
Get
Servicepolicies Org Servicepolicy Idp - local
Routing boolean - access within the same VRF
- modified
Time number - 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[]
- tenants string[]
- action str
- enum:
allow
,deny
- appqoe
Get
Servicepolicies Org Servicepolicy Appqoe - For SRX Only
- created_
time float - ewfs
Sequence[Get
Servicepolicies Org Servicepolicy Ewf] - id str
- idp
Get
Servicepolicies Org Servicepolicy Idp - local_
routing bool - access within the same VRF
- modified_
time float - 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]
- tenants Sequence[str]
- action String
- enum:
allow
,deny
- appqoe Property Map
- For SRX Only
- created
Time Number - ewfs List<Property Map>
- id String
- idp Property Map
- local
Routing Boolean - access within the same VRF
- modified
Time Number - 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>
- tenants List<String>
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
strict
(default) /standard
/ or keys from 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
strict
(default) /standard
/ or keys from 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
strict
(default) /standard
/ or keys from 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
strict
(default) /standard
/ or keys from 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
strict
(default) /standard
/ or keys from 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
strict
(default) /standard
/ or keys from from idp_profiles
Package Details
- Repository
- junipermist pulumi/pulumi-junipermist
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mist
Terraform Provider.