Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi
sdwan.getCustomControlTopologyPolicyDefinition
Explore with Pulumi AI
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)
public static Output<GetCustomControlTopologyPolicyDefinitionResult> getCustomControlTopologyPolicyDefinition(GetCustomControlTopologyPolicyDefinitionArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getCustomControlTopologyPolicyDefinition:getCustomControlTopologyPolicyDefinition
  arguments:
    # arguments dictionaryThe 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 acceptorreject
- 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<GetCustom Control Topology Policy Definition Sequence> 
- List of sequences
- Type string
- Type
- Version int
- The version of the object
- DefaultAction string
- Default action, either acceptorreject
- Description string
- The description of the policy definition
- Id string
- The id of the object
- Name string
- The name of the policy definition
- Sequences
[]GetCustom Control Topology Policy Definition Sequence 
- List of sequences
- Type string
- Type
- Version int
- The version of the object
- defaultAction String
- Default action, either acceptorreject
- 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<GetCustom Control Topology Policy Definition Sequence> 
- List of sequences
- type String
- Type
- version Integer
- The version of the object
- defaultAction string
- Default action, either acceptorreject
- description string
- The description of the policy definition
- id string
- The id of the object
- name string
- The name of the policy definition
- sequences
GetCustom Control Topology Policy Definition Sequence[] 
- List of sequences
- type string
- Type
- version number
- The version of the object
- default_action str
- Default action, either acceptorreject
- 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[GetCustom Control Topology Policy Definition Sequence] 
- List of sequences
- type str
- Type
- version int
- The version of the object
- defaultAction String
- Default action, either acceptorreject
- 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<GetCustom Control Topology Policy Definition Sequence Action Entry> 
- List of action entries
- BaseAction string
- Base action, either acceptorreject
- Id int
- Sequence ID
- IpType string
- Sequence IP type, either ipv4,ipv6orall
- MatchEntries List<GetCustom Control Topology Policy Definition Sequence Match Entry> 
- List of match entries
- Name string
- Sequence name
- Type string
- Sequence type, either routeortloc
- ActionEntries []GetCustom Control Topology Policy Definition Sequence Action Entry 
- List of action entries
- BaseAction string
- Base action, either acceptorreject
- Id int
- Sequence ID
- IpType string
- Sequence IP type, either ipv4,ipv6orall
- MatchEntries []GetCustom Control Topology Policy Definition Sequence Match Entry 
- List of match entries
- Name string
- Sequence name
- Type string
- Sequence type, either routeortloc
- actionEntries List<GetCustom Control Topology Policy Definition Sequence Action Entry> 
- List of action entries
- baseAction String
- Base action, either acceptorreject
- id Integer
- Sequence ID
- ipType String
- Sequence IP type, either ipv4,ipv6orall
- matchEntries List<GetCustom Control Topology Policy Definition Sequence Match Entry> 
- List of match entries
- name String
- Sequence name
- type String
- Sequence type, either routeortloc
- actionEntries GetCustom Control Topology Policy Definition Sequence Action Entry[] 
- List of action entries
- baseAction string
- Base action, either acceptorreject
- id number
- Sequence ID
- ipType string
- Sequence IP type, either ipv4,ipv6orall
- matchEntries GetCustom Control Topology Policy Definition Sequence Match Entry[] 
- List of match entries
- name string
- Sequence name
- type string
- Sequence type, either routeortloc
- action_entries Sequence[GetCustom Control Topology Policy Definition Sequence Action Entry] 
- List of action entries
- base_action str
- Base action, either acceptorreject
- id int
- Sequence ID
- ip_type str
- Sequence IP type, either ipv4,ipv6orall
- match_entries Sequence[GetCustom Control Topology Policy Definition Sequence Match Entry] 
- List of match entries
- name str
- Sequence name
- type str
- Sequence type, either routeortloc
- actionEntries List<Property Map>
- List of action entries
- baseAction String
- Base action, either acceptorreject
- id Number
- Sequence ID
- ipType String
- Sequence IP type, either ipv4,ipv6orall
- matchEntries List<Property Map>
- List of match entries
- name String
- Sequence name
- type String
- Sequence type, either routeortloc
GetCustomControlTopologyPolicyDefinitionSequenceActionEntry        
- ExportTo stringVpn List Id 
- Export to VPN list ID
- ExportTo intVpn List Version 
- Export to VPN list version
- SetParameters List<GetCustom Control Topology Policy Definition Sequence Action Entry Set Parameter> 
- List of set parameters
- Type string
- Type of action entry
- ExportTo stringVpn List Id 
- Export to VPN list ID
- ExportTo intVpn List Version 
- Export to VPN list version
- SetParameters []GetCustom Control Topology Policy Definition Sequence Action Entry Set Parameter 
- List of set parameters
- Type string
- Type of action entry
- exportTo StringVpn List Id 
- Export to VPN list ID
- exportTo IntegerVpn List Version 
- Export to VPN list version
- setParameters List<GetCustom Control Topology Policy Definition Sequence Action Entry Set Parameter> 
- List of set parameters
- type String
- Type of action entry
- exportTo stringVpn List Id 
- Export to VPN list ID
- exportTo numberVpn List Version 
- Export to VPN list version
- setParameters GetCustom Control Topology Policy Definition Sequence Action Entry Set Parameter[] 
- List of set parameters
- type string
- Type of action entry
- export_to_ strvpn_ list_ id 
- Export to VPN list ID
- export_to_ intvpn_ list_ version 
- Export to VPN list version
- set_parameters Sequence[GetCustom Control Topology Policy Definition Sequence Action Entry Set Parameter] 
- List of set parameters
- type str
- Type of action entry
- exportTo StringVpn List Id 
- Export to VPN list ID
- exportTo NumberVpn List Version 
- 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:10000orinternetorlocal-AS
- CommunityAdditive bool
- Community additive
- OmpTag int
- OMP tag
- Preference int
- Preference
- ServiceTloc stringColor 
- Service TLOC color
- ServiceTloc stringEncapsulation 
- Service TLOC encapsulation
- ServiceTloc stringIp 
- Service TLOC IP address
- ServiceTloc stringList Id 
- Service TLOC list ID
- ServiceTloc intList Version 
- Service TLOC list version
- ServiceType string
- Service type
- ServiceVpn intId 
- Service VPN ID
- TlocAction string
- TLOC action
- TlocColor string
- TLOC color
- TlocEncapsulation string
- TLOC encapsulation
- TlocIp string
- TLOC IP address
- TlocList stringId 
- TLOC list ID
- TlocList intVersion 
- TLOC list version
- Type string
- Type of set parameter
- Community string
- Community value, e.g. 1000:10000orinternetorlocal-AS
- CommunityAdditive bool
- Community additive
- OmpTag int
- OMP tag
- Preference int
- Preference
- ServiceTloc stringColor 
- Service TLOC color
- ServiceTloc stringEncapsulation 
- Service TLOC encapsulation
- ServiceTloc stringIp 
- Service TLOC IP address
- ServiceTloc stringList Id 
- Service TLOC list ID
- ServiceTloc intList Version 
- Service TLOC list version
- ServiceType string
- Service type
- ServiceVpn intId 
- Service VPN ID
- TlocAction string
- TLOC action
- TlocColor string
- TLOC color
- TlocEncapsulation string
- TLOC encapsulation
- TlocIp string
- TLOC IP address
- TlocList stringId 
- TLOC list ID
- TlocList intVersion 
- TLOC list version
- Type string
- Type of set parameter
- community String
- Community value, e.g. 1000:10000orinternetorlocal-AS
- communityAdditive Boolean
- Community additive
- ompTag Integer
- OMP tag
- preference Integer
- Preference
- serviceTloc StringColor 
- Service TLOC color
- serviceTloc StringEncapsulation 
- Service TLOC encapsulation
- serviceTloc StringIp 
- Service TLOC IP address
- serviceTloc StringList Id 
- Service TLOC list ID
- serviceTloc IntegerList Version 
- Service TLOC list version
- serviceType String
- Service type
- serviceVpn IntegerId 
- Service VPN ID
- tlocAction String
- TLOC action
- tlocColor String
- TLOC color
- tlocEncapsulation String
- TLOC encapsulation
- tlocIp String
- TLOC IP address
- tlocList StringId 
- TLOC list ID
- tlocList IntegerVersion 
- TLOC list version
- type String
- Type of set parameter
- community string
- Community value, e.g. 1000:10000orinternetorlocal-AS
- communityAdditive boolean
- Community additive
- ompTag number
- OMP tag
- preference number
- Preference
- serviceTloc stringColor 
- Service TLOC color
- serviceTloc stringEncapsulation 
- Service TLOC encapsulation
- serviceTloc stringIp 
- Service TLOC IP address
- serviceTloc stringList Id 
- Service TLOC list ID
- serviceTloc numberList Version 
- Service TLOC list version
- serviceType string
- Service type
- serviceVpn numberId 
- Service VPN ID
- tlocAction string
- TLOC action
- tlocColor string
- TLOC color
- tlocEncapsulation string
- TLOC encapsulation
- tlocIp string
- TLOC IP address
- tlocList stringId 
- TLOC list ID
- tlocList numberVersion 
- TLOC list version
- type string
- Type of set parameter
- community str
- Community value, e.g. 1000:10000orinternetorlocal-AS
- community_additive bool
- Community additive
- omp_tag int
- OMP tag
- preference int
- Preference
- service_tloc_ strcolor 
- Service TLOC color
- service_tloc_ strencapsulation 
- Service TLOC encapsulation
- service_tloc_ strip 
- Service TLOC IP address
- service_tloc_ strlist_ id 
- Service TLOC list ID
- service_tloc_ intlist_ version 
- Service TLOC list version
- service_type str
- Service type
- service_vpn_ intid 
- 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_ strid 
- TLOC list ID
- tloc_list_ intversion 
- TLOC list version
- type str
- Type of set parameter
- community String
- Community value, e.g. 1000:10000orinternetorlocal-AS
- communityAdditive Boolean
- Community additive
- ompTag Number
- OMP tag
- preference Number
- Preference
- serviceTloc StringColor 
- Service TLOC color
- serviceTloc StringEncapsulation 
- Service TLOC encapsulation
- serviceTloc StringIp 
- Service TLOC IP address
- serviceTloc StringList Id 
- Service TLOC list ID
- serviceTloc NumberList Version 
- Service TLOC list version
- serviceType String
- Service type
- serviceVpn NumberId 
- Service VPN ID
- tlocAction String
- TLOC action
- tlocColor String
- TLOC color
- tlocEncapsulation String
- TLOC encapsulation
- tlocIp String
- TLOC IP address
- tlocList StringId 
- TLOC list ID
- tlocList NumberVersion 
- TLOC list version
- type String
- Type of set parameter
GetCustomControlTopologyPolicyDefinitionSequenceMatchEntry        
- Carrier string
- Carrier
- ColorList stringId 
- Color list ID
- ColorList intVersion 
- Color list version
- CommunityList stringId 
- Community list ID
- CommunityList intVersion 
- Community list version
- DomainId int
- Domain ID
- ExpandedCommunity stringList Id 
- Expanded community list ID
- ExpandedCommunity intList Version 
- 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
- PrefixList stringId 
- Prefix list ID
- PrefixList intVersion 
- Prefix list version
- SiteId int
- Site ID
- SiteList stringId 
- Site list ID
- SiteList intVersion 
- Site list version
- TlocColor string
- TLOC color
- TlocEncapsulation string
- TLOC encapsulation
- TlocIp string
- TLOC IP address
- TlocList stringId 
- TLOC list ID
- TlocList intVersion 
- TLOC list version
- Type string
- Type of match entry
- VpnId int
- VPN ID
- VpnList stringId 
- VPN list ID
- VpnList intVersion 
- VPN list version
- Carrier string
- Carrier
- ColorList stringId 
- Color list ID
- ColorList intVersion 
- Color list version
- CommunityList stringId 
- Community list ID
- CommunityList intVersion 
- Community list version
- DomainId int
- Domain ID
- ExpandedCommunity stringList Id 
- Expanded community list ID
- ExpandedCommunity intList Version 
- 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
- PrefixList stringId 
- Prefix list ID
- PrefixList intVersion 
- Prefix list version
- SiteId int
- Site ID
- SiteList stringId 
- Site list ID
- SiteList intVersion 
- Site list version
- TlocColor string
- TLOC color
- TlocEncapsulation string
- TLOC encapsulation
- TlocIp string
- TLOC IP address
- TlocList stringId 
- TLOC list ID
- TlocList intVersion 
- TLOC list version
- Type string
- Type of match entry
- VpnId int
- VPN ID
- VpnList stringId 
- VPN list ID
- VpnList intVersion 
- VPN list version
- carrier String
- Carrier
- colorList StringId 
- Color list ID
- colorList IntegerVersion 
- Color list version
- communityList StringId 
- Community list ID
- communityList IntegerVersion 
- Community list version
- domainId Integer
- Domain ID
- expandedCommunity StringList Id 
- Expanded community list ID
- expandedCommunity IntegerList Version 
- 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
- prefixList StringId 
- Prefix list ID
- prefixList IntegerVersion 
- Prefix list version
- siteId Integer
- Site ID
- siteList StringId 
- Site list ID
- siteList IntegerVersion 
- Site list version
- tlocColor String
- TLOC color
- tlocEncapsulation String
- TLOC encapsulation
- tlocIp String
- TLOC IP address
- tlocList StringId 
- TLOC list ID
- tlocList IntegerVersion 
- TLOC list version
- type String
- Type of match entry
- vpnId Integer
- VPN ID
- vpnList StringId 
- VPN list ID
- vpnList IntegerVersion 
- VPN list version
- carrier string
- Carrier
- colorList stringId 
- Color list ID
- colorList numberVersion 
- Color list version
- communityList stringId 
- Community list ID
- communityList numberVersion 
- Community list version
- domainId number
- Domain ID
- expandedCommunity stringList Id 
- Expanded community list ID
- expandedCommunity numberList Version 
- 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
- prefixList stringId 
- Prefix list ID
- prefixList numberVersion 
- Prefix list version
- siteId number
- Site ID
- siteList stringId 
- Site list ID
- siteList numberVersion 
- Site list version
- tlocColor string
- TLOC color
- tlocEncapsulation string
- TLOC encapsulation
- tlocIp string
- TLOC IP address
- tlocList stringId 
- TLOC list ID
- tlocList numberVersion 
- TLOC list version
- type string
- Type of match entry
- vpnId number
- VPN ID
- vpnList stringId 
- VPN list ID
- vpnList numberVersion 
- VPN list version
- carrier str
- Carrier
- color_list_ strid 
- Color list ID
- color_list_ intversion 
- Color list version
- community_list_ strid 
- Community list ID
- community_list_ intversion 
- Community list version
- domain_id int
- Domain ID
- expanded_community_ strlist_ id 
- Expanded community list ID
- expanded_community_ intlist_ version 
- 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_ strid 
- Prefix list ID
- prefix_list_ intversion 
- Prefix list version
- site_id int
- Site ID
- site_list_ strid 
- Site list ID
- site_list_ intversion 
- Site list version
- tloc_color str
- TLOC color
- tloc_encapsulation str
- TLOC encapsulation
- tloc_ip str
- TLOC IP address
- tloc_list_ strid 
- TLOC list ID
- tloc_list_ intversion 
- TLOC list version
- type str
- Type of match entry
- vpn_id int
- VPN ID
- vpn_list_ strid 
- VPN list ID
- vpn_list_ intversion 
- VPN list version
- carrier String
- Carrier
- colorList StringId 
- Color list ID
- colorList NumberVersion 
- Color list version
- communityList StringId 
- Community list ID
- communityList NumberVersion 
- Community list version
- domainId Number
- Domain ID
- expandedCommunity StringList Id 
- Expanded community list ID
- expandedCommunity NumberList Version 
- 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
- prefixList StringId 
- Prefix list ID
- prefixList NumberVersion 
- Prefix list version
- siteId Number
- Site ID
- siteList StringId 
- Site list ID
- siteList NumberVersion 
- Site list version
- tlocColor String
- TLOC color
- tlocEncapsulation String
- TLOC encapsulation
- tlocIp String
- TLOC IP address
- tlocList StringId 
- TLOC list ID
- tlocList NumberVersion 
- TLOC list version
- type String
- Type of match entry
- vpnId Number
- VPN ID
- vpnList StringId 
- VPN list ID
- vpnList NumberVersion 
- VPN list version
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
