meraki.organizations.ApplianceVpnVpnFirewallRules
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.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=[meraki.organizations.ApplianceVpnVpnFirewallRulesRuleArgs(
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
The ApplianceVpnVpnFirewallRules resource accepts the following input properties:
- Organization
Id string - organizationId path parameter. Organization ID
- Rules
List<Appliance
Vpn Vpn Firewall Rules Rule> - An ordered array of the firewall rules (not including the default rule)
- Syslog
Default boolRule - Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
- Organization
Id string - organizationId path parameter. Organization ID
- Rules
[]Appliance
Vpn Vpn Firewall Rules Rule Args - An ordered array of the firewall rules (not including the default rule)
- Syslog
Default boolRule - Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
- organization
Id String - organizationId path parameter. Organization ID
- rules
List<Appliance
Vpn Vpn Firewall Rules Rule> - An ordered array of the firewall rules (not including the default rule)
- syslog
Default BooleanRule - Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
- organization
Id string - organizationId path parameter. Organization ID
- rules
Appliance
Vpn Vpn Firewall Rules Rule[] - An ordered array of the firewall rules (not including the default rule)
- syslog
Default booleanRule - 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[Appliance
Vpn Vpn Firewall Rules Rule Args] - An ordered array of the firewall rules (not including the default rule)
- syslog_
default_ boolrule - Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
- organization
Id String - organizationId path parameter. Organization ID
- rules List<Property Map>
- An ordered array of the firewall rules (not including the default rule)
- syslog
Default BooleanRule - 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.
- Organization
Id string - organizationId path parameter. Organization ID
- Rules
List<Appliance
Vpn Vpn Firewall Rules Rule> - An ordered array of the firewall rules (not including the default rule)
- Syslog
Default boolRule - Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
- Organization
Id string - organizationId path parameter. Organization ID
- Rules
[]Appliance
Vpn Vpn Firewall Rules Rule Args - An ordered array of the firewall rules (not including the default rule)
- Syslog
Default boolRule - Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
- organization
Id String - organizationId path parameter. Organization ID
- rules
List<Appliance
Vpn Vpn Firewall Rules Rule> - An ordered array of the firewall rules (not including the default rule)
- syslog
Default BooleanRule - Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
- organization
Id string - organizationId path parameter. Organization ID
- rules
Appliance
Vpn Vpn Firewall Rules Rule[] - An ordered array of the firewall rules (not including the default rule)
- syslog
Default booleanRule - 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[Appliance
Vpn Vpn Firewall Rules Rule Args] - An ordered array of the firewall rules (not including the default rule)
- syslog_
default_ boolrule - Log the special default rule (boolean value - enable only if you've configured a syslog server) (optional)
- organization
Id String - organizationId path parameter. Organization ID
- rules List<Property Map>
- An ordered array of the firewall rules (not including the default rule)
- syslog
Default BooleanRule - 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)
- 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: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.