1. Registry
  2. Packages
  3. Cisco Catalyst SD-WAN Provider
  4. API Docs
  5. PolicyObjectSecurityRuleSet
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 resource can manage a Policy Object Security Rule Set Policy_object.

    • Minimum SD-WAN Manager version: 20.18.2

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = new sdwan.PolicyObjectSecurityRuleSet("example", {
        name: "Example",
        description: "My Example",
        featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        sequences: [{
            name: "rule1",
            sequenceIpType: "ipv4",
            sequenceId: "1",
            action: "drop",
            sourceIpv4Prefixes: ["10.1.1.0/24"],
        }],
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.PolicyObjectSecurityRuleSet("example",
        name="Example",
        description="My Example",
        feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        sequences=[{
            "name": "rule1",
            "sequence_ip_type": "ipv4",
            "sequence_id": "1",
            "action": "drop",
            "source_ipv4_prefixes": ["10.1.1.0/24"],
        }])
    
    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.NewPolicyObjectSecurityRuleSet(ctx, "example", &sdwan.PolicyObjectSecurityRuleSetArgs{
    			Name:             pulumi.String("Example"),
    			Description:      pulumi.String("My Example"),
    			FeatureProfileId: pulumi.String("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"),
    			Sequences: sdwan.PolicyObjectSecurityRuleSetSequenceArray{
    				&sdwan.PolicyObjectSecurityRuleSetSequenceArgs{
    					Name:           pulumi.String("rule1"),
    					SequenceIpType: pulumi.String("ipv4"),
    					SequenceId:     pulumi.String("1"),
    					Action:         pulumi.String("drop"),
    					SourceIpv4Prefixes: pulumi.StringArray{
    						pulumi.String("10.1.1.0/24"),
    					},
    				},
    			},
    		})
    		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.PolicyObjectSecurityRuleSet("example", new()
        {
            Name = "Example",
            Description = "My Example",
            FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
            Sequences = new[]
            {
                new Sdwan.Inputs.PolicyObjectSecurityRuleSetSequenceArgs
                {
                    Name = "rule1",
                    SequenceIpType = "ipv4",
                    SequenceId = "1",
                    Action = "drop",
                    SourceIpv4Prefixes = new[]
                    {
                        "10.1.1.0/24",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.PolicyObjectSecurityRuleSet;
    import com.pulumi.sdwan.PolicyObjectSecurityRuleSetArgs;
    import com.pulumi.sdwan.inputs.PolicyObjectSecurityRuleSetSequenceArgs;
    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) {
            var example = new PolicyObjectSecurityRuleSet("example", PolicyObjectSecurityRuleSetArgs.builder()
                .name("Example")
                .description("My Example")
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .sequences(PolicyObjectSecurityRuleSetSequenceArgs.builder()
                    .name("rule1")
                    .sequenceIpType("ipv4")
                    .sequenceId("1")
                    .action("drop")
                    .sourceIpv4Prefixes("10.1.1.0/24")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:PolicyObjectSecurityRuleSet
        properties:
          name: Example
          description: My Example
          featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
          sequences:
            - name: rule1
              sequenceIpType: ipv4
              sequenceId: '1'
              action: drop
              sourceIpv4Prefixes:
                - 10.1.1.0/24
    
    terraform {
      required_providers {
        sdwan = {
          source = "pulumi/sdwan"
        }
      }
    }
    
    resource "sdwan_policy_object_security_rule_set" "example" {
      lifecycle {
        create_before_destroy = true
      }
      name               = "Example"
      description        = "My Example"
      feature_profile_id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
      sequences = [{
        name                 = "rule1"
        sequence_ip_type     = "ipv4"
        sequence_id          = "1"
        action               = "drop"
        source_ipv4_prefixes = ["10.1.1.0/24"]
      }]
    }
    

    Create PolicyObjectSecurityRuleSet Resource

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

    Constructor syntax

    new PolicyObjectSecurityRuleSet(name: string, args: PolicyObjectSecurityRuleSetArgs, opts?: CustomResourceOptions);
    @overload
    def PolicyObjectSecurityRuleSet(resource_name: str,
                                    args: PolicyObjectSecurityRuleSetArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def PolicyObjectSecurityRuleSet(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    feature_profile_id: Optional[str] = None,
                                    sequences: Optional[Sequence[PolicyObjectSecurityRuleSetSequenceArgs]] = None,
                                    description: Optional[str] = None,
                                    name: Optional[str] = None)
    func NewPolicyObjectSecurityRuleSet(ctx *Context, name string, args PolicyObjectSecurityRuleSetArgs, opts ...ResourceOption) (*PolicyObjectSecurityRuleSet, error)
    public PolicyObjectSecurityRuleSet(string name, PolicyObjectSecurityRuleSetArgs args, CustomResourceOptions? opts = null)
    public PolicyObjectSecurityRuleSet(String name, PolicyObjectSecurityRuleSetArgs args)
    public PolicyObjectSecurityRuleSet(String name, PolicyObjectSecurityRuleSetArgs args, CustomResourceOptions options)
    
    type: sdwan:PolicyObjectSecurityRuleSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "sdwan_policy_object_security_rule_set" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PolicyObjectSecurityRuleSetArgs
    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 PolicyObjectSecurityRuleSetArgs
    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 PolicyObjectSecurityRuleSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyObjectSecurityRuleSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyObjectSecurityRuleSetArgs
    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 policyObjectSecurityRuleSetResource = new Sdwan.PolicyObjectSecurityRuleSet("policyObjectSecurityRuleSetResource", new()
    {
        FeatureProfileId = "string",
        Sequences = new[]
        {
            new Sdwan.Inputs.PolicyObjectSecurityRuleSetSequenceArgs
            {
                Action = "string",
                ActionVariable = "string",
                DestinationDataIpv4PrefixListIds = new[]
                {
                    "string",
                },
                DestinationDataIpv6PrefixListIds = new[]
                {
                    "string",
                },
                DestinationFqdnListIds = new[]
                {
                    "string",
                },
                DestinationFqdns = new[]
                {
                    "string",
                },
                DestinationFqdnsVariable = "string",
                DestinationGeoLocationListIds = new[]
                {
                    "string",
                },
                DestinationGeoLocations = new[]
                {
                    "string",
                },
                DestinationGeoLocationsVariable = "string",
                DestinationIpv4Prefixes = new[]
                {
                    "string",
                },
                DestinationIpv4PrefixesVariable = "string",
                DestinationIpv6Prefixes = new[]
                {
                    "string",
                },
                DestinationIpv6PrefixesVariable = "string",
                DestinationObjectGroupListIds = new[]
                {
                    "string",
                },
                DestinationPortListIds = new[]
                {
                    "string",
                },
                DestinationPorts = new[]
                {
                    "string",
                },
                DestinationPortsVariable = "string",
                Name = "string",
                NameVariable = "string",
                ProtocolNameListIds = new[]
                {
                    "string",
                },
                ProtocolNames = new[]
                {
                    "string",
                },
                ProtocolNamesVariable = "string",
                Protocols = new[]
                {
                    "string",
                },
                SequenceId = "string",
                SequenceIdVariable = "string",
                SequenceIpType = "string",
                SourceDataIpv4PrefixListIds = new[]
                {
                    "string",
                },
                SourceDataIpv6PrefixListIds = new[]
                {
                    "string",
                },
                SourceGeoLocationListIds = new[]
                {
                    "string",
                },
                SourceGeoLocations = new[]
                {
                    "string",
                },
                SourceGeoLocationsVariable = "string",
                SourceIpv4Prefixes = new[]
                {
                    "string",
                },
                SourceIpv4PrefixesVariable = "string",
                SourceIpv6Prefixes = new[]
                {
                    "string",
                },
                SourceIpv6PrefixesVariable = "string",
                SourceObjectGroupListIds = new[]
                {
                    "string",
                },
                SourcePortListIds = new[]
                {
                    "string",
                },
                SourcePorts = new[]
                {
                    "string",
                },
                SourcePortsVariable = "string",
            },
        },
        Description = "string",
        Name = "string",
    });
    
    example, err := sdwan.NewPolicyObjectSecurityRuleSet(ctx, "policyObjectSecurityRuleSetResource", &sdwan.PolicyObjectSecurityRuleSetArgs{
    	FeatureProfileId: pulumi.String("string"),
    	Sequences: sdwan.PolicyObjectSecurityRuleSetSequenceArray{
    		&sdwan.PolicyObjectSecurityRuleSetSequenceArgs{
    			Action:         pulumi.String("string"),
    			ActionVariable: pulumi.String("string"),
    			DestinationDataIpv4PrefixListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationDataIpv6PrefixListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationFqdnListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationFqdns: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationFqdnsVariable: pulumi.String("string"),
    			DestinationGeoLocationListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationGeoLocations: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationGeoLocationsVariable: pulumi.String("string"),
    			DestinationIpv4Prefixes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationIpv4PrefixesVariable: pulumi.String("string"),
    			DestinationIpv6Prefixes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationIpv6PrefixesVariable: pulumi.String("string"),
    			DestinationObjectGroupListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationPortListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationPorts: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			DestinationPortsVariable: pulumi.String("string"),
    			Name:                     pulumi.String("string"),
    			NameVariable:             pulumi.String("string"),
    			ProtocolNameListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ProtocolNames: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			ProtocolNamesVariable: pulumi.String("string"),
    			Protocols: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SequenceId:         pulumi.String("string"),
    			SequenceIdVariable: pulumi.String("string"),
    			SequenceIpType:     pulumi.String("string"),
    			SourceDataIpv4PrefixListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourceDataIpv6PrefixListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourceGeoLocationListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourceGeoLocations: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourceGeoLocationsVariable: pulumi.String("string"),
    			SourceIpv4Prefixes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourceIpv4PrefixesVariable: pulumi.String("string"),
    			SourceIpv6Prefixes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourceIpv6PrefixesVariable: pulumi.String("string"),
    			SourceObjectGroupListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourcePortListIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourcePorts: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SourcePortsVariable: pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    resource "sdwan_policy_object_security_rule_set" "policyObjectSecurityRuleSetResource" {
      lifecycle {
        create_before_destroy = true
      }
      feature_profile_id = "string"
      sequences {
        action                                = "string"
        action_variable                       = "string"
        destination_data_ipv4_prefix_list_ids = ["string"]
        destination_data_ipv6_prefix_list_ids = ["string"]
        destination_fqdn_list_ids             = ["string"]
        destination_fqdns                     = ["string"]
        destination_fqdns_variable            = "string"
        destination_geo_location_list_ids     = ["string"]
        destination_geo_locations             = ["string"]
        destination_geo_locations_variable    = "string"
        destination_ipv4_prefixes             = ["string"]
        destination_ipv4_prefixes_variable    = "string"
        destination_ipv6_prefixes             = ["string"]
        destination_ipv6_prefixes_variable    = "string"
        destination_object_group_list_ids     = ["string"]
        destination_port_list_ids             = ["string"]
        destination_ports                     = ["string"]
        destination_ports_variable            = "string"
        name                                  = "string"
        name_variable                         = "string"
        protocol_name_list_ids                = ["string"]
        protocol_names                        = ["string"]
        protocol_names_variable               = "string"
        protocols                             = ["string"]
        sequence_id                           = "string"
        sequence_id_variable                  = "string"
        sequence_ip_type                      = "string"
        source_data_ipv4_prefix_list_ids      = ["string"]
        source_data_ipv6_prefix_list_ids      = ["string"]
        source_geo_location_list_ids          = ["string"]
        source_geo_locations                  = ["string"]
        source_geo_locations_variable         = "string"
        source_ipv4_prefixes                  = ["string"]
        source_ipv4_prefixes_variable         = "string"
        source_ipv6_prefixes                  = ["string"]
        source_ipv6_prefixes_variable         = "string"
        source_object_group_list_ids          = ["string"]
        source_port_list_ids                  = ["string"]
        source_ports                          = ["string"]
        source_ports_variable                 = "string"
      }
      description = "string"
      name        = "string"
    }
    
    var policyObjectSecurityRuleSetResource = new PolicyObjectSecurityRuleSet("policyObjectSecurityRuleSetResource", PolicyObjectSecurityRuleSetArgs.builder()
        .featureProfileId("string")
        .sequences(PolicyObjectSecurityRuleSetSequenceArgs.builder()
            .action("string")
            .actionVariable("string")
            .destinationDataIpv4PrefixListIds("string")
            .destinationDataIpv6PrefixListIds("string")
            .destinationFqdnListIds("string")
            .destinationFqdns("string")
            .destinationFqdnsVariable("string")
            .destinationGeoLocationListIds("string")
            .destinationGeoLocations("string")
            .destinationGeoLocationsVariable("string")
            .destinationIpv4Prefixes("string")
            .destinationIpv4PrefixesVariable("string")
            .destinationIpv6Prefixes("string")
            .destinationIpv6PrefixesVariable("string")
            .destinationObjectGroupListIds("string")
            .destinationPortListIds("string")
            .destinationPorts("string")
            .destinationPortsVariable("string")
            .name("string")
            .nameVariable("string")
            .protocolNameListIds("string")
            .protocolNames("string")
            .protocolNamesVariable("string")
            .protocols("string")
            .sequenceId("string")
            .sequenceIdVariable("string")
            .sequenceIpType("string")
            .sourceDataIpv4PrefixListIds("string")
            .sourceDataIpv6PrefixListIds("string")
            .sourceGeoLocationListIds("string")
            .sourceGeoLocations("string")
            .sourceGeoLocationsVariable("string")
            .sourceIpv4Prefixes("string")
            .sourceIpv4PrefixesVariable("string")
            .sourceIpv6Prefixes("string")
            .sourceIpv6PrefixesVariable("string")
            .sourceObjectGroupListIds("string")
            .sourcePortListIds("string")
            .sourcePorts("string")
            .sourcePortsVariable("string")
            .build())
        .description("string")
        .name("string")
        .build());
    
    policy_object_security_rule_set_resource = sdwan.PolicyObjectSecurityRuleSet("policyObjectSecurityRuleSetResource",
        feature_profile_id="string",
        sequences=[{
            "action": "string",
            "action_variable": "string",
            "destination_data_ipv4_prefix_list_ids": ["string"],
            "destination_data_ipv6_prefix_list_ids": ["string"],
            "destination_fqdn_list_ids": ["string"],
            "destination_fqdns": ["string"],
            "destination_fqdns_variable": "string",
            "destination_geo_location_list_ids": ["string"],
            "destination_geo_locations": ["string"],
            "destination_geo_locations_variable": "string",
            "destination_ipv4_prefixes": ["string"],
            "destination_ipv4_prefixes_variable": "string",
            "destination_ipv6_prefixes": ["string"],
            "destination_ipv6_prefixes_variable": "string",
            "destination_object_group_list_ids": ["string"],
            "destination_port_list_ids": ["string"],
            "destination_ports": ["string"],
            "destination_ports_variable": "string",
            "name": "string",
            "name_variable": "string",
            "protocol_name_list_ids": ["string"],
            "protocol_names": ["string"],
            "protocol_names_variable": "string",
            "protocols": ["string"],
            "sequence_id": "string",
            "sequence_id_variable": "string",
            "sequence_ip_type": "string",
            "source_data_ipv4_prefix_list_ids": ["string"],
            "source_data_ipv6_prefix_list_ids": ["string"],
            "source_geo_location_list_ids": ["string"],
            "source_geo_locations": ["string"],
            "source_geo_locations_variable": "string",
            "source_ipv4_prefixes": ["string"],
            "source_ipv4_prefixes_variable": "string",
            "source_ipv6_prefixes": ["string"],
            "source_ipv6_prefixes_variable": "string",
            "source_object_group_list_ids": ["string"],
            "source_port_list_ids": ["string"],
            "source_ports": ["string"],
            "source_ports_variable": "string",
        }],
        description="string",
        name="string")
    
    const policyObjectSecurityRuleSetResource = new sdwan.PolicyObjectSecurityRuleSet("policyObjectSecurityRuleSetResource", {
        featureProfileId: "string",
        sequences: [{
            action: "string",
            actionVariable: "string",
            destinationDataIpv4PrefixListIds: ["string"],
            destinationDataIpv6PrefixListIds: ["string"],
            destinationFqdnListIds: ["string"],
            destinationFqdns: ["string"],
            destinationFqdnsVariable: "string",
            destinationGeoLocationListIds: ["string"],
            destinationGeoLocations: ["string"],
            destinationGeoLocationsVariable: "string",
            destinationIpv4Prefixes: ["string"],
            destinationIpv4PrefixesVariable: "string",
            destinationIpv6Prefixes: ["string"],
            destinationIpv6PrefixesVariable: "string",
            destinationObjectGroupListIds: ["string"],
            destinationPortListIds: ["string"],
            destinationPorts: ["string"],
            destinationPortsVariable: "string",
            name: "string",
            nameVariable: "string",
            protocolNameListIds: ["string"],
            protocolNames: ["string"],
            protocolNamesVariable: "string",
            protocols: ["string"],
            sequenceId: "string",
            sequenceIdVariable: "string",
            sequenceIpType: "string",
            sourceDataIpv4PrefixListIds: ["string"],
            sourceDataIpv6PrefixListIds: ["string"],
            sourceGeoLocationListIds: ["string"],
            sourceGeoLocations: ["string"],
            sourceGeoLocationsVariable: "string",
            sourceIpv4Prefixes: ["string"],
            sourceIpv4PrefixesVariable: "string",
            sourceIpv6Prefixes: ["string"],
            sourceIpv6PrefixesVariable: "string",
            sourceObjectGroupListIds: ["string"],
            sourcePortListIds: ["string"],
            sourcePorts: ["string"],
            sourcePortsVariable: "string",
        }],
        description: "string",
        name: "string",
    });
    
    type: sdwan:PolicyObjectSecurityRuleSet
    properties:
        description: string
        featureProfileId: string
        name: string
        sequences:
            - action: string
              actionVariable: string
              destinationDataIpv4PrefixListIds:
                - string
              destinationDataIpv6PrefixListIds:
                - string
              destinationFqdnListIds:
                - string
              destinationFqdns:
                - string
              destinationFqdnsVariable: string
              destinationGeoLocationListIds:
                - string
              destinationGeoLocations:
                - string
              destinationGeoLocationsVariable: string
              destinationIpv4Prefixes:
                - string
              destinationIpv4PrefixesVariable: string
              destinationIpv6Prefixes:
                - string
              destinationIpv6PrefixesVariable: string
              destinationObjectGroupListIds:
                - string
              destinationPortListIds:
                - string
              destinationPorts:
                - string
              destinationPortsVariable: string
              name: string
              nameVariable: string
              protocolNameListIds:
                - string
              protocolNames:
                - string
              protocolNamesVariable: string
              protocols:
                - string
              sequenceId: string
              sequenceIdVariable: string
              sequenceIpType: string
              sourceDataIpv4PrefixListIds:
                - string
              sourceDataIpv6PrefixListIds:
                - string
              sourceGeoLocationListIds:
                - string
              sourceGeoLocations:
                - string
              sourceGeoLocationsVariable: string
              sourceIpv4Prefixes:
                - string
              sourceIpv4PrefixesVariable: string
              sourceIpv6Prefixes:
                - string
              sourceIpv6PrefixesVariable: string
              sourceObjectGroupListIds:
                - string
              sourcePortListIds:
                - string
              sourcePorts:
                - string
              sourcePortsVariable: string
    

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

    FeatureProfileId string
    Feature Profile ID
    Sequences List<PolicyObjectSecurityRuleSetSequence>
    select definition of rule
    Description string
    The description of the Policy_object
    Name string
    The name of the Policy_object
    FeatureProfileId string
    Feature Profile ID
    Sequences []PolicyObjectSecurityRuleSetSequenceArgs
    select definition of rule
    Description string
    The description of the Policy_object
    Name string
    The name of the Policy_object
    feature_profile_id string
    Feature Profile ID
    sequences list(object)
    select definition of rule
    description string
    The description of the Policy_object
    name string
    The name of the Policy_object
    featureProfileId String
    Feature Profile ID
    sequences List<PolicyObjectSecurityRuleSetSequence>
    select definition of rule
    description String
    The description of the Policy_object
    name String
    The name of the Policy_object
    featureProfileId string
    Feature Profile ID
    sequences PolicyObjectSecurityRuleSetSequence[]
    select definition of rule
    description string
    The description of the Policy_object
    name string
    The name of the Policy_object
    feature_profile_id str
    Feature Profile ID
    sequences Sequence[PolicyObjectSecurityRuleSetSequenceArgs]
    select definition of rule
    description str
    The description of the Policy_object
    name str
    The name of the Policy_object
    featureProfileId String
    Feature Profile ID
    sequences List<Property Map>
    select definition of rule
    description String
    The description of the Policy_object
    name String
    The name of the Policy_object

    Outputs

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

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

    Look up Existing PolicyObjectSecurityRuleSet Resource

    Get an existing PolicyObjectSecurityRuleSet 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?: PolicyObjectSecurityRuleSetState, opts?: CustomResourceOptions): PolicyObjectSecurityRuleSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            feature_profile_id: Optional[str] = None,
            name: Optional[str] = None,
            sequences: Optional[Sequence[PolicyObjectSecurityRuleSetSequenceArgs]] = None,
            version: Optional[int] = None) -> PolicyObjectSecurityRuleSet
    func GetPolicyObjectSecurityRuleSet(ctx *Context, name string, id IDInput, state *PolicyObjectSecurityRuleSetState, opts ...ResourceOption) (*PolicyObjectSecurityRuleSet, error)
    public static PolicyObjectSecurityRuleSet Get(string name, Input<string> id, PolicyObjectSecurityRuleSetState? state, CustomResourceOptions? opts = null)
    public static PolicyObjectSecurityRuleSet get(String name, Output<String> id, PolicyObjectSecurityRuleSetState state, CustomResourceOptions options)
    resources:  _:    type: sdwan:PolicyObjectSecurityRuleSet    get:      id: ${id}
    import {
      to = sdwan_policy_object_security_rule_set.example
      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.
    The following state arguments are supported:
    Description string
    The description of the Policy_object
    FeatureProfileId string
    Feature Profile ID
    Name string
    The name of the Policy_object
    Sequences List<PolicyObjectSecurityRuleSetSequence>
    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
    Name string
    The name of the Policy_object
    Sequences []PolicyObjectSecurityRuleSetSequenceArgs
    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
    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
    name String
    The name of the Policy_object
    sequences List<PolicyObjectSecurityRuleSetSequence>
    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
    name string
    The name of the Policy_object
    sequences PolicyObjectSecurityRuleSetSequence[]
    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
    name str
    The name of the Policy_object
    sequences Sequence[PolicyObjectSecurityRuleSetSequenceArgs]
    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
    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

    PolicyObjectSecurityRuleSetSequence, PolicyObjectSecurityRuleSetSequenceArgs

    Action string
    action

    • Choices: pass, inspect, drop
    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

    • Choices: 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

    • Choices: pass, inspect, drop
    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

    • Choices: 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

    • Choices: pass, inspect, drop
    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

    • Choices: 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

    • Choices: pass, inspect, drop
    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

    • Choices: 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

    • Choices: pass, inspect, drop
    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

    • Choices: 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

    • Choices: pass, inspect, drop
    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

    • Choices: 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

    • Choices: pass, inspect, drop
    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

    • Choices: 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

    Import

    The pulumi import command can be used, for example:

    Expected import identifier with the format: “policy_object_security_rule_set_id,feature_profile_id”

    $ pulumi import sdwan:index/policyObjectSecurityRuleSet:PolicyObjectSecurityRuleSet example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
    

    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
    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