1. Packages
  2. Cisco Catalyst SD-WAN Provider
  3. API Docs
  4. getCflowdPolicyDefinition
Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi

sdwan.getCflowdPolicyDefinition

Explore with Pulumi AI

Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi

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",
});
Copy
import pulumi
import pulumi_sdwan as sdwan

example = sdwan.get_cflowd_policy_definition(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: sdwan:getCflowdPolicyDefinition
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
Copy

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>
Copy
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]
Copy
func LookupCflowdPolicyDefinition(ctx *Context, args *LookupCflowdPolicyDefinitionArgs, opts ...InvokeOption) (*LookupCflowdPolicyDefinitionResult, error)
func LookupCflowdPolicyDefinitionOutput(ctx *Context, args *LookupCflowdPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupCflowdPolicyDefinitionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCflowdPolicyDefinitionResult> getCflowdPolicyDefinition(GetCflowdPolicyDefinitionArgs args, InvokeOptions options)
public static Output<GetCflowdPolicyDefinitionResult> getCflowdPolicyDefinition(GetCflowdPolicyDefinitionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: sdwan:index/getCflowdPolicyDefinition:getCflowdPolicyDefinition
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The id of the object
Id This property is required. string
The id of the object
id This property is required. String
The id of the object
id This property is required. string
The id of the object
id This property is required. str
The id of the object
id This property is required. String
The id of the object

getCflowdPolicyDefinition Result

The following output properties are available:

ActiveFlowTimeout int
Active flow timeout in seconds
Collectors List<GetCflowdPolicyDefinitionCollector>
List of collectors
Description string
The description of the policy definition
FlowRefresh int
Flow refresh in seconds
Id string
The id of the object
InactiveFlowTimeout int
Inactive flow timeout in seconds
Name string
The name of the policy definition
Protocol string
Protocol, either ipv4, ipv6 or all
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
ActiveFlowTimeout int
Active flow timeout in seconds
Collectors []GetCflowdPolicyDefinitionCollector
List of collectors
Description string
The description of the policy definition
FlowRefresh int
Flow refresh in seconds
Id string
The id of the object
InactiveFlowTimeout int
Inactive flow timeout in seconds
Name string
The name of the policy definition
Protocol string
Protocol, either ipv4, ipv6 or all
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
activeFlowTimeout Integer
Active flow timeout in seconds
collectors List<GetCflowdPolicyDefinitionCollector>
List of collectors
description String
The description of the policy definition
flowRefresh Integer
Flow refresh in seconds
id String
The id of the object
inactiveFlowTimeout Integer
Inactive flow timeout in seconds
name String
The name of the policy definition
protocol String
Protocol, either ipv4, ipv6 or all
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
activeFlowTimeout number
Active flow timeout in seconds
collectors GetCflowdPolicyDefinitionCollector[]
List of collectors
description string
The description of the policy definition
flowRefresh number
Flow refresh in seconds
id string
The id of the object
inactiveFlowTimeout number
Inactive flow timeout in seconds
name string
The name of the policy definition
protocol string
Protocol, either ipv4, ipv6 or all
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_timeout int
Active flow timeout in seconds
collectors Sequence[GetCflowdPolicyDefinitionCollector]
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_timeout int
Inactive flow timeout in seconds
name str
The name of the policy definition
protocol str
Protocol, either ipv4, ipv6 or all
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
activeFlowTimeout Number
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
inactiveFlowTimeout Number
Inactive flow timeout in seconds
name String
The name of the policy definition
protocol String
Protocol, either ipv4, ipv6 or all
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

BfdMetricsExporting This property is required. bool
BFD metrics exporting
ExportSpreading This property is required. string
Export spreading
ExportingInterval This property is required. int
Exporting interval
IpAddress This property is required. string
IP address
Port This property is required. int
Port
SourceInterface This property is required. string
Source interface
Transport This property is required. string
Transport protocol
VpnId This property is required. int
VPN ID
BfdMetricsExporting This property is required. bool
BFD metrics exporting
ExportSpreading This property is required. string
Export spreading
ExportingInterval This property is required. int
Exporting interval
IpAddress This property is required. string
IP address
Port This property is required. int
Port
SourceInterface This property is required. string
Source interface
Transport This property is required. string
Transport protocol
VpnId This property is required. int
VPN ID
bfdMetricsExporting This property is required. Boolean
BFD metrics exporting
exportSpreading This property is required. String
Export spreading
exportingInterval This property is required. Integer
Exporting interval
ipAddress This property is required. String
IP address
port This property is required. Integer
Port
sourceInterface This property is required. String
Source interface
transport This property is required. String
Transport protocol
vpnId This property is required. Integer
VPN ID
bfdMetricsExporting This property is required. boolean
BFD metrics exporting
exportSpreading This property is required. string
Export spreading
exportingInterval This property is required. number
Exporting interval
ipAddress This property is required. string
IP address
port This property is required. number
Port
sourceInterface This property is required. string
Source interface
transport This property is required. string
Transport protocol
vpnId This property is required. number
VPN ID
bfd_metrics_exporting This property is required. bool
BFD metrics exporting
export_spreading This property is required. str
Export spreading
exporting_interval This property is required. int
Exporting interval
ip_address This property is required. str
IP address
port This property is required. int
Port
source_interface This property is required. str
Source interface
transport This property is required. str
Transport protocol
vpn_id This property is required. int
VPN ID
bfdMetricsExporting This property is required. Boolean
BFD metrics exporting
exportSpreading This property is required. String
Export spreading
exportingInterval This property is required. Number
Exporting interval
ipAddress This property is required. String
IP address
port This property is required. Number
Port
sourceInterface This property is required. String
Source interface
transport This property is required. String
Transport protocol
vpnId This property is required. Number
VPN ID

Package Details

Repository
sdwan pulumi/pulumi-sdwan
License
Apache-2.0
Notes
This Pulumi package is based on the sdwan Terraform Provider.
Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi