1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getIpv4DeviceAclPolicyDefinition
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

sdwan.getIpv4DeviceAclPolicyDefinition

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

    This data source can read the IPv4 Device ACL Policy Definition .

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getIpv4DeviceAclPolicyDefinition({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_ipv4_device_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.LookupIpv4DeviceAclPolicyDefinition(ctx, &sdwan.LookupIpv4DeviceAclPolicyDefinitionArgs{
    			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.GetIpv4DeviceAclPolicyDefinition.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.GetIpv4DeviceAclPolicyDefinitionArgs;
    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.getIpv4DeviceAclPolicyDefinition(GetIpv4DeviceAclPolicyDefinitionArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getIpv4DeviceAclPolicyDefinition
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getIpv4DeviceAclPolicyDefinition

    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 getIpv4DeviceAclPolicyDefinition(args: GetIpv4DeviceAclPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetIpv4DeviceAclPolicyDefinitionResult>
    function getIpv4DeviceAclPolicyDefinitionOutput(args: GetIpv4DeviceAclPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetIpv4DeviceAclPolicyDefinitionResult>
    def get_ipv4_device_acl_policy_definition(id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetIpv4DeviceAclPolicyDefinitionResult
    def get_ipv4_device_acl_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetIpv4DeviceAclPolicyDefinitionResult]
    func LookupIpv4DeviceAclPolicyDefinition(ctx *Context, args *LookupIpv4DeviceAclPolicyDefinitionArgs, opts ...InvokeOption) (*LookupIpv4DeviceAclPolicyDefinitionResult, error)
    func LookupIpv4DeviceAclPolicyDefinitionOutput(ctx *Context, args *LookupIpv4DeviceAclPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupIpv4DeviceAclPolicyDefinitionResultOutput

    > Note: This function is named LookupIpv4DeviceAclPolicyDefinition in the Go SDK.

    public static class GetIpv4DeviceAclPolicyDefinition 
    {
        public static Task<GetIpv4DeviceAclPolicyDefinitionResult> InvokeAsync(GetIpv4DeviceAclPolicyDefinitionArgs args, InvokeOptions? opts = null)
        public static Output<GetIpv4DeviceAclPolicyDefinitionResult> Invoke(GetIpv4DeviceAclPolicyDefinitionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIpv4DeviceAclPolicyDefinitionResult> getIpv4DeviceAclPolicyDefinition(GetIpv4DeviceAclPolicyDefinitionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getIpv4DeviceAclPolicyDefinition:getIpv4DeviceAclPolicyDefinition
      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

    getIpv4DeviceAclPolicyDefinition 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<GetIpv4DeviceAclPolicyDefinitionSequence>
    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 []GetIpv4DeviceAclPolicyDefinitionSequence
    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<GetIpv4DeviceAclPolicyDefinitionSequence>
    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 GetIpv4DeviceAclPolicyDefinitionSequence[]
    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[GetIpv4DeviceAclPolicyDefinitionSequence]
    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

    GetIpv4DeviceAclPolicyDefinitionSequence

    ActionEntries List<GetIpv4DeviceAclPolicyDefinitionSequenceActionEntry>
    List of action entries
    BaseAction string
    Base action, either accept or drop
    Id int
    Sequence ID
    MatchEntries List<GetIpv4DeviceAclPolicyDefinitionSequenceMatchEntry>
    List of match entries
    Name string
    Sequence name
    ActionEntries []GetIpv4DeviceAclPolicyDefinitionSequenceActionEntry
    List of action entries
    BaseAction string
    Base action, either accept or drop
    Id int
    Sequence ID
    MatchEntries []GetIpv4DeviceAclPolicyDefinitionSequenceMatchEntry
    List of match entries
    Name string
    Sequence name
    actionEntries List<GetIpv4DeviceAclPolicyDefinitionSequenceActionEntry>
    List of action entries
    baseAction String
    Base action, either accept or drop
    id Integer
    Sequence ID
    matchEntries List<GetIpv4DeviceAclPolicyDefinitionSequenceMatchEntry>
    List of match entries
    name String
    Sequence name
    actionEntries GetIpv4DeviceAclPolicyDefinitionSequenceActionEntry[]
    List of action entries
    baseAction string
    Base action, either accept or drop
    id number
    Sequence ID
    matchEntries GetIpv4DeviceAclPolicyDefinitionSequenceMatchEntry[]
    List of match entries
    name string
    Sequence name
    action_entries Sequence[GetIpv4DeviceAclPolicyDefinitionSequenceActionEntry]
    List of action entries
    base_action str
    Base action, either accept or drop
    id int
    Sequence ID
    match_entries Sequence[GetIpv4DeviceAclPolicyDefinitionSequenceMatchEntry]
    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

    GetIpv4DeviceAclPolicyDefinitionSequenceActionEntry

    CounterName string
    Counter name
    Type string
    Type of action entry
    CounterName string
    Counter name
    Type string
    Type of action entry
    counterName String
    Counter name
    type String
    Type of action entry
    counterName string
    Counter name
    type string
    Type of action entry
    counter_name str
    Counter name
    type str
    Type of action entry
    counterName String
    Counter name
    type String
    Type of action entry

    GetIpv4DeviceAclPolicyDefinitionSequenceMatchEntry

    DestinationDataIpv4PrefixListId string
    Destination data IPv4 prefix list ID
    DestinationDataIpv4PrefixListVersion int
    Destination data IPv4 prefix list version
    DestinationIp string
    Destination IP prefix
    DestinationPort int
    Destination port, only 22 and 161 supported
    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.
    Type string
    Type of match entry
    DestinationDataIpv4PrefixListId string
    Destination data IPv4 prefix list ID
    DestinationDataIpv4PrefixListVersion int
    Destination data IPv4 prefix list version
    DestinationIp string
    Destination IP prefix
    DestinationPort int
    Destination port, only 22 and 161 supported
    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.
    Type string
    Type of match entry
    destinationDataIpv4PrefixListId String
    Destination data IPv4 prefix list ID
    destinationDataIpv4PrefixListVersion Integer
    Destination data IPv4 prefix list version
    destinationIp String
    Destination IP prefix
    destinationPort Integer
    Destination port, only 22 and 161 supported
    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.
    type String
    Type of match entry
    destinationDataIpv4PrefixListId string
    Destination data IPv4 prefix list ID
    destinationDataIpv4PrefixListVersion number
    Destination data IPv4 prefix list version
    destinationIp string
    Destination IP prefix
    destinationPort number
    Destination port, only 22 and 161 supported
    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.
    type string
    Type of match entry
    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_port int
    Destination port, only 22 and 161 supported
    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.
    type str
    Type of match entry
    destinationDataIpv4PrefixListId String
    Destination data IPv4 prefix list ID
    destinationDataIpv4PrefixListVersion Number
    Destination data IPv4 prefix list version
    destinationIp String
    Destination IP prefix
    destinationPort Number
    Destination port, only 22 and 161 supported
    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.
    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.0 published on Friday, Nov 1, 2024 by Pulumi