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

meraki.organizations.ApplianceVpnVpnFirewallRules

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.organizations.ApplianceVpnVpnFirewallRules;
    import com.pulumi.meraki.organizations.ApplianceVpnVpnFirewallRulesArgs;
    import com.pulumi.meraki.organizations.inputs.ApplianceVpnVpnFirewallRulesRuleArgs;
    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 ApplianceVpnVpnFirewallRules("example", ApplianceVpnVpnFirewallRulesArgs.builder()
                .organizationId("string")
                .rules(ApplianceVpnVpnFirewallRulesRuleArgs.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())
                .syslogDefaultRule(false)
                .build());
    
            ctx.export("merakiOrganizationsApplianceVpnVpnFirewallRulesExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:organizations:ApplianceVpnVpnFirewallRules
        properties:
          organizationId: 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
          syslogDefaultRule: false
    outputs:
      merakiOrganizationsApplianceVpnVpnFirewallRulesExample: ${example}
    

    Create ApplianceVpnVpnFirewallRules Resource

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

    Constructor syntax

    new ApplianceVpnVpnFirewallRules(name: string, args: ApplianceVpnVpnFirewallRulesArgs, opts?: CustomResourceOptions);
    @overload
    def ApplianceVpnVpnFirewallRules(resource_name: str,
                                     args: ApplianceVpnVpnFirewallRulesArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplianceVpnVpnFirewallRules(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     organization_id: Optional[str] = None,
                                     rules: Optional[Sequence[ApplianceVpnVpnFirewallRulesRuleArgs]] = None,
                                     syslog_default_rule: Optional[bool] = None)
    func NewApplianceVpnVpnFirewallRules(ctx *Context, name string, args ApplianceVpnVpnFirewallRulesArgs, opts ...ResourceOption) (*ApplianceVpnVpnFirewallRules, error)
    public ApplianceVpnVpnFirewallRules(string name, ApplianceVpnVpnFirewallRulesArgs args, CustomResourceOptions? opts = null)
    public ApplianceVpnVpnFirewallRules(String name, ApplianceVpnVpnFirewallRulesArgs args)
    public ApplianceVpnVpnFirewallRules(String name, ApplianceVpnVpnFirewallRulesArgs args, CustomResourceOptions options)
    
    type: meraki:organizations:ApplianceVpnVpnFirewallRules
    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 ApplianceVpnVpnFirewallRulesArgs
    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 ApplianceVpnVpnFirewallRulesArgs
    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 ApplianceVpnVpnFirewallRulesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplianceVpnVpnFirewallRulesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplianceVpnVpnFirewallRulesArgs
    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 applianceVpnVpnFirewallRulesResource = new Meraki.Organizations.ApplianceVpnVpnFirewallRules("applianceVpnVpnFirewallRulesResource", new()
    {
        OrganizationId = "string",
        Rules = new[]
        {
            new Meraki.Organizations.Inputs.ApplianceVpnVpnFirewallRulesRuleArgs
            {
                Comment = "string",
                DestCidr = "string",
                DestPort = "string",
                Policy = "string",
                Protocol = "string",
                SrcCidr = "string",
                SrcPort = "string",
                SyslogEnabled = false,
            },
        },
        SyslogDefaultRule = false,
    });
    
    example, err := organizations.NewApplianceVpnVpnFirewallRules(ctx, "applianceVpnVpnFirewallRulesResource", &organizations.ApplianceVpnVpnFirewallRulesArgs{
    	OrganizationId: pulumi.String("string"),
    	Rules: organizations.ApplianceVpnVpnFirewallRulesRuleArray{
    		&organizations.ApplianceVpnVpnFirewallRulesRuleArgs{
    			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),
    		},
    	},
    	SyslogDefaultRule: pulumi.Bool(false),
    })
    
    var applianceVpnVpnFirewallRulesResource = new ApplianceVpnVpnFirewallRules("applianceVpnVpnFirewallRulesResource", ApplianceVpnVpnFirewallRulesArgs.builder()
        .organizationId("string")
        .rules(ApplianceVpnVpnFirewallRulesRuleArgs.builder()
            .comment("string")
            .destCidr("string")
            .destPort("string")
            .policy("string")
            .protocol("string")
            .srcCidr("string")
            .srcPort("string")
            .syslogEnabled(false)
            .build())
        .syslogDefaultRule(false)
        .build());
    
    appliance_vpn_vpn_firewall_rules_resource = meraki.organizations.ApplianceVpnVpnFirewallRules("applianceVpnVpnFirewallRulesResource",
        organization_id="string",
        rules=[{
            "comment": "string",
            "dest_cidr": "string",
            "dest_port": "string",
            "policy": "string",
            "protocol": "string",
            "src_cidr": "string",
            "src_port": "string",
            "syslog_enabled": False,
        }],
        syslog_default_rule=False)
    
    const applianceVpnVpnFirewallRulesResource = new meraki.organizations.ApplianceVpnVpnFirewallRules("applianceVpnVpnFirewallRulesResource", {
        organizationId: "string",
        rules: [{
            comment: "string",
            destCidr: "string",
            destPort: "string",
            policy: "string",
            protocol: "string",
            srcCidr: "string",
            srcPort: "string",
            syslogEnabled: false,
        }],
        syslogDefaultRule: false,
    });
    
    type: meraki:organizations:ApplianceVpnVpnFirewallRules
    properties:
        organizationId: string
        rules:
            - comment: string
              destCidr: string
              destPort: string
              policy: string
              protocol: string
              srcCidr: string
              srcPort: string
              syslogEnabled: false
        syslogDefaultRule: false
    

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

    OrganizationId string
    organizationId path parameter. Organization ID
    Rules List<ApplianceVpnVpnFirewallRulesRule>
    An ordered array of the firewall rules (not including the default rule)
    SyslogDefaultRule bool
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
    OrganizationId string
    organizationId path parameter. Organization ID
    Rules []ApplianceVpnVpnFirewallRulesRuleArgs
    An ordered array of the firewall rules (not including the default rule)
    SyslogDefaultRule bool
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
    organizationId String
    organizationId path parameter. Organization ID
    rules List<ApplianceVpnVpnFirewallRulesRule>
    An ordered array of the firewall rules (not including the default rule)
    syslogDefaultRule Boolean
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
    organizationId string
    organizationId path parameter. Organization ID
    rules ApplianceVpnVpnFirewallRulesRule[]
    An ordered array of the firewall rules (not including the default rule)
    syslogDefaultRule boolean
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
    organization_id str
    organizationId path parameter. Organization ID
    rules Sequence[ApplianceVpnVpnFirewallRulesRuleArgs]
    An ordered array of the firewall rules (not including the default rule)
    syslog_default_rule bool
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
    organizationId String
    organizationId path parameter. Organization ID
    rules List<Property Map>
    An ordered array of the firewall rules (not including the default rule)
    syslogDefaultRule Boolean
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)

    Outputs

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

    Get an existing ApplianceVpnVpnFirewallRules 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?: ApplianceVpnVpnFirewallRulesState, opts?: CustomResourceOptions): ApplianceVpnVpnFirewallRules
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            organization_id: Optional[str] = None,
            rules: Optional[Sequence[ApplianceVpnVpnFirewallRulesRuleArgs]] = None,
            syslog_default_rule: Optional[bool] = None) -> ApplianceVpnVpnFirewallRules
    func GetApplianceVpnVpnFirewallRules(ctx *Context, name string, id IDInput, state *ApplianceVpnVpnFirewallRulesState, opts ...ResourceOption) (*ApplianceVpnVpnFirewallRules, error)
    public static ApplianceVpnVpnFirewallRules Get(string name, Input<string> id, ApplianceVpnVpnFirewallRulesState? state, CustomResourceOptions? opts = null)
    public static ApplianceVpnVpnFirewallRules get(String name, Output<String> id, ApplianceVpnVpnFirewallRulesState 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:
    OrganizationId string
    organizationId path parameter. Organization ID
    Rules List<ApplianceVpnVpnFirewallRulesRule>
    An ordered array of the firewall rules (not including the default rule)
    SyslogDefaultRule bool
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
    OrganizationId string
    organizationId path parameter. Organization ID
    Rules []ApplianceVpnVpnFirewallRulesRuleArgs
    An ordered array of the firewall rules (not including the default rule)
    SyslogDefaultRule bool
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
    organizationId String
    organizationId path parameter. Organization ID
    rules List<ApplianceVpnVpnFirewallRulesRule>
    An ordered array of the firewall rules (not including the default rule)
    syslogDefaultRule Boolean
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
    organizationId string
    organizationId path parameter. Organization ID
    rules ApplianceVpnVpnFirewallRulesRule[]
    An ordered array of the firewall rules (not including the default rule)
    syslogDefaultRule boolean
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
    organization_id str
    organizationId path parameter. Organization ID
    rules Sequence[ApplianceVpnVpnFirewallRulesRuleArgs]
    An ordered array of the firewall rules (not including the default rule)
    syslog_default_rule bool
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
    organizationId String
    organizationId path parameter. Organization ID
    rules List<Property Map>
    An ordered array of the firewall rules (not including the default rule)
    syslogDefaultRule Boolean
    Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)

    Supporting Types

    ApplianceVpnVpnFirewallRulesRule, ApplianceVpnVpnFirewallRulesRuleArgs

    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:organizations/applianceVpnVpnFirewallRules:ApplianceVpnVpnFirewallRules example "organization_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