Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi
sdwan.getIpv6DeviceAclPolicyDefinition
Explore with Pulumi AI
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:
- Default
Action string - Default action, either
accept
ordrop
- 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<Get
Ipv6Device Acl Policy Definition Sequence> - List of ACL sequences
- Type string
- Type
- Version int
- The version of the object
- Default
Action string - Default action, either
accept
ordrop
- Description string
- The description of the policy definition
- Id string
- The id of the object
- Name string
- The name of the policy definition
- Sequences
[]Get
Ipv6Device Acl Policy Definition Sequence - List of ACL sequences
- Type string
- Type
- Version int
- The version of the object
- default
Action String - Default action, either
accept
ordrop
- 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<Get
Ipv6Device Acl Policy Definition Sequence> - List of ACL sequences
- type String
- Type
- version Integer
- The version of the object
- default
Action string - Default action, either
accept
ordrop
- description string
- The description of the policy definition
- id string
- The id of the object
- name string
- The name of the policy definition
- sequences
Get
Ipv6Device Acl Policy Definition Sequence[] - List of ACL sequences
- type string
- Type
- version number
- The version of the object
- default_
action str - Default action, either
accept
ordrop
- 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[Get
Ipv6Device Acl Policy Definition Sequence] - List of ACL sequences
- type str
- Type
- version int
- The version of the object
- default
Action String - Default action, either
accept
ordrop
- 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
- Action
Entries List<GetIpv6Device Acl Policy Definition Sequence Action Entry> - List of action entries
- Base
Action string - Base action, either
accept
ordrop
- Id int
- Sequence ID
- Match
Entries List<GetIpv6Device Acl Policy Definition Sequence Match Entry> - List of match entries
- Name string
- Sequence name
- Action
Entries []GetIpv6Device Acl Policy Definition Sequence Action Entry - List of action entries
- Base
Action string - Base action, either
accept
ordrop
- Id int
- Sequence ID
- Match
Entries []GetIpv6Device Acl Policy Definition Sequence Match Entry - List of match entries
- Name string
- Sequence name
- action
Entries List<GetIpv6Device Acl Policy Definition Sequence Action Entry> - List of action entries
- base
Action String - Base action, either
accept
ordrop
- id Integer
- Sequence ID
- match
Entries List<GetIpv6Device Acl Policy Definition Sequence Match Entry> - List of match entries
- name String
- Sequence name
- action
Entries GetIpv6Device Acl Policy Definition Sequence Action Entry[] - List of action entries
- base
Action string - Base action, either
accept
ordrop
- id number
- Sequence ID
- match
Entries GetIpv6Device Acl Policy Definition Sequence Match Entry[] - List of match entries
- name string
- Sequence name
- action_
entries Sequence[GetIpv6Device Acl Policy Definition Sequence Action Entry] - List of action entries
- base_
action str - Base action, either
accept
ordrop
- id int
- Sequence ID
- match_
entries Sequence[GetIpv6Device Acl Policy Definition Sequence Match Entry] - List of match entries
- name str
- Sequence name
- action
Entries List<Property Map> - List of action entries
- base
Action String - Base action, either
accept
ordrop
- id Number
- Sequence ID
- match
Entries List<Property Map> - List of match entries
- name String
- Sequence name
GetIpv6DeviceAclPolicyDefinitionSequenceActionEntry
- Counter
Name string - Counter name
- Type string
- Type of action entry
- Counter
Name string - Counter name
- Type string
- Type of action entry
- counter
Name String - Counter name
- type String
- Type of action entry
- counter
Name string - Counter name
- type string
- Type of action entry
- counter_
name str - Counter name
- type str
- Type of action entry
- counter
Name String - Counter name
- type String
- Type of action entry
GetIpv6DeviceAclPolicyDefinitionSequenceMatchEntry
- Destination
Data stringIpv6Prefix List Id - Destination data IPv6 prefix list ID
- Destination
Data intIpv6Prefix List Version - Destination data IPv6 prefix list version
- Destination
Ip string - Destination IP prefix
- Destination
Port int - Destination port, only
22
and161
supported - Source
Data stringIpv6Prefix List Id - Source data IPv6 prefix list ID
- Source
Data intIpv6Prefix List Version - Source data IPv6 prefix list version
- Source
Ip string - Source IP prefix
- Source
Ports string - Source ports. Single value (0-65535) or ranges separated by spaces.
- Type string
- Type of match entry
- Destination
Data stringIpv6Prefix List Id - Destination data IPv6 prefix list ID
- Destination
Data intIpv6Prefix List Version - Destination data IPv6 prefix list version
- Destination
Ip string - Destination IP prefix
- Destination
Port int - Destination port, only
22
and161
supported - Source
Data stringIpv6Prefix List Id - Source data IPv6 prefix list ID
- Source
Data intIpv6Prefix List Version - Source data IPv6 prefix list version
- Source
Ip string - Source IP prefix
- Source
Ports string - Source ports. Single value (0-65535) or ranges separated by spaces.
- Type string
- Type of match entry
- destination
Data StringIpv6Prefix List Id - Destination data IPv6 prefix list ID
- destination
Data IntegerIpv6Prefix List Version - Destination data IPv6 prefix list version
- destination
Ip String - Destination IP prefix
- destination
Port Integer - Destination port, only
22
and161
supported - source
Data StringIpv6Prefix List Id - Source data IPv6 prefix list ID
- source
Data IntegerIpv6Prefix List Version - Source data IPv6 prefix list version
- source
Ip String - Source IP prefix
- source
Ports String - Source ports. Single value (0-65535) or ranges separated by spaces.
- type String
- Type of match entry
- destination
Data stringIpv6Prefix List Id - Destination data IPv6 prefix list ID
- destination
Data numberIpv6Prefix List Version - Destination data IPv6 prefix list version
- destination
Ip string - Destination IP prefix
- destination
Port number - Destination port, only
22
and161
supported - source
Data stringIpv6Prefix List Id - Source data IPv6 prefix list ID
- source
Data numberIpv6Prefix List Version - Source data IPv6 prefix list version
- source
Ip string - Source IP prefix
- source
Ports string - Source ports. Single value (0-65535) or ranges separated by spaces.
- type string
- Type of match entry
- destination_
data_ stripv6_ prefix_ list_ id - Destination data IPv6 prefix list ID
- destination_
data_ intipv6_ prefix_ list_ version - Destination data IPv6 prefix list version
- destination_
ip str - Destination IP prefix
- destination_
port int - Destination port, only
22
and161
supported - source_
data_ stripv6_ prefix_ list_ id - Source data IPv6 prefix list ID
- source_
data_ intipv6_ prefix_ list_ version - 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
- destination
Data StringIpv6Prefix List Id - Destination data IPv6 prefix list ID
- destination
Data NumberIpv6Prefix List Version - Destination data IPv6 prefix list version
- destination
Ip String - Destination IP prefix
- destination
Port Number - Destination port, only
22
and161
supported - source
Data StringIpv6Prefix List Id - Source data IPv6 prefix list ID
- source
Data NumberIpv6Prefix List Version - Source data IPv6 prefix list version
- source
Ip String - Source IP prefix
- source
Ports 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.