Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi
sdwan.getUrlFilteringPolicyDefinition
Explore with Pulumi AI
This data source can read the URL Filtering Policy Definition .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getUrlFilteringPolicyDefinition({
    id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_url_filtering_policy_definition(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
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.LookupUrlFilteringPolicyDefinition(ctx, &sdwan.LookupUrlFilteringPolicyDefinitionArgs{
			Id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
		}, nil)
		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 = Sdwan.GetUrlFilteringPolicyDefinition.Invoke(new()
    {
        Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.SdwanFunctions;
import com.pulumi.sdwan.inputs.GetUrlFilteringPolicyDefinitionArgs;
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) {
        final var example = SdwanFunctions.getUrlFilteringPolicyDefinition(GetUrlFilteringPolicyDefinitionArgs.builder()
            .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: sdwan:getUrlFilteringPolicyDefinition
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getUrlFilteringPolicyDefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUrlFilteringPolicyDefinition(args: GetUrlFilteringPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetUrlFilteringPolicyDefinitionResult>
function getUrlFilteringPolicyDefinitionOutput(args: GetUrlFilteringPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetUrlFilteringPolicyDefinitionResult>def get_url_filtering_policy_definition(id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetUrlFilteringPolicyDefinitionResult
def get_url_filtering_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetUrlFilteringPolicyDefinitionResult]func LookupUrlFilteringPolicyDefinition(ctx *Context, args *LookupUrlFilteringPolicyDefinitionArgs, opts ...InvokeOption) (*LookupUrlFilteringPolicyDefinitionResult, error)
func LookupUrlFilteringPolicyDefinitionOutput(ctx *Context, args *LookupUrlFilteringPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupUrlFilteringPolicyDefinitionResultOutput> Note: This function is named LookupUrlFilteringPolicyDefinition in the Go SDK.
public static class GetUrlFilteringPolicyDefinition 
{
    public static Task<GetUrlFilteringPolicyDefinitionResult> InvokeAsync(GetUrlFilteringPolicyDefinitionArgs args, InvokeOptions? opts = null)
    public static Output<GetUrlFilteringPolicyDefinitionResult> Invoke(GetUrlFilteringPolicyDefinitionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUrlFilteringPolicyDefinitionResult> getUrlFilteringPolicyDefinition(GetUrlFilteringPolicyDefinitionArgs args, InvokeOptions options)
public static Output<GetUrlFilteringPolicyDefinitionResult> getUrlFilteringPolicyDefinition(GetUrlFilteringPolicyDefinitionArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getUrlFilteringPolicyDefinition:getUrlFilteringPolicyDefinition
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- The id of the object
- Id string
- The id of the object
- id String
- The id of the object
- id string
- The id of the object
- id str
- The id of the object
- id String
- The id of the object
getUrlFilteringPolicyDefinition Result
The following output properties are available:
- Alerts List<string>
- List of alerts options that will be exported as syslog messages
- AllowUrl stringList Id 
- Allow URL list ID
- AllowUrl intList Version 
- Allow URL list version
- BlockPage stringAction 
- Redirect to a URL or display a message when a blocked page is accessed.
- BlockPage stringContents 
- The message displayed or URL redirected to when a blocked page is accessed.
- BlockUrl stringList Id 
- Block URL list ID
- BlockUrl intList Version 
- Block URL list version
- Description string
- The description of the policy definition.
- Id string
- The id of the object
- Loggings
List<GetUrl Filtering Policy Definition Logging> 
- Mode string
- The policy mode
- 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
- WebCategories stringAction 
- whether the selected web categories should be blocked or allowed.
- WebReputation string
- The web reputation of the policy definition
- Alerts []string
- List of alerts options that will be exported as syslog messages
- AllowUrl stringList Id 
- Allow URL list ID
- AllowUrl intList Version 
- Allow URL list version
- BlockPage stringAction 
- Redirect to a URL or display a message when a blocked page is accessed.
- BlockPage stringContents 
- The message displayed or URL redirected to when a blocked page is accessed.
- BlockUrl stringList Id 
- Block URL list ID
- BlockUrl intList Version 
- Block URL list version
- Description string
- The description of the policy definition.
- Id string
- The id of the object
- Loggings
[]GetUrl Filtering Policy Definition Logging 
- Mode string
- The policy mode
- 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
- WebCategories stringAction 
- whether the selected web categories should be blocked or allowed.
- WebReputation string
- The web reputation of the policy definition
- alerts List<String>
- List of alerts options that will be exported as syslog messages
- allowUrl StringList Id 
- Allow URL list ID
- allowUrl IntegerList Version 
- Allow URL list version
- blockPage StringAction 
- Redirect to a URL or display a message when a blocked page is accessed.
- blockPage StringContents 
- The message displayed or URL redirected to when a blocked page is accessed.
- blockUrl StringList Id 
- Block URL list ID
- blockUrl IntegerList Version 
- Block URL list version
- description String
- The description of the policy definition.
- id String
- The id of the object
- loggings
List<GetUrl Filtering Policy Definition Logging> 
- mode String
- The policy mode
- 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
- webCategories StringAction 
- whether the selected web categories should be blocked or allowed.
- webReputation String
- The web reputation of the policy definition
- alerts string[]
- List of alerts options that will be exported as syslog messages
- allowUrl stringList Id 
- Allow URL list ID
- allowUrl numberList Version 
- Allow URL list version
- blockPage stringAction 
- Redirect to a URL or display a message when a blocked page is accessed.
- blockPage stringContents 
- The message displayed or URL redirected to when a blocked page is accessed.
- blockUrl stringList Id 
- Block URL list ID
- blockUrl numberList Version 
- Block URL list version
- description string
- The description of the policy definition.
- id string
- The id of the object
- loggings
GetUrl Filtering Policy Definition Logging[] 
- mode string
- The policy mode
- 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
- webCategories stringAction 
- whether the selected web categories should be blocked or allowed.
- webReputation string
- The web reputation of the policy definition
- alerts Sequence[str]
- List of alerts options that will be exported as syslog messages
- allow_url_ strlist_ id 
- Allow URL list ID
- allow_url_ intlist_ version 
- Allow URL list version
- block_page_ straction 
- Redirect to a URL or display a message when a blocked page is accessed.
- block_page_ strcontents 
- The message displayed or URL redirected to when a blocked page is accessed.
- block_url_ strlist_ id 
- Block URL list ID
- block_url_ intlist_ version 
- Block URL list version
- description str
- The description of the policy definition.
- id str
- The id of the object
- loggings
Sequence[GetUrl Filtering Policy Definition Logging] 
- mode str
- The policy mode
- 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_ straction 
- whether the selected web categories should be blocked or allowed.
- web_reputation str
- The web reputation of the policy definition
- alerts List<String>
- List of alerts options that will be exported as syslog messages
- allowUrl StringList Id 
- Allow URL list ID
- allowUrl NumberList Version 
- Allow URL list version
- blockPage StringAction 
- Redirect to a URL or display a message when a blocked page is accessed.
- blockPage StringContents 
- The message displayed or URL redirected to when a blocked page is accessed.
- blockUrl StringList Id 
- Block URL list ID
- blockUrl NumberList Version 
- Block URL list version
- description String
- The description of the policy definition.
- id String
- The id of the object
- loggings List<Property Map>
- mode String
- The policy mode
- 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
- webCategories StringAction 
- whether the selected web categories should be blocked or allowed.
- webReputation String
- The web reputation of the policy definition
Supporting Types
GetUrlFilteringPolicyDefinitionLogging     
- ExternalSyslog stringServer Ip 
- External Syslog Server IP
- ExternalSyslog stringServer Vpn 
- External Syslog Server VPN
- ExternalSyslog stringServer Ip 
- External Syslog Server IP
- ExternalSyslog stringServer Vpn 
- External Syslog Server VPN
- externalSyslog StringServer Ip 
- External Syslog Server IP
- externalSyslog StringServer Vpn 
- External Syslog Server VPN
- externalSyslog stringServer Ip 
- External Syslog Server IP
- externalSyslog stringServer Vpn 
- External Syslog Server VPN
- external_syslog_ strserver_ ip 
- External Syslog Server IP
- external_syslog_ strserver_ vpn 
- External Syslog Server VPN
- externalSyslog StringServer Ip 
- External Syslog Server IP
- externalSyslog StringServer Vpn 
- External Syslog Server VPN
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
