1. Packages
  2. Cisco Catalyst SD-WAN Provider
  3. API Docs
  4. getIpv4AclPolicyDefinition
Cisco Catalyst SD-WAN v0.2.3 published on Wednesday, Dec 4, 2024 by Pulumi

sdwan.getIpv4AclPolicyDefinition

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.3 published on Wednesday, Dec 4, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getIpv4AclPolicyDefinition:getIpv4AclPolicyDefinition
      arguments:
        # arguments dictionary

    The 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 accept or drop
    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<GetIpv4AclPolicyDefinitionSequence>
    List of ACL sequences
    Type string
    Type
    Version int
    The version of the object
    DefaultAction string
    Default action, either accept or drop
    Description string
    The description of the policy definition
    Id string
    The id of the object
    Name string
    The name of the policy definition
    Sequences []GetIpv4AclPolicyDefinitionSequence
    List of ACL sequences
    Type string
    Type
    Version int
    The version of the object
    defaultAction String
    Default action, either accept or drop
    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<GetIpv4AclPolicyDefinitionSequence>
    List of ACL sequences
    type String
    Type
    version Integer
    The version of the object
    defaultAction string
    Default action, either accept or drop
    description string
    The description of the policy definition
    id string
    The id of the object
    name string
    The name of the policy definition
    sequences GetIpv4AclPolicyDefinitionSequence[]
    List of ACL sequences
    type string
    Type
    version number
    The version of the object
    default_action str
    Default action, either accept or drop
    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[GetIpv4AclPolicyDefinitionSequence]
    List of ACL sequences
    type str
    Type
    version int
    The version of the object
    defaultAction String
    Default action, either accept or drop
    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<GetIpv4AclPolicyDefinitionSequenceActionEntry>
    List of action entries
    BaseAction string
    Base action, either accept or drop
    Id int
    Sequence ID
    MatchEntries List<GetIpv4AclPolicyDefinitionSequenceMatchEntry>
    List of match entries
    Name string
    Sequence name
    ActionEntries []GetIpv4AclPolicyDefinitionSequenceActionEntry
    List of action entries
    BaseAction string
    Base action, either accept or drop
    Id int
    Sequence ID
    MatchEntries []GetIpv4AclPolicyDefinitionSequenceMatchEntry
    List of match entries
    Name string
    Sequence name
    actionEntries List<GetIpv4AclPolicyDefinitionSequenceActionEntry>
    List of action entries
    baseAction String
    Base action, either accept or drop
    id Integer
    Sequence ID
    matchEntries List<GetIpv4AclPolicyDefinitionSequenceMatchEntry>
    List of match entries
    name String
    Sequence name
    actionEntries GetIpv4AclPolicyDefinitionSequenceActionEntry[]
    List of action entries
    baseAction string
    Base action, either accept or drop
    id number
    Sequence ID
    matchEntries GetIpv4AclPolicyDefinitionSequenceMatchEntry[]
    List of match entries
    name string
    Sequence name
    action_entries Sequence[GetIpv4AclPolicyDefinitionSequenceActionEntry]
    List of action entries
    base_action str
    Base action, either accept or drop
    id int
    Sequence ID
    match_entries Sequence[GetIpv4AclPolicyDefinitionSequenceMatchEntry]
    List of match entries
    name str
    Sequence name
    actionEntries List<Property Map>
    List of action entries
    baseAction String
    Base action, either accept or drop
    id Number
    Sequence ID
    matchEntries List<Property Map>
    List of match entries
    name String
    Sequence name

    GetIpv4AclPolicyDefinitionSequenceActionEntry

    ClassMapId string
    Class map ID
    ClassMapVersion int
    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<GetIpv4AclPolicyDefinitionSequenceActionEntrySetParameter>
    List of set parameters
    Type string
    Type of action entry
    ClassMapId string
    Class map ID
    ClassMapVersion int
    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 []GetIpv4AclPolicyDefinitionSequenceActionEntrySetParameter
    List of set parameters
    Type string
    Type of action entry
    classMapId String
    Class map ID
    classMapVersion Integer
    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<GetIpv4AclPolicyDefinitionSequenceActionEntrySetParameter>
    List of set parameters
    type String
    Type of action entry
    classMapId string
    Class map ID
    classMapVersion number
    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 GetIpv4AclPolicyDefinitionSequenceActionEntrySetParameter[]
    List of set parameters
    type string
    Type of action entry
    class_map_id str
    Class map ID
    class_map_version int
    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[GetIpv4AclPolicyDefinitionSequenceActionEntrySetParameter]
    List of set parameters
    type str
    Type of action entry
    classMapId String
    Class map ID
    classMapVersion Number
    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

    Dscp int
    DSCP value
    NextHop string
    Next hop IP
    Type string
    Type of set parameter
    Dscp int
    DSCP value
    NextHop string
    Next hop IP
    Type string
    Type of set parameter
    dscp Integer
    DSCP value
    nextHop String
    Next hop IP
    type String
    Type of set parameter
    dscp number
    DSCP value
    nextHop string
    Next hop IP
    type string
    Type of set parameter
    dscp int
    DSCP value
    next_hop str
    Next hop IP
    type str
    Type of set parameter
    dscp Number
    DSCP value
    nextHop String
    Next hop IP
    type String
    Type of set parameter

    GetIpv4AclPolicyDefinitionSequenceMatchEntry

    ClassMapId string
    Class map ID
    ClassMapVersion int
    Class map version
    DestinationDataIpv4PrefixListId string
    Destination data IPv4 prefix list ID
    DestinationDataIpv4PrefixListVersion int
    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
    SourceDataIpv4PrefixListId string
    Source data IPv4 prefix list ID
    SourceDataIpv4PrefixListVersion int
    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
    ClassMapId string
    Class map ID
    ClassMapVersion int
    Class map version
    DestinationDataIpv4PrefixListId string
    Destination data IPv4 prefix list ID
    DestinationDataIpv4PrefixListVersion int
    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
    SourceDataIpv4PrefixListId string
    Source data IPv4 prefix list ID
    SourceDataIpv4PrefixListVersion int
    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
    classMapId String
    Class map ID
    classMapVersion Integer
    Class map version
    destinationDataIpv4PrefixListId String
    Destination data IPv4 prefix list ID
    destinationDataIpv4PrefixListVersion Integer
    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
    sourceDataIpv4PrefixListId String
    Source data IPv4 prefix list ID
    sourceDataIpv4PrefixListVersion Integer
    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
    classMapId string
    Class map ID
    classMapVersion number
    Class map version
    destinationDataIpv4PrefixListId string
    Destination data IPv4 prefix list ID
    destinationDataIpv4PrefixListVersion number
    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
    sourceDataIpv4PrefixListId string
    Source data IPv4 prefix list ID
    sourceDataIpv4PrefixListVersion number
    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_id str
    Class map ID
    class_map_version int
    Class map version
    destination_data_ipv4_prefix_list_id str
    Destination data IPv4 prefix list ID
    destination_data_ipv4_prefix_list_version int
    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_ipv4_prefix_list_id str
    Source data IPv4 prefix list ID
    source_data_ipv4_prefix_list_version int
    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
    classMapId String
    Class map ID
    classMapVersion Number
    Class map version
    destinationDataIpv4PrefixListId String
    Destination data IPv4 prefix list ID
    destinationDataIpv4PrefixListVersion Number
    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
    sourceDataIpv4PrefixListId String
    Source data IPv4 prefix list ID
    sourceDataIpv4PrefixListVersion Number
    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 sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.2.3 published on Wednesday, Dec 4, 2024 by Pulumi