Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi
sdwan.getIpv4AclPolicyDefinition
Explore with Pulumi AI
This data source can read the IPv4 ACL Policy Definition .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getIpv4AclPolicyDefinition({
    id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_ipv4_acl_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.LookupIpv4AclPolicyDefinition(ctx, &sdwan.LookupIpv4AclPolicyDefinitionArgs{
			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.GetIpv4AclPolicyDefinition.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.GetIpv4AclPolicyDefinitionArgs;
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.getIpv4AclPolicyDefinition(GetIpv4AclPolicyDefinitionArgs.builder()
            .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: sdwan:getIpv4AclPolicyDefinition
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getIpv4AclPolicyDefinition
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 getIpv4AclPolicyDefinition(args: GetIpv4AclPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetIpv4AclPolicyDefinitionResult>
function getIpv4AclPolicyDefinitionOutput(args: GetIpv4AclPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetIpv4AclPolicyDefinitionResult>def get_ipv4_acl_policy_definition(id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetIpv4AclPolicyDefinitionResult
def get_ipv4_acl_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetIpv4AclPolicyDefinitionResult]func LookupIpv4AclPolicyDefinition(ctx *Context, args *LookupIpv4AclPolicyDefinitionArgs, opts ...InvokeOption) (*LookupIpv4AclPolicyDefinitionResult, error)
func LookupIpv4AclPolicyDefinitionOutput(ctx *Context, args *LookupIpv4AclPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupIpv4AclPolicyDefinitionResultOutput> Note: This function is named LookupIpv4AclPolicyDefinition in the Go SDK.
public static class GetIpv4AclPolicyDefinition 
{
    public static Task<GetIpv4AclPolicyDefinitionResult> InvokeAsync(GetIpv4AclPolicyDefinitionArgs args, InvokeOptions? opts = null)
    public static Output<GetIpv4AclPolicyDefinitionResult> Invoke(GetIpv4AclPolicyDefinitionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIpv4AclPolicyDefinitionResult> getIpv4AclPolicyDefinition(GetIpv4AclPolicyDefinitionArgs args, InvokeOptions options)
public static Output<GetIpv4AclPolicyDefinitionResult> getIpv4AclPolicyDefinition(GetIpv4AclPolicyDefinitionArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getIpv4AclPolicyDefinition:getIpv4AclPolicyDefinition
  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
getIpv4AclPolicyDefinition Result
The following output properties are available:
- DefaultAction string
- Default action, either acceptordrop
- Description string
- The description of the policy definition
- Id string
- The id of the object
- Name string
- The name of the policy definition
- Sequences
List<GetIpv4Acl Policy Definition Sequence> 
- List of ACL sequences
- Type string
- Type
- Version int
- The version of the object
- DefaultAction string
- Default action, either acceptordrop
- Description string
- The description of the policy definition
- Id string
- The id of the object
- Name string
- The name of the policy definition
- Sequences
[]GetIpv4Acl Policy Definition Sequence 
- List of ACL sequences
- Type string
- Type
- Version int
- The version of the object
- defaultAction String
- Default action, either acceptordrop
- description String
- The description of the policy definition
- id String
- The id of the object
- name String
- The name of the policy definition
- sequences
List<GetIpv4Acl Policy Definition Sequence> 
- List of ACL sequences
- type String
- Type
- version Integer
- The version of the object
- defaultAction string
- Default action, either acceptordrop
- description string
- The description of the policy definition
- id string
- The id of the object
- name string
- The name of the policy definition
- sequences
GetIpv4Acl Policy Definition Sequence[] 
- List of ACL sequences
- type string
- Type
- version number
- The version of the object
- default_action str
- Default action, either acceptordrop
- description str
- The description of the policy definition
- id str
- The id of the object
- name str
- The name of the policy definition
- sequences
Sequence[GetIpv4Acl Policy Definition Sequence] 
- List of ACL sequences
- type str
- Type
- version int
- The version of the object
- defaultAction String
- Default action, either acceptordrop
- description String
- The description of the policy definition
- id String
- The id of the object
- name String
- The name of the policy definition
- sequences List<Property Map>
- List of ACL sequences
- type String
- Type
- version Number
- The version of the object
Supporting Types
GetIpv4AclPolicyDefinitionSequence    
- ActionEntries List<GetIpv4Acl Policy Definition Sequence Action Entry> 
- List of action entries
- BaseAction string
- Base action, either acceptordrop
- Id int
- Sequence ID
- MatchEntries List<GetIpv4Acl Policy Definition Sequence Match Entry> 
- List of match entries
- Name string
- Sequence name
- ActionEntries []GetIpv4Acl Policy Definition Sequence Action Entry 
- List of action entries
- BaseAction string
- Base action, either acceptordrop
- Id int
- Sequence ID
- MatchEntries []GetIpv4Acl Policy Definition Sequence Match Entry 
- List of match entries
- Name string
- Sequence name
- actionEntries List<GetIpv4Acl Policy Definition Sequence Action Entry> 
- List of action entries
- baseAction String
- Base action, either acceptordrop
- id Integer
- Sequence ID
- matchEntries List<GetIpv4Acl Policy Definition Sequence Match Entry> 
- List of match entries
- name String
- Sequence name
- actionEntries GetIpv4Acl Policy Definition Sequence Action Entry[] 
- List of action entries
- baseAction string
- Base action, either acceptordrop
- id number
- Sequence ID
- matchEntries GetIpv4Acl Policy Definition Sequence Match Entry[] 
- List of match entries
- name string
- Sequence name
- action_entries Sequence[GetIpv4Acl Policy Definition Sequence Action Entry] 
- List of action entries
- base_action str
- Base action, either acceptordrop
- id int
- Sequence ID
- match_entries Sequence[GetIpv4Acl Policy Definition Sequence Match Entry] 
- List of match entries
- name str
- Sequence name
- actionEntries List<Property Map>
- List of action entries
- baseAction String
- Base action, either acceptordrop
- id Number
- Sequence ID
- matchEntries List<Property Map>
- List of match entries
- name String
- Sequence name
GetIpv4AclPolicyDefinitionSequenceActionEntry      
- ClassMap stringId 
- Class map ID
- ClassMap intVersion 
- Class map version
- CounterName string
- Counter name
- Log bool
- Enable logging
- MirrorId string
- Mirror ID
- MirrorVersion int
- Mirror version
- PolicerId string
- Policer ID
- PolicerVersion int
- Policer version
- SetParameters List<GetIpv4Acl Policy Definition Sequence Action Entry Set Parameter> 
- List of set parameters
- Type string
- Type of action entry
- ClassMap stringId 
- Class map ID
- ClassMap intVersion 
- Class map version
- CounterName string
- Counter name
- Log bool
- Enable logging
- MirrorId string
- Mirror ID
- MirrorVersion int
- Mirror version
- PolicerId string
- Policer ID
- PolicerVersion int
- Policer version
- SetParameters []GetIpv4Acl Policy Definition Sequence Action Entry Set Parameter 
- List of set parameters
- Type string
- Type of action entry
- classMap StringId 
- Class map ID
- classMap IntegerVersion 
- Class map version
- counterName String
- Counter name
- log Boolean
- Enable logging
- mirrorId String
- Mirror ID
- mirrorVersion Integer
- Mirror version
- policerId String
- Policer ID
- policerVersion Integer
- Policer version
- setParameters List<GetIpv4Acl Policy Definition Sequence Action Entry Set Parameter> 
- List of set parameters
- type String
- Type of action entry
- classMap stringId 
- Class map ID
- classMap numberVersion 
- Class map version
- counterName string
- Counter name
- log boolean
- Enable logging
- mirrorId string
- Mirror ID
- mirrorVersion number
- Mirror version
- policerId string
- Policer ID
- policerVersion number
- Policer version
- setParameters GetIpv4Acl Policy Definition Sequence Action Entry Set Parameter[] 
- List of set parameters
- type string
- Type of action entry
- class_map_ strid 
- Class map ID
- class_map_ intversion 
- Class map version
- counter_name str
- Counter name
- log bool
- Enable logging
- mirror_id str
- Mirror ID
- mirror_version int
- Mirror version
- policer_id str
- Policer ID
- policer_version int
- Policer version
- set_parameters Sequence[GetIpv4Acl Policy Definition Sequence Action Entry Set Parameter] 
- List of set parameters
- type str
- Type of action entry
- classMap StringId 
- Class map ID
- classMap NumberVersion 
- Class map version
- counterName String
- Counter name
- log Boolean
- Enable logging
- mirrorId String
- Mirror ID
- mirrorVersion Number
- Mirror version
- policerId String
- Policer ID
- policerVersion Number
- Policer version
- setParameters List<Property Map>
- List of set parameters
- type String
- Type of action entry
GetIpv4AclPolicyDefinitionSequenceActionEntrySetParameter        
GetIpv4AclPolicyDefinitionSequenceMatchEntry      
- ClassMap stringId 
- Class map ID
- ClassMap intVersion 
- Class map version
- DestinationData stringIpv4Prefix List Id 
- Destination data IPv4 prefix list ID
- DestinationData intIpv4Prefix List Version 
- Destination data IPv4 prefix list version
- DestinationIp string
- Destination IP prefix
- DestinationPorts string
- Destination ports. Single value (0-65535) or ranges separated by spaces.
- Dscp int
- DSCP value
- IcmpMessage string
- ICMP Message
- PacketLength int
- Packet length
- Priority string
- PLP - priority
- Protocol string
- Single value (0-255) or multiple values separated by spaces
- SourceData stringIpv4Prefix List Id 
- Source data IPv4 prefix list ID
- SourceData intIpv4Prefix List Version 
- Source data IPv4 prefix list version
- SourceIp string
- Source IP prefix
- SourcePorts string
- Source ports. Single value (0-65535) or ranges separated by spaces.
- Tcp string
- TCP parameters
- Type string
- Type of match entry
- ClassMap stringId 
- Class map ID
- ClassMap intVersion 
- Class map version
- DestinationData stringIpv4Prefix List Id 
- Destination data IPv4 prefix list ID
- DestinationData intIpv4Prefix List Version 
- Destination data IPv4 prefix list version
- DestinationIp string
- Destination IP prefix
- DestinationPorts string
- Destination ports. Single value (0-65535) or ranges separated by spaces.
- Dscp int
- DSCP value
- IcmpMessage string
- ICMP Message
- PacketLength int
- Packet length
- Priority string
- PLP - priority
- Protocol string
- Single value (0-255) or multiple values separated by spaces
- SourceData stringIpv4Prefix List Id 
- Source data IPv4 prefix list ID
- SourceData intIpv4Prefix List Version 
- Source data IPv4 prefix list version
- SourceIp string
- Source IP prefix
- SourcePorts string
- Source ports. Single value (0-65535) or ranges separated by spaces.
- Tcp string
- TCP parameters
- Type string
- Type of match entry
- classMap StringId 
- Class map ID
- classMap IntegerVersion 
- Class map version
- destinationData StringIpv4Prefix List Id 
- Destination data IPv4 prefix list ID
- destinationData IntegerIpv4Prefix List Version 
- Destination data IPv4 prefix list version
- destinationIp String
- Destination IP prefix
- destinationPorts String
- Destination ports. Single value (0-65535) or ranges separated by spaces.
- dscp Integer
- DSCP value
- icmpMessage String
- ICMP Message
- packetLength Integer
- Packet length
- priority String
- PLP - priority
- protocol String
- Single value (0-255) or multiple values separated by spaces
- sourceData StringIpv4Prefix List Id 
- Source data IPv4 prefix list ID
- sourceData IntegerIpv4Prefix List Version 
- Source data IPv4 prefix list version
- sourceIp String
- Source IP prefix
- sourcePorts String
- Source ports. Single value (0-65535) or ranges separated by spaces.
- tcp String
- TCP parameters
- type String
- Type of match entry
- classMap stringId 
- Class map ID
- classMap numberVersion 
- Class map version
- destinationData stringIpv4Prefix List Id 
- Destination data IPv4 prefix list ID
- destinationData numberIpv4Prefix List Version 
- Destination data IPv4 prefix list version
- destinationIp string
- Destination IP prefix
- destinationPorts string
- Destination ports. Single value (0-65535) or ranges separated by spaces.
- dscp number
- DSCP value
- icmpMessage string
- ICMP Message
- packetLength number
- Packet length
- priority string
- PLP - priority
- protocol string
- Single value (0-255) or multiple values separated by spaces
- sourceData stringIpv4Prefix List Id 
- Source data IPv4 prefix list ID
- sourceData numberIpv4Prefix List Version 
- Source data IPv4 prefix list version
- sourceIp string
- Source IP prefix
- sourcePorts string
- Source ports. Single value (0-65535) or ranges separated by spaces.
- tcp string
- TCP parameters
- type string
- Type of match entry
- class_map_ strid 
- Class map ID
- class_map_ intversion 
- Class map 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_ip str
- Destination IP prefix
- destination_ports str
- Destination ports. Single value (0-65535) or ranges separated by spaces.
- dscp int
- DSCP value
- icmp_message str
- ICMP Message
- packet_length int
- Packet length
- priority str
- PLP - priority
- protocol str
- Single value (0-255) or multiple values separated by spaces
- 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_ip str
- Source IP prefix
- source_ports str
- Source ports. Single value (0-65535) or ranges separated by spaces.
- tcp str
- TCP parameters
- type str
- Type of match entry
- classMap StringId 
- Class map ID
- classMap NumberVersion 
- Class map version
- destinationData StringIpv4Prefix List Id 
- Destination data IPv4 prefix list ID
- destinationData NumberIpv4Prefix List Version 
- Destination data IPv4 prefix list version
- destinationIp String
- Destination IP prefix
- destinationPorts String
- Destination ports. Single value (0-65535) or ranges separated by spaces.
- dscp Number
- DSCP value
- icmpMessage String
- ICMP Message
- packetLength Number
- Packet length
- priority String
- PLP - priority
- protocol String
- Single value (0-255) or multiple values separated by spaces
- sourceData StringIpv4Prefix List Id 
- Source data IPv4 prefix list ID
- sourceData NumberIpv4Prefix List Version 
- Source data IPv4 prefix list version
- sourceIp String
- Source IP prefix
- sourcePorts String
- Source ports. Single value (0-65535) or ranges separated by spaces.
- tcp String
- TCP parameters
- type String
- Type of match entry
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
