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

sdwan.UrlFilteringPolicyDefinition

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 URL Filtering Policy Definition .

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = new sdwan.UrlFilteringPolicyDefinition("example", {
        name: "Example",
        description: "My description",
        mode: "security",
        alerts: ["blacklist"],
        webCategories: ["alcohol-and-tobacco"],
        webCategoriesAction: "allow",
        webReputation: "moderate-risk",
        targetVpns: ["1"],
        blockPageAction: "text",
        blockPageContents: "Access to the requested page has been denied. Please contact your Network Administrator",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.UrlFilteringPolicyDefinition("example",
        name="Example",
        description="My description",
        mode="security",
        alerts=["blacklist"],
        web_categories=["alcohol-and-tobacco"],
        web_categories_action="allow",
        web_reputation="moderate-risk",
        target_vpns=["1"],
        block_page_action="text",
        block_page_contents="Access to the requested page has been denied. Please contact your Network Administrator")
    
    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.NewUrlFilteringPolicyDefinition(ctx, "example", &sdwan.UrlFilteringPolicyDefinitionArgs{
    			Name:        pulumi.String("Example"),
    			Description: pulumi.String("My description"),
    			Mode:        pulumi.String("security"),
    			Alerts: pulumi.StringArray{
    				pulumi.String("blacklist"),
    			},
    			WebCategories: pulumi.StringArray{
    				pulumi.String("alcohol-and-tobacco"),
    			},
    			WebCategoriesAction: pulumi.String("allow"),
    			WebReputation:       pulumi.String("moderate-risk"),
    			TargetVpns: pulumi.StringArray{
    				pulumi.String("1"),
    			},
    			BlockPageAction:   pulumi.String("text"),
    			BlockPageContents: pulumi.String("Access to the requested page has been denied. Please contact your Network Administrator"),
    		})
    		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.UrlFilteringPolicyDefinition("example", new()
        {
            Name = "Example",
            Description = "My description",
            Mode = "security",
            Alerts = new[]
            {
                "blacklist",
            },
            WebCategories = new[]
            {
                "alcohol-and-tobacco",
            },
            WebCategoriesAction = "allow",
            WebReputation = "moderate-risk",
            TargetVpns = new[]
            {
                "1",
            },
            BlockPageAction = "text",
            BlockPageContents = "Access to the requested page has been denied. Please contact your Network Administrator",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.UrlFilteringPolicyDefinition;
    import com.pulumi.sdwan.UrlFilteringPolicyDefinitionArgs;
    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 UrlFilteringPolicyDefinition("example", UrlFilteringPolicyDefinitionArgs.builder()
                .name("Example")
                .description("My description")
                .mode("security")
                .alerts("blacklist")
                .webCategories("alcohol-and-tobacco")
                .webCategoriesAction("allow")
                .webReputation("moderate-risk")
                .targetVpns("1")
                .blockPageAction("text")
                .blockPageContents("Access to the requested page has been denied. Please contact your Network Administrator")
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:UrlFilteringPolicyDefinition
        properties:
          name: Example
          description: My description
          mode: security
          alerts:
            - blacklist
          webCategories:
            - alcohol-and-tobacco
          webCategoriesAction: allow
          webReputation: moderate-risk
          targetVpns:
            - '1'
          blockPageAction: text
          blockPageContents: Access to the requested page has been denied. Please contact your Network Administrator
    

    Create UrlFilteringPolicyDefinition Resource

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

    Constructor syntax

    new UrlFilteringPolicyDefinition(name: string, args: UrlFilteringPolicyDefinitionArgs, opts?: CustomResourceOptions);
    @overload
    def UrlFilteringPolicyDefinition(resource_name: str,
                                     args: UrlFilteringPolicyDefinitionArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def UrlFilteringPolicyDefinition(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     description: Optional[str] = None,
                                     block_url_list_version: Optional[int] = None,
                                     allow_url_list_version: Optional[int] = None,
                                     block_page_action: Optional[str] = None,
                                     block_page_contents: Optional[str] = None,
                                     block_url_list_id: Optional[str] = None,
                                     alerts: Optional[Sequence[str]] = None,
                                     allow_url_list_id: Optional[str] = None,
                                     mode: Optional[str] = None,
                                     name: Optional[str] = None,
                                     target_vpns: Optional[Sequence[str]] = None,
                                     web_categories: Optional[Sequence[str]] = None,
                                     web_categories_action: Optional[str] = None,
                                     web_reputation: Optional[str] = None)
    func NewUrlFilteringPolicyDefinition(ctx *Context, name string, args UrlFilteringPolicyDefinitionArgs, opts ...ResourceOption) (*UrlFilteringPolicyDefinition, error)
    public UrlFilteringPolicyDefinition(string name, UrlFilteringPolicyDefinitionArgs args, CustomResourceOptions? opts = null)
    public UrlFilteringPolicyDefinition(String name, UrlFilteringPolicyDefinitionArgs args)
    public UrlFilteringPolicyDefinition(String name, UrlFilteringPolicyDefinitionArgs args, CustomResourceOptions options)
    
    type: sdwan:UrlFilteringPolicyDefinition
    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 UrlFilteringPolicyDefinitionArgs
    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 UrlFilteringPolicyDefinitionArgs
    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 UrlFilteringPolicyDefinitionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UrlFilteringPolicyDefinitionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UrlFilteringPolicyDefinitionArgs
    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 urlFilteringPolicyDefinitionResource = new Sdwan.UrlFilteringPolicyDefinition("urlFilteringPolicyDefinitionResource", new()
    {
        Description = "string",
        BlockUrlListVersion = 0,
        AllowUrlListVersion = 0,
        BlockPageAction = "string",
        BlockPageContents = "string",
        BlockUrlListId = "string",
        Alerts = new[]
        {
            "string",
        },
        AllowUrlListId = "string",
        Mode = "string",
        Name = "string",
        TargetVpns = new[]
        {
            "string",
        },
        WebCategories = new[]
        {
            "string",
        },
        WebCategoriesAction = "string",
        WebReputation = "string",
    });
    
    example, err := sdwan.NewUrlFilteringPolicyDefinition(ctx, "urlFilteringPolicyDefinitionResource", &sdwan.UrlFilteringPolicyDefinitionArgs{
    	Description:         pulumi.String("string"),
    	BlockUrlListVersion: pulumi.Int(0),
    	AllowUrlListVersion: pulumi.Int(0),
    	BlockPageAction:     pulumi.String("string"),
    	BlockPageContents:   pulumi.String("string"),
    	BlockUrlListId:      pulumi.String("string"),
    	Alerts: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AllowUrlListId: pulumi.String("string"),
    	Mode:           pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	TargetVpns: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	WebCategories: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	WebCategoriesAction: pulumi.String("string"),
    	WebReputation:       pulumi.String("string"),
    })
    
    var urlFilteringPolicyDefinitionResource = new UrlFilteringPolicyDefinition("urlFilteringPolicyDefinitionResource", UrlFilteringPolicyDefinitionArgs.builder()
        .description("string")
        .blockUrlListVersion(0)
        .allowUrlListVersion(0)
        .blockPageAction("string")
        .blockPageContents("string")
        .blockUrlListId("string")
        .alerts("string")
        .allowUrlListId("string")
        .mode("string")
        .name("string")
        .targetVpns("string")
        .webCategories("string")
        .webCategoriesAction("string")
        .webReputation("string")
        .build());
    
    url_filtering_policy_definition_resource = sdwan.UrlFilteringPolicyDefinition("urlFilteringPolicyDefinitionResource",
        description="string",
        block_url_list_version=0,
        allow_url_list_version=0,
        block_page_action="string",
        block_page_contents="string",
        block_url_list_id="string",
        alerts=["string"],
        allow_url_list_id="string",
        mode="string",
        name="string",
        target_vpns=["string"],
        web_categories=["string"],
        web_categories_action="string",
        web_reputation="string")
    
    const urlFilteringPolicyDefinitionResource = new sdwan.UrlFilteringPolicyDefinition("urlFilteringPolicyDefinitionResource", {
        description: "string",
        blockUrlListVersion: 0,
        allowUrlListVersion: 0,
        blockPageAction: "string",
        blockPageContents: "string",
        blockUrlListId: "string",
        alerts: ["string"],
        allowUrlListId: "string",
        mode: "string",
        name: "string",
        targetVpns: ["string"],
        webCategories: ["string"],
        webCategoriesAction: "string",
        webReputation: "string",
    });
    
    type: sdwan:UrlFilteringPolicyDefinition
    properties:
        alerts:
            - string
        allowUrlListId: string
        allowUrlListVersion: 0
        blockPageAction: string
        blockPageContents: string
        blockUrlListId: string
        blockUrlListVersion: 0
        description: string
        mode: string
        name: string
        targetVpns:
            - string
        webCategories:
            - string
        webCategoriesAction: string
        webReputation: string
    

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

    Description string
    The description of the policy definition.
    Alerts List<string>
    List of alerts options that will be exported as syslog messages
    AllowUrlListId string
    Allow URL list ID
    AllowUrlListVersion int
    Allow URL list version
    BlockPageAction string
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    BlockPageContents string
    The message displayed or URL redirected to when a blocked page is accessed.
    BlockUrlListId string
    Block URL list ID
    BlockUrlListVersion int
    Block URL list version
    Mode string
    The policy mode - Choices: security, unified
    Name string
    The name of the policy definition.
    TargetVpns List<string>
    List of VPN IDs
    WebCategories List<string>
    List of categories to block or allow
    WebCategoriesAction string
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    WebReputation string
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy
    Description string
    The description of the policy definition.
    Alerts []string
    List of alerts options that will be exported as syslog messages
    AllowUrlListId string
    Allow URL list ID
    AllowUrlListVersion int
    Allow URL list version
    BlockPageAction string
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    BlockPageContents string
    The message displayed or URL redirected to when a blocked page is accessed.
    BlockUrlListId string
    Block URL list ID
    BlockUrlListVersion int
    Block URL list version
    Mode string
    The policy mode - Choices: security, unified
    Name string
    The name of the policy definition.
    TargetVpns []string
    List of VPN IDs
    WebCategories []string
    List of categories to block or allow
    WebCategoriesAction string
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    WebReputation string
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy
    description String
    The description of the policy definition.
    alerts List<String>
    List of alerts options that will be exported as syslog messages
    allowUrlListId String
    Allow URL list ID
    allowUrlListVersion Integer
    Allow URL list version
    blockPageAction String
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    blockPageContents String
    The message displayed or URL redirected to when a blocked page is accessed.
    blockUrlListId String
    Block URL list ID
    blockUrlListVersion Integer
    Block URL list version
    mode String
    The policy mode - Choices: security, unified
    name String
    The name of the policy definition.
    targetVpns List<String>
    List of VPN IDs
    webCategories List<String>
    List of categories to block or allow
    webCategoriesAction String
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    webReputation String
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy
    description string
    The description of the policy definition.
    alerts string[]
    List of alerts options that will be exported as syslog messages
    allowUrlListId string
    Allow URL list ID
    allowUrlListVersion number
    Allow URL list version
    blockPageAction string
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    blockPageContents string
    The message displayed or URL redirected to when a blocked page is accessed.
    blockUrlListId string
    Block URL list ID
    blockUrlListVersion number
    Block URL list version
    mode string
    The policy mode - Choices: security, unified
    name string
    The name of the policy definition.
    targetVpns string[]
    List of VPN IDs
    webCategories string[]
    List of categories to block or allow
    webCategoriesAction string
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    webReputation string
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy
    description str
    The description of the policy definition.
    alerts Sequence[str]
    List of alerts options that will be exported as syslog messages
    allow_url_list_id str
    Allow URL list ID
    allow_url_list_version int
    Allow URL list version
    block_page_action str
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    block_page_contents str
    The message displayed or URL redirected to when a blocked page is accessed.
    block_url_list_id str
    Block URL list ID
    block_url_list_version int
    Block URL list version
    mode str
    The policy mode - Choices: security, unified
    name str
    The name of the policy definition.
    target_vpns Sequence[str]
    List of VPN IDs
    web_categories Sequence[str]
    List of categories to block or allow
    web_categories_action str
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    web_reputation str
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy
    description String
    The description of the policy definition.
    alerts List<String>
    List of alerts options that will be exported as syslog messages
    allowUrlListId String
    Allow URL list ID
    allowUrlListVersion Number
    Allow URL list version
    blockPageAction String
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    blockPageContents String
    The message displayed or URL redirected to when a blocked page is accessed.
    blockUrlListId String
    Block URL list ID
    blockUrlListVersion Number
    Block URL list version
    mode String
    The policy mode - Choices: security, unified
    name String
    The name of the policy definition.
    targetVpns List<String>
    List of VPN IDs
    webCategories List<String>
    List of categories to block or allow
    webCategoriesAction String
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    webReputation String
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy

    Outputs

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

    Get an existing UrlFilteringPolicyDefinition 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?: UrlFilteringPolicyDefinitionState, opts?: CustomResourceOptions): UrlFilteringPolicyDefinition
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alerts: Optional[Sequence[str]] = None,
            allow_url_list_id: Optional[str] = None,
            allow_url_list_version: Optional[int] = None,
            block_page_action: Optional[str] = None,
            block_page_contents: Optional[str] = None,
            block_url_list_id: Optional[str] = None,
            block_url_list_version: Optional[int] = None,
            description: Optional[str] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            target_vpns: Optional[Sequence[str]] = None,
            version: Optional[int] = None,
            web_categories: Optional[Sequence[str]] = None,
            web_categories_action: Optional[str] = None,
            web_reputation: Optional[str] = None) -> UrlFilteringPolicyDefinition
    func GetUrlFilteringPolicyDefinition(ctx *Context, name string, id IDInput, state *UrlFilteringPolicyDefinitionState, opts ...ResourceOption) (*UrlFilteringPolicyDefinition, error)
    public static UrlFilteringPolicyDefinition Get(string name, Input<string> id, UrlFilteringPolicyDefinitionState? state, CustomResourceOptions? opts = null)
    public static UrlFilteringPolicyDefinition get(String name, Output<String> id, UrlFilteringPolicyDefinitionState 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:
    Alerts List<string>
    List of alerts options that will be exported as syslog messages
    AllowUrlListId string
    Allow URL list ID
    AllowUrlListVersion int
    Allow URL list version
    BlockPageAction string
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    BlockPageContents string
    The message displayed or URL redirected to when a blocked page is accessed.
    BlockUrlListId string
    Block URL list ID
    BlockUrlListVersion int
    Block URL list version
    Description string
    The description of the policy definition.
    Mode string
    The policy mode - Choices: security, unified
    Name string
    The name of the policy definition.
    TargetVpns List<string>
    List of VPN IDs
    Version int
    The version of the object
    WebCategories List<string>
    List of categories to block or allow
    WebCategoriesAction string
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    WebReputation string
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy
    Alerts []string
    List of alerts options that will be exported as syslog messages
    AllowUrlListId string
    Allow URL list ID
    AllowUrlListVersion int
    Allow URL list version
    BlockPageAction string
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    BlockPageContents string
    The message displayed or URL redirected to when a blocked page is accessed.
    BlockUrlListId string
    Block URL list ID
    BlockUrlListVersion int
    Block URL list version
    Description string
    The description of the policy definition.
    Mode string
    The policy mode - Choices: security, unified
    Name string
    The name of the policy definition.
    TargetVpns []string
    List of VPN IDs
    Version int
    The version of the object
    WebCategories []string
    List of categories to block or allow
    WebCategoriesAction string
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    WebReputation string
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy
    alerts List<String>
    List of alerts options that will be exported as syslog messages
    allowUrlListId String
    Allow URL list ID
    allowUrlListVersion Integer
    Allow URL list version
    blockPageAction String
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    blockPageContents String
    The message displayed or URL redirected to when a blocked page is accessed.
    blockUrlListId String
    Block URL list ID
    blockUrlListVersion Integer
    Block URL list version
    description String
    The description of the policy definition.
    mode String
    The policy mode - Choices: security, unified
    name String
    The name of the policy definition.
    targetVpns List<String>
    List of VPN IDs
    version Integer
    The version of the object
    webCategories List<String>
    List of categories to block or allow
    webCategoriesAction String
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    webReputation String
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy
    alerts string[]
    List of alerts options that will be exported as syslog messages
    allowUrlListId string
    Allow URL list ID
    allowUrlListVersion number
    Allow URL list version
    blockPageAction string
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    blockPageContents string
    The message displayed or URL redirected to when a blocked page is accessed.
    blockUrlListId string
    Block URL list ID
    blockUrlListVersion number
    Block URL list version
    description string
    The description of the policy definition.
    mode string
    The policy mode - Choices: security, unified
    name string
    The name of the policy definition.
    targetVpns string[]
    List of VPN IDs
    version number
    The version of the object
    webCategories string[]
    List of categories to block or allow
    webCategoriesAction string
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    webReputation string
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy
    alerts Sequence[str]
    List of alerts options that will be exported as syslog messages
    allow_url_list_id str
    Allow URL list ID
    allow_url_list_version int
    Allow URL list version
    block_page_action str
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    block_page_contents str
    The message displayed or URL redirected to when a blocked page is accessed.
    block_url_list_id str
    Block URL list ID
    block_url_list_version int
    Block URL list version
    description str
    The description of the policy definition.
    mode str
    The policy mode - Choices: security, unified
    name str
    The name of the policy definition.
    target_vpns Sequence[str]
    List of VPN IDs
    version int
    The version of the object
    web_categories Sequence[str]
    List of categories to block or allow
    web_categories_action str
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    web_reputation str
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy
    alerts List<String>
    List of alerts options that will be exported as syslog messages
    allowUrlListId String
    Allow URL list ID
    allowUrlListVersion Number
    Allow URL list version
    blockPageAction String
    Redirect to a URL or display a message when a blocked page is accessed. - Choices: text, redirectUrl
    blockPageContents String
    The message displayed or URL redirected to when a blocked page is accessed.
    blockUrlListId String
    Block URL list ID
    blockUrlListVersion Number
    Block URL list version
    description String
    The description of the policy definition.
    mode String
    The policy mode - Choices: security, unified
    name String
    The name of the policy definition.
    targetVpns List<String>
    List of VPN IDs
    version Number
    The version of the object
    webCategories List<String>
    List of categories to block or allow
    webCategoriesAction String
    whether the selected web categories should be blocked or allowed. - Choices: block, allow
    webReputation String
    The web reputation of the policy definition - Choices: high-risk, suspicious, moderate-risk, low-risk, trustworthy

    Import

    $ pulumi import sdwan:index/urlFilteringPolicyDefinition:UrlFilteringPolicyDefinition 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