Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 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)
// 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:
- Default
Action string - Default action, either
accept
orreject
- 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
Custom Control Topology Policy Definition Sequence> - List of sequences
- Type string
- Type
- Version int
- The version of the object
- Default
Action string - Default action, either
accept
orreject
- 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
Custom Control Topology Policy Definition Sequence - List of sequences
- Type string
- Type
- Version int
- The version of the object
- default
Action String - Default action, either
accept
orreject
- 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
Custom Control Topology Policy Definition Sequence> - List of sequences
- type String
- Type
- version Integer
- The version of the object
- default
Action string - Default action, either
accept
orreject
- 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
Custom Control Topology Policy Definition Sequence[] - List of sequences
- type string
- Type
- version number
- The version of the object
- default_
action str - Default action, either
accept
orreject
- 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
Custom Control Topology Policy Definition Sequence] - List of sequences
- type str
- Type
- version int
- The version of the object
- default
Action String - Default action, either
accept
orreject
- 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
- Action
Entries List<GetCustom Control Topology Policy Definition Sequence Action Entry> - List of action entries
- Base
Action string - Base action, either
accept
orreject
- Id int
- Sequence ID
- Ip
Type string - Sequence IP type, either
ipv4
,ipv6
orall
- Match
Entries List<GetCustom Control Topology Policy Definition Sequence Match Entry> - List of match entries
- Name string
- Sequence name
- Type string
- Sequence type, either
route
ortloc
- Action
Entries []GetCustom Control Topology Policy Definition Sequence Action Entry - List of action entries
- Base
Action string - Base action, either
accept
orreject
- Id int
- Sequence ID
- Ip
Type string - Sequence IP type, either
ipv4
,ipv6
orall
- Match
Entries []GetCustom Control Topology Policy Definition Sequence Match Entry - List of match entries
- Name string
- Sequence name
- Type string
- Sequence type, either
route
ortloc
- action
Entries List<GetCustom Control Topology Policy Definition Sequence Action Entry> - List of action entries
- base
Action String - Base action, either
accept
orreject
- id Integer
- Sequence ID
- ip
Type String - Sequence IP type, either
ipv4
,ipv6
orall
- match
Entries List<GetCustom Control Topology Policy Definition Sequence Match Entry> - List of match entries
- name String
- Sequence name
- type String
- Sequence type, either
route
ortloc
- action
Entries GetCustom Control Topology Policy Definition Sequence Action Entry[] - List of action entries
- base
Action string - Base action, either
accept
orreject
- id number
- Sequence ID
- ip
Type string - Sequence IP type, either
ipv4
,ipv6
orall
- match
Entries GetCustom Control Topology Policy Definition Sequence Match Entry[] - List of match entries
- name string
- Sequence name
- type string
- Sequence type, either
route
ortloc
- action_
entries Sequence[GetCustom Control Topology Policy Definition Sequence Action Entry] - List of action entries
- base_
action str - Base action, either
accept
orreject
- id int
- Sequence ID
- ip_
type str - Sequence IP type, either
ipv4
,ipv6
orall
- match_
entries Sequence[GetCustom Control Topology Policy Definition Sequence Match Entry] - List of match entries
- name str
- Sequence name
- type str
- Sequence type, either
route
ortloc
- action
Entries List<Property Map> - List of action entries
- base
Action String - Base action, either
accept
orreject
- id Number
- Sequence ID
- ip
Type String - Sequence IP type, either
ipv4
,ipv6
orall
- match
Entries List<Property Map> - List of match entries
- name String
- Sequence name
- type String
- Sequence type, either
route
ortloc
GetCustomControlTopologyPolicyDefinitionSequenceActionEntry
- Export
To stringVpn List Id - Export to VPN list ID
- Export
To intVpn List Version - Export to VPN list version
- Set
Parameters List<GetCustom Control Topology Policy Definition Sequence Action Entry Set Parameter> - List of set parameters
- Type string
- Type of action entry
- Export
To stringVpn List Id - Export to VPN list ID
- Export
To intVpn List Version - Export to VPN list version
- Set
Parameters []GetCustom Control Topology Policy Definition Sequence Action Entry Set Parameter - List of set parameters
- Type string
- Type of action entry
- export
To StringVpn List Id - Export to VPN list ID
- export
To IntegerVpn List Version - Export to VPN list version
- set
Parameters List<GetCustom Control Topology Policy Definition Sequence Action Entry Set Parameter> - List of set parameters
- type String
- Type of action entry
- export
To stringVpn List Id - Export to VPN list ID
- export
To numberVpn List Version - Export to VPN list version
- set
Parameters 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
- export
To StringVpn List Id - Export to VPN list ID
- export
To NumberVpn List Version - Export to VPN list version
- set
Parameters List<Property Map> - List of set parameters
- type String
- Type of action entry
GetCustomControlTopologyPolicyDefinitionSequenceActionEntrySetParameter
- Community string
- Community value, e.g.
1000:10000
orinternet
orlocal-AS
- Community
Additive bool - Community additive
- Omp
Tag int - OMP tag
- Preference int
- Preference
- Service
Tloc stringColor - Service TLOC color
- Service
Tloc stringEncapsulation - Service TLOC encapsulation
- Service
Tloc stringIp - Service TLOC IP address
- Service
Tloc stringList Id - Service TLOC list ID
- Service
Tloc intList Version - Service TLOC list version
- Service
Type string - Service type
- Service
Vpn intId - Service VPN ID
- Tloc
Action string - TLOC action
- Tloc
Color string - TLOC color
- Tloc
Encapsulation string - TLOC encapsulation
- Tloc
Ip string - TLOC IP address
- Tloc
List stringId - TLOC list ID
- Tloc
List intVersion - TLOC list version
- Type string
- Type of set parameter
- Community string
- Community value, e.g.
1000:10000
orinternet
orlocal-AS
- Community
Additive bool - Community additive
- Omp
Tag int - OMP tag
- Preference int
- Preference
- Service
Tloc stringColor - Service TLOC color
- Service
Tloc stringEncapsulation - Service TLOC encapsulation
- Service
Tloc stringIp - Service TLOC IP address
- Service
Tloc stringList Id - Service TLOC list ID
- Service
Tloc intList Version - Service TLOC list version
- Service
Type string - Service type
- Service
Vpn intId - Service VPN ID
- Tloc
Action string - TLOC action
- Tloc
Color string - TLOC color
- Tloc
Encapsulation string - TLOC encapsulation
- Tloc
Ip string - TLOC IP address
- Tloc
List stringId - TLOC list ID
- Tloc
List intVersion - TLOC list version
- Type string
- Type of set parameter
- community String
- Community value, e.g.
1000:10000
orinternet
orlocal-AS
- community
Additive Boolean - Community additive
- omp
Tag Integer - OMP tag
- preference Integer
- Preference
- service
Tloc StringColor - Service TLOC color
- service
Tloc StringEncapsulation - Service TLOC encapsulation
- service
Tloc StringIp - Service TLOC IP address
- service
Tloc StringList Id - Service TLOC list ID
- service
Tloc IntegerList Version - Service TLOC list version
- service
Type String - Service type
- service
Vpn IntegerId - Service VPN ID
- tloc
Action String - TLOC action
- tloc
Color String - TLOC color
- tloc
Encapsulation String - TLOC encapsulation
- tloc
Ip String - TLOC IP address
- tloc
List StringId - TLOC list ID
- tloc
List IntegerVersion - TLOC list version
- type String
- Type of set parameter
- community string
- Community value, e.g.
1000:10000
orinternet
orlocal-AS
- community
Additive boolean - Community additive
- omp
Tag number - OMP tag
- preference number
- Preference
- service
Tloc stringColor - Service TLOC color
- service
Tloc stringEncapsulation - Service TLOC encapsulation
- service
Tloc stringIp - Service TLOC IP address
- service
Tloc stringList Id - Service TLOC list ID
- service
Tloc numberList Version - Service TLOC list version
- service
Type string - Service type
- service
Vpn numberId - Service VPN ID
- tloc
Action string - TLOC action
- tloc
Color string - TLOC color
- tloc
Encapsulation string - TLOC encapsulation
- tloc
Ip string - TLOC IP address
- tloc
List stringId - TLOC list ID
- tloc
List numberVersion - TLOC list version
- type string
- Type of set parameter
- community str
- Community value, e.g.
1000:10000
orinternet
orlocal-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:10000
orinternet
orlocal-AS
- community
Additive Boolean - Community additive
- omp
Tag Number - OMP tag
- preference Number
- Preference
- service
Tloc StringColor - Service TLOC color
- service
Tloc StringEncapsulation - Service TLOC encapsulation
- service
Tloc StringIp - Service TLOC IP address
- service
Tloc StringList Id - Service TLOC list ID
- service
Tloc NumberList Version - Service TLOC list version
- service
Type String - Service type
- service
Vpn NumberId - Service VPN ID
- tloc
Action String - TLOC action
- tloc
Color String - TLOC color
- tloc
Encapsulation String - TLOC encapsulation
- tloc
Ip String - TLOC IP address
- tloc
List StringId - TLOC list ID
- tloc
List NumberVersion - TLOC list version
- type String
- Type of set parameter
GetCustomControlTopologyPolicyDefinitionSequenceMatchEntry
- Carrier string
- Carrier
- Color
List stringId - Color list ID
- Color
List intVersion - Color list version
- Community
List stringId - Community list ID
- Community
List intVersion - Community list version
- Domain
Id int - Domain ID
- Expanded
Community stringList Id - Expanded community list ID
- Expanded
Community intList Version - Expanded community list version
- Group
Id int - Group ID
- Omp
Tag int - OMP tag
- Origin string
- Origin
- Originator string
- Originator IP
- Path
Type string - Path type
- Preference int
- Preference
- Prefix
List stringId - Prefix list ID
- Prefix
List intVersion - Prefix list version
- Site
Id int - Site ID
- Site
List stringId - Site list ID
- Site
List intVersion - Site list version
- Tloc
Color string - TLOC color
- Tloc
Encapsulation string - TLOC encapsulation
- Tloc
Ip string - TLOC IP address
- Tloc
List stringId - TLOC list ID
- Tloc
List intVersion - TLOC list version
- Type string
- Type of match entry
- Vpn
Id int - VPN ID
- Vpn
List stringId - VPN list ID
- Vpn
List intVersion - VPN list version
- Carrier string
- Carrier
- Color
List stringId - Color list ID
- Color
List intVersion - Color list version
- Community
List stringId - Community list ID
- Community
List intVersion - Community list version
- Domain
Id int - Domain ID
- Expanded
Community stringList Id - Expanded community list ID
- Expanded
Community intList Version - Expanded community list version
- Group
Id int - Group ID
- Omp
Tag int - OMP tag
- Origin string
- Origin
- Originator string
- Originator IP
- Path
Type string - Path type
- Preference int
- Preference
- Prefix
List stringId - Prefix list ID
- Prefix
List intVersion - Prefix list version
- Site
Id int - Site ID
- Site
List stringId - Site list ID
- Site
List intVersion - Site list version
- Tloc
Color string - TLOC color
- Tloc
Encapsulation string - TLOC encapsulation
- Tloc
Ip string - TLOC IP address
- Tloc
List stringId - TLOC list ID
- Tloc
List intVersion - TLOC list version
- Type string
- Type of match entry
- Vpn
Id int - VPN ID
- Vpn
List stringId - VPN list ID
- Vpn
List intVersion - VPN list version
- carrier String
- Carrier
- color
List StringId - Color list ID
- color
List IntegerVersion - Color list version
- community
List StringId - Community list ID
- community
List IntegerVersion - Community list version
- domain
Id Integer - Domain ID
- expanded
Community StringList Id - Expanded community list ID
- expanded
Community IntegerList Version - Expanded community list version
- group
Id Integer - Group ID
- omp
Tag Integer - OMP tag
- origin String
- Origin
- originator String
- Originator IP
- path
Type String - Path type
- preference Integer
- Preference
- prefix
List StringId - Prefix list ID
- prefix
List IntegerVersion - Prefix list version
- site
Id Integer - Site ID
- site
List StringId - Site list ID
- site
List IntegerVersion - Site list version
- tloc
Color String - TLOC color
- tloc
Encapsulation String - TLOC encapsulation
- tloc
Ip String - TLOC IP address
- tloc
List StringId - TLOC list ID
- tloc
List IntegerVersion - TLOC list version
- type String
- Type of match entry
- vpn
Id Integer - VPN ID
- vpn
List StringId - VPN list ID
- vpn
List IntegerVersion - VPN list version
- carrier string
- Carrier
- color
List stringId - Color list ID
- color
List numberVersion - Color list version
- community
List stringId - Community list ID
- community
List numberVersion - Community list version
- domain
Id number - Domain ID
- expanded
Community stringList Id - Expanded community list ID
- expanded
Community numberList Version - Expanded community list version
- group
Id number - Group ID
- omp
Tag number - OMP tag
- origin string
- Origin
- originator string
- Originator IP
- path
Type string - Path type
- preference number
- Preference
- prefix
List stringId - Prefix list ID
- prefix
List numberVersion - Prefix list version
- site
Id number - Site ID
- site
List stringId - Site list ID
- site
List numberVersion - Site list version
- tloc
Color string - TLOC color
- tloc
Encapsulation string - TLOC encapsulation
- tloc
Ip string - TLOC IP address
- tloc
List stringId - TLOC list ID
- tloc
List numberVersion - TLOC list version
- type string
- Type of match entry
- vpn
Id number - VPN ID
- vpn
List stringId - VPN list ID
- vpn
List 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
- color
List StringId - Color list ID
- color
List NumberVersion - Color list version
- community
List StringId - Community list ID
- community
List NumberVersion - Community list version
- domain
Id Number - Domain ID
- expanded
Community StringList Id - Expanded community list ID
- expanded
Community NumberList Version - Expanded community list version
- group
Id Number - Group ID
- omp
Tag Number - OMP tag
- origin String
- Origin
- originator String
- Originator IP
- path
Type String - Path type
- preference Number
- Preference
- prefix
List StringId - Prefix list ID
- prefix
List NumberVersion - Prefix list version
- site
Id Number - Site ID
- site
List StringId - Site list ID
- site
List NumberVersion - Site list version
- tloc
Color String - TLOC color
- tloc
Encapsulation String - TLOC encapsulation
- tloc
Ip String - TLOC IP address
- tloc
List StringId - TLOC list ID
- tloc
List NumberVersion - TLOC list version
- type String
- Type of match entry
- vpn
Id Number - VPN ID
- vpn
List StringId - VPN list ID
- vpn
List NumberVersion - 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.