Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getCflowdPolicyDefinition
Explore with Pulumi AI
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:
- Active
Flow intTimeout - Active flow timeout in seconds
- Collectors
List<Get
Cflowd Policy Definition Collector> - List of collectors
- Description string
- The description of the policy definition
- Flow
Refresh int - Flow refresh in seconds
- Id string
- The id of the object
- Inactive
Flow intTimeout - Inactive flow timeout in seconds
- Name string
- The name of the policy definition
- Protocol string
- Protocol, either
ipv4
,ipv6
orall
- Remarked
Dscp bool - Collect remarked DSCP
- Sampling
Interval int - Flow sampling interval
- Tos bool
- Collect TOS record field
- Type string
- Type
- Version int
- The version of the object
- Active
Flow intTimeout - Active flow timeout in seconds
- Collectors
[]Get
Cflowd Policy Definition Collector - List of collectors
- Description string
- The description of the policy definition
- Flow
Refresh int - Flow refresh in seconds
- Id string
- The id of the object
- Inactive
Flow intTimeout - Inactive flow timeout in seconds
- Name string
- The name of the policy definition
- Protocol string
- Protocol, either
ipv4
,ipv6
orall
- Remarked
Dscp bool - Collect remarked DSCP
- Sampling
Interval int - Flow sampling interval
- Tos bool
- Collect TOS record field
- Type string
- Type
- Version int
- The version of the object
- active
Flow IntegerTimeout - Active flow timeout in seconds
- collectors
List<Get
Cflowd Policy Definition Collector> - List of collectors
- description String
- The description of the policy definition
- flow
Refresh Integer - Flow refresh in seconds
- id String
- The id of the object
- inactive
Flow IntegerTimeout - Inactive flow timeout in seconds
- name String
- The name of the policy definition
- protocol String
- Protocol, either
ipv4
,ipv6
orall
- remarked
Dscp Boolean - Collect remarked DSCP
- sampling
Interval Integer - Flow sampling interval
- tos Boolean
- Collect TOS record field
- type String
- Type
- version Integer
- The version of the object
- active
Flow numberTimeout - Active flow timeout in seconds
- collectors
Get
Cflowd Policy Definition Collector[] - List of collectors
- description string
- The description of the policy definition
- flow
Refresh number - Flow refresh in seconds
- id string
- The id of the object
- inactive
Flow numberTimeout - Inactive flow timeout in seconds
- name string
- The name of the policy definition
- protocol string
- Protocol, either
ipv4
,ipv6
orall
- remarked
Dscp boolean - Collect remarked DSCP
- sampling
Interval 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[Get
Cflowd 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
,ipv6
orall
- 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
- active
Flow NumberTimeout - Active flow timeout in seconds
- collectors List<Property Map>
- List of collectors
- description String
- The description of the policy definition
- flow
Refresh Number - Flow refresh in seconds
- id String
- The id of the object
- inactive
Flow NumberTimeout - Inactive flow timeout in seconds
- name String
- The name of the policy definition
- protocol String
- Protocol, either
ipv4
,ipv6
orall
- remarked
Dscp Boolean - Collect remarked DSCP
- sampling
Interval Number - Flow sampling interval
- tos Boolean
- Collect TOS record field
- type String
- Type
- version Number
- The version of the object
Supporting Types
GetCflowdPolicyDefinitionCollector
- Bfd
Metrics boolExporting - BFD metrics exporting
- Export
Spreading string - Export spreading
- Exporting
Interval int - Exporting interval
- Ip
Address string - IP address
- Port int
- Port
- Source
Interface string - Source interface
- Transport string
- Transport protocol
- Vpn
Id int - VPN ID
- Bfd
Metrics boolExporting - BFD metrics exporting
- Export
Spreading string - Export spreading
- Exporting
Interval int - Exporting interval
- Ip
Address string - IP address
- Port int
- Port
- Source
Interface string - Source interface
- Transport string
- Transport protocol
- Vpn
Id int - VPN ID
- bfd
Metrics BooleanExporting - BFD metrics exporting
- export
Spreading String - Export spreading
- exporting
Interval Integer - Exporting interval
- ip
Address String - IP address
- port Integer
- Port
- source
Interface String - Source interface
- transport String
- Transport protocol
- vpn
Id Integer - VPN ID
- bfd
Metrics booleanExporting - BFD metrics exporting
- export
Spreading string - Export spreading
- exporting
Interval number - Exporting interval
- ip
Address string - IP address
- port number
- Port
- source
Interface string - Source interface
- transport string
- Transport protocol
- vpn
Id 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
- bfd
Metrics BooleanExporting - BFD metrics exporting
- export
Spreading String - Export spreading
- exporting
Interval Number - Exporting interval
- ip
Address String - IP address
- port Number
- Port
- source
Interface String - Source interface
- transport String
- Transport protocol
- vpn
Id 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.