sdwan.PolicyObjectUnifiedIntrusionPrevention
This resource can manage a Policy Object Unified Intrusion Prevention Policy_object.
- Minimum SD-WAN Manager version:
20.12.0
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = new sdwan.PolicyObjectUnifiedIntrusionPrevention("example", {
name: "Example",
description: "My Example",
featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
signatureSet: "balanced",
inspectionMode: "detection",
ipsSignatureAllowListId: "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
logLevel: "error",
customSignature: false,
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.PolicyObjectUnifiedIntrusionPrevention("example",
name="Example",
description="My Example",
feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
signature_set="balanced",
inspection_mode="detection",
ips_signature_allow_list_id="2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
log_level="error",
custom_signature=False)
package main
import (
"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sdwan.NewPolicyObjectUnifiedIntrusionPrevention(ctx, "example", &sdwan.PolicyObjectUnifiedIntrusionPreventionArgs{
Name: pulumi.String("Example"),
Description: pulumi.String("My Example"),
FeatureProfileId: pulumi.String("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"),
SignatureSet: pulumi.String("balanced"),
InspectionMode: pulumi.String("detection"),
IpsSignatureAllowListId: pulumi.String("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38"),
LogLevel: pulumi.String("error"),
CustomSignature: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() =>
{
var example = new Sdwan.PolicyObjectUnifiedIntrusionPrevention("example", new()
{
Name = "Example",
Description = "My Example",
FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
SignatureSet = "balanced",
InspectionMode = "detection",
IpsSignatureAllowListId = "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
LogLevel = "error",
CustomSignature = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.PolicyObjectUnifiedIntrusionPrevention;
import com.pulumi.sdwan.PolicyObjectUnifiedIntrusionPreventionArgs;
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) {
var example = new PolicyObjectUnifiedIntrusionPrevention("example", PolicyObjectUnifiedIntrusionPreventionArgs.builder()
.name("Example")
.description("My Example")
.featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
.signatureSet("balanced")
.inspectionMode("detection")
.ipsSignatureAllowListId("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38")
.logLevel("error")
.customSignature(false)
.build());
}
}
resources:
example:
type: sdwan:PolicyObjectUnifiedIntrusionPrevention
properties:
name: Example
description: My Example
featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
signatureSet: balanced
inspectionMode: detection
ipsSignatureAllowListId: 2ad58d78-59ee-46d3-86dd-7b6b7ca09f38
logLevel: error
customSignature: false
Create PolicyObjectUnifiedIntrusionPrevention Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyObjectUnifiedIntrusionPrevention(name: string, args: PolicyObjectUnifiedIntrusionPreventionArgs, opts?: CustomResourceOptions);@overload
def PolicyObjectUnifiedIntrusionPrevention(resource_name: str,
args: PolicyObjectUnifiedIntrusionPreventionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyObjectUnifiedIntrusionPrevention(resource_name: str,
opts: Optional[ResourceOptions] = None,
feature_profile_id: Optional[str] = None,
inspection_mode: Optional[str] = None,
log_level: Optional[str] = None,
signature_set: Optional[str] = None,
custom_signature: Optional[bool] = None,
description: Optional[str] = None,
ips_signature_allow_list_id: Optional[str] = None,
name: Optional[str] = None)func NewPolicyObjectUnifiedIntrusionPrevention(ctx *Context, name string, args PolicyObjectUnifiedIntrusionPreventionArgs, opts ...ResourceOption) (*PolicyObjectUnifiedIntrusionPrevention, error)public PolicyObjectUnifiedIntrusionPrevention(string name, PolicyObjectUnifiedIntrusionPreventionArgs args, CustomResourceOptions? opts = null)
public PolicyObjectUnifiedIntrusionPrevention(String name, PolicyObjectUnifiedIntrusionPreventionArgs args)
public PolicyObjectUnifiedIntrusionPrevention(String name, PolicyObjectUnifiedIntrusionPreventionArgs args, CustomResourceOptions options)
type: sdwan:PolicyObjectUnifiedIntrusionPrevention
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PolicyObjectUnifiedIntrusionPreventionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PolicyObjectUnifiedIntrusionPreventionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PolicyObjectUnifiedIntrusionPreventionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyObjectUnifiedIntrusionPreventionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyObjectUnifiedIntrusionPreventionArgs
- 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 policyObjectUnifiedIntrusionPreventionResource = new Sdwan.PolicyObjectUnifiedIntrusionPrevention("policyObjectUnifiedIntrusionPreventionResource", new()
{
FeatureProfileId = "string",
InspectionMode = "string",
LogLevel = "string",
SignatureSet = "string",
CustomSignature = false,
Description = "string",
IpsSignatureAllowListId = "string",
Name = "string",
});
example, err := sdwan.NewPolicyObjectUnifiedIntrusionPrevention(ctx, "policyObjectUnifiedIntrusionPreventionResource", &sdwan.PolicyObjectUnifiedIntrusionPreventionArgs{
FeatureProfileId: pulumi.String("string"),
InspectionMode: pulumi.String("string"),
LogLevel: pulumi.String("string"),
SignatureSet: pulumi.String("string"),
CustomSignature: pulumi.Bool(false),
Description: pulumi.String("string"),
IpsSignatureAllowListId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var policyObjectUnifiedIntrusionPreventionResource = new PolicyObjectUnifiedIntrusionPrevention("policyObjectUnifiedIntrusionPreventionResource", PolicyObjectUnifiedIntrusionPreventionArgs.builder()
.featureProfileId("string")
.inspectionMode("string")
.logLevel("string")
.signatureSet("string")
.customSignature(false)
.description("string")
.ipsSignatureAllowListId("string")
.name("string")
.build());
policy_object_unified_intrusion_prevention_resource = sdwan.PolicyObjectUnifiedIntrusionPrevention("policyObjectUnifiedIntrusionPreventionResource",
feature_profile_id="string",
inspection_mode="string",
log_level="string",
signature_set="string",
custom_signature=False,
description="string",
ips_signature_allow_list_id="string",
name="string")
const policyObjectUnifiedIntrusionPreventionResource = new sdwan.PolicyObjectUnifiedIntrusionPrevention("policyObjectUnifiedIntrusionPreventionResource", {
featureProfileId: "string",
inspectionMode: "string",
logLevel: "string",
signatureSet: "string",
customSignature: false,
description: "string",
ipsSignatureAllowListId: "string",
name: "string",
});
type: sdwan:PolicyObjectUnifiedIntrusionPrevention
properties:
customSignature: false
description: string
featureProfileId: string
inspectionMode: string
ipsSignatureAllowListId: string
logLevel: string
name: string
signatureSet: string
PolicyObjectUnifiedIntrusionPrevention 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 PolicyObjectUnifiedIntrusionPrevention resource accepts the following input properties:
- Feature
Profile stringId - Feature Profile ID
- Inspection
Mode string - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- Log
Level string - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- Signature
Set string - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- Custom
Signature bool - Can be one of the enum value
- Description string
- The description of the Policy_object
- Ips
Signature stringAllow List Id - Name string
- The name of the Policy_object
- Feature
Profile stringId - Feature Profile ID
- Inspection
Mode string - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- Log
Level string - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- Signature
Set string - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- Custom
Signature bool - Can be one of the enum value
- Description string
- The description of the Policy_object
- Ips
Signature stringAllow List Id - Name string
- The name of the Policy_object
- feature
Profile StringId - Feature Profile ID
- inspection
Mode String - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- log
Level String - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- signature
Set String - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- custom
Signature Boolean - Can be one of the enum value
- description String
- The description of the Policy_object
- ips
Signature StringAllow List Id - name String
- The name of the Policy_object
- feature
Profile stringId - Feature Profile ID
- inspection
Mode string - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- log
Level string - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- signature
Set string - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- custom
Signature boolean - Can be one of the enum value
- description string
- The description of the Policy_object
- ips
Signature stringAllow List Id - name string
- The name of the Policy_object
- feature_
profile_ strid - Feature Profile ID
- inspection_
mode str - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- log_
level str - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- signature_
set str - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- custom_
signature bool - Can be one of the enum value
- description str
- The description of the Policy_object
- ips_
signature_ strallow_ list_ id - name str
- The name of the Policy_object
- feature
Profile StringId - Feature Profile ID
- inspection
Mode String - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- log
Level String - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- signature
Set String - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- custom
Signature Boolean - Can be one of the enum value
- description String
- The description of the Policy_object
- ips
Signature StringAllow List Id - name String
- The name of the Policy_object
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyObjectUnifiedIntrusionPrevention resource produces the following output properties:
Look up Existing PolicyObjectUnifiedIntrusionPrevention Resource
Get an existing PolicyObjectUnifiedIntrusionPrevention 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?: PolicyObjectUnifiedIntrusionPreventionState, opts?: CustomResourceOptions): PolicyObjectUnifiedIntrusionPrevention@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
custom_signature: Optional[bool] = None,
description: Optional[str] = None,
feature_profile_id: Optional[str] = None,
inspection_mode: Optional[str] = None,
ips_signature_allow_list_id: Optional[str] = None,
log_level: Optional[str] = None,
name: Optional[str] = None,
signature_set: Optional[str] = None,
version: Optional[int] = None) -> PolicyObjectUnifiedIntrusionPreventionfunc GetPolicyObjectUnifiedIntrusionPrevention(ctx *Context, name string, id IDInput, state *PolicyObjectUnifiedIntrusionPreventionState, opts ...ResourceOption) (*PolicyObjectUnifiedIntrusionPrevention, error)public static PolicyObjectUnifiedIntrusionPrevention Get(string name, Input<string> id, PolicyObjectUnifiedIntrusionPreventionState? state, CustomResourceOptions? opts = null)public static PolicyObjectUnifiedIntrusionPrevention get(String name, Output<String> id, PolicyObjectUnifiedIntrusionPreventionState state, CustomResourceOptions options)resources: _: type: sdwan:PolicyObjectUnifiedIntrusionPrevention get: id: ${id}- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Custom
Signature bool - Can be one of the enum value
- Description string
- The description of the Policy_object
- Feature
Profile stringId - Feature Profile ID
- Inspection
Mode string - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- Ips
Signature stringAllow List Id - Log
Level string - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- Name string
- The name of the Policy_object
- Signature
Set string - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- Version int
- The version of the Policy_object
- Custom
Signature bool - Can be one of the enum value
- Description string
- The description of the Policy_object
- Feature
Profile stringId - Feature Profile ID
- Inspection
Mode string - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- Ips
Signature stringAllow List Id - Log
Level string - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- Name string
- The name of the Policy_object
- Signature
Set string - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- Version int
- The version of the Policy_object
- custom
Signature Boolean - Can be one of the enum value
- description String
- The description of the Policy_object
- feature
Profile StringId - Feature Profile ID
- inspection
Mode String - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- ips
Signature StringAllow List Id - log
Level String - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- name String
- The name of the Policy_object
- signature
Set String - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- version Integer
- The version of the Policy_object
- custom
Signature boolean - Can be one of the enum value
- description string
- The description of the Policy_object
- feature
Profile stringId - Feature Profile ID
- inspection
Mode string - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- ips
Signature stringAllow List Id - log
Level string - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- name string
- The name of the Policy_object
- signature
Set string - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- version number
- The version of the Policy_object
- custom_
signature bool - Can be one of the enum value
- description str
- The description of the Policy_object
- feature_
profile_ strid - Feature Profile ID
- inspection_
mode str - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- ips_
signature_ strallow_ list_ id - log_
level str - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- name str
- The name of the Policy_object
- signature_
set str - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- version int
- The version of the Policy_object
- custom
Signature Boolean - Can be one of the enum value
- description String
- The description of the Policy_object
- feature
Profile StringId - Feature Profile ID
- inspection
Mode String - Can be one of the enum value
- Choices:
detection,protection
- Choices:
- ips
Signature StringAllow List Id - log
Level String - Can be one of the enum value
- Choices:
emergency,alert,critical,error,warning,notice,info,debug
- Choices:
- name String
- The name of the Policy_object
- signature
Set String - Can be one of the enum value
- Choices:
balanced,connectivity,security
- Choices:
- version Number
- The version of the Policy_object
Import
The pulumi import command can be used, for example:
Expected import identifier with the format: “policy_object_unified_intrusion_prevention_id,feature_profile_id”
$ pulumi import sdwan:index/policyObjectUnifiedIntrusionPrevention:PolicyObjectUnifiedIntrusionPrevention example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwanTerraform Provider.
