1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. AdvancedInspectionProfilePolicyDefinition
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

sdwan.AdvancedInspectionProfilePolicyDefinition

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

    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.
    AdvancedMalwareProtectionId string
    Advanced malware protection ID
    AdvancedMalwareProtectionVersion int
    Advanced malware protection version
    IntrusionPreventionId string
    Intrusion prevention ID (unified mode)
    IntrusionPreventionVersion int
    Intrusion prevention version
    Name string
    The name of the policy definition.
    TlsAction string
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    TlsSslDecryptionId string
    TLS/SSL decryption ID
    TlsSslDecryptionVersion int
    TLS/SSL decryption version
    UrlFilteringId string
    URL filtering ID (unified mode)
    UrlFilteringVersion int
    URL filtering version
    Description string
    The description of the policy definition.
    AdvancedMalwareProtectionId string
    Advanced malware protection ID
    AdvancedMalwareProtectionVersion int
    Advanced malware protection version
    IntrusionPreventionId string
    Intrusion prevention ID (unified mode)
    IntrusionPreventionVersion int
    Intrusion prevention version
    Name string
    The name of the policy definition.
    TlsAction string
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    TlsSslDecryptionId string
    TLS/SSL decryption ID
    TlsSslDecryptionVersion int
    TLS/SSL decryption version
    UrlFilteringId string
    URL filtering ID (unified mode)
    UrlFilteringVersion int
    URL filtering version
    description String
    The description of the policy definition.
    advancedMalwareProtectionId String
    Advanced malware protection ID
    advancedMalwareProtectionVersion Integer
    Advanced malware protection version
    intrusionPreventionId String
    Intrusion prevention ID (unified mode)
    intrusionPreventionVersion Integer
    Intrusion prevention version
    name String
    The name of the policy definition.
    tlsAction String
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    tlsSslDecryptionId String
    TLS/SSL decryption ID
    tlsSslDecryptionVersion Integer
    TLS/SSL decryption version
    urlFilteringId String
    URL filtering ID (unified mode)
    urlFilteringVersion Integer
    URL filtering version
    description string
    The description of the policy definition.
    advancedMalwareProtectionId string
    Advanced malware protection ID
    advancedMalwareProtectionVersion number
    Advanced malware protection version
    intrusionPreventionId string
    Intrusion prevention ID (unified mode)
    intrusionPreventionVersion number
    Intrusion prevention version
    name string
    The name of the policy definition.
    tlsAction string
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    tlsSslDecryptionId string
    TLS/SSL decryption ID
    tlsSslDecryptionVersion number
    TLS/SSL decryption version
    urlFilteringId string
    URL filtering ID (unified mode)
    urlFilteringVersion number
    URL filtering version
    description str
    The description of the policy definition.
    advanced_malware_protection_id str
    Advanced malware protection ID
    advanced_malware_protection_version int
    Advanced malware protection version
    intrusion_prevention_id str
    Intrusion prevention ID (unified mode)
    intrusion_prevention_version int
    Intrusion prevention version
    name str
    The name of the policy definition.
    tls_action str
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    tls_ssl_decryption_id str
    TLS/SSL decryption ID
    tls_ssl_decryption_version int
    TLS/SSL decryption version
    url_filtering_id str
    URL filtering ID (unified mode)
    url_filtering_version int
    URL filtering version
    description String
    The description of the policy definition.
    advancedMalwareProtectionId String
    Advanced malware protection ID
    advancedMalwareProtectionVersion Number
    Advanced malware protection version
    intrusionPreventionId String
    Intrusion prevention ID (unified mode)
    intrusionPreventionVersion Number
    Intrusion prevention version
    name String
    The name of the policy definition.
    tlsAction String
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    tlsSslDecryptionId String
    TLS/SSL decryption ID
    tlsSslDecryptionVersion Number
    TLS/SSL decryption version
    urlFilteringId String
    URL filtering ID (unified mode)
    urlFilteringVersion Number
    URL filtering version

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AdvancedInspectionProfilePolicyDefinition resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the object
    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the object
    id String
    The provider-assigned unique ID for this managed resource.
    version Integer
    The version of the object
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    The version of the object
    id str
    The provider-assigned unique ID for this managed resource.
    version int
    The version of the object
    id String
    The provider-assigned unique ID for this managed resource.
    version Number
    The version of the object

    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) -> AdvancedInspectionProfilePolicyDefinition
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AdvancedMalwareProtectionId string
    Advanced malware protection ID
    AdvancedMalwareProtectionVersion int
    Advanced malware protection version
    Description string
    The description of the policy definition.
    IntrusionPreventionId string
    Intrusion prevention ID (unified mode)
    IntrusionPreventionVersion int
    Intrusion prevention version
    Name string
    The name of the policy definition.
    TlsAction string
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    TlsSslDecryptionId string
    TLS/SSL decryption ID
    TlsSslDecryptionVersion int
    TLS/SSL decryption version
    UrlFilteringId string
    URL filtering ID (unified mode)
    UrlFilteringVersion int
    URL filtering version
    Version int
    The version of the object
    AdvancedMalwareProtectionId string
    Advanced malware protection ID
    AdvancedMalwareProtectionVersion int
    Advanced malware protection version
    Description string
    The description of the policy definition.
    IntrusionPreventionId string
    Intrusion prevention ID (unified mode)
    IntrusionPreventionVersion int
    Intrusion prevention version
    Name string
    The name of the policy definition.
    TlsAction string
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    TlsSslDecryptionId string
    TLS/SSL decryption ID
    TlsSslDecryptionVersion int
    TLS/SSL decryption version
    UrlFilteringId string
    URL filtering ID (unified mode)
    UrlFilteringVersion int
    URL filtering version
    Version int
    The version of the object
    advancedMalwareProtectionId String
    Advanced malware protection ID
    advancedMalwareProtectionVersion Integer
    Advanced malware protection version
    description String
    The description of the policy definition.
    intrusionPreventionId String
    Intrusion prevention ID (unified mode)
    intrusionPreventionVersion Integer
    Intrusion prevention version
    name String
    The name of the policy definition.
    tlsAction String
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    tlsSslDecryptionId String
    TLS/SSL decryption ID
    tlsSslDecryptionVersion Integer
    TLS/SSL decryption version
    urlFilteringId String
    URL filtering ID (unified mode)
    urlFilteringVersion Integer
    URL filtering version
    version Integer
    The version of the object
    advancedMalwareProtectionId string
    Advanced malware protection ID
    advancedMalwareProtectionVersion number
    Advanced malware protection version
    description string
    The description of the policy definition.
    intrusionPreventionId string
    Intrusion prevention ID (unified mode)
    intrusionPreventionVersion number
    Intrusion prevention version
    name string
    The name of the policy definition.
    tlsAction string
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    tlsSslDecryptionId string
    TLS/SSL decryption ID
    tlsSslDecryptionVersion number
    TLS/SSL decryption version
    urlFilteringId string
    URL filtering ID (unified mode)
    urlFilteringVersion number
    URL filtering version
    version number
    The version of the object
    advanced_malware_protection_id str
    Advanced malware protection ID
    advanced_malware_protection_version int
    Advanced malware protection version
    description str
    The description of the policy definition.
    intrusion_prevention_id str
    Intrusion prevention ID (unified mode)
    intrusion_prevention_version int
    Intrusion prevention version
    name str
    The name of the policy definition.
    tls_action str
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    tls_ssl_decryption_id str
    TLS/SSL decryption ID
    tls_ssl_decryption_version int
    TLS/SSL decryption version
    url_filtering_id str
    URL filtering ID (unified mode)
    url_filtering_version int
    URL filtering version
    version int
    The version of the object
    advancedMalwareProtectionId String
    Advanced malware protection ID
    advancedMalwareProtectionVersion Number
    Advanced malware protection version
    description String
    The description of the policy definition.
    intrusionPreventionId String
    Intrusion prevention ID (unified mode)
    intrusionPreventionVersion Number
    Intrusion prevention version
    name String
    The name of the policy definition.
    tlsAction String
    TLS Action - Choices: decrypt, skipDecrypt, doNotDecrypt
    tlsSslDecryptionId String
    TLS/SSL decryption ID
    tlsSslDecryptionVersion Number
    TLS/SSL decryption version
    urlFilteringId String
    URL filtering ID (unified mode)
    urlFilteringVersion Number
    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 sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi