1. Registry
  2. Packages
  3. Cisco Catalyst SD-WAN Provider
  4. API Docs
  5. getPolicyObjectSecurityRuleSet
Viewing docs for Cisco Catalyst SD-WAN v0.9.7
published on Wednesday, Oct 28, 2026 by Pulumi
sdwan logo Cisco Catalyst SD-WAN
Viewing docs for Cisco Catalyst SD-WAN v0.9.7
published on Wednesday, Oct 28, 2026 by Pulumi

    This data source can read the Policy Object Security Rule Set Policy_object.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getPolicyObjectSecurityRuleSet({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
        featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_policy_object_security_rule_set(id="f6b2c44c-693c-4763-b010-895aa3d236bd",
        feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
    
    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.GetPolicyObjectSecurityRuleSet(ctx, &sdwan.LookupPolicyObjectSecurityRuleSetArgs{
    			Id:               pulumi.StringRef("f6b2c44c-693c-4763-b010-895aa3d236bd"),
    			FeatureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    		}, 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.GetPolicyObjectSecurityRuleSet.Invoke(new()
        {
            Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
            FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        });
    
    });
    
    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.GetPolicyObjectSecurityRuleSetArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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.getPolicyObjectSecurityRuleSet(GetPolicyObjectSecurityRuleSetArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: sdwan:getPolicyObjectSecurityRuleSet
          arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
            featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
    
    terraform {
      required_providers {
        sdwan = {
          source = "pulumi/sdwan"
        }
      }
    }
    
    data "sdwan_policy_object_security_rule_set" "example" {
      id                 = "f6b2c44c-693c-4763-b010-895aa3d236bd"
      feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
    }
    

    Using getPolicyObjectSecurityRuleSet

    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 getPolicyObjectSecurityRuleSet(args: GetPolicyObjectSecurityRuleSetArgs, opts?: InvokeOptions): Promise<GetPolicyObjectSecurityRuleSetResult>
    function getPolicyObjectSecurityRuleSetOutput(args: GetPolicyObjectSecurityRuleSetOutputArgs, opts?: InvokeOutputOptions): Output<GetPolicyObjectSecurityRuleSetResult>
    def get_policy_object_security_rule_set(feature_profile_id: Optional[str] = None,
                                            id: Optional[str] = None,
                                            name: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetPolicyObjectSecurityRuleSetResult
    def get_policy_object_security_rule_set_output(feature_profile_id: pulumi.Input[Optional[str]] = None,
                                            id: pulumi.Input[Optional[str]] = None,
                                            name: pulumi.Input[Optional[str]] = None,
                                            opts: Optional[InvokeOutputOptions] = None) -> Output[GetPolicyObjectSecurityRuleSetResult]
    func LookupPolicyObjectSecurityRuleSet(ctx *Context, args *LookupPolicyObjectSecurityRuleSetArgs, opts ...InvokeOption) (*LookupPolicyObjectSecurityRuleSetResult, error)
    func LookupPolicyObjectSecurityRuleSetOutput(ctx *Context, args *LookupPolicyObjectSecurityRuleSetOutputArgs, opts ...InvokeOption) LookupPolicyObjectSecurityRuleSetResultOutput

    > Note: This function is named LookupPolicyObjectSecurityRuleSet in the Go SDK.

    public static class GetPolicyObjectSecurityRuleSet 
    {
        public static Task<GetPolicyObjectSecurityRuleSetResult> InvokeAsync(GetPolicyObjectSecurityRuleSetArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyObjectSecurityRuleSetResult> Invoke(GetPolicyObjectSecurityRuleSetInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyObjectSecurityRuleSetResult> Invoke(GetPolicyObjectSecurityRuleSetInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetPolicyObjectSecurityRuleSetResult> getPolicyObjectSecurityRuleSet(GetPolicyObjectSecurityRuleSetArgs args, InvokeOptions options)
    public static Output<GetPolicyObjectSecurityRuleSetResult> getPolicyObjectSecurityRuleSet(GetPolicyObjectSecurityRuleSetArgs args, InvokeOptions options)
    public static Output<GetPolicyObjectSecurityRuleSetResult> getPolicyObjectSecurityRuleSet(GetPolicyObjectSecurityRuleSetArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: sdwan:index/getPolicyObjectSecurityRuleSet:getPolicyObjectSecurityRuleSet
      arguments:
        # arguments dictionary
    data "sdwan_get_policy_object_security_rule_set" "name" {
        # arguments
    }

    The following arguments are supported:

    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Policy_object
    Name string
    The name of the Policy_object
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Policy_object
    Name string
    The name of the Policy_object
    feature_profile_id string
    Feature Profile ID
    id string
    The id of the Policy_object
    name string
    The name of the Policy_object
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Policy_object
    name String
    The name of the Policy_object
    featureProfileId string
    Feature Profile ID
    id string
    The id of the Policy_object
    name string
    The name of the Policy_object
    feature_profile_id str
    Feature Profile ID
    id str
    The id of the Policy_object
    name str
    The name of the Policy_object
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Policy_object
    name String
    The name of the Policy_object

    getPolicyObjectSecurityRuleSet Result

    The following output properties are available:

    Description string
    The description of the Policy_object
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Policy_object
    Name string
    The name of the Policy_object
    Sequences List<GetPolicyObjectSecurityRuleSetSequence>
    select definition of rule
    Version int
    The version of the Policy_object
    Description string
    The description of the Policy_object
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Policy_object
    Name string
    The name of the Policy_object
    Sequences []GetPolicyObjectSecurityRuleSetSequence
    select definition of rule
    Version int
    The version of the Policy_object
    description string
    The description of the Policy_object
    feature_profile_id string
    Feature Profile ID
    id string
    The id of the Policy_object
    name string
    The name of the Policy_object
    sequences list(object)
    select definition of rule
    version number
    The version of the Policy_object
    description String
    The description of the Policy_object
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Policy_object
    name String
    The name of the Policy_object
    sequences List<GetPolicyObjectSecurityRuleSetSequence>
    select definition of rule
    version Integer
    The version of the Policy_object
    description string
    The description of the Policy_object
    featureProfileId string
    Feature Profile ID
    id string
    The id of the Policy_object
    name string
    The name of the Policy_object
    sequences GetPolicyObjectSecurityRuleSetSequence[]
    select definition of rule
    version number
    The version of the Policy_object
    description str
    The description of the Policy_object
    feature_profile_id str
    Feature Profile ID
    id str
    The id of the Policy_object
    name str
    The name of the Policy_object
    sequences Sequence[GetPolicyObjectSecurityRuleSetSequence]
    select definition of rule
    version int
    The version of the Policy_object
    description String
    The description of the Policy_object
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Policy_object
    name String
    The name of the Policy_object
    sequences List<Property Map>
    select definition of rule
    version Number
    The version of the Policy_object

    Supporting Types

    GetPolicyObjectSecurityRuleSetSequence

    Action string
    action
    ActionVariable string
    Variable name
    DestinationDataIpv4PrefixListIds List<string>
    DestinationDataIpv6PrefixListIds List<string>
    DestinationFqdnListIds List<string>
    DestinationFqdns List<string>
    DestinationFqdnsVariable string
    Variable name
    DestinationGeoLocationListIds List<string>
    DestinationGeoLocations List<string>
    Destination Geolocation
    DestinationGeoLocationsVariable string
    Variable name
    DestinationIpv4Prefixes List<string>
    DestinationIpv4PrefixesVariable string
    Variable name
    DestinationIpv6Prefixes List<string>
    DestinationIpv6PrefixesVariable string
    Variable name
    DestinationObjectGroupListIds List<string>
    DestinationPortListIds List<string>
    DestinationPorts List<string>
    DestinationPortsVariable string
    Variable name
    Name string
    Sequence name
    NameVariable string
    Variable name
    ProtocolNameListIds List<string>
    ProtocolNames List<string>
    ProtocolNamesVariable string
    Variable name
    Protocols List<string>
    protocol
    SequenceId string
    Sequence Id
    SequenceIdVariable string
    Variable name
    SequenceIpType string
    ipv4/ ipv6
    SourceDataIpv4PrefixListIds List<string>
    SourceDataIpv6PrefixListIds List<string>
    SourceGeoLocationListIds List<string>
    SourceGeoLocations List<string>
    Source Geolocation
    SourceGeoLocationsVariable string
    Variable name
    SourceIpv4Prefixes List<string>
    SourceIpv4PrefixesVariable string
    Variable name
    SourceIpv6Prefixes List<string>
    SourceIpv6PrefixesVariable string
    Variable name
    SourceObjectGroupListIds List<string>
    SourcePortListIds List<string>
    SourcePorts List<string>
    SourcePortsVariable string
    Variable name
    Action string
    action
    ActionVariable string
    Variable name
    DestinationDataIpv4PrefixListIds []string
    DestinationDataIpv6PrefixListIds []string
    DestinationFqdnListIds []string
    DestinationFqdns []string
    DestinationFqdnsVariable string
    Variable name
    DestinationGeoLocationListIds []string
    DestinationGeoLocations []string
    Destination Geolocation
    DestinationGeoLocationsVariable string
    Variable name
    DestinationIpv4Prefixes []string
    DestinationIpv4PrefixesVariable string
    Variable name
    DestinationIpv6Prefixes []string
    DestinationIpv6PrefixesVariable string
    Variable name
    DestinationObjectGroupListIds []string
    DestinationPortListIds []string
    DestinationPorts []string
    DestinationPortsVariable string
    Variable name
    Name string
    Sequence name
    NameVariable string
    Variable name
    ProtocolNameListIds []string
    ProtocolNames []string
    ProtocolNamesVariable string
    Variable name
    Protocols []string
    protocol
    SequenceId string
    Sequence Id
    SequenceIdVariable string
    Variable name
    SequenceIpType string
    ipv4/ ipv6
    SourceDataIpv4PrefixListIds []string
    SourceDataIpv6PrefixListIds []string
    SourceGeoLocationListIds []string
    SourceGeoLocations []string
    Source Geolocation
    SourceGeoLocationsVariable string
    Variable name
    SourceIpv4Prefixes []string
    SourceIpv4PrefixesVariable string
    Variable name
    SourceIpv6Prefixes []string
    SourceIpv6PrefixesVariable string
    Variable name
    SourceObjectGroupListIds []string
    SourcePortListIds []string
    SourcePorts []string
    SourcePortsVariable string
    Variable name
    action string
    action
    action_variable string
    Variable name
    destination_data_ipv4_prefix_list_ids list(string)
    destination_data_ipv6_prefix_list_ids list(string)
    destination_fqdn_list_ids list(string)
    destination_fqdns list(string)
    destination_fqdns_variable string
    Variable name
    destination_geo_location_list_ids list(string)
    destination_geo_locations list(string)
    Destination Geolocation
    destination_geo_locations_variable string
    Variable name
    destination_ipv4_prefixes list(string)
    destination_ipv4_prefixes_variable string
    Variable name
    destination_ipv6_prefixes list(string)
    destination_ipv6_prefixes_variable string
    Variable name
    destination_object_group_list_ids list(string)
    destination_port_list_ids list(string)
    destination_ports list(string)
    destination_ports_variable string
    Variable name
    name string
    Sequence name
    name_variable string
    Variable name
    protocol_name_list_ids list(string)
    protocol_names list(string)
    protocol_names_variable string
    Variable name
    protocols list(string)
    protocol
    sequence_id string
    Sequence Id
    sequence_id_variable string
    Variable name
    sequence_ip_type string
    ipv4/ ipv6
    source_data_ipv4_prefix_list_ids list(string)
    source_data_ipv6_prefix_list_ids list(string)
    source_geo_location_list_ids list(string)
    source_geo_locations list(string)
    Source Geolocation
    source_geo_locations_variable string
    Variable name
    source_ipv4_prefixes list(string)
    source_ipv4_prefixes_variable string
    Variable name
    source_ipv6_prefixes list(string)
    source_ipv6_prefixes_variable string
    Variable name
    source_object_group_list_ids list(string)
    source_port_list_ids list(string)
    source_ports list(string)
    source_ports_variable string
    Variable name
    action String
    action
    actionVariable String
    Variable name
    destinationDataIpv4PrefixListIds List<String>
    destinationDataIpv6PrefixListIds List<String>
    destinationFqdnListIds List<String>
    destinationFqdns List<String>
    destinationFqdnsVariable String
    Variable name
    destinationGeoLocationListIds List<String>
    destinationGeoLocations List<String>
    Destination Geolocation
    destinationGeoLocationsVariable String
    Variable name
    destinationIpv4Prefixes List<String>
    destinationIpv4PrefixesVariable String
    Variable name
    destinationIpv6Prefixes List<String>
    destinationIpv6PrefixesVariable String
    Variable name
    destinationObjectGroupListIds List<String>
    destinationPortListIds List<String>
    destinationPorts List<String>
    destinationPortsVariable String
    Variable name
    name String
    Sequence name
    nameVariable String
    Variable name
    protocolNameListIds List<String>
    protocolNames List<String>
    protocolNamesVariable String
    Variable name
    protocols List<String>
    protocol
    sequenceId String
    Sequence Id
    sequenceIdVariable String
    Variable name
    sequenceIpType String
    ipv4/ ipv6
    sourceDataIpv4PrefixListIds List<String>
    sourceDataIpv6PrefixListIds List<String>
    sourceGeoLocationListIds List<String>
    sourceGeoLocations List<String>
    Source Geolocation
    sourceGeoLocationsVariable String
    Variable name
    sourceIpv4Prefixes List<String>
    sourceIpv4PrefixesVariable String
    Variable name
    sourceIpv6Prefixes List<String>
    sourceIpv6PrefixesVariable String
    Variable name
    sourceObjectGroupListIds List<String>
    sourcePortListIds List<String>
    sourcePorts List<String>
    sourcePortsVariable String
    Variable name
    action string
    action
    actionVariable string
    Variable name
    destinationDataIpv4PrefixListIds string[]
    destinationDataIpv6PrefixListIds string[]
    destinationFqdnListIds string[]
    destinationFqdns string[]
    destinationFqdnsVariable string
    Variable name
    destinationGeoLocationListIds string[]
    destinationGeoLocations string[]
    Destination Geolocation
    destinationGeoLocationsVariable string
    Variable name
    destinationIpv4Prefixes string[]
    destinationIpv4PrefixesVariable string
    Variable name
    destinationIpv6Prefixes string[]
    destinationIpv6PrefixesVariable string
    Variable name
    destinationObjectGroupListIds string[]
    destinationPortListIds string[]
    destinationPorts string[]
    destinationPortsVariable string
    Variable name
    name string
    Sequence name
    nameVariable string
    Variable name
    protocolNameListIds string[]
    protocolNames string[]
    protocolNamesVariable string
    Variable name
    protocols string[]
    protocol
    sequenceId string
    Sequence Id
    sequenceIdVariable string
    Variable name
    sequenceIpType string
    ipv4/ ipv6
    sourceDataIpv4PrefixListIds string[]
    sourceDataIpv6PrefixListIds string[]
    sourceGeoLocationListIds string[]
    sourceGeoLocations string[]
    Source Geolocation
    sourceGeoLocationsVariable string
    Variable name
    sourceIpv4Prefixes string[]
    sourceIpv4PrefixesVariable string
    Variable name
    sourceIpv6Prefixes string[]
    sourceIpv6PrefixesVariable string
    Variable name
    sourceObjectGroupListIds string[]
    sourcePortListIds string[]
    sourcePorts string[]
    sourcePortsVariable string
    Variable name
    action str
    action
    action_variable str
    Variable name
    destination_data_ipv4_prefix_list_ids Sequence[str]
    destination_data_ipv6_prefix_list_ids Sequence[str]
    destination_fqdn_list_ids Sequence[str]
    destination_fqdns Sequence[str]
    destination_fqdns_variable str
    Variable name
    destination_geo_location_list_ids Sequence[str]
    destination_geo_locations Sequence[str]
    Destination Geolocation
    destination_geo_locations_variable str
    Variable name
    destination_ipv4_prefixes Sequence[str]
    destination_ipv4_prefixes_variable str
    Variable name
    destination_ipv6_prefixes Sequence[str]
    destination_ipv6_prefixes_variable str
    Variable name
    destination_object_group_list_ids Sequence[str]
    destination_port_list_ids Sequence[str]
    destination_ports Sequence[str]
    destination_ports_variable str
    Variable name
    name str
    Sequence name
    name_variable str
    Variable name
    protocol_name_list_ids Sequence[str]
    protocol_names Sequence[str]
    protocol_names_variable str
    Variable name
    protocols Sequence[str]
    protocol
    sequence_id str
    Sequence Id
    sequence_id_variable str
    Variable name
    sequence_ip_type str
    ipv4/ ipv6
    source_data_ipv4_prefix_list_ids Sequence[str]
    source_data_ipv6_prefix_list_ids Sequence[str]
    source_geo_location_list_ids Sequence[str]
    source_geo_locations Sequence[str]
    Source Geolocation
    source_geo_locations_variable str
    Variable name
    source_ipv4_prefixes Sequence[str]
    source_ipv4_prefixes_variable str
    Variable name
    source_ipv6_prefixes Sequence[str]
    source_ipv6_prefixes_variable str
    Variable name
    source_object_group_list_ids Sequence[str]
    source_port_list_ids Sequence[str]
    source_ports Sequence[str]
    source_ports_variable str
    Variable name
    action String
    action
    actionVariable String
    Variable name
    destinationDataIpv4PrefixListIds List<String>
    destinationDataIpv6PrefixListIds List<String>
    destinationFqdnListIds List<String>
    destinationFqdns List<String>
    destinationFqdnsVariable String
    Variable name
    destinationGeoLocationListIds List<String>
    destinationGeoLocations List<String>
    Destination Geolocation
    destinationGeoLocationsVariable String
    Variable name
    destinationIpv4Prefixes List<String>
    destinationIpv4PrefixesVariable String
    Variable name
    destinationIpv6Prefixes List<String>
    destinationIpv6PrefixesVariable String
    Variable name
    destinationObjectGroupListIds List<String>
    destinationPortListIds List<String>
    destinationPorts List<String>
    destinationPortsVariable String
    Variable name
    name String
    Sequence name
    nameVariable String
    Variable name
    protocolNameListIds List<String>
    protocolNames List<String>
    protocolNamesVariable String
    Variable name
    protocols List<String>
    protocol
    sequenceId String
    Sequence Id
    sequenceIdVariable String
    Variable name
    sequenceIpType String
    ipv4/ ipv6
    sourceDataIpv4PrefixListIds List<String>
    sourceDataIpv6PrefixListIds List<String>
    sourceGeoLocationListIds List<String>
    sourceGeoLocations List<String>
    Source Geolocation
    sourceGeoLocationsVariable String
    Variable name
    sourceIpv4Prefixes List<String>
    sourceIpv4PrefixesVariable String
    Variable name
    sourceIpv6Prefixes List<String>
    sourceIpv6PrefixesVariable String
    Variable name
    sourceObjectGroupListIds List<String>
    sourcePortListIds List<String>
    sourcePorts List<String>
    sourcePortsVariable String
    Variable name

    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
    Viewing docs for Cisco Catalyst SD-WAN v0.9.7
    published on Wednesday, Oct 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial