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

meraki.networks.ApplianceFirewallSettings

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.networks.ApplianceFirewallSettings;
    import com.pulumi.meraki.networks.ApplianceFirewallSettingsArgs;
    import com.pulumi.meraki.networks.inputs.ApplianceFirewallSettingsSpoofingProtectionArgs;
    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 ApplianceFirewallSettings("example", ApplianceFirewallSettingsArgs.builder()
                .networkId("string")
                .spoofingProtection(ApplianceFirewallSettingsSpoofingProtectionArgs.builder()
                    .ip_source_guard(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .build())
                .build());
    
            ctx.export("merakiNetworksApplianceFirewallSettingsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:ApplianceFirewallSettings
        properties:
          networkId: string
          spoofingProtection:
            ip_source_guard:
              mode: block
    outputs:
      merakiNetworksApplianceFirewallSettingsExample: ${example}
    

    Create ApplianceFirewallSettings Resource

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

    Constructor syntax

    new ApplianceFirewallSettings(name: string, args: ApplianceFirewallSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def ApplianceFirewallSettings(resource_name: str,
                                  args: ApplianceFirewallSettingsArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplianceFirewallSettings(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  network_id: Optional[str] = None,
                                  spoofing_protection: Optional[ApplianceFirewallSettingsSpoofingProtectionArgs] = None)
    func NewApplianceFirewallSettings(ctx *Context, name string, args ApplianceFirewallSettingsArgs, opts ...ResourceOption) (*ApplianceFirewallSettings, error)
    public ApplianceFirewallSettings(string name, ApplianceFirewallSettingsArgs args, CustomResourceOptions? opts = null)
    public ApplianceFirewallSettings(String name, ApplianceFirewallSettingsArgs args)
    public ApplianceFirewallSettings(String name, ApplianceFirewallSettingsArgs args, CustomResourceOptions options)
    
    type: meraki:networks:ApplianceFirewallSettings
    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 ApplianceFirewallSettingsArgs
    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 ApplianceFirewallSettingsArgs
    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 ApplianceFirewallSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplianceFirewallSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplianceFirewallSettingsArgs
    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 applianceFirewallSettingsResource = new Meraki.Networks.ApplianceFirewallSettings("applianceFirewallSettingsResource", new()
    {
        NetworkId = "string",
        SpoofingProtection = new Meraki.Networks.Inputs.ApplianceFirewallSettingsSpoofingProtectionArgs
        {
            IpSourceGuard = new Meraki.Networks.Inputs.ApplianceFirewallSettingsSpoofingProtectionIpSourceGuardArgs
            {
                Mode = "string",
            },
        },
    });
    
    example, err := networks.NewApplianceFirewallSettings(ctx, "applianceFirewallSettingsResource", &networks.ApplianceFirewallSettingsArgs{
    	NetworkId: pulumi.String("string"),
    	SpoofingProtection: &networks.ApplianceFirewallSettingsSpoofingProtectionArgs{
    		IpSourceGuard: &networks.ApplianceFirewallSettingsSpoofingProtectionIpSourceGuardArgs{
    			Mode: pulumi.String("string"),
    		},
    	},
    })
    
    var applianceFirewallSettingsResource = new ApplianceFirewallSettings("applianceFirewallSettingsResource", ApplianceFirewallSettingsArgs.builder()
        .networkId("string")
        .spoofingProtection(ApplianceFirewallSettingsSpoofingProtectionArgs.builder()
            .ipSourceGuard(ApplianceFirewallSettingsSpoofingProtectionIpSourceGuardArgs.builder()
                .mode("string")
                .build())
            .build())
        .build());
    
    appliance_firewall_settings_resource = meraki.networks.ApplianceFirewallSettings("applianceFirewallSettingsResource",
        network_id="string",
        spoofing_protection={
            "ip_source_guard": {
                "mode": "string",
            },
        })
    
    const applianceFirewallSettingsResource = new meraki.networks.ApplianceFirewallSettings("applianceFirewallSettingsResource", {
        networkId: "string",
        spoofingProtection: {
            ipSourceGuard: {
                mode: "string",
            },
        },
    });
    
    type: meraki:networks:ApplianceFirewallSettings
    properties:
        networkId: string
        spoofingProtection:
            ipSourceGuard:
                mode: string
    

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

    NetworkId string
    networkId path parameter. Network ID
    SpoofingProtection ApplianceFirewallSettingsSpoofingProtection
    Spoofing protection settings
    NetworkId string
    networkId path parameter. Network ID
    SpoofingProtection ApplianceFirewallSettingsSpoofingProtectionArgs
    Spoofing protection settings
    networkId String
    networkId path parameter. Network ID
    spoofingProtection ApplianceFirewallSettingsSpoofingProtection
    Spoofing protection settings
    networkId string
    networkId path parameter. Network ID
    spoofingProtection ApplianceFirewallSettingsSpoofingProtection
    Spoofing protection settings
    network_id str
    networkId path parameter. Network ID
    spoofing_protection ApplianceFirewallSettingsSpoofingProtectionArgs
    Spoofing protection settings
    networkId String
    networkId path parameter. Network ID
    spoofingProtection Property Map
    Spoofing protection settings

    Outputs

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

    Get an existing ApplianceFirewallSettings 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?: ApplianceFirewallSettingsState, opts?: CustomResourceOptions): ApplianceFirewallSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            network_id: Optional[str] = None,
            spoofing_protection: Optional[ApplianceFirewallSettingsSpoofingProtectionArgs] = None) -> ApplianceFirewallSettings
    func GetApplianceFirewallSettings(ctx *Context, name string, id IDInput, state *ApplianceFirewallSettingsState, opts ...ResourceOption) (*ApplianceFirewallSettings, error)
    public static ApplianceFirewallSettings Get(string name, Input<string> id, ApplianceFirewallSettingsState? state, CustomResourceOptions? opts = null)
    public static ApplianceFirewallSettings get(String name, Output<String> id, ApplianceFirewallSettingsState 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
    SpoofingProtection ApplianceFirewallSettingsSpoofingProtection
    Spoofing protection settings
    NetworkId string
    networkId path parameter. Network ID
    SpoofingProtection ApplianceFirewallSettingsSpoofingProtectionArgs
    Spoofing protection settings
    networkId String
    networkId path parameter. Network ID
    spoofingProtection ApplianceFirewallSettingsSpoofingProtection
    Spoofing protection settings
    networkId string
    networkId path parameter. Network ID
    spoofingProtection ApplianceFirewallSettingsSpoofingProtection
    Spoofing protection settings
    network_id str
    networkId path parameter. Network ID
    spoofing_protection ApplianceFirewallSettingsSpoofingProtectionArgs
    Spoofing protection settings
    networkId String
    networkId path parameter. Network ID
    spoofingProtection Property Map
    Spoofing protection settings

    Supporting Types

    ApplianceFirewallSettingsSpoofingProtection, ApplianceFirewallSettingsSpoofingProtectionArgs

    ipSourceGuard Property Map
    IP source address spoofing settings

    ApplianceFirewallSettingsSpoofingProtectionIpSourceGuard, ApplianceFirewallSettingsSpoofingProtectionIpSourceGuardArgs

    Mode string
    Mode of protection
    Mode string
    Mode of protection
    mode String
    Mode of protection
    mode string
    Mode of protection
    mode str
    Mode of protection
    mode String
    Mode of protection

    Import

    $ pulumi import meraki:networks/applianceFirewallSettings:ApplianceFirewallSettings 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.3.2 published on Tuesday, Sep 24, 2024 by Pulumi