Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi
sdwan.getRuleSetPolicyDefinition
Explore with Pulumi AI
This data source can read the Rule Set Policy Definition .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getRuleSetPolicyDefinition({
    id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_rule_set_policy_definition(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
package main
import (
	"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sdwan.LookupRuleSetPolicyDefinition(ctx, &sdwan.LookupRuleSetPolicyDefinitionArgs{
			Id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() => 
{
    var example = Sdwan.GetRuleSetPolicyDefinition.Invoke(new()
    {
        Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.SdwanFunctions;
import com.pulumi.sdwan.inputs.GetRuleSetPolicyDefinitionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = SdwanFunctions.getRuleSetPolicyDefinition(GetRuleSetPolicyDefinitionArgs.builder()
            .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: sdwan:getRuleSetPolicyDefinition
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getRuleSetPolicyDefinition
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 getRuleSetPolicyDefinition(args: GetRuleSetPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetRuleSetPolicyDefinitionResult>
function getRuleSetPolicyDefinitionOutput(args: GetRuleSetPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetRuleSetPolicyDefinitionResult>def get_rule_set_policy_definition(id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetRuleSetPolicyDefinitionResult
def get_rule_set_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetRuleSetPolicyDefinitionResult]func LookupRuleSetPolicyDefinition(ctx *Context, args *LookupRuleSetPolicyDefinitionArgs, opts ...InvokeOption) (*LookupRuleSetPolicyDefinitionResult, error)
func LookupRuleSetPolicyDefinitionOutput(ctx *Context, args *LookupRuleSetPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupRuleSetPolicyDefinitionResultOutput> Note: This function is named LookupRuleSetPolicyDefinition in the Go SDK.
public static class GetRuleSetPolicyDefinition 
{
    public static Task<GetRuleSetPolicyDefinitionResult> InvokeAsync(GetRuleSetPolicyDefinitionArgs args, InvokeOptions? opts = null)
    public static Output<GetRuleSetPolicyDefinitionResult> Invoke(GetRuleSetPolicyDefinitionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRuleSetPolicyDefinitionResult> getRuleSetPolicyDefinition(GetRuleSetPolicyDefinitionArgs args, InvokeOptions options)
public static Output<GetRuleSetPolicyDefinitionResult> getRuleSetPolicyDefinition(GetRuleSetPolicyDefinitionArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getRuleSetPolicyDefinition:getRuleSetPolicyDefinition
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- The id of the object
- Id string
- The id of the object
- id String
- The id of the object
- id string
- The id of the object
- id str
- The id of the object
- id String
- The id of the object
getRuleSetPolicyDefinition Result
The following output properties are available:
- Description string
- The description of the policy definition
- Id string
- The id of the object
- Name string
- The name of the policy definition
- Rules
List<GetRule Set Policy Definition Rule> 
- List of rules
- Version int
- The version of the object
- Description string
- The description of the policy definition
- Id string
- The id of the object
- Name string
- The name of the policy definition
- Rules
[]GetRule Set Policy Definition Rule 
- List of rules
- Version int
- The version of the object
- description String
- The description of the policy definition
- id String
- The id of the object
- name String
- The name of the policy definition
- rules
List<GetRule Set Policy Definition Rule> 
- List of rules
- version Integer
- The version of the object
- description string
- The description of the policy definition
- id string
- The id of the object
- name string
- The name of the policy definition
- rules
GetRule Set Policy Definition Rule[] 
- List of rules
- version number
- The version of the object
- description str
- The description of the policy definition
- id str
- The id of the object
- name str
- The name of the policy definition
- rules
Sequence[GetRule Set Policy Definition Rule] 
- List of rules
- version int
- The version of the object
- description String
- The description of the policy definition
- id String
- The id of the object
- name String
- The name of the policy definition
- rules List<Property Map>
- List of rules
- version Number
- The version of the object
Supporting Types
GetRuleSetPolicyDefinitionRule     
- DestinationData stringFqdn Prefix List Id 
- Destination data FQDN prefix list ID
- DestinationData intFqdn Prefix List Version 
- Destination data FQDN prefix list version
- DestinationData stringIpv4Prefix List Id 
- Destination data IPv4 prefix list ID
- DestinationData intIpv4Prefix List Version 
- Destination data IPv4 prefix list version
- DestinationFqdn string
- Destination fully qualified domain name
- DestinationGeo stringLocation 
- Destination geo location
- DestinationGeo stringLocation List Id 
- Destination geo location list ID
- DestinationGeo intLocation List Version 
- Destination geo location list version
- DestinationIpv4Prefix string
- Destination IPv4 prefix
- DestinationIpv4Prefix stringVariable 
- Destination IPv4 prefix variable name
- DestinationObject stringGroup Id 
- Destination object group ID
- DestinationObject intGroup Version 
- Destination object group version
- DestinationPort string
- Destination port or range of ports
- DestinationPort stringList Id 
- Destination port list ID
- DestinationPort intList Version 
- Destination port list version
- Name string
- The name of the rule
- Order int
- The order of the rule
- Protocol string
- Protocol name
- ProtocolList stringId 
- Protocol list ID
- ProtocolList intVersion 
- Protocol list version
- ProtocolNumber int
- Protocol number
- SourceData stringFqdn Prefix List Id 
- Source data FQDN prefix list ID
- SourceData intFqdn Prefix List Version 
- Source data FQDN prefix list version
- SourceData stringIpv4Prefix List Id 
- Source data IPv4 prefix list ID
- SourceData intIpv4Prefix List Version 
- Source data IPv4 prefix list version
- SourceFqdn string
- Source fully qualified domain name
- SourceGeo stringLocation 
- Source geo location
- SourceGeo stringLocation List Id 
- Source geo location list ID
- SourceGeo intLocation List Version 
- Source geo location list version
- SourceIpv4Prefix string
- Source IPv4 prefix
- SourceIpv4Prefix stringVariable 
- Source IPv4 prefix variable name
- SourceObject stringGroup Id 
- Source object group ID
- SourceObject intGroup Version 
- Source object group version
- SourcePort string
- Source port or range of ports
- SourcePort stringList Id 
- Source port list ID
- SourcePort intList Version 
- Source port list version
- DestinationData stringFqdn Prefix List Id 
- Destination data FQDN prefix list ID
- DestinationData intFqdn Prefix List Version 
- Destination data FQDN prefix list version
- DestinationData stringIpv4Prefix List Id 
- Destination data IPv4 prefix list ID
- DestinationData intIpv4Prefix List Version 
- Destination data IPv4 prefix list version
- DestinationFqdn string
- Destination fully qualified domain name
- DestinationGeo stringLocation 
- Destination geo location
- DestinationGeo stringLocation List Id 
- Destination geo location list ID
- DestinationGeo intLocation List Version 
- Destination geo location list version
- DestinationIpv4Prefix string
- Destination IPv4 prefix
- DestinationIpv4Prefix stringVariable 
- Destination IPv4 prefix variable name
- DestinationObject stringGroup Id 
- Destination object group ID
- DestinationObject intGroup Version 
- Destination object group version
- DestinationPort string
- Destination port or range of ports
- DestinationPort stringList Id 
- Destination port list ID
- DestinationPort intList Version 
- Destination port list version
- Name string
- The name of the rule
- Order int
- The order of the rule
- Protocol string
- Protocol name
- ProtocolList stringId 
- Protocol list ID
- ProtocolList intVersion 
- Protocol list version
- ProtocolNumber int
- Protocol number
- SourceData stringFqdn Prefix List Id 
- Source data FQDN prefix list ID
- SourceData intFqdn Prefix List Version 
- Source data FQDN prefix list version
- SourceData stringIpv4Prefix List Id 
- Source data IPv4 prefix list ID
- SourceData intIpv4Prefix List Version 
- Source data IPv4 prefix list version
- SourceFqdn string
- Source fully qualified domain name
- SourceGeo stringLocation 
- Source geo location
- SourceGeo stringLocation List Id 
- Source geo location list ID
- SourceGeo intLocation List Version 
- Source geo location list version
- SourceIpv4Prefix string
- Source IPv4 prefix
- SourceIpv4Prefix stringVariable 
- Source IPv4 prefix variable name
- SourceObject stringGroup Id 
- Source object group ID
- SourceObject intGroup Version 
- Source object group version
- SourcePort string
- Source port or range of ports
- SourcePort stringList Id 
- Source port list ID
- SourcePort intList Version 
- Source port list version
- destinationData StringFqdn Prefix List Id 
- Destination data FQDN prefix list ID
- destinationData IntegerFqdn Prefix List Version 
- Destination data FQDN prefix list version
- destinationData StringIpv4Prefix List Id 
- Destination data IPv4 prefix list ID
- destinationData IntegerIpv4Prefix List Version 
- Destination data IPv4 prefix list version
- destinationFqdn String
- Destination fully qualified domain name
- destinationGeo StringLocation 
- Destination geo location
- destinationGeo StringLocation List Id 
- Destination geo location list ID
- destinationGeo IntegerLocation List Version 
- Destination geo location list version
- destinationIpv4Prefix String
- Destination IPv4 prefix
- destinationIpv4Prefix StringVariable 
- Destination IPv4 prefix variable name
- destinationObject StringGroup Id 
- Destination object group ID
- destinationObject IntegerGroup Version 
- Destination object group version
- destinationPort String
- Destination port or range of ports
- destinationPort StringList Id 
- Destination port list ID
- destinationPort IntegerList Version 
- Destination port list version
- name String
- The name of the rule
- order Integer
- The order of the rule
- protocol String
- Protocol name
- protocolList StringId 
- Protocol list ID
- protocolList IntegerVersion 
- Protocol list version
- protocolNumber Integer
- Protocol number
- sourceData StringFqdn Prefix List Id 
- Source data FQDN prefix list ID
- sourceData IntegerFqdn Prefix List Version 
- Source data FQDN prefix list version
- sourceData StringIpv4Prefix List Id 
- Source data IPv4 prefix list ID
- sourceData IntegerIpv4Prefix List Version 
- Source data IPv4 prefix list version
- sourceFqdn String
- Source fully qualified domain name
- sourceGeo StringLocation 
- Source geo location
- sourceGeo StringLocation List Id 
- Source geo location list ID
- sourceGeo IntegerLocation List Version 
- Source geo location list version
- sourceIpv4Prefix String
- Source IPv4 prefix
- sourceIpv4Prefix StringVariable 
- Source IPv4 prefix variable name
- sourceObject StringGroup Id 
- Source object group ID
- sourceObject IntegerGroup Version 
- Source object group version
- sourcePort String
- Source port or range of ports
- sourcePort StringList Id 
- Source port list ID
- sourcePort IntegerList Version 
- Source port list version
- destinationData stringFqdn Prefix List Id 
- Destination data FQDN prefix list ID
- destinationData numberFqdn Prefix List Version 
- Destination data FQDN prefix list version
- destinationData stringIpv4Prefix List Id 
- Destination data IPv4 prefix list ID
- destinationData numberIpv4Prefix List Version 
- Destination data IPv4 prefix list version
- destinationFqdn string
- Destination fully qualified domain name
- destinationGeo stringLocation 
- Destination geo location
- destinationGeo stringLocation List Id 
- Destination geo location list ID
- destinationGeo numberLocation List Version 
- Destination geo location list version
- destinationIpv4Prefix string
- Destination IPv4 prefix
- destinationIpv4Prefix stringVariable 
- Destination IPv4 prefix variable name
- destinationObject stringGroup Id 
- Destination object group ID
- destinationObject numberGroup Version 
- Destination object group version
- destinationPort string
- Destination port or range of ports
- destinationPort stringList Id 
- Destination port list ID
- destinationPort numberList Version 
- Destination port list version
- name string
- The name of the rule
- order number
- The order of the rule
- protocol string
- Protocol name
- protocolList stringId 
- Protocol list ID
- protocolList numberVersion 
- Protocol list version
- protocolNumber number
- Protocol number
- sourceData stringFqdn Prefix List Id 
- Source data FQDN prefix list ID
- sourceData numberFqdn Prefix List Version 
- Source data FQDN prefix list version
- sourceData stringIpv4Prefix List Id 
- Source data IPv4 prefix list ID
- sourceData numberIpv4Prefix List Version 
- Source data IPv4 prefix list version
- sourceFqdn string
- Source fully qualified domain name
- sourceGeo stringLocation 
- Source geo location
- sourceGeo stringLocation List Id 
- Source geo location list ID
- sourceGeo numberLocation List Version 
- Source geo location list version
- sourceIpv4Prefix string
- Source IPv4 prefix
- sourceIpv4Prefix stringVariable 
- Source IPv4 prefix variable name
- sourceObject stringGroup Id 
- Source object group ID
- sourceObject numberGroup Version 
- Source object group version
- sourcePort string
- Source port or range of ports
- sourcePort stringList Id 
- Source port list ID
- sourcePort numberList Version 
- Source port list version
- destination_data_ strfqdn_ prefix_ list_ id 
- Destination data FQDN prefix list ID
- destination_data_ intfqdn_ prefix_ list_ version 
- Destination data FQDN prefix list version
- destination_data_ stripv4_ prefix_ list_ id 
- Destination data IPv4 prefix list ID
- destination_data_ intipv4_ prefix_ list_ version 
- Destination data IPv4 prefix list version
- destination_fqdn str
- Destination fully qualified domain name
- destination_geo_ strlocation 
- Destination geo location
- destination_geo_ strlocation_ list_ id 
- Destination geo location list ID
- destination_geo_ intlocation_ list_ version 
- Destination geo location list version
- destination_ipv4_ strprefix 
- Destination IPv4 prefix
- destination_ipv4_ strprefix_ variable 
- Destination IPv4 prefix variable name
- destination_object_ strgroup_ id 
- Destination object group ID
- destination_object_ intgroup_ version 
- Destination object group version
- destination_port str
- Destination port or range of ports
- destination_port_ strlist_ id 
- Destination port list ID
- destination_port_ intlist_ version 
- Destination port list version
- name str
- The name of the rule
- order int
- The order of the rule
- protocol str
- Protocol name
- protocol_list_ strid 
- Protocol list ID
- protocol_list_ intversion 
- Protocol list version
- protocol_number int
- Protocol number
- source_data_ strfqdn_ prefix_ list_ id 
- Source data FQDN prefix list ID
- source_data_ intfqdn_ prefix_ list_ version 
- Source data FQDN prefix list version
- source_data_ stripv4_ prefix_ list_ id 
- Source data IPv4 prefix list ID
- source_data_ intipv4_ prefix_ list_ version 
- Source data IPv4 prefix list version
- source_fqdn str
- Source fully qualified domain name
- source_geo_ strlocation 
- Source geo location
- source_geo_ strlocation_ list_ id 
- Source geo location list ID
- source_geo_ intlocation_ list_ version 
- Source geo location list version
- source_ipv4_ strprefix 
- Source IPv4 prefix
- source_ipv4_ strprefix_ variable 
- Source IPv4 prefix variable name
- source_object_ strgroup_ id 
- Source object group ID
- source_object_ intgroup_ version 
- Source object group version
- source_port str
- Source port or range of ports
- source_port_ strlist_ id 
- Source port list ID
- source_port_ intlist_ version 
- Source port list version
- destinationData StringFqdn Prefix List Id 
- Destination data FQDN prefix list ID
- destinationData NumberFqdn Prefix List Version 
- Destination data FQDN prefix list version
- destinationData StringIpv4Prefix List Id 
- Destination data IPv4 prefix list ID
- destinationData NumberIpv4Prefix List Version 
- Destination data IPv4 prefix list version
- destinationFqdn String
- Destination fully qualified domain name
- destinationGeo StringLocation 
- Destination geo location
- destinationGeo StringLocation List Id 
- Destination geo location list ID
- destinationGeo NumberLocation List Version 
- Destination geo location list version
- destinationIpv4Prefix String
- Destination IPv4 prefix
- destinationIpv4Prefix StringVariable 
- Destination IPv4 prefix variable name
- destinationObject StringGroup Id 
- Destination object group ID
- destinationObject NumberGroup Version 
- Destination object group version
- destinationPort String
- Destination port or range of ports
- destinationPort StringList Id 
- Destination port list ID
- destinationPort NumberList Version 
- Destination port list version
- name String
- The name of the rule
- order Number
- The order of the rule
- protocol String
- Protocol name
- protocolList StringId 
- Protocol list ID
- protocolList NumberVersion 
- Protocol list version
- protocolNumber Number
- Protocol number
- sourceData StringFqdn Prefix List Id 
- Source data FQDN prefix list ID
- sourceData NumberFqdn Prefix List Version 
- Source data FQDN prefix list version
- sourceData StringIpv4Prefix List Id 
- Source data IPv4 prefix list ID
- sourceData NumberIpv4Prefix List Version 
- Source data IPv4 prefix list version
- sourceFqdn String
- Source fully qualified domain name
- sourceGeo StringLocation 
- Source geo location
- sourceGeo StringLocation List Id 
- Source geo location list ID
- sourceGeo NumberLocation List Version 
- Source geo location list version
- sourceIpv4Prefix String
- Source IPv4 prefix
- sourceIpv4Prefix StringVariable 
- Source IPv4 prefix variable name
- sourceObject StringGroup Id 
- Source object group ID
- sourceObject NumberGroup Version 
- Source object group version
- sourcePort String
- Source port or range of ports
- sourcePort StringList Id 
- Source port list ID
- sourcePort NumberList Version 
- Source port list version
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
