Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi
sdwan.getZoneBasedFirewallPolicyDefinition
Explore with Pulumi AI
This data source can read the Zone Based Firewall Policy Definition .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getZoneBasedFirewallPolicyDefinition({
    id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_zone_based_firewall_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.LookupZoneBasedFirewallPolicyDefinition(ctx, &sdwan.LookupZoneBasedFirewallPolicyDefinitionArgs{
			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.GetZoneBasedFirewallPolicyDefinition.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.GetZoneBasedFirewallPolicyDefinitionArgs;
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.getZoneBasedFirewallPolicyDefinition(GetZoneBasedFirewallPolicyDefinitionArgs.builder()
            .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: sdwan:getZoneBasedFirewallPolicyDefinition
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
Using getZoneBasedFirewallPolicyDefinition
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 getZoneBasedFirewallPolicyDefinition(args: GetZoneBasedFirewallPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetZoneBasedFirewallPolicyDefinitionResult>
function getZoneBasedFirewallPolicyDefinitionOutput(args: GetZoneBasedFirewallPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetZoneBasedFirewallPolicyDefinitionResult>def get_zone_based_firewall_policy_definition(id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetZoneBasedFirewallPolicyDefinitionResult
def get_zone_based_firewall_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetZoneBasedFirewallPolicyDefinitionResult]func LookupZoneBasedFirewallPolicyDefinition(ctx *Context, args *LookupZoneBasedFirewallPolicyDefinitionArgs, opts ...InvokeOption) (*LookupZoneBasedFirewallPolicyDefinitionResult, error)
func LookupZoneBasedFirewallPolicyDefinitionOutput(ctx *Context, args *LookupZoneBasedFirewallPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupZoneBasedFirewallPolicyDefinitionResultOutput> Note: This function is named LookupZoneBasedFirewallPolicyDefinition in the Go SDK.
public static class GetZoneBasedFirewallPolicyDefinition 
{
    public static Task<GetZoneBasedFirewallPolicyDefinitionResult> InvokeAsync(GetZoneBasedFirewallPolicyDefinitionArgs args, InvokeOptions? opts = null)
    public static Output<GetZoneBasedFirewallPolicyDefinitionResult> Invoke(GetZoneBasedFirewallPolicyDefinitionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZoneBasedFirewallPolicyDefinitionResult> getZoneBasedFirewallPolicyDefinition(GetZoneBasedFirewallPolicyDefinitionArgs args, InvokeOptions options)
public static Output<GetZoneBasedFirewallPolicyDefinitionResult> getZoneBasedFirewallPolicyDefinition(GetZoneBasedFirewallPolicyDefinitionArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getZoneBasedFirewallPolicyDefinition:getZoneBasedFirewallPolicyDefinition
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- The id of the object
- Id string
- The id of the object
- id String
- The id of the object
- id string
- The id of the object
- id str
- The id of the object
- id String
- The id of the object
getZoneBasedFirewallPolicyDefinition Result
The following output properties are available:
- ApplyZone List<GetPairs Zone Based Firewall Policy Definition Apply Zone Pair> 
- DefaultAction string
- Default Action
- Description string
- The description of the policy definition
- Id string
- The id of the object
- Mode string
- The policy mode
- Name string
- The name of the policy definition
- Rules
List<GetZone Based Firewall Policy Definition Rule> 
- Version int
- The version of the object
- ApplyZone []GetPairs Zone Based Firewall Policy Definition Apply Zone Pair 
- DefaultAction string
- Default Action
- Description string
- The description of the policy definition
- Id string
- The id of the object
- Mode string
- The policy mode
- Name string
- The name of the policy definition
- Rules
[]GetZone Based Firewall Policy Definition Rule 
- Version int
- The version of the object
- applyZone List<GetPairs Zone Based Firewall Policy Definition Apply Zone Pair> 
- defaultAction String
- Default Action
- description String
- The description of the policy definition
- id String
- The id of the object
- mode String
- The policy mode
- name String
- The name of the policy definition
- rules
List<GetZone Based Firewall Policy Definition Rule> 
- version Integer
- The version of the object
- applyZone GetPairs Zone Based Firewall Policy Definition Apply Zone Pair[] 
- defaultAction string
- Default Action
- description string
- The description of the policy definition
- id string
- The id of the object
- mode string
- The policy mode
- name string
- The name of the policy definition
- rules
GetZone Based Firewall Policy Definition Rule[] 
- version number
- The version of the object
- apply_zone_ Sequence[Getpairs Zone Based Firewall Policy Definition Apply Zone Pair] 
- default_action str
- Default Action
- description str
- The description of the policy definition
- id str
- The id of the object
- mode str
- The policy mode
- name str
- The name of the policy definition
- rules
Sequence[GetZone Based Firewall Policy Definition Rule] 
- version int
- The version of the object
- applyZone List<Property Map>Pairs 
- defaultAction String
- Default Action
- description String
- The description of the policy definition
- id String
- The id of the object
- mode String
- The policy mode
- name String
- The name of the policy definition
- rules List<Property Map>
- version Number
- The version of the object
Supporting Types
GetZoneBasedFirewallPolicyDefinitionApplyZonePair        
- DestinationZone string
- Destination Zone
- SourceZone string
- Source Zone
- DestinationZone string
- Destination Zone
- SourceZone string
- Source Zone
- destinationZone String
- Destination Zone
- sourceZone String
- Source Zone
- destinationZone string
- Destination Zone
- sourceZone string
- Source Zone
- destination_zone str
- Destination Zone
- source_zone str
- Source Zone
- destinationZone String
- Destination Zone
- sourceZone String
- Source Zone
GetZoneBasedFirewallPolicyDefinitionRule      
- ActionEntries List<GetZone Based Firewall Policy Definition Rule Action Entry> 
- List of actions entries
- BaseAction string
- Base action
- MatchEntries List<GetZone Based Firewall Policy Definition Rule Match Entry> 
- List of match entries
- RuleName string
- Rule name
- RuleOrder int
- Rule
- ActionEntries []GetZone Based Firewall Policy Definition Rule Action Entry 
- List of actions entries
- BaseAction string
- Base action
- MatchEntries []GetZone Based Firewall Policy Definition Rule Match Entry 
- List of match entries
- RuleName string
- Rule name
- RuleOrder int
- Rule
- actionEntries List<GetZone Based Firewall Policy Definition Rule Action Entry> 
- List of actions entries
- baseAction String
- Base action
- matchEntries List<GetZone Based Firewall Policy Definition Rule Match Entry> 
- List of match entries
- ruleName String
- Rule name
- ruleOrder Integer
- Rule
- actionEntries GetZone Based Firewall Policy Definition Rule Action Entry[] 
- List of actions entries
- baseAction string
- Base action
- matchEntries GetZone Based Firewall Policy Definition Rule Match Entry[] 
- List of match entries
- ruleName string
- Rule name
- ruleOrder number
- Rule
- action_entries Sequence[GetZone Based Firewall Policy Definition Rule Action Entry] 
- List of actions entries
- base_action str
- Base action
- match_entries Sequence[GetZone Based Firewall Policy Definition Rule Match Entry] 
- List of match entries
- rule_name str
- Rule name
- rule_order int
- Rule
- actionEntries List<Property Map>
- List of actions entries
- baseAction String
- Base action
- matchEntries List<Property Map>
- List of match entries
- ruleName String
- Rule name
- ruleOrder Number
- Rule
GetZoneBasedFirewallPolicyDefinitionRuleActionEntry        
- Type string
- Type of action entry
- Type string
- Type of action entry
- type String
- Type of action entry
- type string
- Type of action entry
- type str
- Type of action entry
- type String
- Type of action entry
GetZoneBasedFirewallPolicyDefinitionRuleMatchEntry        
- PolicyId string
- policy id for selected match entry
- ProtocolType string
- Should be included with additionally entries for destinationPortandprotocolwhenever the typeprotocolNameis used.
- Type string
- Type of match entry
- Value string
- value for selected match entry
- ValueVariable string
- variable value for selected match entry if it has variable option (sourceIp & destinationIp)
- PolicyId string
- policy id for selected match entry
- ProtocolType string
- Should be included with additionally entries for destinationPortandprotocolwhenever the typeprotocolNameis used.
- Type string
- Type of match entry
- Value string
- value for selected match entry
- ValueVariable string
- variable value for selected match entry if it has variable option (sourceIp & destinationIp)
- policyId String
- policy id for selected match entry
- protocolType String
- Should be included with additionally entries for destinationPortandprotocolwhenever the typeprotocolNameis used.
- type String
- Type of match entry
- value String
- value for selected match entry
- valueVariable String
- variable value for selected match entry if it has variable option (sourceIp & destinationIp)
- policyId string
- policy id for selected match entry
- protocolType string
- Should be included with additionally entries for destinationPortandprotocolwhenever the typeprotocolNameis used.
- type string
- Type of match entry
- value string
- value for selected match entry
- valueVariable string
- variable value for selected match entry if it has variable option (sourceIp & destinationIp)
- policy_id str
- policy id for selected match entry
- protocol_type str
- Should be included with additionally entries for destinationPortandprotocolwhenever the typeprotocolNameis used.
- type str
- Type of match entry
- value str
- value for selected match entry
- value_variable str
- variable value for selected match entry if it has variable option (sourceIp & destinationIp)
- policyId String
- policy id for selected match entry
- protocolType String
- Should be included with additionally entries for destinationPortandprotocolwhenever the typeprotocolNameis used.
- type String
- Type of match entry
- value String
- value for selected match entry
- valueVariable String
- variable value for selected match entry if it has variable option (sourceIp & destinationIp)
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
