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);
}
}
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}
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 string
- The unique name of the resource.
- args ApplianceFirewallCellularFirewallRulesArgs
- 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 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 string
- The unique name of the resource.
- args ApplianceFirewallCellularFirewallRulesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplianceFirewallCellularFirewallRulesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
},
},
});
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),
},
},
})
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());
appliance_firewall_cellular_firewall_rules_resource = meraki.networks.ApplianceFirewallCellularFirewallRules("applianceFirewallCellularFirewallRulesResource",
network_id="string",
rules=[meraki.networks.ApplianceFirewallCellularFirewallRulesRuleArgs(
comment="string",
dest_cidr="string",
dest_port="string",
policy="string",
protocol="string",
src_cidr="string",
src_port="string",
syslog_enabled=False,
)])
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,
}],
});
type: meraki:networks:ApplianceFirewallCellularFirewallRules
properties:
networkId: string
rules:
- comment: string
destCidr: string
destPort: string
policy: string
protocol: string
srcCidr: string
srcPort: string
syslogEnabled: false
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
The ApplianceFirewallCellularFirewallRules resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Rules
List<Appliance
Firewall Cellular Firewall Rules Rule> - An ordered array of the firewall rules (not including the default rule)
- Network
Id string - networkId path parameter. Network ID
- Rules
[]Appliance
Firewall Cellular Firewall Rules Rule Args - An ordered array of the firewall rules (not including the default rule)
- network
Id String - networkId path parameter. Network ID
- rules
List<Appliance
Firewall Cellular Firewall Rules Rule> - An ordered array of the firewall rules (not including the default rule)
- network
Id string - networkId path parameter. Network ID
- rules
Appliance
Firewall Cellular Firewall Rules Rule[] - An ordered array of the firewall rules (not including the default rule)
- network_
id str - networkId path parameter. Network ID
- rules
Sequence[Appliance
Firewall Cellular Firewall Rules Rule Args] - An ordered array of the firewall rules (not including the default rule)
- network
Id 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)
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.
- Network
Id string - networkId path parameter. Network ID
- Rules
List<Appliance
Firewall Cellular Firewall Rules Rule> - An ordered array of the firewall rules (not including the default rule)
- Network
Id string - networkId path parameter. Network ID
- Rules
[]Appliance
Firewall Cellular Firewall Rules Rule Args - An ordered array of the firewall rules (not including the default rule)
- network
Id String - networkId path parameter. Network ID
- rules
List<Appliance
Firewall Cellular Firewall Rules Rule> - An ordered array of the firewall rules (not including the default rule)
- network
Id string - networkId path parameter. Network ID
- rules
Appliance
Firewall Cellular Firewall Rules Rule[] - An ordered array of the firewall rules (not including the default rule)
- network_
id str - networkId path parameter. Network ID
- rules
Sequence[Appliance
Firewall Cellular Firewall Rules Rule Args] - An ordered array of the firewall rules (not including the default rule)
- network
Id 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)
- Dest
Cidr string - Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
- Dest
Port 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')
- Src
Cidr string - Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
- Src
Port string - 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)
- Dest
Cidr string - Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
- Dest
Port 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')
- Src
Cidr string - Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
- Src
Port string - 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)
- dest
Cidr String - Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
- dest
Port 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')
- src
Cidr String - Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
- src
Port String - Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'
- syslog
Enabled 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)
- dest
Cidr string - Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
- dest
Port 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')
- src
Cidr string - Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
- src
Port string - Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'
- syslog
Enabled 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)
- dest
Cidr String - Comma-separated list of destination IP address(es) (in IP or CIDR notation), fully-qualified domain names (FQDN) or 'any'
- dest
Port 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')
- src
Cidr String - Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (note: FQDN not supported for source addresses)
- src
Port String - Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'
- syslog
Enabled 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"
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.