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

junipermist.org.getIdpprofiles

Explore with Pulumi AI

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

    This data source provides the list of WAN Assurance IDP Profiles. An IDP Profile is a configuration setting that defines the behavior and actions of an intrusion detection and prevention (IDP) system.It specifies how the idp system should detect and respond to potential security threats or attacks on a network.The profile includes rules and policies that determine which types of traffic or attacks should be monitored,what actions should be taken when a threat is detected, and any exceptions or exclusions for specific destinations or attack types.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as junipermist from "@pulumi/junipermist";
    
    const idpprofiles = junipermist.org.getIdpprofiles({
        orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
    });
    
    import pulumi
    import pulumi_junipermist as junipermist
    
    idpprofiles = junipermist.org.get_idpprofiles(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.GetIdpprofiles(ctx, &org.GetIdpprofilesArgs{
    			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 idpprofiles = JuniperMist.Org.GetIdpprofiles.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.GetIdpprofilesArgs;
    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 idpprofiles = OrgFunctions.getIdpprofiles(GetIdpprofilesArgs.builder()
                .orgId("15fca2ac-b1a6-47cc-9953-cc6906281550")
                .build());
    
        }
    }
    
    variables:
      idpprofiles:
        fn::invoke:
          Function: junipermist:org:getIdpprofiles
          Arguments:
            orgId: 15fca2ac-b1a6-47cc-9953-cc6906281550
    

    Using getIdpprofiles

    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 getIdpprofiles(args: GetIdpprofilesArgs, opts?: InvokeOptions): Promise<GetIdpprofilesResult>
    function getIdpprofilesOutput(args: GetIdpprofilesOutputArgs, opts?: InvokeOptions): Output<GetIdpprofilesResult>
    def get_idpprofiles(org_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetIdpprofilesResult
    def get_idpprofiles_output(org_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetIdpprofilesResult]
    func GetIdpprofiles(ctx *Context, args *GetIdpprofilesArgs, opts ...InvokeOption) (*GetIdpprofilesResult, error)
    func GetIdpprofilesOutput(ctx *Context, args *GetIdpprofilesOutputArgs, opts ...InvokeOption) GetIdpprofilesResultOutput

    > Note: This function is named GetIdpprofiles in the Go SDK.

    public static class GetIdpprofiles 
    {
        public static Task<GetIdpprofilesResult> InvokeAsync(GetIdpprofilesArgs args, InvokeOptions? opts = null)
        public static Output<GetIdpprofilesResult> Invoke(GetIdpprofilesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIdpprofilesResult> getIdpprofiles(GetIdpprofilesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: junipermist:org/getIdpprofiles:getIdpprofiles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OrgId string
    OrgId string
    orgId String
    orgId string
    org_id str
    orgId String

    getIdpprofiles Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    OrgIdpprofiles List<Pulumi.JuniperMist.Org.Outputs.GetIdpprofilesOrgIdpprofile>
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    OrgIdpprofiles []GetIdpprofilesOrgIdpprofile
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    orgIdpprofiles List<GetIdpprofilesOrgIdpprofile>
    id string
    The provider-assigned unique ID for this managed resource.
    orgId string
    orgIdpprofiles GetIdpprofilesOrgIdpprofile[]
    id str
    The provider-assigned unique ID for this managed resource.
    org_id str
    org_idpprofiles Sequence[GetIdpprofilesOrgIdpprofile]
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    orgIdpprofiles List<Property Map>

    Supporting Types

    GetIdpprofilesOrgIdpprofile

    BaseProfile string
    enum: critical, standard, strict
    CreatedTime float64
    Id string
    ModifiedTime float64
    Name string
    OrgId string
    Overwrites []GetIdpprofilesOrgIdpprofileOverwrite
    baseProfile String
    enum: critical, standard, strict
    createdTime Double
    id String
    modifiedTime Double
    name String
    orgId String
    overwrites List<GetIdpprofilesOrgIdpprofileOverwrite>
    baseProfile string
    enum: critical, standard, strict
    createdTime number
    id string
    modifiedTime number
    name string
    orgId string
    overwrites GetIdpprofilesOrgIdpprofileOverwrite[]
    baseProfile String
    enum: critical, standard, strict
    createdTime Number
    id String
    modifiedTime Number
    name String
    orgId String
    overwrites List<Property Map>

    GetIdpprofilesOrgIdpprofileOverwrite

    Action string
    enum:

    • alert (default)
    • drop: siliently dropping packets
    • close: notify client/server to close connection
    Matching Pulumi.JuniperMist.Org.Inputs.GetIdpprofilesOrgIdpprofileOverwriteMatching
    Name string
    Action string
    enum:

    • alert (default)
    • drop: siliently dropping packets
    • close: notify client/server to close connection
    Matching GetIdpprofilesOrgIdpprofileOverwriteMatching
    Name string
    action String
    enum:

    • alert (default)
    • drop: siliently dropping packets
    • close: notify client/server to close connection
    matching GetIdpprofilesOrgIdpprofileOverwriteMatching
    name String
    action string
    enum:

    • alert (default)
    • drop: siliently dropping packets
    • close: notify client/server to close connection
    matching GetIdpprofilesOrgIdpprofileOverwriteMatching
    name string
    action str
    enum:

    • alert (default)
    • drop: siliently dropping packets
    • close: notify client/server to close connection
    matching GetIdpprofilesOrgIdpprofileOverwriteMatching
    name str
    action String
    enum:

    • alert (default)
    • drop: siliently dropping packets
    • close: notify client/server to close connection
    matching Property Map
    name String

    GetIdpprofilesOrgIdpprofileOverwriteMatching

    AttackNames List<string>
    DstSubnets List<string>
    Severities List<string>
    AttackNames []string
    DstSubnets []string
    Severities []string
    attackNames List<String>
    dstSubnets List<String>
    severities List<String>
    attackNames string[]
    dstSubnets string[]
    severities string[]
    attack_names Sequence[str]
    dst_subnets Sequence[str]
    severities Sequence[str]
    attackNames List<String>
    dstSubnets List<String>
    severities List<String>

    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