Cisco Catalyst SD-WAN v0.5.0 published on Tuesday, Oct 14, 2025 by Pulumi
sdwan.getCflowdPolicyDefinition
This data source can read the Cflowd Policy Definition .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getCflowdPolicyDefinition({
    id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_cflowd_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.LookupCflowdPolicyDefinition(ctx, &sdwan.LookupCflowdPolicyDefinitionArgs{
			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.GetCflowdPolicyDefinition.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.GetCflowdPolicyDefinitionArgs;
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.getCflowdPolicyDefinition(GetCflowdPolicyDefinitionArgs.builder()
            .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: sdwan:getCflowdPolicyDefinition
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getCflowdPolicyDefinition
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 getCflowdPolicyDefinition(args: GetCflowdPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetCflowdPolicyDefinitionResult>
function getCflowdPolicyDefinitionOutput(args: GetCflowdPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetCflowdPolicyDefinitionResult>def get_cflowd_policy_definition(id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetCflowdPolicyDefinitionResult
def get_cflowd_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetCflowdPolicyDefinitionResult]func LookupCflowdPolicyDefinition(ctx *Context, args *LookupCflowdPolicyDefinitionArgs, opts ...InvokeOption) (*LookupCflowdPolicyDefinitionResult, error)
func LookupCflowdPolicyDefinitionOutput(ctx *Context, args *LookupCflowdPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupCflowdPolicyDefinitionResultOutput> Note: This function is named LookupCflowdPolicyDefinition in the Go SDK.
public static class GetCflowdPolicyDefinition 
{
    public static Task<GetCflowdPolicyDefinitionResult> InvokeAsync(GetCflowdPolicyDefinitionArgs args, InvokeOptions? opts = null)
    public static Output<GetCflowdPolicyDefinitionResult> Invoke(GetCflowdPolicyDefinitionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCflowdPolicyDefinitionResult> getCflowdPolicyDefinition(GetCflowdPolicyDefinitionArgs args, InvokeOptions options)
public static Output<GetCflowdPolicyDefinitionResult> getCflowdPolicyDefinition(GetCflowdPolicyDefinitionArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getCflowdPolicyDefinition:getCflowdPolicyDefinition
  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
getCflowdPolicyDefinition Result
The following output properties are available:
- ActiveFlow intTimeout 
- Active flow timeout in seconds
- Collectors
List<GetCflowd Policy Definition Collector> 
- List of collectors
- Description string
- The description of the policy definition
- FlowRefresh int
- Flow refresh in seconds
- Id string
- The id of the object
- InactiveFlow intTimeout 
- Inactive flow timeout in seconds
- Name string
- The name of the policy definition
- Protocol string
- Protocol, either ipv4,ipv6orall
- RemarkedDscp bool
- Collect remarked DSCP
- SamplingInterval int
- Flow sampling interval
- Tos bool
- Collect TOS record field
- Type string
- Type
- Version int
- The version of the object
- ActiveFlow intTimeout 
- Active flow timeout in seconds
- Collectors
[]GetCflowd Policy Definition Collector 
- List of collectors
- Description string
- The description of the policy definition
- FlowRefresh int
- Flow refresh in seconds
- Id string
- The id of the object
- InactiveFlow intTimeout 
- Inactive flow timeout in seconds
- Name string
- The name of the policy definition
- Protocol string
- Protocol, either ipv4,ipv6orall
- RemarkedDscp bool
- Collect remarked DSCP
- SamplingInterval int
- Flow sampling interval
- Tos bool
- Collect TOS record field
- Type string
- Type
- Version int
- The version of the object
- activeFlow IntegerTimeout 
- Active flow timeout in seconds
- collectors
List<GetCflowd Policy Definition Collector> 
- List of collectors
- description String
- The description of the policy definition
- flowRefresh Integer
- Flow refresh in seconds
- id String
- The id of the object
- inactiveFlow IntegerTimeout 
- Inactive flow timeout in seconds
- name String
- The name of the policy definition
- protocol String
- Protocol, either ipv4,ipv6orall
- remarkedDscp Boolean
- Collect remarked DSCP
- samplingInterval Integer
- Flow sampling interval
- tos Boolean
- Collect TOS record field
- type String
- Type
- version Integer
- The version of the object
- activeFlow numberTimeout 
- Active flow timeout in seconds
- collectors
GetCflowd Policy Definition Collector[] 
- List of collectors
- description string
- The description of the policy definition
- flowRefresh number
- Flow refresh in seconds
- id string
- The id of the object
- inactiveFlow numberTimeout 
- Inactive flow timeout in seconds
- name string
- The name of the policy definition
- protocol string
- Protocol, either ipv4,ipv6orall
- remarkedDscp boolean
- Collect remarked DSCP
- samplingInterval number
- Flow sampling interval
- tos boolean
- Collect TOS record field
- type string
- Type
- version number
- The version of the object
- active_flow_ inttimeout 
- Active flow timeout in seconds
- collectors
Sequence[GetCflowd Policy Definition Collector] 
- List of collectors
- description str
- The description of the policy definition
- flow_refresh int
- Flow refresh in seconds
- id str
- The id of the object
- inactive_flow_ inttimeout 
- Inactive flow timeout in seconds
- name str
- The name of the policy definition
- protocol str
- Protocol, either ipv4,ipv6orall
- remarked_dscp bool
- Collect remarked DSCP
- sampling_interval int
- Flow sampling interval
- tos bool
- Collect TOS record field
- type str
- Type
- version int
- The version of the object
- activeFlow NumberTimeout 
- Active flow timeout in seconds
- collectors List<Property Map>
- List of collectors
- description String
- The description of the policy definition
- flowRefresh Number
- Flow refresh in seconds
- id String
- The id of the object
- inactiveFlow NumberTimeout 
- Inactive flow timeout in seconds
- name String
- The name of the policy definition
- protocol String
- Protocol, either ipv4,ipv6orall
- remarkedDscp Boolean
- Collect remarked DSCP
- samplingInterval Number
- Flow sampling interval
- tos Boolean
- Collect TOS record field
- type String
- Type
- version Number
- The version of the object
Supporting Types
GetCflowdPolicyDefinitionCollector    
- BfdMetrics boolExporting 
- BFD metrics exporting
- ExportSpreading string
- Export spreading
- ExportingInterval int
- Exporting interval
- IpAddress string
- IP address
- Port int
- Port
- SourceInterface string
- Source interface
- Transport string
- Transport protocol
- VpnId int
- VPN ID
- BfdMetrics boolExporting 
- BFD metrics exporting
- ExportSpreading string
- Export spreading
- ExportingInterval int
- Exporting interval
- IpAddress string
- IP address
- Port int
- Port
- SourceInterface string
- Source interface
- Transport string
- Transport protocol
- VpnId int
- VPN ID
- bfdMetrics BooleanExporting 
- BFD metrics exporting
- exportSpreading String
- Export spreading
- exportingInterval Integer
- Exporting interval
- ipAddress String
- IP address
- port Integer
- Port
- sourceInterface String
- Source interface
- transport String
- Transport protocol
- vpnId Integer
- VPN ID
- bfdMetrics booleanExporting 
- BFD metrics exporting
- exportSpreading string
- Export spreading
- exportingInterval number
- Exporting interval
- ipAddress string
- IP address
- port number
- Port
- sourceInterface string
- Source interface
- transport string
- Transport protocol
- vpnId number
- VPN ID
- bfd_metrics_ boolexporting 
- BFD metrics exporting
- export_spreading str
- Export spreading
- exporting_interval int
- Exporting interval
- ip_address str
- IP address
- port int
- Port
- source_interface str
- Source interface
- transport str
- Transport protocol
- vpn_id int
- VPN ID
- bfdMetrics BooleanExporting 
- BFD metrics exporting
- exportSpreading String
- Export spreading
- exportingInterval Number
- Exporting interval
- ipAddress String
- IP address
- port Number
- Port
- sourceInterface String
- Source interface
- transport String
- Transport protocol
- vpnId Number
- VPN ID
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
 
