sdwan.AdvancedInspectionProfilePolicyDefinition
Explore with Pulumi AI
This resource can manage a Advanced Inspection Profile Policy Definition .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = new sdwan.AdvancedInspectionProfilePolicyDefinition("example", {
    name: "Example",
    description: "My description",
    tlsAction: "decrypt",
    urlFilteringId: "914670a3-9726-4a51-847f-b3db70819dc2",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.AdvancedInspectionProfilePolicyDefinition("example",
    name="Example",
    description="My description",
    tls_action="decrypt",
    url_filtering_id="914670a3-9726-4a51-847f-b3db70819dc2")
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.NewAdvancedInspectionProfilePolicyDefinition(ctx, "example", &sdwan.AdvancedInspectionProfilePolicyDefinitionArgs{
			Name:           pulumi.String("Example"),
			Description:    pulumi.String("My description"),
			TlsAction:      pulumi.String("decrypt"),
			UrlFilteringId: pulumi.String("914670a3-9726-4a51-847f-b3db70819dc2"),
		})
		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.AdvancedInspectionProfilePolicyDefinition("example", new()
    {
        Name = "Example",
        Description = "My description",
        TlsAction = "decrypt",
        UrlFilteringId = "914670a3-9726-4a51-847f-b3db70819dc2",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.AdvancedInspectionProfilePolicyDefinition;
import com.pulumi.sdwan.AdvancedInspectionProfilePolicyDefinitionArgs;
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 AdvancedInspectionProfilePolicyDefinition("example", AdvancedInspectionProfilePolicyDefinitionArgs.builder()
            .name("Example")
            .description("My description")
            .tlsAction("decrypt")
            .urlFilteringId("914670a3-9726-4a51-847f-b3db70819dc2")
            .build());
    }
}
resources:
  example:
    type: sdwan:AdvancedInspectionProfilePolicyDefinition
    properties:
      name: Example
      description: My description
      tlsAction: decrypt
      urlFilteringId: 914670a3-9726-4a51-847f-b3db70819dc2
Create AdvancedInspectionProfilePolicyDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AdvancedInspectionProfilePolicyDefinition(name: string, args: AdvancedInspectionProfilePolicyDefinitionArgs, opts?: CustomResourceOptions);@overload
def AdvancedInspectionProfilePolicyDefinition(resource_name: str,
                                              args: AdvancedInspectionProfilePolicyDefinitionArgs,
                                              opts: Optional[ResourceOptions] = None)
@overload
def AdvancedInspectionProfilePolicyDefinition(resource_name: str,
                                              opts: Optional[ResourceOptions] = None,
                                              description: Optional[str] = None,
                                              advanced_malware_protection_id: Optional[str] = None,
                                              advanced_malware_protection_version: Optional[int] = None,
                                              intrusion_prevention_id: Optional[str] = None,
                                              intrusion_prevention_version: Optional[int] = None,
                                              name: Optional[str] = None,
                                              tls_action: Optional[str] = None,
                                              tls_ssl_decryption_id: Optional[str] = None,
                                              tls_ssl_decryption_version: Optional[int] = None,
                                              url_filtering_id: Optional[str] = None,
                                              url_filtering_version: Optional[int] = None)func NewAdvancedInspectionProfilePolicyDefinition(ctx *Context, name string, args AdvancedInspectionProfilePolicyDefinitionArgs, opts ...ResourceOption) (*AdvancedInspectionProfilePolicyDefinition, error)public AdvancedInspectionProfilePolicyDefinition(string name, AdvancedInspectionProfilePolicyDefinitionArgs args, CustomResourceOptions? opts = null)
public AdvancedInspectionProfilePolicyDefinition(String name, AdvancedInspectionProfilePolicyDefinitionArgs args)
public AdvancedInspectionProfilePolicyDefinition(String name, AdvancedInspectionProfilePolicyDefinitionArgs args, CustomResourceOptions options)
type: sdwan:AdvancedInspectionProfilePolicyDefinition
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 AdvancedInspectionProfilePolicyDefinitionArgs
- 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 AdvancedInspectionProfilePolicyDefinitionArgs
- 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 AdvancedInspectionProfilePolicyDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AdvancedInspectionProfilePolicyDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AdvancedInspectionProfilePolicyDefinitionArgs
- 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 advancedInspectionProfilePolicyDefinitionResource = new Sdwan.AdvancedInspectionProfilePolicyDefinition("advancedInspectionProfilePolicyDefinitionResource", new()
{
    Description = "string",
    AdvancedMalwareProtectionId = "string",
    AdvancedMalwareProtectionVersion = 0,
    IntrusionPreventionId = "string",
    IntrusionPreventionVersion = 0,
    Name = "string",
    TlsAction = "string",
    TlsSslDecryptionId = "string",
    TlsSslDecryptionVersion = 0,
    UrlFilteringId = "string",
    UrlFilteringVersion = 0,
});
example, err := sdwan.NewAdvancedInspectionProfilePolicyDefinition(ctx, "advancedInspectionProfilePolicyDefinitionResource", &sdwan.AdvancedInspectionProfilePolicyDefinitionArgs{
	Description:                      pulumi.String("string"),
	AdvancedMalwareProtectionId:      pulumi.String("string"),
	AdvancedMalwareProtectionVersion: pulumi.Int(0),
	IntrusionPreventionId:            pulumi.String("string"),
	IntrusionPreventionVersion:       pulumi.Int(0),
	Name:                             pulumi.String("string"),
	TlsAction:                        pulumi.String("string"),
	TlsSslDecryptionId:               pulumi.String("string"),
	TlsSslDecryptionVersion:          pulumi.Int(0),
	UrlFilteringId:                   pulumi.String("string"),
	UrlFilteringVersion:              pulumi.Int(0),
})
var advancedInspectionProfilePolicyDefinitionResource = new AdvancedInspectionProfilePolicyDefinition("advancedInspectionProfilePolicyDefinitionResource", AdvancedInspectionProfilePolicyDefinitionArgs.builder()
    .description("string")
    .advancedMalwareProtectionId("string")
    .advancedMalwareProtectionVersion(0)
    .intrusionPreventionId("string")
    .intrusionPreventionVersion(0)
    .name("string")
    .tlsAction("string")
    .tlsSslDecryptionId("string")
    .tlsSslDecryptionVersion(0)
    .urlFilteringId("string")
    .urlFilteringVersion(0)
    .build());
advanced_inspection_profile_policy_definition_resource = sdwan.AdvancedInspectionProfilePolicyDefinition("advancedInspectionProfilePolicyDefinitionResource",
    description="string",
    advanced_malware_protection_id="string",
    advanced_malware_protection_version=0,
    intrusion_prevention_id="string",
    intrusion_prevention_version=0,
    name="string",
    tls_action="string",
    tls_ssl_decryption_id="string",
    tls_ssl_decryption_version=0,
    url_filtering_id="string",
    url_filtering_version=0)
const advancedInspectionProfilePolicyDefinitionResource = new sdwan.AdvancedInspectionProfilePolicyDefinition("advancedInspectionProfilePolicyDefinitionResource", {
    description: "string",
    advancedMalwareProtectionId: "string",
    advancedMalwareProtectionVersion: 0,
    intrusionPreventionId: "string",
    intrusionPreventionVersion: 0,
    name: "string",
    tlsAction: "string",
    tlsSslDecryptionId: "string",
    tlsSslDecryptionVersion: 0,
    urlFilteringId: "string",
    urlFilteringVersion: 0,
});
type: sdwan:AdvancedInspectionProfilePolicyDefinition
properties:
    advancedMalwareProtectionId: string
    advancedMalwareProtectionVersion: 0
    description: string
    intrusionPreventionId: string
    intrusionPreventionVersion: 0
    name: string
    tlsAction: string
    tlsSslDecryptionId: string
    tlsSslDecryptionVersion: 0
    urlFilteringId: string
    urlFilteringVersion: 0
AdvancedInspectionProfilePolicyDefinition 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 AdvancedInspectionProfilePolicyDefinition resource accepts the following input properties:
- Description string
- The description of the policy definition.
- AdvancedMalware stringProtection Id 
- Advanced malware protection ID
- AdvancedMalware intProtection Version 
- Advanced malware protection version
- IntrusionPrevention stringId 
- Intrusion prevention ID (unified mode)
- IntrusionPrevention intVersion 
- Intrusion prevention version
- Name string
- The name of the policy definition.
- TlsAction string
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- TlsSsl stringDecryption Id 
- TLS/SSL decryption ID
- TlsSsl intDecryption Version 
- TLS/SSL decryption version
- UrlFiltering stringId 
- URL filtering ID (unified mode)
- UrlFiltering intVersion 
- URL filtering version
- Description string
- The description of the policy definition.
- AdvancedMalware stringProtection Id 
- Advanced malware protection ID
- AdvancedMalware intProtection Version 
- Advanced malware protection version
- IntrusionPrevention stringId 
- Intrusion prevention ID (unified mode)
- IntrusionPrevention intVersion 
- Intrusion prevention version
- Name string
- The name of the policy definition.
- TlsAction string
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- TlsSsl stringDecryption Id 
- TLS/SSL decryption ID
- TlsSsl intDecryption Version 
- TLS/SSL decryption version
- UrlFiltering stringId 
- URL filtering ID (unified mode)
- UrlFiltering intVersion 
- URL filtering version
- description String
- The description of the policy definition.
- advancedMalware StringProtection Id 
- Advanced malware protection ID
- advancedMalware IntegerProtection Version 
- Advanced malware protection version
- intrusionPrevention StringId 
- Intrusion prevention ID (unified mode)
- intrusionPrevention IntegerVersion 
- Intrusion prevention version
- name String
- The name of the policy definition.
- tlsAction String
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- tlsSsl StringDecryption Id 
- TLS/SSL decryption ID
- tlsSsl IntegerDecryption Version 
- TLS/SSL decryption version
- urlFiltering StringId 
- URL filtering ID (unified mode)
- urlFiltering IntegerVersion 
- URL filtering version
- description string
- The description of the policy definition.
- advancedMalware stringProtection Id 
- Advanced malware protection ID
- advancedMalware numberProtection Version 
- Advanced malware protection version
- intrusionPrevention stringId 
- Intrusion prevention ID (unified mode)
- intrusionPrevention numberVersion 
- Intrusion prevention version
- name string
- The name of the policy definition.
- tlsAction string
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- tlsSsl stringDecryption Id 
- TLS/SSL decryption ID
- tlsSsl numberDecryption Version 
- TLS/SSL decryption version
- urlFiltering stringId 
- URL filtering ID (unified mode)
- urlFiltering numberVersion 
- URL filtering version
- description str
- The description of the policy definition.
- advanced_malware_ strprotection_ id 
- Advanced malware protection ID
- advanced_malware_ intprotection_ version 
- Advanced malware protection version
- intrusion_prevention_ strid 
- Intrusion prevention ID (unified mode)
- intrusion_prevention_ intversion 
- Intrusion prevention version
- name str
- The name of the policy definition.
- tls_action str
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- tls_ssl_ strdecryption_ id 
- TLS/SSL decryption ID
- tls_ssl_ intdecryption_ version 
- TLS/SSL decryption version
- url_filtering_ strid 
- URL filtering ID (unified mode)
- url_filtering_ intversion 
- URL filtering version
- description String
- The description of the policy definition.
- advancedMalware StringProtection Id 
- Advanced malware protection ID
- advancedMalware NumberProtection Version 
- Advanced malware protection version
- intrusionPrevention StringId 
- Intrusion prevention ID (unified mode)
- intrusionPrevention NumberVersion 
- Intrusion prevention version
- name String
- The name of the policy definition.
- tlsAction String
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- tlsSsl StringDecryption Id 
- TLS/SSL decryption ID
- tlsSsl NumberDecryption Version 
- TLS/SSL decryption version
- urlFiltering StringId 
- URL filtering ID (unified mode)
- urlFiltering NumberVersion 
- URL filtering version
Outputs
All input properties are implicitly available as output properties. Additionally, the AdvancedInspectionProfilePolicyDefinition resource produces the following output properties:
Look up Existing AdvancedInspectionProfilePolicyDefinition Resource
Get an existing AdvancedInspectionProfilePolicyDefinition 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?: AdvancedInspectionProfilePolicyDefinitionState, opts?: CustomResourceOptions): AdvancedInspectionProfilePolicyDefinition@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        advanced_malware_protection_id: Optional[str] = None,
        advanced_malware_protection_version: Optional[int] = None,
        description: Optional[str] = None,
        intrusion_prevention_id: Optional[str] = None,
        intrusion_prevention_version: Optional[int] = None,
        name: Optional[str] = None,
        tls_action: Optional[str] = None,
        tls_ssl_decryption_id: Optional[str] = None,
        tls_ssl_decryption_version: Optional[int] = None,
        url_filtering_id: Optional[str] = None,
        url_filtering_version: Optional[int] = None,
        version: Optional[int] = None) -> AdvancedInspectionProfilePolicyDefinitionfunc GetAdvancedInspectionProfilePolicyDefinition(ctx *Context, name string, id IDInput, state *AdvancedInspectionProfilePolicyDefinitionState, opts ...ResourceOption) (*AdvancedInspectionProfilePolicyDefinition, error)public static AdvancedInspectionProfilePolicyDefinition Get(string name, Input<string> id, AdvancedInspectionProfilePolicyDefinitionState? state, CustomResourceOptions? opts = null)public static AdvancedInspectionProfilePolicyDefinition get(String name, Output<String> id, AdvancedInspectionProfilePolicyDefinitionState state, CustomResourceOptions options)resources:  _:    type: sdwan:AdvancedInspectionProfilePolicyDefinition    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.
- AdvancedMalware stringProtection Id 
- Advanced malware protection ID
- AdvancedMalware intProtection Version 
- Advanced malware protection version
- Description string
- The description of the policy definition.
- IntrusionPrevention stringId 
- Intrusion prevention ID (unified mode)
- IntrusionPrevention intVersion 
- Intrusion prevention version
- Name string
- The name of the policy definition.
- TlsAction string
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- TlsSsl stringDecryption Id 
- TLS/SSL decryption ID
- TlsSsl intDecryption Version 
- TLS/SSL decryption version
- UrlFiltering stringId 
- URL filtering ID (unified mode)
- UrlFiltering intVersion 
- URL filtering version
- Version int
- The version of the object
- AdvancedMalware stringProtection Id 
- Advanced malware protection ID
- AdvancedMalware intProtection Version 
- Advanced malware protection version
- Description string
- The description of the policy definition.
- IntrusionPrevention stringId 
- Intrusion prevention ID (unified mode)
- IntrusionPrevention intVersion 
- Intrusion prevention version
- Name string
- The name of the policy definition.
- TlsAction string
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- TlsSsl stringDecryption Id 
- TLS/SSL decryption ID
- TlsSsl intDecryption Version 
- TLS/SSL decryption version
- UrlFiltering stringId 
- URL filtering ID (unified mode)
- UrlFiltering intVersion 
- URL filtering version
- Version int
- The version of the object
- advancedMalware StringProtection Id 
- Advanced malware protection ID
- advancedMalware IntegerProtection Version 
- Advanced malware protection version
- description String
- The description of the policy definition.
- intrusionPrevention StringId 
- Intrusion prevention ID (unified mode)
- intrusionPrevention IntegerVersion 
- Intrusion prevention version
- name String
- The name of the policy definition.
- tlsAction String
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- tlsSsl StringDecryption Id 
- TLS/SSL decryption ID
- tlsSsl IntegerDecryption Version 
- TLS/SSL decryption version
- urlFiltering StringId 
- URL filtering ID (unified mode)
- urlFiltering IntegerVersion 
- URL filtering version
- version Integer
- The version of the object
- advancedMalware stringProtection Id 
- Advanced malware protection ID
- advancedMalware numberProtection Version 
- Advanced malware protection version
- description string
- The description of the policy definition.
- intrusionPrevention stringId 
- Intrusion prevention ID (unified mode)
- intrusionPrevention numberVersion 
- Intrusion prevention version
- name string
- The name of the policy definition.
- tlsAction string
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- tlsSsl stringDecryption Id 
- TLS/SSL decryption ID
- tlsSsl numberDecryption Version 
- TLS/SSL decryption version
- urlFiltering stringId 
- URL filtering ID (unified mode)
- urlFiltering numberVersion 
- URL filtering version
- version number
- The version of the object
- advanced_malware_ strprotection_ id 
- Advanced malware protection ID
- advanced_malware_ intprotection_ version 
- Advanced malware protection version
- description str
- The description of the policy definition.
- intrusion_prevention_ strid 
- Intrusion prevention ID (unified mode)
- intrusion_prevention_ intversion 
- Intrusion prevention version
- name str
- The name of the policy definition.
- tls_action str
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- tls_ssl_ strdecryption_ id 
- TLS/SSL decryption ID
- tls_ssl_ intdecryption_ version 
- TLS/SSL decryption version
- url_filtering_ strid 
- URL filtering ID (unified mode)
- url_filtering_ intversion 
- URL filtering version
- version int
- The version of the object
- advancedMalware StringProtection Id 
- Advanced malware protection ID
- advancedMalware NumberProtection Version 
- Advanced malware protection version
- description String
- The description of the policy definition.
- intrusionPrevention StringId 
- Intrusion prevention ID (unified mode)
- intrusionPrevention NumberVersion 
- Intrusion prevention version
- name String
- The name of the policy definition.
- tlsAction String
- TLS Action - Choices: decrypt,skipDecrypt,doNotDecrypt
- tlsSsl StringDecryption Id 
- TLS/SSL decryption ID
- tlsSsl NumberDecryption Version 
- TLS/SSL decryption version
- urlFiltering StringId 
- URL filtering ID (unified mode)
- urlFiltering NumberVersion 
- URL filtering version
- version Number
- The version of the object
Import
$ pulumi import sdwan:index/advancedInspectionProfilePolicyDefinition:AdvancedInspectionProfilePolicyDefinition example "f6b2c44c-693c-4763-b010-895aa3d236bd"
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.
