1. Packages
  2. Cisco Meraki Provider
  3. API Docs
  4. organizations
  5. getApplianceVpnVpnFirewallRules
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

meraki.organizations.getApplianceVpnVpnFirewallRules

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";

const example = meraki.organizations.getApplianceVpnVpnFirewallRules({
    organizationId: "string",
});
export const merakiOrganizationsApplianceVpnVpnFirewallRulesExample = example.then(example => example.item);
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.organizations.get_appliance_vpn_vpn_firewall_rules(organization_id="string")
pulumi.export("merakiOrganizationsApplianceVpnVpnFirewallRulesExample", example.item)
Copy
package main

import (
	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/organizations"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := organizations.LookupApplianceVpnVpnFirewallRules(ctx, &organizations.LookupApplianceVpnVpnFirewallRulesArgs{
			OrganizationId: "string",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("merakiOrganizationsApplianceVpnVpnFirewallRulesExample", example.Item)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;

return await Deployment.RunAsync(() => 
{
    var example = Meraki.Organizations.GetApplianceVpnVpnFirewallRules.Invoke(new()
    {
        OrganizationId = "string",
    });

    return new Dictionary<string, object?>
    {
        ["merakiOrganizationsApplianceVpnVpnFirewallRulesExample"] = example.Apply(getApplianceVpnVpnFirewallRulesResult => getApplianceVpnVpnFirewallRulesResult.Item),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.organizations.OrganizationsFunctions;
import com.pulumi.meraki.organizations.inputs.GetApplianceVpnVpnFirewallRulesArgs;
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 = OrganizationsFunctions.getApplianceVpnVpnFirewallRules(GetApplianceVpnVpnFirewallRulesArgs.builder()
            .organizationId("string")
            .build());

        ctx.export("merakiOrganizationsApplianceVpnVpnFirewallRulesExample", example.applyValue(getApplianceVpnVpnFirewallRulesResult -> getApplianceVpnVpnFirewallRulesResult.item()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: meraki:organizations:getApplianceVpnVpnFirewallRules
      arguments:
        organizationId: string
outputs:
  merakiOrganizationsApplianceVpnVpnFirewallRulesExample: ${example.item}
Copy

Using getApplianceVpnVpnFirewallRules

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 getApplianceVpnVpnFirewallRules(args: GetApplianceVpnVpnFirewallRulesArgs, opts?: InvokeOptions): Promise<GetApplianceVpnVpnFirewallRulesResult>
function getApplianceVpnVpnFirewallRulesOutput(args: GetApplianceVpnVpnFirewallRulesOutputArgs, opts?: InvokeOptions): Output<GetApplianceVpnVpnFirewallRulesResult>
Copy
def get_appliance_vpn_vpn_firewall_rules(organization_id: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetApplianceVpnVpnFirewallRulesResult
def get_appliance_vpn_vpn_firewall_rules_output(organization_id: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetApplianceVpnVpnFirewallRulesResult]
Copy
func LookupApplianceVpnVpnFirewallRules(ctx *Context, args *LookupApplianceVpnVpnFirewallRulesArgs, opts ...InvokeOption) (*LookupApplianceVpnVpnFirewallRulesResult, error)
func LookupApplianceVpnVpnFirewallRulesOutput(ctx *Context, args *LookupApplianceVpnVpnFirewallRulesOutputArgs, opts ...InvokeOption) LookupApplianceVpnVpnFirewallRulesResultOutput
Copy

> Note: This function is named LookupApplianceVpnVpnFirewallRules in the Go SDK.

public static class GetApplianceVpnVpnFirewallRules 
{
    public static Task<GetApplianceVpnVpnFirewallRulesResult> InvokeAsync(GetApplianceVpnVpnFirewallRulesArgs args, InvokeOptions? opts = null)
    public static Output<GetApplianceVpnVpnFirewallRulesResult> Invoke(GetApplianceVpnVpnFirewallRulesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetApplianceVpnVpnFirewallRulesResult> getApplianceVpnVpnFirewallRules(GetApplianceVpnVpnFirewallRulesArgs args, InvokeOptions options)
public static Output<GetApplianceVpnVpnFirewallRulesResult> getApplianceVpnVpnFirewallRules(GetApplianceVpnVpnFirewallRulesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:organizations/getApplianceVpnVpnFirewallRules:getApplianceVpnVpnFirewallRules
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

OrganizationId This property is required. string
organizationId path parameter. Organization ID
OrganizationId This property is required. string
organizationId path parameter. Organization ID
organizationId This property is required. String
organizationId path parameter. Organization ID
organizationId This property is required. string
organizationId path parameter. Organization ID
organization_id This property is required. str
organizationId path parameter. Organization ID
organizationId This property is required. String
organizationId path parameter. Organization ID

getApplianceVpnVpnFirewallRules Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Item GetApplianceVpnVpnFirewallRulesItem
OrganizationId string
organizationId path parameter. Organization ID
Id string
The provider-assigned unique ID for this managed resource.
Item GetApplianceVpnVpnFirewallRulesItem
OrganizationId string
organizationId path parameter. Organization ID
id String
The provider-assigned unique ID for this managed resource.
item GetApplianceVpnVpnFirewallRulesItem
organizationId String
organizationId path parameter. Organization ID
id string
The provider-assigned unique ID for this managed resource.
item GetApplianceVpnVpnFirewallRulesItem
organizationId string
organizationId path parameter. Organization ID
id str
The provider-assigned unique ID for this managed resource.
item GetApplianceVpnVpnFirewallRulesItem
organization_id str
organizationId path parameter. Organization ID
id String
The provider-assigned unique ID for this managed resource.
item Property Map
organizationId String
organizationId path parameter. Organization ID

Supporting Types

GetApplianceVpnVpnFirewallRulesItem

Rules This property is required. List<GetApplianceVpnVpnFirewallRulesItemRule>
An ordered array of the firewall rules (not including the default rule)
Rules This property is required. []GetApplianceVpnVpnFirewallRulesItemRule
An ordered array of the firewall rules (not including the default rule)
rules This property is required. List<GetApplianceVpnVpnFirewallRulesItemRule>
An ordered array of the firewall rules (not including the default rule)
rules This property is required. GetApplianceVpnVpnFirewallRulesItemRule[]
An ordered array of the firewall rules (not including the default rule)
rules This property is required. Sequence[GetApplianceVpnVpnFirewallRulesItemRule]
An ordered array of the firewall rules (not including the default rule)
rules This property is required. List<Property Map>
An ordered array of the firewall rules (not including the default rule)

GetApplianceVpnVpnFirewallRulesItemRule

Comment This property is required. string
Description of the rule (optional)
DestCidr This property is required. string
Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
DestPort This property is required. string
Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
Policy This property is required. string
'allow' or 'deny' traffic specified by this rule
Protocol This property is required. string
The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any')
SrcCidr This property is required. string
Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
SrcPort This property is required. string
Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'
SyslogEnabled This property is required. bool
Log this rule to syslog (true or false, boolean value) - only applicable if a syslog has been configured (optional)
Comment This property is required. string
Description of the rule (optional)
DestCidr This property is required. string
Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
DestPort This property is required. string
Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
Policy This property is required. string
'allow' or 'deny' traffic specified by this rule
Protocol This property is required. string
The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any')
SrcCidr This property is required. string
Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
SrcPort This property is required. string
Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'
SyslogEnabled This property is required. bool
Log this rule to syslog (true or false, boolean value) - only applicable if a syslog has been configured (optional)
comment This property is required. String
Description of the rule (optional)
destCidr This property is required. String
Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
destPort This property is required. String
Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
policy This property is required. String
'allow' or 'deny' traffic specified by this rule
protocol This property is required. String
The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any')
srcCidr This property is required. String
Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
srcPort This property is required. String
Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'
syslogEnabled This property is required. Boolean
Log this rule to syslog (true or false, boolean value) - only applicable if a syslog has been configured (optional)
comment This property is required. string
Description of the rule (optional)
destCidr This property is required. string
Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
destPort This property is required. string
Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
policy This property is required. string
'allow' or 'deny' traffic specified by this rule
protocol This property is required. string
The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any')
srcCidr This property is required. string
Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
srcPort This property is required. string
Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'
syslogEnabled This property is required. boolean
Log this rule to syslog (true or false, boolean value) - only applicable if a syslog has been configured (optional)
comment This property is required. str
Description of the rule (optional)
dest_cidr This property is required. str
Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
dest_port This property is required. str
Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
policy This property is required. str
'allow' or 'deny' traffic specified by this rule
protocol This property is required. str
The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any')
src_cidr This property is required. str
Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
src_port This property is required. str
Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'
syslog_enabled This property is required. bool
Log this rule to syslog (true or false, boolean value) - only applicable if a syslog has been configured (optional)
comment This property is required. String
Description of the rule (optional)
destCidr This property is required. String
Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
destPort This property is required. String
Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
policy This property is required. String
'allow' or 'deny' traffic specified by this rule
protocol This property is required. String
The type of protocol (must be 'tcp', 'udp', 'icmp', 'icmp6' or 'any')
srcCidr This property is required. String
Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
srcPort This property is required. String
Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'
syslogEnabled This property is required. Boolean
Log this rule to syslog (true or false, boolean value) - only applicable if a syslog has been configured (optional)

Package Details

Repository
meraki pulumi/pulumi-meraki
License
Apache-2.0
Notes
This Pulumi package is based on the meraki Terraform Provider.