1. Packages
  2. Juniper Mist Provider
  3. API Docs
  4. org
  5. Idpprofile
Juniper Mist v0.4.0 published on Wednesday, Apr 16, 2025 by Pulumi

junipermist.org.Idpprofile

Explore with Pulumi AI

This resource manages 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

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  idpprofileOne:
    type: junipermist:org:Idpprofile
    name: idpprofile_one
    properties:
      orgId: ${terraformTest.id}
      baseProfile: standard
      overwrites:
        - name: server_bypass
          matching:
            severity: []
            dstSubnet: []
            attackName:
              - SSL:OVERFLOW:KEY-ARG-NO-ENTROPY
        - name: guest-bypass
          matching:
            severity: []
            dstSubnet:
              - 8.8.8.8/32
            attackName:
              - UDP:ZERO-DATA
      name: idpprofile_one
Copy

Create Idpprofile Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Idpprofile(name: string, args: IdpprofileArgs, opts?: CustomResourceOptions);
@overload
def Idpprofile(resource_name: str,
               args: IdpprofileArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def Idpprofile(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               base_profile: Optional[str] = None,
               org_id: Optional[str] = None,
               name: Optional[str] = None,
               overwrites: Optional[Sequence[IdpprofileOverwriteArgs]] = None)
func NewIdpprofile(ctx *Context, name string, args IdpprofileArgs, opts ...ResourceOption) (*Idpprofile, error)
public Idpprofile(string name, IdpprofileArgs args, CustomResourceOptions? opts = null)
public Idpprofile(String name, IdpprofileArgs args)
public Idpprofile(String name, IdpprofileArgs args, CustomResourceOptions options)
type: junipermist:org:Idpprofile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IdpprofileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IdpprofileArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IdpprofileArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IdpprofileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IdpprofileArgs
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 idpprofileResource = new JuniperMist.Org.Idpprofile("idpprofileResource", new()
{
    BaseProfile = "string",
    OrgId = "string",
    Name = "string",
    Overwrites = new[]
    {
        new JuniperMist.Org.Inputs.IdpprofileOverwriteArgs
        {
            Name = "string",
            Action = "string",
            Matching = new JuniperMist.Org.Inputs.IdpprofileOverwriteMatchingArgs
            {
                AttackNames = new[]
                {
                    "string",
                },
                DstSubnets = new[]
                {
                    "string",
                },
                Severities = new[]
                {
                    "string",
                },
            },
        },
    },
});
Copy
example, err := org.NewIdpprofile(ctx, "idpprofileResource", &org.IdpprofileArgs{
	BaseProfile: pulumi.String("string"),
	OrgId:       pulumi.String("string"),
	Name:        pulumi.String("string"),
	Overwrites: org.IdpprofileOverwriteArray{
		&org.IdpprofileOverwriteArgs{
			Name:   pulumi.String("string"),
			Action: pulumi.String("string"),
			Matching: &org.IdpprofileOverwriteMatchingArgs{
				AttackNames: pulumi.StringArray{
					pulumi.String("string"),
				},
				DstSubnets: pulumi.StringArray{
					pulumi.String("string"),
				},
				Severities: pulumi.StringArray{
					pulumi.String("string"),
				},
			},
		},
	},
})
Copy
var idpprofileResource = new Idpprofile("idpprofileResource", IdpprofileArgs.builder()
    .baseProfile("string")
    .orgId("string")
    .name("string")
    .overwrites(IdpprofileOverwriteArgs.builder()
        .name("string")
        .action("string")
        .matching(IdpprofileOverwriteMatchingArgs.builder()
            .attackNames("string")
            .dstSubnets("string")
            .severities("string")
            .build())
        .build())
    .build());
Copy
idpprofile_resource = junipermist.org.Idpprofile("idpprofileResource",
    base_profile="string",
    org_id="string",
    name="string",
    overwrites=[{
        "name": "string",
        "action": "string",
        "matching": {
            "attack_names": ["string"],
            "dst_subnets": ["string"],
            "severities": ["string"],
        },
    }])
Copy
const idpprofileResource = new junipermist.org.Idpprofile("idpprofileResource", {
    baseProfile: "string",
    orgId: "string",
    name: "string",
    overwrites: [{
        name: "string",
        action: "string",
        matching: {
            attackNames: ["string"],
            dstSubnets: ["string"],
            severities: ["string"],
        },
    }],
});
Copy
type: junipermist:org:Idpprofile
properties:
    baseProfile: string
    name: string
    orgId: string
    overwrites:
        - action: string
          matching:
            attackNames:
                - string
            dstSubnets:
                - string
            severities:
                - string
          name: string
Copy

Idpprofile 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 Idpprofile resource accepts the following input properties:

BaseProfile This property is required. string
enum: critical, standard, strict
OrgId This property is required. string
Name string
Overwrites List<Pulumi.JuniperMist.Org.Inputs.IdpprofileOverwrite>
BaseProfile This property is required. string
enum: critical, standard, strict
OrgId This property is required. string
Name string
Overwrites []IdpprofileOverwriteArgs
baseProfile This property is required. String
enum: critical, standard, strict
orgId This property is required. String
name String
overwrites List<IdpprofileOverwrite>
baseProfile This property is required. string
enum: critical, standard, strict
orgId This property is required. string
name string
overwrites IdpprofileOverwrite[]
base_profile This property is required. str
enum: critical, standard, strict
org_id This property is required. str
name str
overwrites Sequence[IdpprofileOverwriteArgs]
baseProfile This property is required. String
enum: critical, standard, strict
orgId This property is required. String
name String
overwrites List<Property Map>

Outputs

All input properties are implicitly available as output properties. Additionally, the Idpprofile 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 Idpprofile Resource

Get an existing Idpprofile 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?: IdpprofileState, opts?: CustomResourceOptions): Idpprofile
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        base_profile: Optional[str] = None,
        name: Optional[str] = None,
        org_id: Optional[str] = None,
        overwrites: Optional[Sequence[IdpprofileOverwriteArgs]] = None) -> Idpprofile
