1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getApplicationAwareRoutingPolicyDefinition
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

sdwan.getApplicationAwareRoutingPolicyDefinition

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

    This data source can read the Application Aware Routing Policy Definition .

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getApplicationAwareRoutingPolicyDefinition({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_application_aware_routing_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.LookupApplicationAwareRoutingPolicyDefinition(ctx, &sdwan.LookupApplicationAwareRoutingPolicyDefinitionArgs{
    			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.GetApplicationAwareRoutingPolicyDefinition.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.GetApplicationAwareRoutingPolicyDefinitionArgs;
    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.getApplicationAwareRoutingPolicyDefinition(GetApplicationAwareRoutingPolicyDefinitionArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getApplicationAwareRoutingPolicyDefinition
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getApplicationAwareRoutingPolicyDefinition

    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 getApplicationAwareRoutingPolicyDefinition(args: GetApplicationAwareRoutingPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetApplicationAwareRoutingPolicyDefinitionResult>
    function getApplicationAwareRoutingPolicyDefinitionOutput(args: GetApplicationAwareRoutingPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetApplicationAwareRoutingPolicyDefinitionResult>
    def get_application_aware_routing_policy_definition(id: Optional[str] = None,
                                                        opts: Optional[InvokeOptions] = None) -> GetApplicationAwareRoutingPolicyDefinitionResult
    def get_application_aware_routing_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                                        opts: Optional[InvokeOptions] = None) -> Output[GetApplicationAwareRoutingPolicyDefinitionResult]
    func LookupApplicationAwareRoutingPolicyDefinition(ctx *Context, args *LookupApplicationAwareRoutingPolicyDefinitionArgs, opts ...InvokeOption) (*LookupApplicationAwareRoutingPolicyDefinitionResult, error)
    func LookupApplicationAwareRoutingPolicyDefinitionOutput(ctx *Context, args *LookupApplicationAwareRoutingPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupApplicationAwareRoutingPolicyDefinitionResultOutput

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

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

    getApplicationAwareRoutingPolicyDefinition Result

    The following output properties are available:

    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<GetApplicationAwareRoutingPolicyDefinitionSequence>
    List of sequences
    Type string
    Type
    Version int
    The version of the object
    Description string
    The description of the policy definition
    Id string
    The id of the object
    Name string
    The name of the policy definition
    Sequences []GetApplicationAwareRoutingPolicyDefinitionSequence
    List of sequences
    Type string
    Type
    Version int
    The version of the object
    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<GetApplicationAwareRoutingPolicyDefinitionSequence>
    List of sequences
    type String
    Type
    version Integer
    The version of the object
    description string
    The description of the policy definition
    id string
    The id of the object
    name string
    The name of the policy definition
    sequences GetApplicationAwareRoutingPolicyDefinitionSequence[]
    List of sequences
    type string
    Type
    version number
    The version of the object
    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[GetApplicationAwareRoutingPolicyDefinitionSequence]
    List of sequences
    type str
    Type
    version int
    The version of the object
    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 sequences
    type String
    Type
    version Number
    The version of the object

    Supporting Types

    GetApplicationAwareRoutingPolicyDefinitionSequence

    ActionEntries List<GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntry>
    List of action entries
    Id int
    Sequence ID
    IpType string
    Sequence IP type, either ipv4, ipv6 or all
    MatchEntries List<GetApplicationAwareRoutingPolicyDefinitionSequenceMatchEntry>
    List of match entries
    Name string
    Sequence name
    ActionEntries []GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntry
    List of action entries
    Id int
    Sequence ID
    IpType string
    Sequence IP type, either ipv4, ipv6 or all
    MatchEntries []GetApplicationAwareRoutingPolicyDefinitionSequenceMatchEntry
    List of match entries
    Name string
    Sequence name
    actionEntries List<GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntry>
    List of action entries
    id Integer
    Sequence ID
    ipType String
    Sequence IP type, either ipv4, ipv6 or all
    matchEntries List<GetApplicationAwareRoutingPolicyDefinitionSequenceMatchEntry>
    List of match entries
    name String
    Sequence name
    actionEntries GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntry[]
    List of action entries
    id number
    Sequence ID
    ipType string
    Sequence IP type, either ipv4, ipv6 or all
    matchEntries GetApplicationAwareRoutingPolicyDefinitionSequenceMatchEntry[]
    List of match entries
    name string
    Sequence name
    action_entries Sequence[GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntry]
    List of action entries
    id int
    Sequence ID
    ip_type str
    Sequence IP type, either ipv4, ipv6 or all
    match_entries Sequence[GetApplicationAwareRoutingPolicyDefinitionSequenceMatchEntry]
    List of match entries
    name str
    Sequence name
    actionEntries List<Property Map>
    List of action entries
    id Number
    Sequence ID
    ipType String
    Sequence IP type, either ipv4, ipv6 or all
    matchEntries List<Property Map>
    List of match entries
    name String
    Sequence name

    GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntry

    BackupSlaPreferredColor string
    Backup SLA preferred color (Single value or multiple values separated by spaces)
    CloudSla bool
    Cloud SLA
    Counter string
    Counter name
    Log bool
    Enable logging
    SlaClassParameters List<GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntrySlaClassParameter>
    List of SLA class parameters
    Type string
    Type of action entry
    BackupSlaPreferredColor string
    Backup SLA preferred color (Single value or multiple values separated by spaces)
    CloudSla bool
    Cloud SLA
    Counter string
    Counter name
    Log bool
    Enable logging
    SlaClassParameters []GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntrySlaClassParameter
    List of SLA class parameters
    Type string
    Type of action entry
    backupSlaPreferredColor String
    Backup SLA preferred color (Single value or multiple values separated by spaces)
    cloudSla Boolean
    Cloud SLA
    counter String
    Counter name
    log Boolean
    Enable logging
    slaClassParameters List<GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntrySlaClassParameter>
    List of SLA class parameters
    type String
    Type of action entry
    backupSlaPreferredColor string
    Backup SLA preferred color (Single value or multiple values separated by spaces)
    cloudSla boolean
    Cloud SLA
    counter string
    Counter name
    log boolean
    Enable logging
    slaClassParameters GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntrySlaClassParameter[]
    List of SLA class parameters
    type string
    Type of action entry
    backup_sla_preferred_color str
    Backup SLA preferred color (Single value or multiple values separated by spaces)
    cloud_sla bool
    Cloud SLA
    counter str
    Counter name
    log bool
    Enable logging
    sla_class_parameters Sequence[GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntrySlaClassParameter]
    List of SLA class parameters
    type str
    Type of action entry
    backupSlaPreferredColor String
    Backup SLA preferred color (Single value or multiple values separated by spaces)
    cloudSla Boolean
    Cloud SLA
    counter String
    Counter name
    log Boolean
    Enable logging
    slaClassParameters List<Property Map>
    List of SLA class parameters
    type String
    Type of action entry

    GetApplicationAwareRoutingPolicyDefinitionSequenceActionEntrySlaClassParameter

    PreferredColor string
    preferred color (Single value or multiple values separated by spaces)
    PreferredColorGroupList string
    Preferred color group list ID
    PreferredColorGroupListVersion int
    Preferred color group list version
    SlaClassList string
    SLA class list ID
    SlaClassListVersion int
    SLA class list version
    Type string
    Type of SLA class parameter
    PreferredColor string
    preferred color (Single value or multiple values separated by spaces)
    PreferredColorGroupList string
    Preferred color group list ID
    PreferredColorGroupListVersion int
    Preferred color group list version
    SlaClassList string
    SLA class list ID
    SlaClassListVersion int
    SLA class list version
    Type string
    Type of SLA class parameter
    preferredColor String
    preferred color (Single value or multiple values separated by spaces)
    preferredColorGroupList String
    Preferred color group list ID
    preferredColorGroupListVersion Integer
    Preferred color group list version
    slaClassList String
    SLA class list ID
    slaClassListVersion Integer
    SLA class list version
    type String
    Type of SLA class parameter
    preferredColor string
    preferred color (Single value or multiple values separated by spaces)
    preferredColorGroupList string
    Preferred color group list ID
    preferredColorGroupListVersion number
    Preferred color group list version
    slaClassList string
    SLA class list ID
    slaClassListVersion number
    SLA class list version
    type string
    Type of SLA class parameter
    preferred_color str
    preferred color (Single value or multiple values separated by spaces)
    preferred_color_group_list str
    Preferred color group list ID
    preferred_color_group_list_version int
    Preferred color group list version
    sla_class_list str
    SLA class list ID
    sla_class_list_version int
    SLA class list version
    type str
    Type of SLA class parameter
    preferredColor String
    preferred color (Single value or multiple values separated by spaces)
    preferredColorGroupList String
    Preferred color group list ID
    preferredColorGroupListVersion Number
    Preferred color group list version
    slaClassList String
    SLA class list ID
    slaClassListVersion Number
    SLA class list version
    type String
    Type of SLA class parameter

    GetApplicationAwareRoutingPolicyDefinitionSequenceMatchEntry

    ApplicationListId string
    Application list ID
    ApplicationListVersion int
    Application list version
    DestinationDataPrefixListId string
    Destination Data Prefix list ID
    DestinationDataPrefixListVersion int
    Destination Data Prefix list version
    DestinationIp string
    Destination IP
    DestinationPort string
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    DestinationRegion string
    Destination region
    Dns string
    DNS request or response
    DnsApplicationListId string
    DNS Application list ID
    DnsApplicationListVersion int
    DNS Application list version
    Dscp int
    DSCP value
    IcmpMessage string
    ICMP Message
    Plp string
    PLP
    Protocol string
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    SourceDataPrefixListId string
    Source Data Prefix list ID
    SourceDataPrefixListVersion int
    Source Data Prefix list version
    SourceIp string
    Source IP
    SourcePort string
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    TrafficTo string
    Traffic to
    Type string
    Type of match entry
    ApplicationListId string
    Application list ID
    ApplicationListVersion int
    Application list version
    DestinationDataPrefixListId string
    Destination Data Prefix list ID
    DestinationDataPrefixListVersion int
    Destination Data Prefix list version
    DestinationIp string
    Destination IP
    DestinationPort string
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    DestinationRegion string
    Destination region
    Dns string
    DNS request or response
    DnsApplicationListId string
    DNS Application list ID
    DnsApplicationListVersion int
    DNS Application list version
    Dscp int
    DSCP value
    IcmpMessage string
    ICMP Message
    Plp string
    PLP
    Protocol string
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    SourceDataPrefixListId string
    Source Data Prefix list ID
    SourceDataPrefixListVersion int
    Source Data Prefix list version
    SourceIp string
    Source IP
    SourcePort string
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    TrafficTo string
    Traffic to
    Type string
    Type of match entry
    applicationListId String
    Application list ID
    applicationListVersion Integer
    Application list version
    destinationDataPrefixListId String
    Destination Data Prefix list ID
    destinationDataPrefixListVersion Integer
    Destination Data Prefix list version
    destinationIp String
    Destination IP
    destinationPort String
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    destinationRegion String
    Destination region
    dns String
    DNS request or response
    dnsApplicationListId String
    DNS Application list ID
    dnsApplicationListVersion Integer
    DNS Application list version
    dscp Integer
    DSCP value
    icmpMessage String
    ICMP Message
    plp String
    PLP
    protocol String
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    sourceDataPrefixListId String
    Source Data Prefix list ID
    sourceDataPrefixListVersion Integer
    Source Data Prefix list version
    sourceIp String
    Source IP
    sourcePort String
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    trafficTo String
    Traffic to
    type String
    Type of match entry
    applicationListId string
    Application list ID
    applicationListVersion number
    Application list version
    destinationDataPrefixListId string
    Destination Data Prefix list ID
    destinationDataPrefixListVersion number
    Destination Data Prefix list version
    destinationIp string
    Destination IP
    destinationPort string
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    destinationRegion string
    Destination region
    dns string
    DNS request or response
    dnsApplicationListId string
    DNS Application list ID
    dnsApplicationListVersion number
    DNS Application list version
    dscp number
    DSCP value
    icmpMessage string
    ICMP Message
    plp string
    PLP
    protocol string
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    sourceDataPrefixListId string
    Source Data Prefix list ID
    sourceDataPrefixListVersion number
    Source Data Prefix list version
    sourceIp string
    Source IP
    sourcePort string
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    trafficTo string
    Traffic to
    type string
    Type of match entry
    application_list_id str
    Application list ID
    application_list_version int
    Application list version
    destination_data_prefix_list_id str
    Destination Data Prefix list ID
    destination_data_prefix_list_version int
    Destination Data Prefix list version
    destination_ip str
    Destination IP
    destination_port str
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    destination_region str
    Destination region
    dns str
    DNS request or response
    dns_application_list_id str
    DNS Application list ID
    dns_application_list_version int
    DNS Application list version
    dscp int
    DSCP value
    icmp_message str
    ICMP Message
    plp str
    PLP
    protocol str
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    source_data_prefix_list_id str
    Source Data Prefix list ID
    source_data_prefix_list_version int
    Source Data Prefix list version
    source_ip str
    Source IP
    source_port str
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    traffic_to str
    Traffic to
    type str
    Type of match entry
    applicationListId String
    Application list ID
    applicationListVersion Number
    Application list version
    destinationDataPrefixListId String
    Destination Data Prefix list ID
    destinationDataPrefixListVersion Number
    Destination Data Prefix list version
    destinationIp String
    Destination IP
    destinationPort String
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    destinationRegion String
    Destination region
    dns String
    DNS request or response
    dnsApplicationListId String
    DNS Application list ID
    dnsApplicationListVersion Number
    DNS Application list version
    dscp Number
    DSCP value
    icmpMessage String
    ICMP Message
    plp String
    PLP
    protocol String
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    sourceDataPrefixListId String
    Source Data Prefix list ID
    sourceDataPrefixListVersion Number
    Source Data Prefix list version
    sourceIp String
    Source IP
    sourcePort String
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    trafficTo String
    Traffic to
    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.3 published on Tuesday, Sep 24, 2024 by Pulumi