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

meraki.networks.ApplianceSecurityIntrusion

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 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.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:

    NetworkId string
    networkId path parameter. Network ID
    IdsRulesets string
    Intrusion detection ruleset
    Mode string
    Intrusion detection mode
    ProtectedNetworks ApplianceSecurityIntrusionProtectedNetworks
    Networks included in and excluded from the detection engine
    NetworkId string
    networkId path parameter. Network ID
    IdsRulesets string
    Intrusion detection ruleset
    Mode string
    Intrusion detection mode
    ProtectedNetworks ApplianceSecurityIntrusionProtectedNetworksArgs
    Networks included in and excluded from the detection engine
    networkId String
    networkId path parameter. Network ID
    idsRulesets String
    Intrusion detection ruleset
    mode String
    Intrusion detection mode
    protectedNetworks ApplianceSecurityIntrusionProtectedNetworks
    Networks included in and excluded from the detection engine
    networkId string
    networkId path parameter. Network ID
    idsRulesets string
    Intrusion detection ruleset
    mode string
    Intrusion detection mode
    protectedNetworks ApplianceSecurityIntrusionProtectedNetworks
    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 ApplianceSecurityIntrusionProtectedNetworksArgs
    Networks included in and excluded from the detection engine
    networkId String
    networkId path parameter. Network ID
    idsRulesets String
    Intrusion detection ruleset
    mode String
    Intrusion detection mode
    protectedNetworks 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.
    The following state arguments are supported:
    IdsRulesets string
    Intrusion detection ruleset
    Mode string
    Intrusion detection mode
    NetworkId string
    networkId path parameter. Network ID
    ProtectedNetworks ApplianceSecurityIntrusionProtectedNetworks
    Networks included in and excluded from the detection engine
    IdsRulesets string
    Intrusion detection ruleset
    Mode string
    Intrusion detection mode
    NetworkId string
    networkId path parameter. Network ID
    ProtectedNetworks ApplianceSecurityIntrusionProtectedNetworksArgs
    Networks included in and excluded from the detection engine
    idsRulesets String
    Intrusion detection ruleset
    mode String
    Intrusion detection mode
    networkId String
    networkId path parameter. Network ID
    protectedNetworks ApplianceSecurityIntrusionProtectedNetworks
    Networks included in and excluded from the detection engine
    idsRulesets string
    Intrusion detection ruleset
    mode string
    Intrusion detection mode
    networkId string
    networkId path parameter. Network ID
    protectedNetworks ApplianceSecurityIntrusionProtectedNetworks
    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 ApplianceSecurityIntrusionProtectedNetworksArgs
    Networks included in and excluded from the detection engine
    idsRulesets String
    Intrusion detection ruleset
    mode String
    Intrusion detection mode
    networkId String
    networkId path parameter. Network ID
    protectedNetworks Property Map
    Networks included in and excluded from the detection engine

    Supporting Types

    ApplianceSecurityIntrusionProtectedNetworks, ApplianceSecurityIntrusionProtectedNetworksArgs

    ExcludedCidrs List<string>
    List of IP addresses or subnets being excluded from protection
    IncludedCidrs List<string>
    List of IP addresses or subnets being protected
    UseDefault bool
    Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
    ExcludedCidrs []string
    List of IP addresses or subnets being excluded from protection
    IncludedCidrs []string
    List of IP addresses or subnets being protected
    UseDefault bool
    Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
    excludedCidrs List<String>
    List of IP addresses or subnets being excluded from protection
    includedCidrs List<String>
    List of IP addresses or subnets being protected
    useDefault Boolean
    Whether special IPv4 addresses should be used (see: https://tools.ietf.org/html/rfc5735)
    excludedCidrs string[]
    List of IP addresses or subnets being excluded from protection
    includedCidrs string[]
    List of IP addresses or subnets being protected
    useDefault 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)
    excludedCidrs List<String>
    List of IP addresses or subnets being excluded from protection
    includedCidrs List<String>
    List of IP addresses or subnets being protected
    useDefault 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.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi