Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi
sdwan.getIpv4DeviceAclPolicyDefinition
Explore with Pulumi AI
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:
- 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
Ipv4Device 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
Ipv4Device 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
Ipv4Device 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
Ipv4Device 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
Ipv4Device 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
GetIpv4DeviceAclPolicyDefinitionSequence
- Action
Entries List<GetIpv4Device 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<GetIpv4Device Acl Policy Definition Sequence Match Entry> - List of match entries
- Name string
- Sequence name
- Action
Entries []GetIpv4Device Acl Policy Definition Sequence Action Entry - List of action entries
- Base
Action string - Base action, either
accept
ordrop
- Id int
- Sequence ID
- Match
Entries []GetIpv4Device Acl Policy Definition Sequence Match Entry - List of match entries
- Name string
- Sequence name
- action
Entries List<GetIpv4Device 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<GetIpv4Device Acl Policy Definition Sequence Match Entry> - List of match entries
- name String
- Sequence name
- action
Entries GetIpv4Device Acl Policy Definition Sequence Action Entry[] - List of action entries
- base
Action string - Base action, either
accept
ordrop
- id number
- Sequence ID
- match
Entries GetIpv4Device Acl Policy Definition Sequence Match Entry[] - List of match entries
- name string
- Sequence name
- action_
entries Sequence[GetIpv4Device 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[GetIpv4Device 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
GetIpv4DeviceAclPolicyDefinitionSequenceActionEntry
- 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
GetIpv4DeviceAclPolicyDefinitionSequenceMatchEntry
- 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
Port int - Destination port, only
22
and161
supported - 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.
- Type string
- Type of match entry
- 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
Port int - Destination port, only
22
and161
supported - 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.
- Type string
- Type of match entry
- 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
Port Integer - Destination port, only
22
and161
supported - 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.
- type String
- Type of match entry
- 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
Port number - Destination port, only
22
and161
supported - 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.
- type string
- Type of match entry
- 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_
port int - Destination port, only
22
and161
supported - 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.
- type str
- Type of match entry
- 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
Port Number - Destination port, only
22
and161
supported - 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.
- 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.