1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getIpv6DeviceAclPolicyDefinition
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

sdwan.getIpv6DeviceAclPolicyDefinition

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getIpv6DeviceAclPolicyDefinition({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_ipv6_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.LookupIpv6DeviceAclPolicyDefinition(ctx, &sdwan.LookupIpv6DeviceAclPolicyDefinitionArgs{
    			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.GetIpv6DeviceAclPolicyDefinition.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.GetIpv6DeviceAclPolicyDefinitionArgs;
    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.getIpv6DeviceAclPolicyDefinition(GetIpv6DeviceAclPolicyDefinitionArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getIpv6DeviceAclPolicyDefinition
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getIpv6DeviceAclPolicyDefinition

    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 getIpv6DeviceAclPolicyDefinition(args: GetIpv6DeviceAclPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetIpv6DeviceAclPolicyDefinitionResult>
    function getIpv6DeviceAclPolicyDefinitionOutput(args: GetIpv6DeviceAclPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetIpv6DeviceAclPolicyDefinitionResult>
    def get_ipv6_device_acl_policy_definition(id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetIpv6DeviceAclPolicyDefinitionResult
    def get_ipv6_device_acl_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetIpv6DeviceAclPolicyDefinitionResult]
    func LookupIpv6DeviceAclPolicyDefinition(ctx *Context, args *LookupIpv6DeviceAclPolicyDefinitionArgs, opts ...InvokeOption) (*LookupIpv6DeviceAclPolicyDefinitionResult, error)
    func LookupIpv6DeviceAclPolicyDefinitionOutput(ctx *Context, args *LookupIpv6DeviceAclPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupIpv6DeviceAclPolicyDefinitionResultOutput

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

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

    getIpv6DeviceAclPolicyDefinition 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<GetIpv6DeviceAclPolicyDefinitionSequence>
    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 []GetIpv6DeviceAclPolicyDefinitionSequence
    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<GetIpv6DeviceAclPolicyDefinitionSequence>
    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 GetIpv6DeviceAclPolicyDefinitionSequence[]
    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[GetIpv6DeviceAclPolicyDefinitionSequence]
    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

    GetIpv6DeviceAclPolicyDefinitionSequence

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

    GetIpv6DeviceAclPolicyDefinitionSequenceActionEntry

    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

    GetIpv6DeviceAclPolicyDefinitionSequenceMatchEntry

    DestinationDataIpv6PrefixListId string
    Destination data IPv6 prefix list ID
    DestinationDataIpv6PrefixListVersion int
    Destination data IPv6 prefix list version
    DestinationIp string
    Destination IP prefix
    DestinationPort int
    Destination port, only 22 and 161 supported
    SourceDataIpv6PrefixListId string
    Source data IPv6 prefix list ID
    SourceDataIpv6PrefixListVersion int
    Source data IPv6 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
    DestinationDataIpv6PrefixListId string
    Destination data IPv6 prefix list ID
    DestinationDataIpv6PrefixListVersion int
    Destination data IPv6 prefix list version
    DestinationIp string
    Destination IP prefix
    DestinationPort int
    Destination port, only 22 and 161 supported
    SourceDataIpv6PrefixListId string
    Source data IPv6 prefix list ID
    SourceDataIpv6PrefixListVersion int
    Source data IPv6 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
    destinationDataIpv6PrefixListId String
    Destination data IPv6 prefix list ID
    destinationDataIpv6PrefixListVersion Integer
    Destination data IPv6 prefix list version
    destinationIp String
    Destination IP prefix
    destinationPort Integer
    Destination port, only 22 and 161 supported
    sourceDataIpv6PrefixListId String
    Source data IPv6 prefix list ID
    sourceDataIpv6PrefixListVersion Integer
    Source data IPv6 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
    destinationDataIpv6PrefixListId string
    Destination data IPv6 prefix list ID
    destinationDataIpv6PrefixListVersion number
    Destination data IPv6 prefix list version
    destinationIp string
    Destination IP prefix
    destinationPort number
    Destination port, only 22 and 161 supported
    sourceDataIpv6PrefixListId string
    Source data IPv6 prefix list ID
    sourceDataIpv6PrefixListVersion number
    Source data IPv6 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_ipv6_prefix_list_id str
    Destination data IPv6 prefix list ID
    destination_data_ipv6_prefix_list_version int
    Destination data IPv6 prefix list version
    destination_ip str
    Destination IP prefix
    destination_port int
    Destination port, only 22 and 161 supported
    source_data_ipv6_prefix_list_id str
    Source data IPv6 prefix list ID
    source_data_ipv6_prefix_list_version int
    Source data IPv6 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
    destinationDataIpv6PrefixListId String
    Destination data IPv6 prefix list ID
    destinationDataIpv6PrefixListVersion Number
    Destination data IPv6 prefix list version
    destinationIp String
    Destination IP prefix
    destinationPort Number
    Destination port, only 22 and 161 supported
    sourceDataIpv6PrefixListId String
    Source data IPv6 prefix list ID
    sourceDataIpv6PrefixListVersion Number
    Source data IPv6 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.1.1 published on Friday, May 31, 2024 by Pulumi