1. Packages
  2. Meraki Provider
  3. API Docs
  4. networks
  5. ApplianceFirewallCellularFirewallRules
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

meraki.networks.ApplianceFirewallCellularFirewallRules

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    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=[{
            "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

    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 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)

    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.
    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"
    

    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.
    meraki logo
    Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi