1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getCflowdPolicyDefinition
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

sdwan.getCflowdPolicyDefinition

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 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",
    });
    
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getCflowdPolicyDefinition:getCflowdPolicyDefinition
      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

    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 bool
    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
    BfdMetricsExporting bool
    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
    bfdMetricsExporting Boolean
    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
    bfdMetricsExporting boolean
    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_exporting bool
    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
    bfdMetricsExporting Boolean
    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 sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi