Cisco Catalyst SD-WAN v0.2.3 published on Wednesday, Dec 4, 2024 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)
// 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:
- 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
Ipv4Acl 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
Ipv4Acl 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
Ipv4Acl 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
Ipv4Acl 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
Ipv4Acl 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
GetIpv4AclPolicyDefinitionSequence
- Action
Entries List<GetIpv4Acl Policy Definition Sequence Action Entry> - List of action entries
- Base
Action string - Base action, either
accept
ordrop
- Id int
- Sequence ID
- Match
Entries List<GetIpv4Acl Policy Definition Sequence Match Entry> - List of match entries
- Name string
- Sequence name
- Action
Entries []GetIpv4Acl Policy Definition Sequence Action Entry - List of action entries
- Base
Action string - Base action, either
accept
ordrop
- Id int
- Sequence ID
- Match
Entries []GetIpv4Acl Policy Definition Sequence Match Entry - List of match entries
- Name string
- Sequence name
- action
Entries List<GetIpv4Acl Policy Definition Sequence Action Entry> - List of action entries
- base
Action String - Base action, either
accept
ordrop
- id Integer
- Sequence ID
- match
Entries List<GetIpv4Acl Policy Definition Sequence Match Entry> - List of match entries
- name String
- Sequence name
- action
Entries GetIpv4Acl Policy Definition Sequence Action Entry[] - List of action entries
- base
Action string - Base action, either
accept
ordrop
- id number
- Sequence ID
- match
Entries 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
accept
ordrop
- id int
- Sequence ID
- match_
entries Sequence[GetIpv4Acl 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
GetIpv4AclPolicyDefinitionSequenceActionEntry
- Class
Map stringId - Class map ID
- Class
Map intVersion - Class map version
- Counter
Name string - Counter name
- Log bool
- Enable logging
- Mirror
Id string - Mirror ID
- Mirror
Version int - Mirror version
- Policer
Id string - Policer ID
- Policer
Version int - Policer version
- Set
Parameters List<GetIpv4Acl Policy Definition Sequence Action Entry Set Parameter> - List of set parameters
- Type string
- Type of action entry
- Class
Map stringId - Class map ID
- Class
Map intVersion - Class map version
- Counter
Name string - Counter name
- Log bool
- Enable logging
- Mirror
Id string - Mirror ID
- Mirror
Version int - Mirror version
- Policer
Id string - Policer ID
- Policer
Version int - Policer version
- Set
Parameters []GetIpv4Acl Policy Definition Sequence Action Entry Set Parameter - List of set parameters
- Type string
- Type of action entry
- class
Map StringId - Class map ID
- class
Map IntegerVersion - Class map version
- counter
Name String - Counter name
- log Boolean
- Enable logging
- mirror
Id String - Mirror ID
- mirror
Version Integer - Mirror version
- policer
Id String - Policer ID
- policer
Version Integer - Policer version
- set
Parameters List<GetIpv4Acl Policy Definition Sequence Action Entry Set Parameter> - List of set parameters
- type String
- Type of action entry
- class
Map stringId - Class map ID
- class
Map numberVersion - Class map version
- counter
Name string - Counter name
- log boolean
- Enable logging
- mirror
Id string - Mirror ID
- mirror
Version number - Mirror version
- policer
Id string - Policer ID
- policer
Version number - Policer version
- set
Parameters 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
- class
Map StringId - Class map ID
- class
Map NumberVersion - Class map version
- counter
Name String - Counter name
- log Boolean
- Enable logging
- mirror
Id String - Mirror ID
- mirror
Version Number - Mirror version
- policer
Id String - Policer ID
- policer
Version Number - Policer version
- set
Parameters List<Property Map> - List of set parameters
- type String
- Type of action entry
GetIpv4AclPolicyDefinitionSequenceActionEntrySetParameter
GetIpv4AclPolicyDefinitionSequenceMatchEntry
- Class
Map stringId - Class map ID
- Class
Map intVersion - Class map version
- Destination
Data stringIpv4Prefix List Id - Destination data IPv4 prefix list ID
- Destination
Data intIpv4Prefix List Version - Destination data IPv4 prefix list version
- Destination
Ip string - Destination IP prefix
- Destination
Ports string - Destination ports. Single value (0-65535) or ranges separated by spaces.
- Dscp int
- DSCP value
- Icmp
Message string - ICMP Message
- Packet
Length int - Packet length
- Priority string
- PLP - priority
- Protocol string
- Single value (0-255) or multiple values separated by spaces
- Source
Data stringIpv4Prefix List Id - Source data IPv4 prefix list ID
- Source
Data intIpv4Prefix List Version - Source data IPv4 prefix list version
- Source
Ip string - Source IP prefix
- Source
Ports string - Source ports. Single value (0-65535) or ranges separated by spaces.
- Tcp string
- TCP parameters
- Type string
- Type of match entry
- Class
Map stringId - Class map ID
- Class
Map intVersion - Class map version
- Destination
Data stringIpv4Prefix List Id - Destination data IPv4 prefix list ID
- Destination
Data intIpv4Prefix List Version - Destination data IPv4 prefix list version
- Destination
Ip string - Destination IP prefix
- Destination
Ports string - Destination ports. Single value (0-65535) or ranges separated by spaces.
- Dscp int
- DSCP value
- Icmp
Message string - ICMP Message
- Packet
Length int - Packet length
- Priority string
- PLP - priority
- Protocol string
- Single value (0-255) or multiple values separated by spaces
- Source
Data stringIpv4Prefix List Id - Source data IPv4 prefix list ID
- Source
Data intIpv4Prefix List Version - Source data IPv4 prefix list version
- Source
Ip string - Source IP prefix
- Source
Ports string - Source ports. Single value (0-65535) or ranges separated by spaces.
- Tcp string
- TCP parameters
- Type string
- Type of match entry
- class
Map StringId - Class map ID
- class
Map IntegerVersion - Class map version
- destination
Data StringIpv4Prefix List Id - Destination data IPv4 prefix list ID
- destination
Data IntegerIpv4Prefix List Version - Destination data IPv4 prefix list version
- destination
Ip String - Destination IP prefix
- destination
Ports String - Destination ports. Single value (0-65535) or ranges separated by spaces.
- dscp Integer
- DSCP value
- icmp
Message String - ICMP Message
- packet
Length Integer - Packet length
- priority String
- PLP - priority
- protocol String
- Single value (0-255) or multiple values separated by spaces
- source
Data StringIpv4Prefix List Id - Source data IPv4 prefix list ID
- source
Data IntegerIpv4Prefix List Version - Source data IPv4 prefix list version
- source
Ip String - Source IP prefix
- source
Ports String - Source ports. Single value (0-65535) or ranges separated by spaces.
- tcp String
- TCP parameters
- type String
- Type of match entry
- class
Map stringId - Class map ID
- class
Map numberVersion - Class map version
- destination
Data stringIpv4Prefix List Id - Destination data IPv4 prefix list ID
- destination
Data numberIpv4Prefix List Version - Destination data IPv4 prefix list version
- destination
Ip string - Destination IP prefix
- destination
Ports string - Destination ports. Single value (0-65535) or ranges separated by spaces.
- dscp number
- DSCP value
- icmp
Message string - ICMP Message
- packet
Length number - Packet length
- priority string
- PLP - priority
- protocol string
- Single value (0-255) or multiple values separated by spaces
- source
Data stringIpv4Prefix List Id - Source data IPv4 prefix list ID
- source
Data numberIpv4Prefix List Version - Source data IPv4 prefix list version
- source
Ip string - Source IP prefix
- source
Ports 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
- class
Map StringId - Class map ID
- class
Map NumberVersion - Class map version
- destination
Data StringIpv4Prefix List Id - Destination data IPv4 prefix list ID
- destination
Data NumberIpv4Prefix List Version - Destination data IPv4 prefix list version
- destination
Ip String - Destination IP prefix
- destination
Ports String - Destination ports. Single value (0-65535) or ranges separated by spaces.
- dscp Number
- DSCP value
- icmp
Message String - ICMP Message
- packet
Length Number - Packet length
- priority String
- PLP - priority
- protocol String
- Single value (0-255) or multiple values separated by spaces
- source
Data StringIpv4Prefix List Id - Source data IPv4 prefix list ID
- source
Data NumberIpv4Prefix List Version - Source data IPv4 prefix list version
- source
Ip String - Source IP prefix
- source
Ports 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.