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

sdwan.getCustomControlTopologyPolicyDefinition

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 Custom Control Topology Policy Definition .

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getCustomControlTopologyPolicyDefinition({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_custom_control_topology_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.LookupCustomControlTopologyPolicyDefinition(ctx, &sdwan.LookupCustomControlTopologyPolicyDefinitionArgs{
    			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.GetCustomControlTopologyPolicyDefinition.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.GetCustomControlTopologyPolicyDefinitionArgs;
    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.getCustomControlTopologyPolicyDefinition(GetCustomControlTopologyPolicyDefinitionArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getCustomControlTopologyPolicyDefinition
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getCustomControlTopologyPolicyDefinition

    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 getCustomControlTopologyPolicyDefinition(args: GetCustomControlTopologyPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetCustomControlTopologyPolicyDefinitionResult>
    function getCustomControlTopologyPolicyDefinitionOutput(args: GetCustomControlTopologyPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetCustomControlTopologyPolicyDefinitionResult>
    def get_custom_control_topology_policy_definition(id: Optional[str] = None,
                                                      opts: Optional[InvokeOptions] = None) -> GetCustomControlTopologyPolicyDefinitionResult
    def get_custom_control_topology_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                                      opts: Optional[InvokeOptions] = None) -> Output[GetCustomControlTopologyPolicyDefinitionResult]
    func LookupCustomControlTopologyPolicyDefinition(ctx *Context, args *LookupCustomControlTopologyPolicyDefinitionArgs, opts ...InvokeOption) (*LookupCustomControlTopologyPolicyDefinitionResult, error)
    func LookupCustomControlTopologyPolicyDefinitionOutput(ctx *Context, args *LookupCustomControlTopologyPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupCustomControlTopologyPolicyDefinitionResultOutput

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

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

    getCustomControlTopologyPolicyDefinition Result

    The following output properties are available:

    DefaultAction string
    Default action, either accept or reject
    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<GetCustomControlTopologyPolicyDefinitionSequence>
    List of sequences
    Type string
    Type
    Version int
    The version of the object
    DefaultAction string
    Default action, either accept or reject
    Description string
    The description of the policy definition
    Id string
    The id of the object
    Name string
    The name of the policy definition
    Sequences []GetCustomControlTopologyPolicyDefinitionSequence
    List of sequences
    Type string
    Type
    Version int
    The version of the object
    defaultAction String
    Default action, either accept or reject
    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<GetCustomControlTopologyPolicyDefinitionSequence>
    List of sequences
    type String
    Type
    version Integer
    The version of the object
    defaultAction string
    Default action, either accept or reject
    description string
    The description of the policy definition
    id string
    The id of the object
    name string
    The name of the policy definition
    sequences GetCustomControlTopologyPolicyDefinitionSequence[]
    List of sequences
    type string
    Type
    version number
    The version of the object
    default_action str
    Default action, either accept or reject
    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[GetCustomControlTopologyPolicyDefinitionSequence]
    List of sequences
    type str
    Type
    version int
    The version of the object
    defaultAction String
    Default action, either accept or reject
    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

    GetCustomControlTopologyPolicyDefinitionSequence

    ActionEntries List<GetCustomControlTopologyPolicyDefinitionSequenceActionEntry>
    List of action entries
    BaseAction string
    Base action, either accept or reject
    Id int
    Sequence ID
    IpType string
    Sequence IP type, either ipv4, ipv6 or all
    MatchEntries List<GetCustomControlTopologyPolicyDefinitionSequenceMatchEntry>
    List of match entries
    Name string
    Sequence name
    Type string
    Sequence type, either route or tloc
    ActionEntries []GetCustomControlTopologyPolicyDefinitionSequenceActionEntry
    List of action entries
    BaseAction string
    Base action, either accept or reject
    Id int
    Sequence ID
    IpType string
    Sequence IP type, either ipv4, ipv6 or all
    MatchEntries []GetCustomControlTopologyPolicyDefinitionSequenceMatchEntry
    List of match entries
    Name string
    Sequence name
    Type string
    Sequence type, either route or tloc
    actionEntries List<GetCustomControlTopologyPolicyDefinitionSequenceActionEntry>
    List of action entries
    baseAction String
    Base action, either accept or reject
    id Integer
    Sequence ID
    ipType String
    Sequence IP type, either ipv4, ipv6 or all
    matchEntries List<GetCustomControlTopologyPolicyDefinitionSequenceMatchEntry>
    List of match entries
    name String
    Sequence name
    type String
    Sequence type, either route or tloc
    actionEntries GetCustomControlTopologyPolicyDefinitionSequenceActionEntry[]
    List of action entries
    baseAction string
    Base action, either accept or reject
    id number
    Sequence ID
    ipType string
    Sequence IP type, either ipv4, ipv6 or all
    matchEntries GetCustomControlTopologyPolicyDefinitionSequenceMatchEntry[]
    List of match entries
    name string
    Sequence name
    type string
    Sequence type, either route or tloc
    action_entries Sequence[GetCustomControlTopologyPolicyDefinitionSequenceActionEntry]
    List of action entries
    base_action str
    Base action, either accept or reject
    id int
    Sequence ID
    ip_type str
    Sequence IP type, either ipv4, ipv6 or all
    match_entries Sequence[GetCustomControlTopologyPolicyDefinitionSequenceMatchEntry]
    List of match entries
    name str
    Sequence name
    type str
    Sequence type, either route or tloc
    actionEntries List<Property Map>
    List of action entries
    baseAction String
    Base action, either accept or reject
    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
    type String
    Sequence type, either route or tloc

    GetCustomControlTopologyPolicyDefinitionSequenceActionEntry

    ExportToVpnListId string
    Export to VPN list ID
    ExportToVpnListVersion int
    Export to VPN list version
    SetParameters List<GetCustomControlTopologyPolicyDefinitionSequenceActionEntrySetParameter>
    List of set parameters
    Type string
    Type of action entry
    ExportToVpnListId string
    Export to VPN list ID
    ExportToVpnListVersion int
    Export to VPN list version
    SetParameters []GetCustomControlTopologyPolicyDefinitionSequenceActionEntrySetParameter
    List of set parameters
    Type string
    Type of action entry
    exportToVpnListId String
    Export to VPN list ID
    exportToVpnListVersion Integer
    Export to VPN list version
    setParameters List<GetCustomControlTopologyPolicyDefinitionSequenceActionEntrySetParameter>
    List of set parameters
    type String
    Type of action entry
    exportToVpnListId string
    Export to VPN list ID
    exportToVpnListVersion number
    Export to VPN list version
    setParameters GetCustomControlTopologyPolicyDefinitionSequenceActionEntrySetParameter[]
    List of set parameters
    type string
    Type of action entry
    export_to_vpn_list_id str
    Export to VPN list ID
    export_to_vpn_list_version int
    Export to VPN list version
    set_parameters Sequence[GetCustomControlTopologyPolicyDefinitionSequenceActionEntrySetParameter]
    List of set parameters
    type str
    Type of action entry
    exportToVpnListId String
    Export to VPN list ID
    exportToVpnListVersion Number
    Export to VPN list version
    setParameters List<Property Map>
    List of set parameters
    type String
    Type of action entry

    GetCustomControlTopologyPolicyDefinitionSequenceActionEntrySetParameter

    Community string
    Community value, e.g. 1000:10000 or internet or local-AS
    CommunityAdditive bool
    Community additive
    OmpTag int
    OMP tag
    Preference int
    Preference
    ServiceTlocColor string
    Service TLOC color
    ServiceTlocEncapsulation string
    Service TLOC encapsulation
    ServiceTlocIp string
    Service TLOC IP address
    ServiceTlocListId string
    Service TLOC list ID
    ServiceTlocListVersion int
    Service TLOC list version
    ServiceType string
    Service type
    ServiceVpnId int
    Service VPN ID
    TlocAction string
    TLOC action
    TlocColor string
    TLOC color
    TlocEncapsulation string
    TLOC encapsulation
    TlocIp string
    TLOC IP address
    TlocListId string
    TLOC list ID
    TlocListVersion int
    TLOC list version
    Type string
    Type of set parameter
    Community string
    Community value, e.g. 1000:10000 or internet or local-AS
    CommunityAdditive bool
    Community additive
    OmpTag int
    OMP tag
    Preference int
    Preference
    ServiceTlocColor string
    Service TLOC color
    ServiceTlocEncapsulation string
    Service TLOC encapsulation
    ServiceTlocIp string
    Service TLOC IP address
    ServiceTlocListId string
    Service TLOC list ID
    ServiceTlocListVersion int
    Service TLOC list version
    ServiceType string
    Service type
    ServiceVpnId int
    Service VPN ID
    TlocAction string
    TLOC action
    TlocColor string
    TLOC color
    TlocEncapsulation string
    TLOC encapsulation
    TlocIp string
    TLOC IP address
    TlocListId string
    TLOC list ID
    TlocListVersion int
    TLOC list version
    Type string
    Type of set parameter
    community String
    Community value, e.g. 1000:10000 or internet or local-AS
    communityAdditive Boolean
    Community additive
    ompTag Integer
    OMP tag
    preference Integer
    Preference
    serviceTlocColor String
    Service TLOC color
    serviceTlocEncapsulation String
    Service TLOC encapsulation
    serviceTlocIp String
    Service TLOC IP address
    serviceTlocListId String
    Service TLOC list ID
    serviceTlocListVersion Integer
    Service TLOC list version
    serviceType String
    Service type
    serviceVpnId Integer
    Service VPN ID
    tlocAction String
    TLOC action
    tlocColor String
    TLOC color
    tlocEncapsulation String
    TLOC encapsulation
    tlocIp String
    TLOC IP address
    tlocListId String
    TLOC list ID
    tlocListVersion Integer
    TLOC list version
    type String
    Type of set parameter
    community string
    Community value, e.g. 1000:10000 or internet or local-AS
    communityAdditive boolean
    Community additive
    ompTag number
    OMP tag
    preference number
    Preference
    serviceTlocColor string
    Service TLOC color
    serviceTlocEncapsulation string
    Service TLOC encapsulation
    serviceTlocIp string
    Service TLOC IP address
    serviceTlocListId string
    Service TLOC list ID
    serviceTlocListVersion number
    Service TLOC list version
    serviceType string
    Service type
    serviceVpnId number
    Service VPN ID
    tlocAction string
    TLOC action
    tlocColor string
    TLOC color
    tlocEncapsulation string
    TLOC encapsulation
    tlocIp string
    TLOC IP address
    tlocListId string
    TLOC list ID
    tlocListVersion number
    TLOC list version
    type string
    Type of set parameter
    community str
    Community value, e.g. 1000:10000 or internet or local-AS
    community_additive bool
    Community additive
    omp_tag int
    OMP tag
    preference int
    Preference
    service_tloc_color str
    Service TLOC color
    service_tloc_encapsulation str
    Service TLOC encapsulation
    service_tloc_ip str
    Service TLOC IP address
    service_tloc_list_id str
    Service TLOC list ID
    service_tloc_list_version int
    Service TLOC list version
    service_type str
    Service type
    service_vpn_id int
    Service VPN ID
    tloc_action str
    TLOC action
    tloc_color str
    TLOC color
    tloc_encapsulation str
    TLOC encapsulation
    tloc_ip str
    TLOC IP address
    tloc_list_id str
    TLOC list ID
    tloc_list_version int
    TLOC list version
    type str
    Type of set parameter
    community String
    Community value, e.g. 1000:10000 or internet or local-AS
    communityAdditive Boolean
    Community additive
    ompTag Number
    OMP tag
    preference Number
    Preference
    serviceTlocColor String
    Service TLOC color
    serviceTlocEncapsulation String
    Service TLOC encapsulation
    serviceTlocIp String
    Service TLOC IP address
    serviceTlocListId String
    Service TLOC list ID
    serviceTlocListVersion Number
    Service TLOC list version
    serviceType String
    Service type
    serviceVpnId Number
    Service VPN ID
    tlocAction String
    TLOC action
    tlocColor String
    TLOC color
    tlocEncapsulation String
    TLOC encapsulation
    tlocIp String
    TLOC IP address
    tlocListId String
    TLOC list ID
    tlocListVersion Number
    TLOC list version
    type String
    Type of set parameter

    GetCustomControlTopologyPolicyDefinitionSequenceMatchEntry

    Carrier string
    Carrier
    ColorListId string
    Color list ID
    ColorListVersion int
    Color list version
    CommunityListId string
    Community list ID
    CommunityListVersion int
    Community list version
    DomainId int
    Domain ID
    ExpandedCommunityListId string
    Expanded community list ID
    ExpandedCommunityListVersion int
    Expanded community list version
    GroupId int
    Group ID
    OmpTag int
    OMP tag
    Origin string
    Origin
    Originator string
    Originator IP
    PathType string
    Path type
    Preference int
    Preference
    PrefixListId string
    Prefix list ID
    PrefixListVersion int
    Prefix list version
    SiteId int
    Site ID
    SiteListId string
    Site list ID
    SiteListVersion int
    Site list version
    TlocColor string
    TLOC color
    TlocEncapsulation string
    TLOC encapsulation
    TlocIp string
    TLOC IP address
    TlocListId string
    TLOC list ID
    TlocListVersion int
    TLOC list version
    Type string
    Type of match entry
    VpnId int
    VPN ID
    VpnListId string
    VPN list ID
    VpnListVersion int
    VPN list version
    Carrier string
    Carrier
    ColorListId string
    Color list ID
    ColorListVersion int
    Color list version
    CommunityListId string
    Community list ID
    CommunityListVersion int
    Community list version
    DomainId int
    Domain ID
    ExpandedCommunityListId string
    Expanded community list ID
    ExpandedCommunityListVersion int
    Expanded community list version
    GroupId int
    Group ID
    OmpTag int
    OMP tag
    Origin string
    Origin
    Originator string
    Originator IP
    PathType string
    Path type
    Preference int
    Preference
    PrefixListId string
    Prefix list ID
    PrefixListVersion int
    Prefix list version
    SiteId int
    Site ID
    SiteListId string
    Site list ID
    SiteListVersion int
    Site list version
    TlocColor string
    TLOC color
    TlocEncapsulation string
    TLOC encapsulation
    TlocIp string
    TLOC IP address
    TlocListId string
    TLOC list ID
    TlocListVersion int
    TLOC list version
    Type string
    Type of match entry
    VpnId int
    VPN ID
    VpnListId string
    VPN list ID
    VpnListVersion int
    VPN list version
    carrier String
    Carrier
    colorListId String
    Color list ID
    colorListVersion Integer
    Color list version
    communityListId String
    Community list ID
    communityListVersion Integer
    Community list version
    domainId Integer
    Domain ID
    expandedCommunityListId String
    Expanded community list ID
    expandedCommunityListVersion Integer
    Expanded community list version
    groupId Integer
    Group ID
    ompTag Integer
    OMP tag
    origin String
    Origin
    originator String
    Originator IP
    pathType String
    Path type
    preference Integer
    Preference
    prefixListId String
    Prefix list ID
    prefixListVersion Integer
    Prefix list version
    siteId Integer
    Site ID
    siteListId String
    Site list ID
    siteListVersion Integer
    Site list version
    tlocColor String
    TLOC color
    tlocEncapsulation String
    TLOC encapsulation
    tlocIp String
    TLOC IP address
    tlocListId String
    TLOC list ID
    tlocListVersion Integer
    TLOC list version
    type String
    Type of match entry
    vpnId Integer
    VPN ID
    vpnListId String
    VPN list ID
    vpnListVersion Integer
    VPN list version
    carrier string
    Carrier
    colorListId string
    Color list ID
    colorListVersion number
    Color list version
    communityListId string
    Community list ID
    communityListVersion number
    Community list version
    domainId number
    Domain ID
    expandedCommunityListId string
    Expanded community list ID
    expandedCommunityListVersion number
    Expanded community list version
    groupId number
    Group ID
    ompTag number
    OMP tag
    origin string
    Origin
    originator string
    Originator IP
    pathType string
    Path type
    preference number
    Preference
    prefixListId string
    Prefix list ID
    prefixListVersion number
    Prefix list version
    siteId number
    Site ID
    siteListId string
    Site list ID
    siteListVersion number
    Site list version
    tlocColor string
    TLOC color
    tlocEncapsulation string
    TLOC encapsulation
    tlocIp string
    TLOC IP address
    tlocListId string
    TLOC list ID
    tlocListVersion number
    TLOC list version
    type string
    Type of match entry
    vpnId number
    VPN ID
    vpnListId string
    VPN list ID
    vpnListVersion number
    VPN list version
    carrier str
    Carrier
    color_list_id str
    Color list ID
    color_list_version int
    Color list version
    community_list_id str
    Community list ID
    community_list_version int
    Community list version
    domain_id int
    Domain ID
    expanded_community_list_id str
    Expanded community list ID
    expanded_community_list_version int
    Expanded community list version
    group_id int
    Group ID
    omp_tag int
    OMP tag
    origin str
    Origin
    originator str
    Originator IP
    path_type str
    Path type
    preference int
    Preference
    prefix_list_id str
    Prefix list ID
    prefix_list_version int
    Prefix list version
    site_id int
    Site ID
    site_list_id str
    Site list ID
    site_list_version int
    Site list version
    tloc_color str
    TLOC color
    tloc_encapsulation str
    TLOC encapsulation
    tloc_ip str
    TLOC IP address
    tloc_list_id str
    TLOC list ID
    tloc_list_version int
    TLOC list version
    type str
    Type of match entry
    vpn_id int
    VPN ID
    vpn_list_id str
    VPN list ID
    vpn_list_version int
    VPN list version
    carrier String
    Carrier
    colorListId String
    Color list ID
    colorListVersion Number
    Color list version
    communityListId String
    Community list ID
    communityListVersion Number
    Community list version
    domainId Number
    Domain ID
    expandedCommunityListId String
    Expanded community list ID
    expandedCommunityListVersion Number
    Expanded community list version
    groupId Number
    Group ID
    ompTag Number
    OMP tag
    origin String
    Origin
    originator String
    Originator IP
    pathType String
    Path type
    preference Number
    Preference
    prefixListId String
    Prefix list ID
    prefixListVersion Number
    Prefix list version
    siteId Number
    Site ID
    siteListId String
    Site list ID
    siteListVersion Number
    Site list version
    tlocColor String
    TLOC color
    tlocEncapsulation String
    TLOC encapsulation
    tlocIp String
    TLOC IP address
    tlocListId String
    TLOC list ID
    tlocListVersion Number
    TLOC list version
    type String
    Type of match entry
    vpnId Number
    VPN ID
    vpnListId String
    VPN list ID
    vpnListVersion Number
    VPN list version

    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