meraki.networks.ApplianceSecurityIntrusion
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.ApplianceSecurityIntrusion;
import com.pulumi.meraki.networks.ApplianceSecurityIntrusionArgs;
import com.pulumi.meraki.networks.inputs.ApplianceSecurityIntrusionProtectedNetworksArgs;
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 ApplianceSecurityIntrusion("example", ApplianceSecurityIntrusionArgs.builder()
.idsRulesets("balanced")
.mode("prevention")
.networkId("string")
.protectedNetworks(ApplianceSecurityIntrusionProtectedNetworksArgs.builder()
.excluded_cidr(
"10.0.0.0/8",
"127.0.0.0/8")
.included_cidr(
"10.0.0.0/8",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12")
.use_default(false)
.build())
.build());
ctx.export("merakiNetworksApplianceSecurityIntrusionExample", example);
}
}
resources:
example:
type: meraki:networks:ApplianceSecurityIntrusion
properties:
idsRulesets: balanced
mode: prevention
networkId: string
protectedNetworks:
excluded_cidr:
- 10.0.0.0/8
- 127.0.0.0/8
included_cidr:
- 10.0.0.0/8
- 127.0.0.0/8
- 169.254.0.0/16
- 172.16.0.0/12
use_default: false
outputs:
merakiNetworksApplianceSecurityIntrusionExample: ${example}
Create ApplianceSecurityIntrusion Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApplianceSecurityIntrusion(name: string, args: ApplianceSecurityIntrusionArgs, opts?: CustomResourceOptions);
@overload
def ApplianceSecurityIntrusion(resource_name: str,
args: ApplianceSecurityIntrusionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApplianceSecurityIntrusion(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
ids_rulesets: Optional[str] = None,
mode: Optional[str] = None,
protected_networks: Optional[ApplianceSecurityIntrusionProtectedNetworksArgs] = None)
func NewApplianceSecurityIntrusion(ctx *Context, name string, args ApplianceSecurityIntrusionArgs, opts ...ResourceOption) (*ApplianceSecurityIntrusion, error)
public ApplianceSecurityIntrusion(string name, ApplianceSecurityIntrusionArgs args, CustomResourceOptions? opts = null)
public ApplianceSecurityIntrusion(String name, ApplianceSecurityIntrusionArgs args)
public ApplianceSecurityIntrusion(String name, ApplianceSecurityIntrusionArgs args, CustomResourceOptions options)
type: meraki:networks:ApplianceSecurityIntrusion
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 ApplianceSecurityIntrusionArgs
- 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 ApplianceSecurityIntrusionArgs
- 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 ApplianceSecurityIntrusionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplianceSecurityIntrusionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplianceSecurityIntrusionArgs
- 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 applianceSecurityIntrusionResource = new Meraki.Networks.ApplianceSecurityIntrusion("applianceSecurityIntrusionResource", new()
{
NetworkId = "string",
IdsRulesets = "string",
Mode = "string",
ProtectedNetworks = new Meraki.Networks.Inputs.ApplianceSecurityIntrusionProtectedNetworksArgs
{
ExcludedCidrs = new[]
{
"string",
},
IncludedCidrs = new[]
{
"string",
},
UseDefault = false,
},
});
example, err := networks.NewApplianceSecurityIntrusion(ctx, "applianceSecurityIntrusionResource", &networks.ApplianceSecurityIntrusionArgs{
NetworkId: pulumi.String("string"),
IdsRulesets: pulumi.String("string"),
Mode: pulumi.String("string"),
ProtectedNetworks: &networks.ApplianceSecurityIntrusionProtectedNetworksArgs{
ExcludedCidrs: pulumi.StringArray{
pulumi.String("string"),
},
IncludedCidrs: pulumi.StringArray{
pulumi.String("string"),
},
UseDefault: pulumi.Bool(false),
},
})
var applianceSecurityIntrusionResource = new ApplianceSecurityIntrusion("applianceSecurityIntrusionResource", ApplianceSecurityIntrusionArgs.builder()
.networkId("string")
.idsRulesets("string")
.mode("string")
.protectedNetworks(ApplianceSecurityIntrusionProtectedNetworksArgs.builder()
.excludedCidrs("string")
.includedCidrs("string")
.useDefault(false)
.build())
.build());
appliance_security_intrusion_resource = meraki.networks.ApplianceSecurityIntrusion("applianceSecurityIntrusionResource",
network_id="string",
ids_rulesets="string",
mode="string",
protected_networks=meraki.networks.ApplianceSecurityIntrusionProtectedNetworksArgs(
excluded_cidrs=["string"],
included_cidrs=["string"],
use_default=False,
))
const applianceSecurityIntrusionResource = new meraki.networks.ApplianceSecurityIntrusion("applianceSecurityIntrusionResource", {
networkId: "string",
idsRulesets: "string",
mode: "string",
protectedNetworks: {
excludedCidrs: ["string"],
includedCidrs: ["string"],
useDefault: false,
},
});
type: meraki:networks:ApplianceSecurityIntrusion
properties:
idsRulesets: string
mode: string
networkId: string
protectedNetworks:
excludedCidrs:
- string
includedCidrs:
- string
useDefault: false
ApplianceSecurityIntrusion 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 ApplianceSecurityIntrusion resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Ids
Rulesets string - Intrusion detection ruleset
- Mode string
- Intrusion detection mode
- Protected
Networks ApplianceSecurity Intrusion Protected Networks - Networks included in and excluded from the detection engine
- Network
Id string - networkId path parameter. Network ID
- Ids
Rulesets string - Intrusion detection ruleset
- Mode string
- Intrusion detection mode
- Protected
Networks ApplianceSecurity Intrusion Protected Networks Args - Networks included in and excluded from the detection engine
- network
Id String - networkId path parameter. Network ID
- ids
Rulesets String - Intrusion detection ruleset
- mode String
- Intrusion detection mode
- protected
Networks ApplianceSecurity Intrusion Protected Networks - Networks included in and excluded from the detection engine
- network
Id string - networkId path parameter. Network ID
- ids
Rulesets string - Intrusion detection ruleset
- mode string
- Intrusion detection mode
- protected
Networks ApplianceSecurity Intrusion Protected Networks - Networks included in and excluded from the detection engine
- network_
id str - networkId path parameter. Network ID
- ids_
rulesets str - Intrusion detection ruleset
- mode str
- Intrusion detection mode
- protected_
networks ApplianceSecurity Intrusion Protected Networks Args - Networks included in and excluded from the detection engine
- network
Id String - networkId path parameter. Network ID
- ids
Rulesets String - Intrusion detection ruleset
- mode String
- Intrusion detection mode
- protected
Networks Property Map - Networks included in and excluded from the detection engine
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplianceSecurityIntrusion 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 ApplianceSecurityIntrusion Resource
Get an existing ApplianceSecurityIntrusion 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?: ApplianceSecurityIntrusionState, opts?: CustomResourceOptions): ApplianceSecurityIntrusion
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ids_rulesets: Optional[str] = None,
mode: Optional[str] = None,
network_id: Optional[str] = None,
protected_networks: Optional[ApplianceSecurityIntrusionProtectedNetworksArgs] = None) -> ApplianceSecurityIntrusion
func GetApplianceSecurityIntrusion(ctx *Context, name string, id IDInput, state *ApplianceSecurityIntrusionState, opts ...ResourceOption) (*ApplianceSecurityIntrusion, error)
public static ApplianceSecurityIntrusion Get(string name, Input<string> id, ApplianceSecurityIntrusionState? state, CustomResourceOptions? opts = null)
public static ApplianceSecurityIntrusion get(String name, Output<String> id, ApplianceSecurityIntrusionState 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.
- Ids
Rulesets string - Intrusion detection ruleset
- Mode string
- Intrusion detection mode
- Network
Id string - networkId path parameter. Network ID
- Protected
Networks ApplianceSecurity Intrusion Protected Networks - Networks included in and excluded from the detection engine
- Ids
Rulesets string - Intrusion detection ruleset
- Mode string
- Intrusion detection mode
- Network
Id string - networkId path parameter. Network ID
- Protected
Networks ApplianceSecurity Intrusion Protected Networks Args - Networks included in and excluded from the detection engine
- ids
Rulesets String - Intrusion detection ruleset
- mode String
- Intrusion detection mode
- network
Id String - networkId path parameter. Network ID
- protected
Networks ApplianceSecurity Intrusion Protected Networks - Networks included in and excluded from the detection engine
- ids
Rulesets string - Intrusion detection ruleset
- mode string
- Intrusion detection mode
- network
Id string - networkId path parameter. Network ID
- protected
Networks ApplianceSecurity Intrusion Protected Networks - Networks included in and excluded from the detection engine
- ids_
rulesets str - Intrusion detection ruleset
- mode str
- Intrusion detection mode
- network_
id str - networkId path parameter. Network ID
- protected_
networks ApplianceSecurity Intrusion Protected Networks Args - Networks included in and excluded from the detection engine
- ids
Rulesets String - Intrusion detection ruleset
- mode String
- Intrusion detection mode
- network
Id String - networkId path parameter. Network ID
- protected
Networks Property Map - Networks included in and excluded from the detection engine
Supporting Types
ApplianceSecurityIntrusionProtectedNetworks, ApplianceSecurityIntrusionProtectedNetworksArgs
- Excluded
Cidrs List<string> - List of IP addresses or subnets being excluded from protection
- Included
Cidrs List<string> - List of IP addresses or subnets being protected
- Use
Default bool - Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
- Excluded
Cidrs []string - List of IP addresses or subnets being excluded from protection
- Included
Cidrs []string - List of IP addresses or subnets being protected
- Use
Default bool - Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
- excluded
Cidrs List<String> - List of IP addresses or subnets being excluded from protection
- included
Cidrs List<String> - List of IP addresses or subnets being protected
- use
Default Boolean - Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
- excluded
Cidrs string[] - List of IP addresses or subnets being excluded from protection
- included
Cidrs string[] - List of IP addresses or subnets being protected
- use
Default boolean - Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
- excluded_
cidrs Sequence[str] - List of IP addresses or subnets being excluded from protection
- included_
cidrs Sequence[str] - List of IP addresses or subnets being protected
- use_
default bool - Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
- excluded
Cidrs List<String> - List of IP addresses or subnets being excluded from protection
- included
Cidrs List<String> - List of IP addresses or subnets being protected
- use
Default Boolean - Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
Import
$ pulumi import meraki:networks/applianceSecurityIntrusion:ApplianceSecurityIntrusion 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.