1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. WirelessSsidsFirewallL7FirewallRules
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.WirelessSsidsFirewallL7FirewallRules

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.networks.WirelessSsidsFirewallL7FirewallRules("example", {
        networkId: "string",
        number: "string",
        rules: [{
            policy: "deny",
            type: "host",
            value: "google.com",
        }],
    });
    export const merakiNetworksWirelessSsidsFirewallL7FirewallRulesExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.WirelessSsidsFirewallL7FirewallRules("example",
        network_id="string",
        number="string",
        rules=[meraki.networks.WirelessSsidsFirewallL7FirewallRulesRuleArgs(
            policy="deny",
            type="host",
            value="google.com",
        )])
    pulumi.export("merakiNetworksWirelessSsidsFirewallL7FirewallRulesExample", example)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := networks.NewWirelessSsidsFirewallL7FirewallRules(ctx, "example", &networks.WirelessSsidsFirewallL7FirewallRulesArgs{
    			NetworkId: pulumi.String("string"),
    			Number:    pulumi.String("string"),
    			Rules: networks.WirelessSsidsFirewallL7FirewallRulesRuleArray{
    				&networks.WirelessSsidsFirewallL7FirewallRulesRuleArgs{
    					Policy: pulumi.String("deny"),
    					Type:   pulumi.String("host"),
    					Value:  pulumi.String("google.com"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksWirelessSsidsFirewallL7FirewallRulesExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Networks.WirelessSsidsFirewallL7FirewallRules("example", new()
        {
            NetworkId = "string",
            Number = "string",
            Rules = new[]
            {
                new Meraki.Networks.Inputs.WirelessSsidsFirewallL7FirewallRulesRuleArgs
                {
                    Policy = "deny",
                    Type = "host",
                    Value = "google.com",
                },
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksWirelessSsidsFirewallL7FirewallRulesExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.WirelessSsidsFirewallL7FirewallRules;
    import com.pulumi.meraki.networks.WirelessSsidsFirewallL7FirewallRulesArgs;
    import com.pulumi.meraki.networks.inputs.WirelessSsidsFirewallL7FirewallRulesRuleArgs;
    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 WirelessSsidsFirewallL7FirewallRules("example", WirelessSsidsFirewallL7FirewallRulesArgs.builder()
                .networkId("string")
                .number("string")
                .rules(WirelessSsidsFirewallL7FirewallRulesRuleArgs.builder()
                    .policy("deny")
                    .type("host")
                    .value("google.com")
                    .build())
                .build());
    
            ctx.export("merakiNetworksWirelessSsidsFirewallL7FirewallRulesExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:WirelessSsidsFirewallL7FirewallRules
        properties:
          networkId: string
          number: string
          rules:
            - policy: deny
              type: host
              value: google.com
    outputs:
      merakiNetworksWirelessSsidsFirewallL7FirewallRulesExample: ${example}
    

    Create WirelessSsidsFirewallL7FirewallRules Resource

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

    Constructor syntax

    new WirelessSsidsFirewallL7FirewallRules(name: string, args: WirelessSsidsFirewallL7FirewallRulesArgs, opts?: CustomResourceOptions);
    @overload
    def WirelessSsidsFirewallL7FirewallRules(resource_name: str,
                                             args: WirelessSsidsFirewallL7FirewallRulesArgs,
                                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def WirelessSsidsFirewallL7FirewallRules(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             network_id: Optional[str] = None,
                                             number: Optional[str] = None,
                                             rules: Optional[Sequence[WirelessSsidsFirewallL7FirewallRulesRuleArgs]] = None)
    func NewWirelessSsidsFirewallL7FirewallRules(ctx *Context, name string, args WirelessSsidsFirewallL7FirewallRulesArgs, opts ...ResourceOption) (*WirelessSsidsFirewallL7FirewallRules, error)
    public WirelessSsidsFirewallL7FirewallRules(string name, WirelessSsidsFirewallL7FirewallRulesArgs args, CustomResourceOptions? opts = null)
    public WirelessSsidsFirewallL7FirewallRules(String name, WirelessSsidsFirewallL7FirewallRulesArgs args)
    public WirelessSsidsFirewallL7FirewallRules(String name, WirelessSsidsFirewallL7FirewallRulesArgs args, CustomResourceOptions options)
    
    type: meraki:networks:WirelessSsidsFirewallL7FirewallRules
    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 WirelessSsidsFirewallL7FirewallRulesArgs
    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 WirelessSsidsFirewallL7FirewallRulesArgs
    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 WirelessSsidsFirewallL7FirewallRulesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WirelessSsidsFirewallL7FirewallRulesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WirelessSsidsFirewallL7FirewallRulesArgs
    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 wirelessSsidsFirewallL7FirewallRulesResource = new Meraki.Networks.WirelessSsidsFirewallL7FirewallRules("wirelessSsidsFirewallL7FirewallRulesResource", new()
    {
        NetworkId = "string",
        Number = "string",
        Rules = new[]
        {
            new Meraki.Networks.Inputs.WirelessSsidsFirewallL7FirewallRulesRuleArgs
            {
                Policy = "string",
                Type = "string",
                Value = "string",
            },
        },
    });
    
    example, err := networks.NewWirelessSsidsFirewallL7FirewallRules(ctx, "wirelessSsidsFirewallL7FirewallRulesResource", &networks.WirelessSsidsFirewallL7FirewallRulesArgs{
    	NetworkId: pulumi.String("string"),
    	Number:    pulumi.String("string"),
    	Rules: networks.WirelessSsidsFirewallL7FirewallRulesRuleArray{
    		&networks.WirelessSsidsFirewallL7FirewallRulesRuleArgs{
    			Policy: pulumi.String("string"),
    			Type:   pulumi.String("string"),
    			Value:  pulumi.String("string"),
    		},
    	},
    })
    
    var wirelessSsidsFirewallL7FirewallRulesResource = new WirelessSsidsFirewallL7FirewallRules("wirelessSsidsFirewallL7FirewallRulesResource", WirelessSsidsFirewallL7FirewallRulesArgs.builder()
        .networkId("string")
        .number("string")
        .rules(WirelessSsidsFirewallL7FirewallRulesRuleArgs.builder()
            .policy("string")
            .type("string")
            .value("string")
            .build())
        .build());
    
    wireless_ssids_firewall_l7_firewall_rules_resource = meraki.networks.WirelessSsidsFirewallL7FirewallRules("wirelessSsidsFirewallL7FirewallRulesResource",
        network_id="string",
        number="string",
        rules=[meraki.networks.WirelessSsidsFirewallL7FirewallRulesRuleArgs(
            policy="string",
            type="string",
            value="string",
        )])
    
    const wirelessSsidsFirewallL7FirewallRulesResource = new meraki.networks.WirelessSsidsFirewallL7FirewallRules("wirelessSsidsFirewallL7FirewallRulesResource", {
        networkId: "string",
        number: "string",
        rules: [{
            policy: "string",
            type: "string",
            value: "string",
        }],
    });
    
    type: meraki:networks:WirelessSsidsFirewallL7FirewallRules
    properties:
        networkId: string
        number: string
        rules:
            - policy: string
              type: string
              value: string
    

    WirelessSsidsFirewallL7FirewallRules 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 WirelessSsidsFirewallL7FirewallRules resource accepts the following input properties:

    NetworkId string
    networkId path parameter. Network ID
    Number string
    number path parameter.
    Rules List<WirelessSsidsFirewallL7FirewallRulesRule>
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).
    NetworkId string
    networkId path parameter. Network ID
    Number string
    number path parameter.
    Rules []WirelessSsidsFirewallL7FirewallRulesRuleArgs
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).
    networkId String
    networkId path parameter. Network ID
    number String
    number path parameter.
    rules List<WirelessSsidsFirewallL7FirewallRulesRule>
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).
    networkId string
    networkId path parameter. Network ID
    number string
    number path parameter.
    rules WirelessSsidsFirewallL7FirewallRulesRule[]
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).
    network_id str
    networkId path parameter. Network ID
    number str
    number path parameter.
    rules Sequence[WirelessSsidsFirewallL7FirewallRulesRuleArgs]
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).
    networkId String
    networkId path parameter. Network ID
    number String
    number path parameter.
    rules List<Property Map>
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WirelessSsidsFirewallL7FirewallRules 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 WirelessSsidsFirewallL7FirewallRules Resource

    Get an existing WirelessSsidsFirewallL7FirewallRules 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?: WirelessSsidsFirewallL7FirewallRulesState, opts?: CustomResourceOptions): WirelessSsidsFirewallL7FirewallRules
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            network_id: Optional[str] = None,
            number: Optional[str] = None,
            rules: Optional[Sequence[WirelessSsidsFirewallL7FirewallRulesRuleArgs]] = None) -> WirelessSsidsFirewallL7FirewallRules
    func GetWirelessSsidsFirewallL7FirewallRules(ctx *Context, name string, id IDInput, state *WirelessSsidsFirewallL7FirewallRulesState, opts ...ResourceOption) (*WirelessSsidsFirewallL7FirewallRules, error)
    public static WirelessSsidsFirewallL7FirewallRules Get(string name, Input<string> id, WirelessSsidsFirewallL7FirewallRulesState? state, CustomResourceOptions? opts = null)
    public static WirelessSsidsFirewallL7FirewallRules get(String name, Output<String> id, WirelessSsidsFirewallL7FirewallRulesState 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
    Number string
    number path parameter.
    Rules List<WirelessSsidsFirewallL7FirewallRulesRule>
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).
    NetworkId string
    networkId path parameter. Network ID
    Number string
    number path parameter.
    Rules []WirelessSsidsFirewallL7FirewallRulesRuleArgs
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).
    networkId String
    networkId path parameter. Network ID
    number String
    number path parameter.
    rules List<WirelessSsidsFirewallL7FirewallRulesRule>
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).
    networkId string
    networkId path parameter. Network ID
    number string
    number path parameter.
    rules WirelessSsidsFirewallL7FirewallRulesRule[]
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).
    network_id str
    networkId path parameter. Network ID
    number str
    number path parameter.
    rules Sequence[WirelessSsidsFirewallL7FirewallRulesRuleArgs]
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).
    networkId String
    networkId path parameter. Network ID
    number String
    number path parameter.
    rules List<Property Map>
    An ordered array of the firewall rules for this SSID (not including the local LAN access rule or the default rule).

    Supporting Types

    WirelessSsidsFirewallL7FirewallRulesRule, WirelessSsidsFirewallL7FirewallRulesRuleArgs

    Policy string
    'Deny' traffic specified by this rule
    Type string
    Type of the L7 firewall rule. One of: 'application', 'applicationCategory', 'host', 'port', 'ipRange'
    Value string
    The value of what needs to get blocked. Format of the value varies depending on type of the firewall rule selected.
    Policy string
    'Deny' traffic specified by this rule
    Type string
    Type of the L7 firewall rule. One of: 'application', 'applicationCategory', 'host', 'port', 'ipRange'
    Value string
    The value of what needs to get blocked. Format of the value varies depending on type of the firewall rule selected.
    policy String
    'Deny' traffic specified by this rule
    type String
    Type of the L7 firewall rule. One of: 'application', 'applicationCategory', 'host', 'port', 'ipRange'
    value String
    The value of what needs to get blocked. Format of the value varies depending on type of the firewall rule selected.
    policy string
    'Deny' traffic specified by this rule
    type string
    Type of the L7 firewall rule. One of: 'application', 'applicationCategory', 'host', 'port', 'ipRange'
    value string
    The value of what needs to get blocked. Format of the value varies depending on type of the firewall rule selected.
    policy str
    'Deny' traffic specified by this rule
    type str
    Type of the L7 firewall rule. One of: 'application', 'applicationCategory', 'host', 'port', 'ipRange'
    value str
    The value of what needs to get blocked. Format of the value varies depending on type of the firewall rule selected.
    policy String
    'Deny' traffic specified by this rule
    type String
    Type of the L7 firewall rule. One of: 'application', 'applicationCategory', 'host', 'port', 'ipRange'
    value String
    The value of what needs to get blocked. Format of the value varies depending on type of the firewall rule selected.

    Import

    $ pulumi import meraki:networks/wirelessSsidsFirewallL7FirewallRules:WirelessSsidsFirewallL7FirewallRules example "network_id,number"
    

    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.2.4 published on Friday, Jun 14, 2024 by Pulumi