1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. TrafficDataPolicyDefinition
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

sdwan.TrafficDataPolicyDefinition

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

    This resource can manage a Traffic Data Policy Definition .

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.TrafficDataPolicyDefinition;
    import com.pulumi.sdwan.TrafficDataPolicyDefinitionArgs;
    import com.pulumi.sdwan.inputs.TrafficDataPolicyDefinitionSequenceArgs;
    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) {
            var example = new TrafficDataPolicyDefinition("example", TrafficDataPolicyDefinitionArgs.builder()
                .name("Example")
                .description("My description")
                .defaultAction("drop")
                .sequences(TrafficDataPolicyDefinitionSequenceArgs.builder()
                    .id(1)
                    .name("Seq1")
                    .type("applicationFirewall")
                    .ip_type("ipv4")
                    .base_action("accept")
                    .match_entries(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .action_entries(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:TrafficDataPolicyDefinition
        properties:
          name: Example
          description: My description
          defaultAction: drop
          sequences:
            - id: 1
              name: Seq1
              type: applicationFirewall
              ip_type: ipv4
              base_action: accept
              match_entries:
                - type: appList
                  applicationListId: e3aad846-abb9-425f-aaa8-9ed17b9c8d7c
              action_entries:
                - type: log
                  log: true
    

    Create TrafficDataPolicyDefinition Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TrafficDataPolicyDefinition(name: string, args: TrafficDataPolicyDefinitionArgs, opts?: CustomResourceOptions);
    @overload
    def TrafficDataPolicyDefinition(resource_name: str,
                                    args: TrafficDataPolicyDefinitionArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def TrafficDataPolicyDefinition(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    description: Optional[str] = None,
                                    sequences: Optional[Sequence[TrafficDataPolicyDefinitionSequenceArgs]] = None,
                                    default_action: Optional[str] = None,
                                    name: Optional[str] = None)
    func NewTrafficDataPolicyDefinition(ctx *Context, name string, args TrafficDataPolicyDefinitionArgs, opts ...ResourceOption) (*TrafficDataPolicyDefinition, error)
    public TrafficDataPolicyDefinition(string name, TrafficDataPolicyDefinitionArgs args, CustomResourceOptions? opts = null)
    public TrafficDataPolicyDefinition(String name, TrafficDataPolicyDefinitionArgs args)
    public TrafficDataPolicyDefinition(String name, TrafficDataPolicyDefinitionArgs args, CustomResourceOptions options)
    
    type: sdwan:TrafficDataPolicyDefinition
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TrafficDataPolicyDefinitionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TrafficDataPolicyDefinitionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TrafficDataPolicyDefinitionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TrafficDataPolicyDefinitionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TrafficDataPolicyDefinitionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var trafficDataPolicyDefinitionResource = new Sdwan.TrafficDataPolicyDefinition("trafficDataPolicyDefinitionResource", new()
    {
        Description = "string",
        Sequences = new[]
        {
            new Sdwan.Inputs.TrafficDataPolicyDefinitionSequenceArgs
            {
                Id = 0,
                Name = "string",
                Type = "string",
                ActionEntries = new[]
                {
                    new Sdwan.Inputs.TrafficDataPolicyDefinitionSequenceActionEntryArgs
                    {
                        Type = "string",
                        NatPool = "string",
                        Counter = "string",
                        NatParameters = new[]
                        {
                            new Sdwan.Inputs.TrafficDataPolicyDefinitionSequenceActionEntryNatParameterArgs
                            {
                                Type = "string",
                                Fallback = false,
                                VpnId = 0,
                            },
                        },
                        Log = false,
                        LossCorrection = "string",
                        LossCorrectionFec = "string",
                        LossCorrectionFecThreshold = "string",
                        LossCorrectionPacketDuplication = "string",
                        FallbackToRouting = false,
                        DreOptimization = false,
                        RedirectDns = "string",
                        NatPoolId = 0,
                        RedirectDnsAddress = "string",
                        RedirectDnsType = "string",
                        SecureInternetGateway = false,
                        ServiceNodeGroup = "string",
                        SetParameters = new[]
                        {
                            new Sdwan.Inputs.TrafficDataPolicyDefinitionSequenceActionEntrySetParameterArgs
                            {
                                Type = "string",
                                ServiceTlocEncapsulation = "string",
                                LocalTlocListEncap = "string",
                                ServiceTlocListId = "string",
                                ServiceTlocListVersion = 0,
                                NextHop = "string",
                                NextHopLoose = false,
                                PolicerListId = "string",
                                PolicerListVersion = 0,
                                PreferredColorGroupList = "string",
                                PreferredColorGroupListVersion = 0,
                                ServiceTlocColor = "string",
                                Dscp = 0,
                                VpnId = 0,
                                LocalTlocListColor = "string",
                                LocalTlocListRestrict = false,
                                ServiceTlocLocal = false,
                                ServiceTlocRestrict = false,
                                ServiceType = "string",
                                ServiceVpnId = 0,
                                TlocColor = "string",
                                TlocEncapsulation = "string",
                                TlocIp = "string",
                                TlocListId = "string",
                                TlocListVersion = 0,
                                ForwardingClass = "string",
                                ServiceTlocIp = "string",
                            },
                        },
                        TcpOptimization = false,
                        Cflowd = false,
                    },
                },
                BaseAction = "string",
                IpType = "string",
                MatchEntries = new[]
                {
                    new Sdwan.Inputs.TrafficDataPolicyDefinitionSequenceMatchEntryArgs
                    {
                        Type = "string",
                        Dscp = 0,
                        DestinationPort = "string",
                        IcmpMessage = "string",
                        Plp = "string",
                        PacketLength = 0,
                        DestinationRegion = "string",
                        Dns = "string",
                        DnsApplicationListId = "string",
                        DnsApplicationListVersion = 0,
                        ApplicationListId = "string",
                        DestinationDataPrefixListVersion = 0,
                        DestinationDataPrefixListId = "string",
                        DestinationIp = "string",
                        Protocol = "string",
                        SourceDataPrefixListId = "string",
                        SourceDataPrefixListVersion = 0,
                        SourceIp = "string",
                        SourcePort = "string",
                        Tcp = "string",
                        TrafficTo = "string",
                        ApplicationListVersion = 0,
                    },
                },
            },
        },
        DefaultAction = "string",
        Name = "string",
    });
    
    example, err := sdwan.NewTrafficDataPolicyDefinition(ctx, "trafficDataPolicyDefinitionResource", &sdwan.TrafficDataPolicyDefinitionArgs{
    	Description: pulumi.String("string"),
    	Sequences: sdwan.TrafficDataPolicyDefinitionSequenceArray{
    		&sdwan.TrafficDataPolicyDefinitionSequenceArgs{
    			Id:   pulumi.Int(0),
    			Name: pulumi.String("string"),
    			Type: pulumi.String("string"),
    			ActionEntries: sdwan.TrafficDataPolicyDefinitionSequenceActionEntryArray{
    				&sdwan.TrafficDataPolicyDefinitionSequenceActionEntryArgs{
    					Type:    pulumi.String("string"),
    					NatPool: pulumi.String("string"),
    					Counter: pulumi.String("string"),
    					NatParameters: sdwan.TrafficDataPolicyDefinitionSequenceActionEntryNatParameterArray{
    						&sdwan.TrafficDataPolicyDefinitionSequenceActionEntryNatParameterArgs{
    							Type:     pulumi.String("string"),
    							Fallback: pulumi.Bool(false),
    							VpnId:    pulumi.Int(0),
    						},
    					},
    					Log:                             pulumi.Bool(false),
    					LossCorrection:                  pulumi.String("string"),
    					LossCorrectionFec:               pulumi.String("string"),
    					LossCorrectionFecThreshold:      pulumi.String("string"),
    					LossCorrectionPacketDuplication: pulumi.String("string"),
    					FallbackToRouting:               pulumi.Bool(false),
    					DreOptimization:                 pulumi.Bool(false),
    					RedirectDns:                     pulumi.String("string"),
    					NatPoolId:                       pulumi.Int(0),
    					RedirectDnsAddress:              pulumi.String("string"),
    					RedirectDnsType:                 pulumi.String("string"),
    					SecureInternetGateway:           pulumi.Bool(false),
    					ServiceNodeGroup:                pulumi.String("string"),
    					SetParameters: sdwan.TrafficDataPolicyDefinitionSequenceActionEntrySetParameterArray{
    						&sdwan.TrafficDataPolicyDefinitionSequenceActionEntrySetParameterArgs{
    							Type:                           pulumi.String("string"),
    							ServiceTlocEncapsulation:       pulumi.String("string"),
    							LocalTlocListEncap:             pulumi.String("string"),
    							ServiceTlocListId:              pulumi.String("string"),
    							ServiceTlocListVersion:         pulumi.Int(0),
    							NextHop:                        pulumi.String("string"),
    							NextHopLoose:                   pulumi.Bool(false),
    							PolicerListId:                  pulumi.String("string"),
    							PolicerListVersion:             pulumi.Int(0),
    							PreferredColorGroupList:        pulumi.String("string"),
    							PreferredColorGroupListVersion: pulumi.Int(0),
    							ServiceTlocColor:               pulumi.String("string"),
    							Dscp:                           pulumi.Int(0),
    							VpnId:                          pulumi.Int(0),
    							LocalTlocListColor:             pulumi.String("string"),
    							LocalTlocListRestrict:          pulumi.Bool(false),
    							ServiceTlocLocal:               pulumi.Bool(false),
    							ServiceTlocRestrict:            pulumi.Bool(false),
    							ServiceType:                    pulumi.String("string"),
    							ServiceVpnId:                   pulumi.Int(0),
    							TlocColor:                      pulumi.String("string"),
    							TlocEncapsulation:              pulumi.String("string"),
    							TlocIp:                         pulumi.String("string"),
    							TlocListId:                     pulumi.String("string"),
    							TlocListVersion:                pulumi.Int(0),
    							ForwardingClass:                pulumi.String("string"),
    							ServiceTlocIp:                  pulumi.String("string"),
    						},
    					},
    					TcpOptimization: pulumi.Bool(false),
    					Cflowd:          pulumi.Bool(false),
    				},
    			},
    			BaseAction: pulumi.String("string"),
    			IpType:     pulumi.String("string"),
    			MatchEntries: sdwan.TrafficDataPolicyDefinitionSequenceMatchEntryArray{
    				&sdwan.TrafficDataPolicyDefinitionSequenceMatchEntryArgs{
    					Type:                             pulumi.String("string"),
    					Dscp:                             pulumi.Int(0),
    					DestinationPort:                  pulumi.String("string"),
    					IcmpMessage:                      pulumi.String("string"),
    					Plp:                              pulumi.String("string"),
    					PacketLength:                     pulumi.Int(0),
    					DestinationRegion:                pulumi.String("string"),
    					Dns:                              pulumi.String("string"),
    					DnsApplicationListId:             pulumi.String("string"),
    					DnsApplicationListVersion:        pulumi.Int(0),
    					ApplicationListId:                pulumi.String("string"),
    					DestinationDataPrefixListVersion: pulumi.Int(0),
    					DestinationDataPrefixListId:      pulumi.String("string"),
    					DestinationIp:                    pulumi.String("string"),
    					Protocol:                         pulumi.String("string"),
    					SourceDataPrefixListId:           pulumi.String("string"),
    					SourceDataPrefixListVersion:      pulumi.Int(0),
    					SourceIp:                         pulumi.String("string"),
    					SourcePort:                       pulumi.String("string"),
    					Tcp:                              pulumi.String("string"),
    					TrafficTo:                        pulumi.String("string"),
    					ApplicationListVersion:           pulumi.Int(0),
    				},
    			},
    		},
    	},
    	DefaultAction: pulumi.String("string"),
    	Name:          pulumi.String("string"),
    })
    
    var trafficDataPolicyDefinitionResource = new TrafficDataPolicyDefinition("trafficDataPolicyDefinitionResource", TrafficDataPolicyDefinitionArgs.builder()
        .description("string")
        .sequences(TrafficDataPolicyDefinitionSequenceArgs.builder()
            .id(0)
            .name("string")
            .type("string")
            .actionEntries(TrafficDataPolicyDefinitionSequenceActionEntryArgs.builder()
                .type("string")
                .natPool("string")
                .counter("string")
                .natParameters(TrafficDataPolicyDefinitionSequenceActionEntryNatParameterArgs.builder()
                    .type("string")
                    .fallback(false)
                    .vpnId(0)
                    .build())
                .log(false)
                .lossCorrection("string")
                .lossCorrectionFec("string")
                .lossCorrectionFecThreshold("string")
                .lossCorrectionPacketDuplication("string")
                .fallbackToRouting(false)
                .dreOptimization(false)
                .redirectDns("string")
                .natPoolId(0)
                .redirectDnsAddress("string")
                .redirectDnsType("string")
                .secureInternetGateway(false)
                .serviceNodeGroup("string")
                .setParameters(TrafficDataPolicyDefinitionSequenceActionEntrySetParameterArgs.builder()
                    .type("string")
                    .serviceTlocEncapsulation("string")
                    .localTlocListEncap("string")
                    .serviceTlocListId("string")
                    .serviceTlocListVersion(0)
                    .nextHop("string")
                    .nextHopLoose(false)
                    .policerListId("string")
                    .policerListVersion(0)
                    .preferredColorGroupList("string")
                    .preferredColorGroupListVersion(0)
                    .serviceTlocColor("string")
                    .dscp(0)
                    .vpnId(0)
                    .localTlocListColor("string")
                    .localTlocListRestrict(false)
                    .serviceTlocLocal(false)
                    .serviceTlocRestrict(false)
                    .serviceType("string")
                    .serviceVpnId(0)
                    .tlocColor("string")
                    .tlocEncapsulation("string")
                    .tlocIp("string")
                    .tlocListId("string")
                    .tlocListVersion(0)
                    .forwardingClass("string")
                    .serviceTlocIp("string")
                    .build())
                .tcpOptimization(false)
                .cflowd(false)
                .build())
            .baseAction("string")
            .ipType("string")
            .matchEntries(TrafficDataPolicyDefinitionSequenceMatchEntryArgs.builder()
                .type("string")
                .dscp(0)
                .destinationPort("string")
                .icmpMessage("string")
                .plp("string")
                .packetLength(0)
                .destinationRegion("string")
                .dns("string")
                .dnsApplicationListId("string")
                .dnsApplicationListVersion(0)
                .applicationListId("string")
                .destinationDataPrefixListVersion(0)
                .destinationDataPrefixListId("string")
                .destinationIp("string")
                .protocol("string")
                .sourceDataPrefixListId("string")
                .sourceDataPrefixListVersion(0)
                .sourceIp("string")
                .sourcePort("string")
                .tcp("string")
                .trafficTo("string")
                .applicationListVersion(0)
                .build())
            .build())
        .defaultAction("string")
        .name("string")
        .build());
    
    traffic_data_policy_definition_resource = sdwan.TrafficDataPolicyDefinition("trafficDataPolicyDefinitionResource",
        description="string",
        sequences=[sdwan.TrafficDataPolicyDefinitionSequenceArgs(
            id=0,
            name="string",
            type="string",
            action_entries=[sdwan.TrafficDataPolicyDefinitionSequenceActionEntryArgs(
                type="string",
                nat_pool="string",
                counter="string",
                nat_parameters=[sdwan.TrafficDataPolicyDefinitionSequenceActionEntryNatParameterArgs(
                    type="string",
                    fallback=False,
                    vpn_id=0,
                )],
                log=False,
                loss_correction="string",
                loss_correction_fec="string",
                loss_correction_fec_threshold="string",
                loss_correction_packet_duplication="string",
                fallback_to_routing=False,
                dre_optimization=False,
                redirect_dns="string",
                nat_pool_id=0,
                redirect_dns_address="string",
                redirect_dns_type="string",
                secure_internet_gateway=False,
                service_node_group="string",
                set_parameters=[sdwan.TrafficDataPolicyDefinitionSequenceActionEntrySetParameterArgs(
                    type="string",
                    service_tloc_encapsulation="string",
                    local_tloc_list_encap="string",
                    service_tloc_list_id="string",
                    service_tloc_list_version=0,
                    next_hop="string",
                    next_hop_loose=False,
                    policer_list_id="string",
                    policer_list_version=0,
                    preferred_color_group_list="string",
                    preferred_color_group_list_version=0,
                    service_tloc_color="string",
                    dscp=0,
                    vpn_id=0,
                    local_tloc_list_color="string",
                    local_tloc_list_restrict=False,
                    service_tloc_local=False,
                    service_tloc_restrict=False,
                    service_type="string",
                    service_vpn_id=0,
                    tloc_color="string",
                    tloc_encapsulation="string",
                    tloc_ip="string",
                    tloc_list_id="string",
                    tloc_list_version=0,
                    forwarding_class="string",
                    service_tloc_ip="string",
                )],
                tcp_optimization=False,
                cflowd=False,
            )],
            base_action="string",
            ip_type="string",
            match_entries=[sdwan.TrafficDataPolicyDefinitionSequenceMatchEntryArgs(
                type="string",
                dscp=0,
                destination_port="string",
                icmp_message="string",
                plp="string",
                packet_length=0,
                destination_region="string",
                dns="string",
                dns_application_list_id="string",
                dns_application_list_version=0,
                application_list_id="string",
                destination_data_prefix_list_version=0,
                destination_data_prefix_list_id="string",
                destination_ip="string",
                protocol="string",
                source_data_prefix_list_id="string",
                source_data_prefix_list_version=0,
                source_ip="string",
                source_port="string",
                tcp="string",
                traffic_to="string",
                application_list_version=0,
            )],
        )],
        default_action="string",
        name="string")
    
    const trafficDataPolicyDefinitionResource = new sdwan.TrafficDataPolicyDefinition("trafficDataPolicyDefinitionResource", {
        description: "string",
        sequences: [{
            id: 0,
            name: "string",
            type: "string",
            actionEntries: [{
                type: "string",
                natPool: "string",
                counter: "string",
                natParameters: [{
                    type: "string",
                    fallback: false,
                    vpnId: 0,
                }],
                log: false,
                lossCorrection: "string",
                lossCorrectionFec: "string",
                lossCorrectionFecThreshold: "string",
                lossCorrectionPacketDuplication: "string",
                fallbackToRouting: false,
                dreOptimization: false,
                redirectDns: "string",
                natPoolId: 0,
                redirectDnsAddress: "string",
                redirectDnsType: "string",
                secureInternetGateway: false,
                serviceNodeGroup: "string",
                setParameters: [{
                    type: "string",
                    serviceTlocEncapsulation: "string",
                    localTlocListEncap: "string",
                    serviceTlocListId: "string",
                    serviceTlocListVersion: 0,
                    nextHop: "string",
                    nextHopLoose: false,
                    policerListId: "string",
                    policerListVersion: 0,
                    preferredColorGroupList: "string",
                    preferredColorGroupListVersion: 0,
                    serviceTlocColor: "string",
                    dscp: 0,
                    vpnId: 0,
                    localTlocListColor: "string",
                    localTlocListRestrict: false,
                    serviceTlocLocal: false,
                    serviceTlocRestrict: false,
                    serviceType: "string",
                    serviceVpnId: 0,
                    tlocColor: "string",
                    tlocEncapsulation: "string",
                    tlocIp: "string",
                    tlocListId: "string",
                    tlocListVersion: 0,
                    forwardingClass: "string",
                    serviceTlocIp: "string",
                }],
                tcpOptimization: false,
                cflowd: false,
            }],
            baseAction: "string",
            ipType: "string",
            matchEntries: [{
                type: "string",
                dscp: 0,
                destinationPort: "string",
                icmpMessage: "string",
                plp: "string",
                packetLength: 0,
                destinationRegion: "string",
                dns: "string",
                dnsApplicationListId: "string",
                dnsApplicationListVersion: 0,
                applicationListId: "string",
                destinationDataPrefixListVersion: 0,
                destinationDataPrefixListId: "string",
                destinationIp: "string",
                protocol: "string",
                sourceDataPrefixListId: "string",
                sourceDataPrefixListVersion: 0,
                sourceIp: "string",
                sourcePort: "string",
                tcp: "string",
                trafficTo: "string",
                applicationListVersion: 0,
            }],
        }],
        defaultAction: "string",
        name: "string",
    });
    
    type: sdwan:TrafficDataPolicyDefinition
    properties:
        defaultAction: string
        description: string
        name: string
        sequences:
            - actionEntries:
                - cflowd: false
                  counter: string
                  dreOptimization: false
                  fallbackToRouting: false
                  log: false
                  lossCorrection: string
                  lossCorrectionFec: string
                  lossCorrectionFecThreshold: string
                  lossCorrectionPacketDuplication: string
                  natParameters:
                    - fallback: false
                      type: string
                      vpnId: 0
                  natPool: string
                  natPoolId: 0
                  redirectDns: string
                  redirectDnsAddress: string
                  redirectDnsType: string
                  secureInternetGateway: false
                  serviceNodeGroup: string
                  setParameters:
                    - dscp: 0
                      forwardingClass: string
                      localTlocListColor: string
                      localTlocListEncap: string
                      localTlocListRestrict: false
                      nextHop: string
                      nextHopLoose: false
                      policerListId: string
                      policerListVersion: 0
                      preferredColorGroupList: string
                      preferredColorGroupListVersion: 0
                      serviceTlocColor: string
                      serviceTlocEncapsulation: string
                      serviceTlocIp: string
                      serviceTlocListId: string
                      serviceTlocListVersion: 0
                      serviceTlocLocal: false
                      serviceTlocRestrict: false
                      serviceType: string
                      serviceVpnId: 0
                      tlocColor: string
                      tlocEncapsulation: string
                      tlocIp: string
                      tlocListId: string
                      tlocListVersion: 0
                      type: string
                      vpnId: 0
                  tcpOptimization: false
                  type: string
              baseAction: string
              id: 0
              ipType: string
              matchEntries:
                - applicationListId: string
                  applicationListVersion: 0
                  destinationDataPrefixListId: string
                  destinationDataPrefixListVersion: 0
                  destinationIp: string
                  destinationPort: string
                  destinationRegion: string
                  dns: string
                  dnsApplicationListId: string
                  dnsApplicationListVersion: 0
                  dscp: 0
                  icmpMessage: string
                  packetLength: 0
                  plp: string
                  protocol: string
                  sourceDataPrefixListId: string
                  sourceDataPrefixListVersion: 0
                  sourceIp: string
                  sourcePort: string
                  tcp: string
                  trafficTo: string
                  type: string
              name: string
              type: string
    

    TrafficDataPolicyDefinition Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TrafficDataPolicyDefinition resource accepts the following input properties:

    Description string
    The description of the policy definition
    Sequences List<TrafficDataPolicyDefinitionSequence>
    List of sequences
    DefaultAction string
    Default action, either accept or drop - Choices: accept, drop
    Name string
    The name of the policy definition
    Description string
    The description of the policy definition
    Sequences []TrafficDataPolicyDefinitionSequenceArgs
    List of sequences
    DefaultAction string
    Default action, either accept or drop - Choices: accept, drop
    Name string
    The name of the policy definition
    description String
    The description of the policy definition
    sequences List<TrafficDataPolicyDefinitionSequence>
    List of sequences
    defaultAction String
    Default action, either accept or drop - Choices: accept, drop
    name String
    The name of the policy definition
    description string
    The description of the policy definition
    sequences TrafficDataPolicyDefinitionSequence[]
    List of sequences
    defaultAction string
    Default action, either accept or drop - Choices: accept, drop
    name string
    The name of the policy definition
    description str
    The description of the policy definition
    sequences Sequence[TrafficDataPolicyDefinitionSequenceArgs]
    List of sequences
    default_action str
    Default action, either accept or drop - Choices: accept, drop
    name str
    The name of the policy definition
    description String
    The description of the policy definition
    sequences List<Property Map>
    List of sequences
    defaultAction String
    Default action, either accept or drop - Choices: accept, drop
    name String
    The name of the policy definition

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TrafficDataPolicyDefinition resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Type
    Version int
    The version of the object
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Type
    Version int
    The version of the object
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Type
    version Integer
    The version of the object
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Type
    version number
    The version of the object
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    Type
    version int
    The version of the object
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Type
    version Number
    The version of the object

    Look up Existing TrafficDataPolicyDefinition Resource

    Get an existing TrafficDataPolicyDefinition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TrafficDataPolicyDefinitionState, opts?: CustomResourceOptions): TrafficDataPolicyDefinition
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_action: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            sequences: Optional[Sequence[TrafficDataPolicyDefinitionSequenceArgs]] = None,
            type: Optional[str] = None,
            version: Optional[int] = None) -> TrafficDataPolicyDefinition
    func GetTrafficDataPolicyDefinition(ctx *Context, name string, id IDInput, state *TrafficDataPolicyDefinitionState, opts ...ResourceOption) (*TrafficDataPolicyDefinition, error)
    public static TrafficDataPolicyDefinition Get(string name, Input<string> id, TrafficDataPolicyDefinitionState? state, CustomResourceOptions? opts = null)
    public static TrafficDataPolicyDefinition get(String name, Output<String> id, TrafficDataPolicyDefinitionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DefaultAction string
    Default action, either accept or drop - Choices: accept, drop
    Description string
    The description of the policy definition
    Name string
    The name of the policy definition
    Sequences List<TrafficDataPolicyDefinitionSequence>
    List of sequences
    Type string
    Type
    Version int
    The version of the object
    DefaultAction string
    Default action, either accept or drop - Choices: accept, drop
    Description string
    The description of the policy definition
    Name string
    The name of the policy definition
    Sequences []TrafficDataPolicyDefinitionSequenceArgs
    List of sequences
    Type string
    Type
    Version int
    The version of the object
    defaultAction String
    Default action, either accept or drop - Choices: accept, drop
    description String
    The description of the policy definition
    name String
    The name of the policy definition
    sequences List<TrafficDataPolicyDefinitionSequence>
    List of sequences
    type String
    Type
    version Integer
    The version of the object
    defaultAction string
    Default action, either accept or drop - Choices: accept, drop
    description string
    The description of the policy definition
    name string
    The name of the policy definition
    sequences TrafficDataPolicyDefinitionSequence[]
    List of sequences
    type string
    Type
    version number
    The version of the object
    default_action str
    Default action, either accept or drop - Choices: accept, drop
    description str
    The description of the policy definition
    name str
    The name of the policy definition
    sequences Sequence[TrafficDataPolicyDefinitionSequenceArgs]
    List of sequences
    type str
    Type
    version int
    The version of the object
    defaultAction String
    Default action, either accept or drop - Choices: accept, drop
    description String
    The description of the policy definition
    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

    TrafficDataPolicyDefinitionSequence, TrafficDataPolicyDefinitionSequenceArgs

    Id int
    Sequence ID
    Name string
    Sequence name
    Type string
    Sequence type

    • Choices: applicationFirewall, qos, serviceChaining, trafficEngineering, data
    ActionEntries List<TrafficDataPolicyDefinitionSequenceActionEntry>
    List of action entries
    BaseAction string
    Base action, either accept or drop

    • Choices: accept, drop
    IpType string
    Sequence IP type, either ipv4, ipv6 or all

    • Choices: ipv4, ipv6, all
    MatchEntries List<TrafficDataPolicyDefinitionSequenceMatchEntry>
    List of match entries
    Id int
    Sequence ID
    Name string
    Sequence name
    Type string
    Sequence type

    • Choices: applicationFirewall, qos, serviceChaining, trafficEngineering, data
    ActionEntries []TrafficDataPolicyDefinitionSequenceActionEntry
    List of action entries
    BaseAction string
    Base action, either accept or drop

    • Choices: accept, drop
    IpType string
    Sequence IP type, either ipv4, ipv6 or all

    • Choices: ipv4, ipv6, all
    MatchEntries []TrafficDataPolicyDefinitionSequenceMatchEntry
    List of match entries
    id Integer
    Sequence ID
    name String
    Sequence name
    type String
    Sequence type

    • Choices: applicationFirewall, qos, serviceChaining, trafficEngineering, data
    actionEntries List<TrafficDataPolicyDefinitionSequenceActionEntry>
    List of action entries
    baseAction String
    Base action, either accept or drop

    • Choices: accept, drop
    ipType String
    Sequence IP type, either ipv4, ipv6 or all

    • Choices: ipv4, ipv6, all
    matchEntries List<TrafficDataPolicyDefinitionSequenceMatchEntry>
    List of match entries
    id number
    Sequence ID
    name string
    Sequence name
    type string
    Sequence type

    • Choices: applicationFirewall, qos, serviceChaining, trafficEngineering, data
    actionEntries TrafficDataPolicyDefinitionSequenceActionEntry[]
    List of action entries
    baseAction string
    Base action, either accept or drop

    • Choices: accept, drop
    ipType string
    Sequence IP type, either ipv4, ipv6 or all

    • Choices: ipv4, ipv6, all
    matchEntries TrafficDataPolicyDefinitionSequenceMatchEntry[]
    List of match entries
    id int
    Sequence ID
    name str
    Sequence name
    type str
    Sequence type

    • Choices: applicationFirewall, qos, serviceChaining, trafficEngineering, data
    action_entries Sequence[TrafficDataPolicyDefinitionSequenceActionEntry]
    List of action entries
    base_action str
    Base action, either accept or drop

    • Choices: accept, drop
    ip_type str
    Sequence IP type, either ipv4, ipv6 or all

    • Choices: ipv4, ipv6, all
    match_entries Sequence[TrafficDataPolicyDefinitionSequenceMatchEntry]
    List of match entries
    id Number
    Sequence ID
    name String
    Sequence name
    type String
    Sequence type

    • Choices: applicationFirewall, qos, serviceChaining, trafficEngineering, data
    actionEntries List<Property Map>
    List of action entries
    baseAction String
    Base action, either accept or drop

    • Choices: accept, drop
    ipType String
    Sequence IP type, either ipv4, ipv6 or all

    • Choices: ipv4, ipv6, all
    matchEntries List<Property Map>
    List of match entries

    TrafficDataPolicyDefinitionSequenceActionEntry, TrafficDataPolicyDefinitionSequenceActionEntryArgs

    Type string
    Type of action entry

    • Choices: cflowd, count, dreOptimization, fallbackToRouting, log, lossProtect, lossProtectPktDup, lossProtectFec, nat, redirectDns, serviceNodeGroup, set, sig, tcpOptimization
    Cflowd bool
    Enable cflowd
    Counter string
    Counter name
    DreOptimization bool
    Enable DRE optimization
    FallbackToRouting bool
    Enable fallback to routing
    Log bool
    Enable logging
    LossCorrection string
    Loss correction

    • Choices: fecAdaptive, fecAlways, packetDuplication
    LossCorrectionFec string
    Loss correction FEC

    • Choices: fecAdaptive, fecAlways, packetDuplication
    LossCorrectionFecThreshold string
    Loss correction FEC threshold
    LossCorrectionPacketDuplication string
    Loss correction packet duplication

    • Choices: fecAdaptive, fecAlways, packetDuplication
    NatParameters List<TrafficDataPolicyDefinitionSequenceActionEntryNatParameter>
    List of NAT parameters
    NatPool string
    NAT pool

    • Choices: pool
    NatPoolId int
    NAT pool ID

    • Range: 1-31
    RedirectDns string
    Redirect DNS

    • Choices: dnsType, ipAddress
    RedirectDnsAddress string
    Redirect DNS IP address
    RedirectDnsType string
    Redirect DNS type

    • Choices: host, umbrella
    SecureInternetGateway bool
    Enable secure internet gateway
    ServiceNodeGroup string
    Service node group
    SetParameters List<TrafficDataPolicyDefinitionSequenceActionEntrySetParameter>
    List of set parameters
    TcpOptimization bool
    Enable TCP optimization
    Type string
    Type of action entry

    • Choices: cflowd, count, dreOptimization, fallbackToRouting, log, lossProtect, lossProtectPktDup, lossProtectFec, nat, redirectDns, serviceNodeGroup, set, sig, tcpOptimization
    Cflowd bool
    Enable cflowd
    Counter string
    Counter name
    DreOptimization bool
    Enable DRE optimization
    FallbackToRouting bool
    Enable fallback to routing
    Log bool
    Enable logging
    LossCorrection string
    Loss correction

    • Choices: fecAdaptive, fecAlways, packetDuplication
    LossCorrectionFec string
    Loss correction FEC

    • Choices: fecAdaptive, fecAlways, packetDuplication
    LossCorrectionFecThreshold string
    Loss correction FEC threshold
    LossCorrectionPacketDuplication string
    Loss correction packet duplication

    • Choices: fecAdaptive, fecAlways, packetDuplication
    NatParameters []TrafficDataPolicyDefinitionSequenceActionEntryNatParameter
    List of NAT parameters
    NatPool string
    NAT pool

    • Choices: pool
    NatPoolId int
    NAT pool ID

    • Range: 1-31
    RedirectDns string
    Redirect DNS

    • Choices: dnsType, ipAddress
    RedirectDnsAddress string
    Redirect DNS IP address
    RedirectDnsType string
    Redirect DNS type

    • Choices: host, umbrella
    SecureInternetGateway bool
    Enable secure internet gateway
    ServiceNodeGroup string
    Service node group
    SetParameters []TrafficDataPolicyDefinitionSequenceActionEntrySetParameter
    List of set parameters
    TcpOptimization bool
    Enable TCP optimization
    type String
    Type of action entry

    • Choices: cflowd, count, dreOptimization, fallbackToRouting, log, lossProtect, lossProtectPktDup, lossProtectFec, nat, redirectDns, serviceNodeGroup, set, sig, tcpOptimization
    cflowd Boolean
    Enable cflowd
    counter String
    Counter name
    dreOptimization Boolean
    Enable DRE optimization
    fallbackToRouting Boolean
    Enable fallback to routing
    log Boolean
    Enable logging
    lossCorrection String
    Loss correction

    • Choices: fecAdaptive, fecAlways, packetDuplication
    lossCorrectionFec String
    Loss correction FEC

    • Choices: fecAdaptive, fecAlways, packetDuplication
    lossCorrectionFecThreshold String
    Loss correction FEC threshold
    lossCorrectionPacketDuplication String
    Loss correction packet duplication

    • Choices: fecAdaptive, fecAlways, packetDuplication
    natParameters List<TrafficDataPolicyDefinitionSequenceActionEntryNatParameter>
    List of NAT parameters
    natPool String
    NAT pool

    • Choices: pool
    natPoolId Integer
    NAT pool ID

    • Range: 1-31
    redirectDns String
    Redirect DNS

    • Choices: dnsType, ipAddress
    redirectDnsAddress String
    Redirect DNS IP address
    redirectDnsType String
    Redirect DNS type

    • Choices: host, umbrella
    secureInternetGateway Boolean
    Enable secure internet gateway
    serviceNodeGroup String
    Service node group
    setParameters List<TrafficDataPolicyDefinitionSequenceActionEntrySetParameter>
    List of set parameters
    tcpOptimization Boolean
    Enable TCP optimization
    type string
    Type of action entry

    • Choices: cflowd, count, dreOptimization, fallbackToRouting, log, lossProtect, lossProtectPktDup, lossProtectFec, nat, redirectDns, serviceNodeGroup, set, sig, tcpOptimization
    cflowd boolean
    Enable cflowd
    counter string
    Counter name
    dreOptimization boolean
    Enable DRE optimization
    fallbackToRouting boolean
    Enable fallback to routing
    log boolean
    Enable logging
    lossCorrection string
    Loss correction

    • Choices: fecAdaptive, fecAlways, packetDuplication
    lossCorrectionFec string
    Loss correction FEC

    • Choices: fecAdaptive, fecAlways, packetDuplication
    lossCorrectionFecThreshold string
    Loss correction FEC threshold
    lossCorrectionPacketDuplication string
    Loss correction packet duplication

    • Choices: fecAdaptive, fecAlways, packetDuplication
    natParameters TrafficDataPolicyDefinitionSequenceActionEntryNatParameter[]
    List of NAT parameters
    natPool string
    NAT pool

    • Choices: pool
    natPoolId number
    NAT pool ID

    • Range: 1-31
    redirectDns string
    Redirect DNS

    • Choices: dnsType, ipAddress
    redirectDnsAddress string
    Redirect DNS IP address
    redirectDnsType string
    Redirect DNS type

    • Choices: host, umbrella
    secureInternetGateway boolean
    Enable secure internet gateway
    serviceNodeGroup string
    Service node group
    setParameters TrafficDataPolicyDefinitionSequenceActionEntrySetParameter[]
    List of set parameters
    tcpOptimization boolean
    Enable TCP optimization
    type str
    Type of action entry

    • Choices: cflowd, count, dreOptimization, fallbackToRouting, log, lossProtect, lossProtectPktDup, lossProtectFec, nat, redirectDns, serviceNodeGroup, set, sig, tcpOptimization
    cflowd bool
    Enable cflowd
    counter str
    Counter name
    dre_optimization bool
    Enable DRE optimization
    fallback_to_routing bool
    Enable fallback to routing
    log bool
    Enable logging
    loss_correction str
    Loss correction

    • Choices: fecAdaptive, fecAlways, packetDuplication
    loss_correction_fec str
    Loss correction FEC

    • Choices: fecAdaptive, fecAlways, packetDuplication
    loss_correction_fec_threshold str
    Loss correction FEC threshold
    loss_correction_packet_duplication str
    Loss correction packet duplication

    • Choices: fecAdaptive, fecAlways, packetDuplication
    nat_parameters Sequence[TrafficDataPolicyDefinitionSequenceActionEntryNatParameter]
    List of NAT parameters
    nat_pool str
    NAT pool

    • Choices: pool
    nat_pool_id int
    NAT pool ID

    • Range: 1-31
    redirect_dns str
    Redirect DNS

    • Choices: dnsType, ipAddress
    redirect_dns_address str
    Redirect DNS IP address
    redirect_dns_type str
    Redirect DNS type

    • Choices: host, umbrella
    secure_internet_gateway bool
    Enable secure internet gateway
    service_node_group str
    Service node group
    set_parameters Sequence[TrafficDataPolicyDefinitionSequenceActionEntrySetParameter]
    List of set parameters
    tcp_optimization bool
    Enable TCP optimization
    type String
    Type of action entry

    • Choices: cflowd, count, dreOptimization, fallbackToRouting, log, lossProtect, lossProtectPktDup, lossProtectFec, nat, redirectDns, serviceNodeGroup, set, sig, tcpOptimization
    cflowd Boolean
    Enable cflowd
    counter String
    Counter name
    dreOptimization Boolean
    Enable DRE optimization
    fallbackToRouting Boolean
    Enable fallback to routing
    log Boolean
    Enable logging
    lossCorrection String
    Loss correction

    • Choices: fecAdaptive, fecAlways, packetDuplication
    lossCorrectionFec String
    Loss correction FEC

    • Choices: fecAdaptive, fecAlways, packetDuplication
    lossCorrectionFecThreshold String
    Loss correction FEC threshold
    lossCorrectionPacketDuplication String
    Loss correction packet duplication

    • Choices: fecAdaptive, fecAlways, packetDuplication
    natParameters List<Property Map>
    List of NAT parameters
    natPool String
    NAT pool

    • Choices: pool
    natPoolId Number
    NAT pool ID

    • Range: 1-31
    redirectDns String
    Redirect DNS

    • Choices: dnsType, ipAddress
    redirectDnsAddress String
    Redirect DNS IP address
    redirectDnsType String
    Redirect DNS type

    • Choices: host, umbrella
    secureInternetGateway Boolean
    Enable secure internet gateway
    serviceNodeGroup String
    Service node group
    setParameters List<Property Map>
    List of set parameters
    tcpOptimization Boolean
    Enable TCP optimization

    TrafficDataPolicyDefinitionSequenceActionEntryNatParameter, TrafficDataPolicyDefinitionSequenceActionEntryNatParameterArgs

    Type string
    Type of NAT parameter

    • Choices: useVpn, fallback
    Fallback bool
    Fallback
    VpnId int
    DSCP
    Type string
    Type of NAT parameter

    • Choices: useVpn, fallback
    Fallback bool
    Fallback
    VpnId int
    DSCP
    type String
    Type of NAT parameter

    • Choices: useVpn, fallback
    fallback Boolean
    Fallback
    vpnId Integer
    DSCP
    type string
    Type of NAT parameter

    • Choices: useVpn, fallback
    fallback boolean
    Fallback
    vpnId number
    DSCP
    type str
    Type of NAT parameter

    • Choices: useVpn, fallback
    fallback bool
    Fallback
    vpn_id int
    DSCP
    type String
    Type of NAT parameter

    • Choices: useVpn, fallback
    fallback Boolean
    Fallback
    vpnId Number
    DSCP

    TrafficDataPolicyDefinitionSequenceActionEntrySetParameter, TrafficDataPolicyDefinitionSequenceActionEntrySetParameterArgs

    Type string
    Type of set parameter

    • Choices: dscp, forwardingClass, localTlocList, nextHop, nextHopLoose, policer, preferredColorGroup, tlocList, tloc, service, vpn
    Dscp int
    DSCP

    • Range: 0-63
    ForwardingClass string
    Forwarding class
    LocalTlocListColor string
    Local TLOC list color. Space separated list of colors.
    LocalTlocListEncap string
    Local TLOC list encapsulation.

    • Choices: ipsec, gre, ipsec gre
    LocalTlocListRestrict bool
    Local TLOC list restrict
    NextHop string
    Next hop IP
    NextHopLoose bool
    Use routing table entry to forward the packet in case Next-hop is not available
    PolicerListId string
    Policer list ID
    PolicerListVersion int
    Policer list version
    PreferredColorGroupList string
    Preferred color group list ID
    PreferredColorGroupListVersion int
    Preferred color group list version
    ServiceTlocColor string
    Service TLOC color
    ServiceTlocEncapsulation string
    Service TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    ServiceTlocIp string
    Service TLOC IP address
    ServiceTlocListId string
    Service TLOC list ID
    ServiceTlocListVersion int
    Service TLOC list version
    ServiceTlocLocal bool
    Service TLOC Local
    ServiceTlocRestrict bool
    Service TLOC Restrict
    ServiceType string
    Service type

    • Choices: FW, IDP, IDS, netsvc1, netsvc2, netsvc3, netsvc4, netsvc5
    ServiceVpnId int
    Service VPN ID

    • Range: 0-65536
    TlocColor string
    TLOC color
    TlocEncapsulation string
    TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    TlocIp string
    TLOC IP address
    TlocListId string
    TLOC list ID
    TlocListVersion int
    TLOC list version
    VpnId int
    DSCP

    • Range: 0-65530
    Type string
    Type of set parameter

    • Choices: dscp, forwardingClass, localTlocList, nextHop, nextHopLoose, policer, preferredColorGroup, tlocList, tloc, service, vpn
    Dscp int
    DSCP

    • Range: 0-63
    ForwardingClass string
    Forwarding class
    LocalTlocListColor string
    Local TLOC list color. Space separated list of colors.
    LocalTlocListEncap string
    Local TLOC list encapsulation.

    • Choices: ipsec, gre, ipsec gre
    LocalTlocListRestrict bool
    Local TLOC list restrict
    NextHop string
    Next hop IP
    NextHopLoose bool
    Use routing table entry to forward the packet in case Next-hop is not available
    PolicerListId string
    Policer list ID
    PolicerListVersion int
    Policer list version
    PreferredColorGroupList string
    Preferred color group list ID
    PreferredColorGroupListVersion int
    Preferred color group list version
    ServiceTlocColor string
    Service TLOC color
    ServiceTlocEncapsulation string
    Service TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    ServiceTlocIp string
    Service TLOC IP address
    ServiceTlocListId string
    Service TLOC list ID
    ServiceTlocListVersion int
    Service TLOC list version
    ServiceTlocLocal bool
    Service TLOC Local
    ServiceTlocRestrict bool
    Service TLOC Restrict
    ServiceType string
    Service type

    • Choices: FW, IDP, IDS, netsvc1, netsvc2, netsvc3, netsvc4, netsvc5
    ServiceVpnId int
    Service VPN ID

    • Range: 0-65536
    TlocColor string
    TLOC color
    TlocEncapsulation string
    TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    TlocIp string
    TLOC IP address
    TlocListId string
    TLOC list ID
    TlocListVersion int
    TLOC list version
    VpnId int
    DSCP

    • Range: 0-65530
    type String
    Type of set parameter

    • Choices: dscp, forwardingClass, localTlocList, nextHop, nextHopLoose, policer, preferredColorGroup, tlocList, tloc, service, vpn
    dscp Integer
    DSCP

    • Range: 0-63
    forwardingClass String
    Forwarding class
    localTlocListColor String
    Local TLOC list color. Space separated list of colors.
    localTlocListEncap String
    Local TLOC list encapsulation.

    • Choices: ipsec, gre, ipsec gre
    localTlocListRestrict Boolean
    Local TLOC list restrict
    nextHop String
    Next hop IP
    nextHopLoose Boolean
    Use routing table entry to forward the packet in case Next-hop is not available
    policerListId String
    Policer list ID
    policerListVersion Integer
    Policer list version
    preferredColorGroupList String
    Preferred color group list ID
    preferredColorGroupListVersion Integer
    Preferred color group list version
    serviceTlocColor String
    Service TLOC color
    serviceTlocEncapsulation String
    Service TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    serviceTlocIp String
    Service TLOC IP address
    serviceTlocListId String
    Service TLOC list ID
    serviceTlocListVersion Integer
    Service TLOC list version
    serviceTlocLocal Boolean
    Service TLOC Local
    serviceTlocRestrict Boolean
    Service TLOC Restrict
    serviceType String
    Service type

    • Choices: FW, IDP, IDS, netsvc1, netsvc2, netsvc3, netsvc4, netsvc5
    serviceVpnId Integer
    Service VPN ID

    • Range: 0-65536
    tlocColor String
    TLOC color
    tlocEncapsulation String
    TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    tlocIp String
    TLOC IP address
    tlocListId String
    TLOC list ID
    tlocListVersion Integer
    TLOC list version
    vpnId Integer
    DSCP

    • Range: 0-65530
    type string
    Type of set parameter

    • Choices: dscp, forwardingClass, localTlocList, nextHop, nextHopLoose, policer, preferredColorGroup, tlocList, tloc, service, vpn
    dscp number
    DSCP

    • Range: 0-63
    forwardingClass string
    Forwarding class
    localTlocListColor string
    Local TLOC list color. Space separated list of colors.
    localTlocListEncap string
    Local TLOC list encapsulation.

    • Choices: ipsec, gre, ipsec gre
    localTlocListRestrict boolean
    Local TLOC list restrict
    nextHop string
    Next hop IP
    nextHopLoose boolean
    Use routing table entry to forward the packet in case Next-hop is not available
    policerListId string
    Policer list ID
    policerListVersion number
    Policer list version
    preferredColorGroupList string
    Preferred color group list ID
    preferredColorGroupListVersion number
    Preferred color group list version
    serviceTlocColor string
    Service TLOC color
    serviceTlocEncapsulation string
    Service TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    serviceTlocIp string
    Service TLOC IP address
    serviceTlocListId string
    Service TLOC list ID
    serviceTlocListVersion number
    Service TLOC list version
    serviceTlocLocal boolean
    Service TLOC Local
    serviceTlocRestrict boolean
    Service TLOC Restrict
    serviceType string
    Service type

    • Choices: FW, IDP, IDS, netsvc1, netsvc2, netsvc3, netsvc4, netsvc5
    serviceVpnId number
    Service VPN ID

    • Range: 0-65536
    tlocColor string
    TLOC color
    tlocEncapsulation string
    TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    tlocIp string
    TLOC IP address
    tlocListId string
    TLOC list ID
    tlocListVersion number
    TLOC list version
    vpnId number
    DSCP

    • Range: 0-65530
    type str
    Type of set parameter

    • Choices: dscp, forwardingClass, localTlocList, nextHop, nextHopLoose, policer, preferredColorGroup, tlocList, tloc, service, vpn
    dscp int
    DSCP

    • Range: 0-63
    forwarding_class str
    Forwarding class
    local_tloc_list_color str
    Local TLOC list color. Space separated list of colors.
    local_tloc_list_encap str
    Local TLOC list encapsulation.

    • Choices: ipsec, gre, ipsec gre
    local_tloc_list_restrict bool
    Local TLOC list restrict
    next_hop str
    Next hop IP
    next_hop_loose bool
    Use routing table entry to forward the packet in case Next-hop is not available
    policer_list_id str
    Policer list ID
    policer_list_version int
    Policer list version
    preferred_color_group_list str
    Preferred color group list ID
    preferred_color_group_list_version int
    Preferred color group list version
    service_tloc_color str
    Service TLOC color
    service_tloc_encapsulation str
    Service TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    service_tloc_ip str
    Service TLOC IP address
    service_tloc_list_id str
    Service TLOC list ID
    service_tloc_list_version int
    Service TLOC list version
    service_tloc_local bool
    Service TLOC Local
    service_tloc_restrict bool
    Service TLOC Restrict
    service_type str
    Service type

    • Choices: FW, IDP, IDS, netsvc1, netsvc2, netsvc3, netsvc4, netsvc5
    service_vpn_id int
    Service VPN ID

    • Range: 0-65536
    tloc_color str
    TLOC color
    tloc_encapsulation str
    TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    tloc_ip str
    TLOC IP address
    tloc_list_id str
    TLOC list ID
    tloc_list_version int
    TLOC list version
    vpn_id int
    DSCP

    • Range: 0-65530
    type String
    Type of set parameter

    • Choices: dscp, forwardingClass, localTlocList, nextHop, nextHopLoose, policer, preferredColorGroup, tlocList, tloc, service, vpn
    dscp Number
    DSCP

    • Range: 0-63
    forwardingClass String
    Forwarding class
    localTlocListColor String
    Local TLOC list color. Space separated list of colors.
    localTlocListEncap String
    Local TLOC list encapsulation.

    • Choices: ipsec, gre, ipsec gre
    localTlocListRestrict Boolean
    Local TLOC list restrict
    nextHop String
    Next hop IP
    nextHopLoose Boolean
    Use routing table entry to forward the packet in case Next-hop is not available
    policerListId String
    Policer list ID
    policerListVersion Number
    Policer list version
    preferredColorGroupList String
    Preferred color group list ID
    preferredColorGroupListVersion Number
    Preferred color group list version
    serviceTlocColor String
    Service TLOC color
    serviceTlocEncapsulation String
    Service TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    serviceTlocIp String
    Service TLOC IP address
    serviceTlocListId String
    Service TLOC list ID
    serviceTlocListVersion Number
    Service TLOC list version
    serviceTlocLocal Boolean
    Service TLOC Local
    serviceTlocRestrict Boolean
    Service TLOC Restrict
    serviceType String
    Service type

    • Choices: FW, IDP, IDS, netsvc1, netsvc2, netsvc3, netsvc4, netsvc5
    serviceVpnId Number
    Service VPN ID

    • Range: 0-65536
    tlocColor String
    TLOC color
    tlocEncapsulation String
    TLOC encapsulation

    • Choices: ipsec, gre, ipsec gre
    tlocIp String
    TLOC IP address
    tlocListId String
    TLOC list ID
    tlocListVersion Number
    TLOC list version
    vpnId Number
    DSCP

    • Range: 0-65530

    TrafficDataPolicyDefinitionSequenceMatchEntry, TrafficDataPolicyDefinitionSequenceMatchEntryArgs

    Type string
    Type of match entry

    • Choices: appList, dnsAppList, dns, dscp, packetLength, plp, protocol, sourceDataPrefixList, sourceIp, sourcePort, destinationDataPrefixList, destinationIp, destinationRegion, destinationPort, tcp, trafficTo, icmpMessage
    ApplicationListId string
    Application list ID
    ApplicationListVersion int
    Application list version
    DestinationDataPrefixListId string
    Destination Data Prefix list ID
    DestinationDataPrefixListVersion int
    Destination Data Prefix list version
    DestinationIp string
    Destination IP
    DestinationPort string
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    DestinationRegion string
    Destination region

    • Choices: primary-region, secondary-region, other-region
    Dns string
    DNS request or response

    • Choices: request, response
    DnsApplicationListId string
    DNS Application list ID
    DnsApplicationListVersion int
    DNS Application list version
    Dscp int
    DSCP value

    • Range: 0-63
    IcmpMessage string
    ICMP Message
    PacketLength int
    Packet length

    • Range: 0-65535
    Plp string
    PLP

    • Choices: low, high
    Protocol string
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    SourceDataPrefixListId string
    Source Data Prefix list ID
    SourceDataPrefixListVersion int
    Source Data Prefix list version
    SourceIp string
    Source IP
    SourcePort string
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    Tcp string
    TCP flags

    • Choices: syn
    TrafficTo string
    Traffic to

    • Choices: access, core, service
    Type string
    Type of match entry

    • Choices: appList, dnsAppList, dns, dscp, packetLength, plp, protocol, sourceDataPrefixList, sourceIp, sourcePort, destinationDataPrefixList, destinationIp, destinationRegion, destinationPort, tcp, trafficTo, icmpMessage
    ApplicationListId string
    Application list ID
    ApplicationListVersion int
    Application list version
    DestinationDataPrefixListId string
    Destination Data Prefix list ID
    DestinationDataPrefixListVersion int
    Destination Data Prefix list version
    DestinationIp string
    Destination IP
    DestinationPort string
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    DestinationRegion string
    Destination region

    • Choices: primary-region, secondary-region, other-region
    Dns string
    DNS request or response

    • Choices: request, response
    DnsApplicationListId string
    DNS Application list ID
    DnsApplicationListVersion int
    DNS Application list version
    Dscp int
    DSCP value

    • Range: 0-63
    IcmpMessage string
    ICMP Message
    PacketLength int
    Packet length

    • Range: 0-65535
    Plp string
    PLP

    • Choices: low, high
    Protocol string
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    SourceDataPrefixListId string
    Source Data Prefix list ID
    SourceDataPrefixListVersion int
    Source Data Prefix list version
    SourceIp string
    Source IP
    SourcePort string
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    Tcp string
    TCP flags

    • Choices: syn
    TrafficTo string
    Traffic to

    • Choices: access, core, service
    type String
    Type of match entry

    • Choices: appList, dnsAppList, dns, dscp, packetLength, plp, protocol, sourceDataPrefixList, sourceIp, sourcePort, destinationDataPrefixList, destinationIp, destinationRegion, destinationPort, tcp, trafficTo, icmpMessage
    applicationListId String
    Application list ID
    applicationListVersion Integer
    Application list version
    destinationDataPrefixListId String
    Destination Data Prefix list ID
    destinationDataPrefixListVersion Integer
    Destination Data Prefix list version
    destinationIp String
    Destination IP
    destinationPort String
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    destinationRegion String
    Destination region

    • Choices: primary-region, secondary-region, other-region
    dns String
    DNS request or response

    • Choices: request, response
    dnsApplicationListId String
    DNS Application list ID
    dnsApplicationListVersion Integer
    DNS Application list version
    dscp Integer
    DSCP value

    • Range: 0-63
    icmpMessage String
    ICMP Message
    packetLength Integer
    Packet length

    • Range: 0-65535
    plp String
    PLP

    • Choices: low, high
    protocol String
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    sourceDataPrefixListId String
    Source Data Prefix list ID
    sourceDataPrefixListVersion Integer
    Source Data Prefix list version
    sourceIp String
    Source IP
    sourcePort String
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    tcp String
    TCP flags

    • Choices: syn
    trafficTo String
    Traffic to

    • Choices: access, core, service
    type string
    Type of match entry

    • Choices: appList, dnsAppList, dns, dscp, packetLength, plp, protocol, sourceDataPrefixList, sourceIp, sourcePort, destinationDataPrefixList, destinationIp, destinationRegion, destinationPort, tcp, trafficTo, icmpMessage
    applicationListId string
    Application list ID
    applicationListVersion number
    Application list version
    destinationDataPrefixListId string
    Destination Data Prefix list ID
    destinationDataPrefixListVersion number
    Destination Data Prefix list version
    destinationIp string
    Destination IP
    destinationPort string
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    destinationRegion string
    Destination region

    • Choices: primary-region, secondary-region, other-region
    dns string
    DNS request or response

    • Choices: request, response
    dnsApplicationListId string
    DNS Application list ID
    dnsApplicationListVersion number
    DNS Application list version
    dscp number
    DSCP value

    • Range: 0-63
    icmpMessage string
    ICMP Message
    packetLength number
    Packet length

    • Range: 0-65535
    plp string
    PLP

    • Choices: low, high
    protocol string
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    sourceDataPrefixListId string
    Source Data Prefix list ID
    sourceDataPrefixListVersion number
    Source Data Prefix list version
    sourceIp string
    Source IP
    sourcePort string
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    tcp string
    TCP flags

    • Choices: syn
    trafficTo string
    Traffic to

    • Choices: access, core, service
    type str
    Type of match entry

    • Choices: appList, dnsAppList, dns, dscp, packetLength, plp, protocol, sourceDataPrefixList, sourceIp, sourcePort, destinationDataPrefixList, destinationIp, destinationRegion, destinationPort, tcp, trafficTo, icmpMessage
    application_list_id str
    Application list ID
    application_list_version int
    Application list version
    destination_data_prefix_list_id str
    Destination Data Prefix list ID
    destination_data_prefix_list_version int
    Destination Data Prefix list version
    destination_ip str
    Destination IP
    destination_port str
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    destination_region str
    Destination region

    • Choices: primary-region, secondary-region, other-region
    dns str
    DNS request or response

    • Choices: request, response
    dns_application_list_id str
    DNS Application list ID
    dns_application_list_version int
    DNS Application list version
    dscp int
    DSCP value

    • Range: 0-63
    icmp_message str
    ICMP Message
    packet_length int
    Packet length

    • Range: 0-65535
    plp str
    PLP

    • Choices: low, high
    protocol str
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    source_data_prefix_list_id str
    Source Data Prefix list ID
    source_data_prefix_list_version int
    Source Data Prefix list version
    source_ip str
    Source IP
    source_port str
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    tcp str
    TCP flags

    • Choices: syn
    traffic_to str
    Traffic to

    • Choices: access, core, service
    type String
    Type of match entry

    • Choices: appList, dnsAppList, dns, dscp, packetLength, plp, protocol, sourceDataPrefixList, sourceIp, sourcePort, destinationDataPrefixList, destinationIp, destinationRegion, destinationPort, tcp, trafficTo, icmpMessage
    applicationListId String
    Application list ID
    applicationListVersion Number
    Application list version
    destinationDataPrefixListId String
    Destination Data Prefix list ID
    destinationDataPrefixListVersion Number
    Destination Data Prefix list version
    destinationIp String
    Destination IP
    destinationPort String
    Destination port, 0-65535 (Single value, range or multiple values separated by spaces)
    destinationRegion String
    Destination region

    • Choices: primary-region, secondary-region, other-region
    dns String
    DNS request or response

    • Choices: request, response
    dnsApplicationListId String
    DNS Application list ID
    dnsApplicationListVersion Number
    DNS Application list version
    dscp Number
    DSCP value

    • Range: 0-63
    icmpMessage String
    ICMP Message
    packetLength Number
    Packet length

    • Range: 0-65535
    plp String
    PLP

    • Choices: low, high
    protocol String
    IP Protocol, 0-255 (Single value or multiple values separated by spaces)
    sourceDataPrefixListId String
    Source Data Prefix list ID
    sourceDataPrefixListVersion Number
    Source Data Prefix list version
    sourceIp String
    Source IP
    sourcePort String
    Source port, 0-65535 (Single value, range or multiple values separated by spaces)
    tcp String
    TCP flags

    • Choices: syn
    trafficTo String
    Traffic to

    • Choices: access, core, service

    Import

    $ pulumi import sdwan:index/trafficDataPolicyDefinition:TrafficDataPolicyDefinition example "f6b2c44c-693c-4763-b010-895aa3d236bd"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.1.3 published on Tuesday, Sep 24, 2024 by Pulumi