published on Wednesday, Oct 28, 2026 by Pulumi
Cisco Catalyst SD-WANpublished 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:
- Feature
Profile stringId - Feature Profile ID
- Sequences
List<Policy
Object Security Rule Set Sequence> - select definition of rule
- Description string
- The description of the Policy_object
- Name string
- The name of the Policy_object
- Feature
Profile stringId - Feature Profile ID
- Sequences
[]Policy
Object Security Rule Set Sequence Args - select definition of rule
- Description string
- The description of the Policy_object
- Name string
- The name of the Policy_object
- feature_
profile_ stringid - 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
- feature
Profile StringId - Feature Profile ID
- sequences
List<Policy
Object Security Rule Set Sequence> - select definition of rule
- description String
- The description of the Policy_object
- name String
- The name of the Policy_object
- feature
Profile stringId - Feature Profile ID
- sequences
Policy
Object Security Rule Set Sequence[] - select definition of rule
- description string
- The description of the Policy_object
- name string
- The name of the Policy_object
- feature_
profile_ strid - Feature Profile ID
- sequences
Sequence[Policy
Object Security Rule Set Sequence Args] - select definition of rule
- description str
- The description of the Policy_object
- name str
- The name of the Policy_object
- feature
Profile StringId - 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:
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) -> PolicyObjectSecurityRuleSetfunc 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.
- Description string
- The description of the Policy_object
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Policy_object
- Sequences
List<Policy
Object Security Rule Set Sequence> - select definition of rule
- Version int
- The version of the Policy_object
- Description string
- The description of the Policy_object
- Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Policy_object
- Sequences
[]Policy
Object Security Rule Set Sequence Args - select definition of rule
- Version int
- The version of the Policy_object
- description string
- The description of the Policy_object
- feature_
profile_ stringid - 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
- feature
Profile StringId - Feature Profile ID
- name String
- The name of the Policy_object
- sequences
List<Policy
Object Security Rule Set Sequence> - select definition of rule
- version Integer
- The version of the Policy_object
- description string
- The description of the Policy_object
- feature
Profile stringId - Feature Profile ID
- name string
- The name of the Policy_object
- sequences
Policy
Object Security Rule Set Sequence[] - select definition of rule
- version number
- The version of the Policy_object
- description str
- The description of the Policy_object
- feature_
profile_ strid - Feature Profile ID
- name str
- The name of the Policy_object
- sequences
Sequence[Policy
Object Security Rule Set Sequence Args] - select definition of rule
- version int
- The version of the Policy_object
- description String
- The description of the Policy_object
- feature
Profile StringId - 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
- Choices:
- Action
Variable string - Variable name
- Destination
Data List<string>Ipv4Prefix List Ids - Destination
Data List<string>Ipv6Prefix List Ids - Destination
Fqdn List<string>List Ids - Destination
Fqdns List<string> - Destination
Fqdns stringVariable - Variable name
- Destination
Geo List<string>Location List Ids - Destination
Geo List<string>Locations - Destination Geolocation
- Destination
Geo stringLocations Variable - Variable name
- Destination
Ipv4Prefixes List<string> - Destination
Ipv4Prefixes stringVariable - Variable name
- Destination
Ipv6Prefixes List<string> - Destination
Ipv6Prefixes stringVariable - Variable name
- Destination
Object List<string>Group List Ids - Destination
Port List<string>List Ids - Destination
Ports List<string> - Destination
Ports stringVariable - Variable name
- Name string
- Sequence name
- Name
Variable string - Variable name
- Protocol
Name List<string>List Ids - Protocol
Names List<string> - Protocol
Names stringVariable - Variable name
- Protocols List<string>
- protocol
- Sequence
Id string - Sequence Id
- Sequence
Id stringVariable - Variable name
- Sequence
Ip stringType - ipv4/ ipv6
- Choices:
ipv4,ipv6
- Choices:
- Source
Data List<string>Ipv4Prefix List Ids - Source
Data List<string>Ipv6Prefix List Ids - Source
Geo List<string>Location List Ids - Source
Geo List<string>Locations - Source Geolocation
- Source
Geo stringLocations Variable - Variable name
- Source
Ipv4Prefixes List<string> - Source
Ipv4Prefixes stringVariable - Variable name
- Source
Ipv6Prefixes List<string> - Source
Ipv6Prefixes stringVariable - Variable name
- Source
Object List<string>Group List Ids - Source
Port List<string>List Ids - Source
Ports List<string> - Source
Ports stringVariable - Variable name
- Action string
- action
- Choices:
pass,inspect,drop
- Choices:
- Action
Variable string - Variable name
- Destination
Data []stringIpv4Prefix List Ids - Destination
Data []stringIpv6Prefix List Ids - Destination
Fqdn []stringList Ids - Destination
Fqdns []string - Destination
Fqdns stringVariable - Variable name
- Destination
Geo []stringLocation List Ids - Destination
Geo []stringLocations - Destination Geolocation
- Destination
Geo stringLocations Variable - Variable name
- Destination
Ipv4Prefixes []string - Destination
Ipv4Prefixes stringVariable - Variable name
- Destination
Ipv6Prefixes []string - Destination
Ipv6Prefixes stringVariable - Variable name
- Destination
Object []stringGroup List Ids - Destination
Port []stringList Ids - Destination
Ports []string - Destination
Ports stringVariable - Variable name
- Name string
- Sequence name
- Name
Variable string - Variable name
- Protocol
Name []stringList Ids - Protocol
Names []string - Protocol
Names stringVariable - Variable name
- Protocols []string
- protocol
- Sequence
Id string - Sequence Id
- Sequence
Id stringVariable - Variable name
- Sequence
Ip stringType - ipv4/ ipv6
- Choices:
ipv4,ipv6
- Choices:
- Source
Data []stringIpv4Prefix List Ids - Source
Data []stringIpv6Prefix List Ids - Source
Geo []stringLocation List Ids - Source
Geo []stringLocations - Source Geolocation
- Source
Geo stringLocations Variable - Variable name
- Source
Ipv4Prefixes []string - Source
Ipv4Prefixes stringVariable - Variable name
- Source
Ipv6Prefixes []string - Source
Ipv6Prefixes stringVariable - Variable name
- Source
Object []stringGroup List Ids - Source
Port []stringList Ids - Source
Ports []string - Source
Ports stringVariable - Variable name
- action string
- action
- Choices:
pass,inspect,drop
- Choices:
- action_
variable string - Variable name
- destination_
data_ list(string)ipv4_ prefix_ list_ ids - destination_
data_ list(string)ipv6_ prefix_ list_ ids - destination_
fqdn_ list(string)list_ ids - destination_
fqdns list(string) - destination_
fqdns_ stringvariable - Variable name
- destination_
geo_ list(string)location_ list_ ids - destination_
geo_ list(string)locations - Destination Geolocation
- destination_
geo_ stringlocations_ variable - Variable name
- destination_
ipv4_ list(string)prefixes - destination_
ipv4_ stringprefixes_ variable - Variable name
- destination_
ipv6_ list(string)prefixes - destination_
ipv6_ stringprefixes_ variable - Variable name
- destination_
object_ list(string)group_ list_ ids - destination_
port_ list(string)list_ ids - destination_
ports list(string) - destination_
ports_ stringvariable - Variable name
- name string
- Sequence name
- name_
variable string - Variable name
- protocol_
name_ list(string)list_ ids - protocol_
names list(string) - protocol_
names_ stringvariable - Variable name
- protocols list(string)
- protocol
- sequence_
id string - Sequence Id
- sequence_
id_ stringvariable - Variable name
- sequence_
ip_ stringtype - ipv4/ ipv6
- Choices:
ipv4,ipv6
- Choices:
- source_
data_ list(string)ipv4_ prefix_ list_ ids - source_
data_ list(string)ipv6_ prefix_ list_ ids - source_
geo_ list(string)location_ list_ ids - source_
geo_ list(string)locations - Source Geolocation
- source_
geo_ stringlocations_ variable - Variable name
- source_
ipv4_ list(string)prefixes - source_
ipv4_ stringprefixes_ variable - Variable name
- source_
ipv6_ list(string)prefixes - source_
ipv6_ stringprefixes_ variable - Variable name
- source_
object_ list(string)group_ list_ ids - source_
port_ list(string)list_ ids - source_
ports list(string) - source_
ports_ stringvariable - Variable name
- action String
- action
- Choices:
pass,inspect,drop
- Choices:
- action
Variable String - Variable name
- destination
Data List<String>Ipv4Prefix List Ids - destination
Data List<String>Ipv6Prefix List Ids - destination
Fqdn List<String>List Ids - destination
Fqdns List<String> - destination
Fqdns StringVariable - Variable name
- destination
Geo List<String>Location List Ids - destination
Geo List<String>Locations - Destination Geolocation
- destination
Geo StringLocations Variable - Variable name
- destination
Ipv4Prefixes List<String> - destination
Ipv4Prefixes StringVariable - Variable name
- destination
Ipv6Prefixes List<String> - destination
Ipv6Prefixes StringVariable - Variable name
- destination
Object List<String>Group List Ids - destination
Port List<String>List Ids - destination
Ports List<String> - destination
Ports StringVariable - Variable name
- name String
- Sequence name
- name
Variable String - Variable name
- protocol
Name List<String>List Ids - protocol
Names List<String> - protocol
Names StringVariable - Variable name
- protocols List<String>
- protocol
- sequence
Id String - Sequence Id
- sequence
Id StringVariable - Variable name
- sequence
Ip StringType - ipv4/ ipv6
- Choices:
ipv4,ipv6
- Choices:
- source
Data List<String>Ipv4Prefix List Ids - source
Data List<String>Ipv6Prefix List Ids - source
Geo List<String>Location List Ids - source
Geo List<String>Locations - Source Geolocation
- source
Geo StringLocations Variable - Variable name
- source
Ipv4Prefixes List<String> - source
Ipv4Prefixes StringVariable - Variable name
- source
Ipv6Prefixes List<String> - source
Ipv6Prefixes StringVariable - Variable name
- source
Object List<String>Group List Ids - source
Port List<String>List Ids - source
Ports List<String> - source
Ports StringVariable - Variable name
- action string
- action
- Choices:
pass,inspect,drop
- Choices:
- action
Variable string - Variable name
- destination
Data string[]Ipv4Prefix List Ids - destination
Data string[]Ipv6Prefix List Ids - destination
Fqdn string[]List Ids - destination
Fqdns string[] - destination
Fqdns stringVariable - Variable name
- destination
Geo string[]Location List Ids - destination
Geo string[]Locations - Destination Geolocation
- destination
Geo stringLocations Variable - Variable name
- destination
Ipv4Prefixes string[] - destination
Ipv4Prefixes stringVariable - Variable name
- destination
Ipv6Prefixes string[] - destination
Ipv6Prefixes stringVariable - Variable name
- destination
Object string[]Group List Ids - destination
Port string[]List Ids - destination
Ports string[] - destination
Ports stringVariable - Variable name
- name string
- Sequence name
- name
Variable string - Variable name
- protocol
Name string[]List Ids - protocol
Names string[] - protocol
Names stringVariable - Variable name
- protocols string[]
- protocol
- sequence
Id string - Sequence Id
- sequence
Id stringVariable - Variable name
- sequence
Ip stringType - ipv4/ ipv6
- Choices:
ipv4,ipv6
- Choices:
- source
Data string[]Ipv4Prefix List Ids - source
Data string[]Ipv6Prefix List Ids - source
Geo string[]Location List Ids - source
Geo string[]Locations - Source Geolocation
- source
Geo stringLocations Variable - Variable name
- source
Ipv4Prefixes string[] - source
Ipv4Prefixes stringVariable - Variable name
- source
Ipv6Prefixes string[] - source
Ipv6Prefixes stringVariable - Variable name
- source
Object string[]Group List Ids - source
Port string[]List Ids - source
Ports string[] - source
Ports stringVariable - Variable name
- action str
- action
- Choices:
pass,inspect,drop
- Choices:
- action_
variable str - Variable name
- destination_
data_ Sequence[str]ipv4_ prefix_ list_ ids - destination_
data_ Sequence[str]ipv6_ prefix_ list_ ids - destination_
fqdn_ Sequence[str]list_ ids - destination_
fqdns Sequence[str] - destination_
fqdns_ strvariable - Variable name
- destination_
geo_ Sequence[str]location_ list_ ids - destination_
geo_ Sequence[str]locations - Destination Geolocation
- destination_
geo_ strlocations_ variable - Variable name
- destination_
ipv4_ Sequence[str]prefixes - destination_
ipv4_ strprefixes_ variable - Variable name
- destination_
ipv6_ Sequence[str]prefixes - destination_
ipv6_ strprefixes_ variable - Variable name
- destination_
object_ Sequence[str]group_ list_ ids - destination_
port_ Sequence[str]list_ ids - destination_
ports Sequence[str] - destination_
ports_ strvariable - Variable name
- name str
- Sequence name
- name_
variable str - Variable name
- protocol_
name_ Sequence[str]list_ ids - protocol_
names Sequence[str] - protocol_
names_ strvariable - Variable name
- protocols Sequence[str]
- protocol
- sequence_
id str - Sequence Id
- sequence_
id_ strvariable - Variable name
- sequence_
ip_ strtype - ipv4/ ipv6
- Choices:
ipv4,ipv6
- Choices:
- source_
data_ Sequence[str]ipv4_ prefix_ list_ ids - source_
data_ Sequence[str]ipv6_ prefix_ list_ ids - source_
geo_ Sequence[str]location_ list_ ids - source_
geo_ Sequence[str]locations - Source Geolocation
- source_
geo_ strlocations_ variable - Variable name
- source_
ipv4_ Sequence[str]prefixes - source_
ipv4_ strprefixes_ variable - Variable name
- source_
ipv6_ Sequence[str]prefixes - source_
ipv6_ strprefixes_ variable - Variable name
- source_
object_ Sequence[str]group_ list_ ids - source_
port_ Sequence[str]list_ ids - source_
ports Sequence[str] - source_
ports_ strvariable - Variable name
- action String
- action
- Choices:
pass,inspect,drop
- Choices:
- action
Variable String - Variable name
- destination
Data List<String>Ipv4Prefix List Ids - destination
Data List<String>Ipv6Prefix List Ids - destination
Fqdn List<String>List Ids - destination
Fqdns List<String> - destination
Fqdns StringVariable - Variable name
- destination
Geo List<String>Location List Ids - destination
Geo List<String>Locations - Destination Geolocation
- destination
Geo StringLocations Variable - Variable name
- destination
Ipv4Prefixes List<String> - destination
Ipv4Prefixes StringVariable - Variable name
- destination
Ipv6Prefixes List<String> - destination
Ipv6Prefixes StringVariable - Variable name
- destination
Object List<String>Group List Ids - destination
Port List<String>List Ids - destination
Ports List<String> - destination
Ports StringVariable - Variable name
- name String
- Sequence name
- name
Variable String - Variable name
- protocol
Name List<String>List Ids - protocol
Names List<String> - protocol
Names StringVariable - Variable name
- protocols List<String>
- protocol
- sequence
Id String - Sequence Id
- sequence
Id StringVariable - Variable name
- sequence
Ip StringType - ipv4/ ipv6
- Choices:
ipv4,ipv6
- Choices:
- source
Data List<String>Ipv4Prefix List Ids - source
Data List<String>Ipv6Prefix List Ids - source
Geo List<String>Location List Ids - source
Geo List<String>Locations - Source Geolocation
- source
Geo StringLocations Variable - Variable name
- source
Ipv4Prefixes List<String> - source
Ipv4Prefixes StringVariable - Variable name
- source
Ipv6Prefixes List<String> - source
Ipv6Prefixes StringVariable - Variable name
- source
Object List<String>Group List Ids - source
Port List<String>List Ids - source
Ports List<String> - source
Ports StringVariable - 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
sdwanTerraform Provider.
Cisco Catalyst SD-WANpublished on Wednesday, Oct 28, 2026 by Pulumi