func GetIdpprofile(ctx *Context, name string, id IDInput, state *IdpprofileState, opts ...ResourceOption) (*Idpprofile, error)
public static Idpprofile Get(string name, Input<string> id, IdpprofileState? state, CustomResourceOptions? opts = null)
public static Idpprofile get(String name, Output<String> id, IdpprofileState state, CustomResourceOptions options)
resources:  _:    type: junipermist:org:Idpprofile    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
BaseProfile string
enum: critical, standard, strict
Name string
OrgId string
Overwrites []IdpprofileOverwriteArgs
baseProfile String
enum: critical, standard, strict
name String
orgId String
overwrites List<IdpprofileOverwrite>
baseProfile string
enum: critical, standard, strict
name string
orgId string
overwrites IdpprofileOverwrite[]
base_profile str
enum: critical, standard, strict
name str
org_id str
overwrites Sequence[IdpprofileOverwriteArgs]
baseProfile String
enum: critical, standard, strict
name String
orgId String
overwrites List<Property Map>

Supporting Types

IdpprofileOverwrite
, IdpprofileOverwriteArgs

Name This property is required. string
Action string
enum:

  • alert (default)
  • drop: silently dropping packets
  • close: notify client/server to close connection
Matching Pulumi.JuniperMist.Org.Inputs.IdpprofileOverwriteMatching
Name This property is required. string
Action string
enum:

  • alert (default)
  • drop: silently dropping packets
  • close: notify client/server to close connection
Matching IdpprofileOverwriteMatching
name This property is required. String
action String
enum:

  • alert (default)
  • drop: silently dropping packets
  • close: notify client/server to close connection
matching IdpprofileOverwriteMatching
name This property is required. string
action string
enum:

  • alert (default)
  • drop: silently dropping packets
  • close: notify client/server to close connection
matching IdpprofileOverwriteMatching
name This property is required. str
action str
enum:

  • alert (default)
  • drop: silently dropping packets
  • close: notify client/server to close connection
matching IdpprofileOverwriteMatching
name This property is required. String
action String
enum:

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

IdpprofileOverwriteMatching
, IdpprofileOverwriteMatchingArgs

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>

Import

Using pulumi import, import mist_org_idpprofile with:

IDP Profile can be imported by specifying the org_id and the idpprofile_id

$ pulumi import junipermist:org/idpprofile:Idpprofile idpprofile_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
Copy

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.