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

meraki.networks.ApplianceFirewallCellularFirewallRules

Explore with Pulumi AI

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.meraki.networks.ApplianceFirewallCellularFirewallRules;
import com.pulumi.meraki.networks.ApplianceFirewallCellularFirewallRulesArgs;
import com.pulumi.meraki.networks.inputs.ApplianceFirewallCellularFirewallRulesRuleArgs;
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 ApplianceFirewallCellularFirewallRules("example", ApplianceFirewallCellularFirewallRulesArgs.builder()
            .networkId("string")
            .rules(ApplianceFirewallCellularFirewallRulesRuleArgs.builder()
                .comment("Allow TCP traffic to subnet with HTTP servers.")
                .dest_cidr("192.168.1.0/24")
                .dest_port("443")
                .policy("allow")
                .protocol("tcp")
                .src_cidr("Any")
                .src_port("Any")
                .syslog_enabled(false)
                .build())
            .build());

        ctx.export("merakiNetworksApplianceFirewallCellularFirewallRulesExample", example);
    }
}
Copy
resources:
  example:
    type: meraki:networks:ApplianceFirewallCellularFirewallRules
    properties:
      networkId: string
      rules:
        - comment: Allow TCP traffic to subnet with HTTP servers.
          dest_cidr: 192.168.1.0/24
          dest_port: '443'
          policy: allow
          protocol: tcp
          src_cidr: Any
          src_port: Any
          syslog_enabled: false
outputs:
  merakiNetworksApplianceFirewallCellularFirewallRulesExample: ${example}
Copy

Create ApplianceFirewallCellularFirewallRules Resource

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

Constructor syntax

new ApplianceFirewallCellularFirewallRules(name: string, args: ApplianceFirewallCellularFirewallRulesArgs, opts?: CustomResourceOptions);
@overload
def ApplianceFirewallCellularFirewallRules(resource_name: str,
                                           args: ApplianceFirewallCellularFirewallRulesArgs,
                                           opts: Optional[ResourceOptions] = None)

@overload
def ApplianceFirewallCellularFirewallRules(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           network_id: Optional[str] = None,
                                           rules: Optional[Sequence[ApplianceFirewallCellularFirewallRulesRuleArgs]] = None)
func NewApplianceFirewallCellularFirewallRules(ctx *Context, name string, args ApplianceFirewallCellularFirewallRulesArgs, opts ...ResourceOption) (*ApplianceFirewallCellularFirewallRules, error)
public ApplianceFirewallCellularFirewallRules(string name, ApplianceFirewallCellularFirewallRulesArgs args, CustomResourceOptions? opts = null)
public ApplianceFirewallCellularFirewallRules(String name, ApplianceFirewallCellularFirewallRulesArgs args)
public ApplianceFirewallCellularFirewallRules(String name, ApplianceFirewallCellularFirewallRulesArgs args, CustomResourceOptions options)
type: meraki:networks:ApplianceFirewallCellularFirewallRules
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApplianceFirewallCellularFirewallRulesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApplianceFirewallCellularFirewallRulesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApplianceFirewallCellularFirewallRulesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApplianceFirewallCellularFirewallRulesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApplianceFirewallCellularFirewallRulesArgs
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 applianceFirewallCellularFirewallRulesResource = new Meraki.Networks.ApplianceFirewallCellularFirewallRules("applianceFirewallCellularFirewallRulesResource", new()
{
    NetworkId = "string",
    Rules = new[]
    {
        new Meraki.Networks.Inputs.ApplianceFirewallCellularFirewallRulesRuleArgs
        {
            Comment = "string",
            DestCidr = "string",
            DestPort = "string",
            Policy = "string",
            Protocol = "string",
            SrcCidr = "string",
            SrcPort = "string",
            SyslogEnabled = false,
        },
    },
});
Copy
example, err := networks.NewApplianceFirewallCellularFirewallRules(ctx, "applianceFirewallCellularFirewallRulesResource", &networks.ApplianceFirewallCellularFirewallRulesArgs{
	NetworkId: pulumi.String("string"),
	Rules: networks.ApplianceFirewallCellularFirewallRulesRuleArray{
		&networks.ApplianceFirewallCellularFirewallRulesRuleArgs{
			Comment:       pulumi.String("string"),
			DestCidr:      pulumi.String("string"),
			DestPort:      pulumi.String("string"),
			Policy:        pulumi.String("string"),
			Protocol:      pulumi.String("string"),
			SrcCidr:       pulumi.String("string"),
			SrcPort:       pulumi.String("string"),
			SyslogEnabled: pulumi.Bool(false),
		},
	},
})
Copy
var applianceFirewallCellularFirewallRulesResource = new ApplianceFirewallCellularFirewallRules("applianceFirewallCellularFirewallRulesResource", ApplianceFirewallCellularFirewallRulesArgs.builder()
    .networkId("string")
    .rules(ApplianceFirewallCellularFirewallRulesRuleArgs.builder()
        .comment("string")
        .destCidr("string")
        .destPort("string")
        .policy("string")
        .protocol("string")
        .srcCidr("string")
        .srcPort("string")
        .syslogEnabled(false)
        .build())
    .build());
Copy
appliance_firewall_cellular_firewall_rules_resource = meraki.networks.ApplianceFirewallCellularFirewallRules("applianceFirewallCellularFirewallRulesResource",
    network_id="string",
    rules=[{
        "comment": "string",
        "dest_cidr": "string",
        "dest_port": "string",
        "policy": "string",
        "protocol": "string",
        "src_cidr": "string",
        "src_port": "string",
        "syslog_enabled": False,
    }])
Copy
const applianceFirewallCellularFirewallRulesResource = new meraki.networks.ApplianceFirewallCellularFirewallRules("applianceFirewallCellularFirewallRulesResource", {
    networkId: "string",
    rules: [{
        comment: "string",
        destCidr: "string",
        destPort: "string",
        policy: "string",
        protocol: "string",
        srcCidr: "string",
        srcPort: "string",
        syslogEnabled: false,
    }],
});
Copy
type: meraki:networks:ApplianceFirewallCellularFirewallRules
properties:
    networkId: string
    rules:
        - comment: string
          destCidr: string
          destPort: string
          policy: string
          protocol: string
          srcCidr: string
          srcPort: string
          syslogEnabled: false
Copy

ApplianceFirewallCellularFirewallRules Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ApplianceFirewallCellularFirewallRules resource accepts the following input properties:

NetworkId This property is required. string
networkId path parameter. Network ID
Rules List<ApplianceFirewallCellularFirewallRulesRule>
An ordered array of the firewall rules (not including the default rule)
NetworkId This property is required. string
networkId path parameter. Network ID
Rules []ApplianceFirewallCellularFirewallRulesRuleArgs
An ordered array of the firewall rules (not including the default rule)
networkId This property is required. String
networkId path parameter. Network ID
rules List<ApplianceFirewallCellularFirewallRulesRule>
An ordered array of the firewall rules (not including the default rule)
networkId This property is required. string
networkId path parameter. Network ID
rules ApplianceFirewallCellularFirewallRulesRule[]
An ordered array of the firewall rules (not including the default rule)
network_id This property is required. str
networkId path parameter. Network ID
rules Sequence[ApplianceFirewallCellularFirewallRulesRuleArgs]
An ordered array of the firewall rules (not including the default rule)
networkId This property is required. String
networkId path parameter. Network ID
rules List<Property Map>
An ordered array of the firewall rules (not including the default rule)

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ApplianceFirewallCellularFirewallRules Resource

Get an existing ApplianceFirewallCellularFirewallRules 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?: ApplianceFirewallCellularFirewallRulesState, opts?: CustomResourceOptions): ApplianceFirewallCellularFirewallRules
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        network_id: Optional[str] = None,
        rules: Optional[Sequence[ApplianceFirewallCellularFirewallRulesRuleArgs]] = None) -> ApplianceFirewallCellularFirewallRules
func GetApplianceFirewallCellularFirewallRules(ctx *Context, name string, id IDInput, state *ApplianceFirewallCellularFirewallRulesState, opts ...ResourceOption) (*ApplianceFirewallCellularFirewallRules, error)
public static ApplianceFirewallCellularFirewallRules Get(string name, Input<string> id, ApplianceFirewallCellularFirewallRulesState? state, CustomResourceOptions? opts = null)
public static ApplianceFirewallCellularFirewallRules get(String name, Output<String> id, ApplianceFirewallCellularFirewallRulesState state, CustomResourceOptions options)
resources:  _:    type: meraki:networks:ApplianceFirewallCellularFirewallRules    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
NetworkId string
networkId path parameter. Network ID
Rules List<ApplianceFirewallCellularFirewallRulesRule>
An ordered array of the firewall rules (not including the default rule)
NetworkId string
networkId path parameter. Network ID
Rules []ApplianceFirewallCellularFirewallRulesRuleArgs
An ordered array of the firewall rules (not including the default rule)
networkId String
networkId path parameter. Network ID
rules List<ApplianceFirewallCellularFirewallRulesRule>
An ordered array of the firewall rules (not including the default rule)
networkId string
networkId path parameter. Network ID
rules ApplianceFirewallCellularFirewallRulesRule[]
An ordered array of the firewall rules (not including the default rule)
network_id str
networkId path parameter. Network ID
rules Sequence[ApplianceFirewallCellularFirewallRulesRuleArgs]
An ordered array of the firewall rules (not including the default rule)
networkId String
networkId path parameter. Network ID
rules List<Property Map>
An ordered array of the firewall rules (not including the default rule)

Supporting Types

ApplianceFirewallCellularFirewallRulesRule
, ApplianceFirewallCellularFirewallRulesRuleArgs

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

Import

$ pulumi import meraki:networks/applianceFirewallCellularFirewallRules:ApplianceFirewallCellularFirewallRules example "network_id"
Copy

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

Package Details

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