1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. ApplianceFirewallFirewalledServices
Cisco Meraki v0.2.9 published on Tuesday, Jul 16, 2024 by Pulumi

meraki.networks.ApplianceFirewallFirewalledServices

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.9 published on Tuesday, Jul 16, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.networks.ApplianceFirewallFirewalledServices("example", {
        access: "restricted",
        allowedIps: ["123.123.123.1"],
        networkId: "string",
        service: "string",
    });
    export const merakiNetworksApplianceFirewallFirewalledServicesExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.ApplianceFirewallFirewalledServices("example",
        access="restricted",
        allowed_ips=["123.123.123.1"],
        network_id="string",
        service="string")
    pulumi.export("merakiNetworksApplianceFirewallFirewalledServicesExample", example)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := networks.NewApplianceFirewallFirewalledServices(ctx, "example", &networks.ApplianceFirewallFirewalledServicesArgs{
    			Access: pulumi.String("restricted"),
    			AllowedIps: pulumi.StringArray{
    				pulumi.String("123.123.123.1"),
    			},
    			NetworkId: pulumi.String("string"),
    			Service:   pulumi.String("string"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksApplianceFirewallFirewalledServicesExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Networks.ApplianceFirewallFirewalledServices("example", new()
        {
            Access = "restricted",
            AllowedIps = new[]
            {
                "123.123.123.1",
            },
            NetworkId = "string",
            Service = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksApplianceFirewallFirewalledServicesExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.ApplianceFirewallFirewalledServices;
    import com.pulumi.meraki.networks.ApplianceFirewallFirewalledServicesArgs;
    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 ApplianceFirewallFirewalledServices("example", ApplianceFirewallFirewalledServicesArgs.builder()
                .access("restricted")
                .allowedIps("123.123.123.1")
                .networkId("string")
                .service("string")
                .build());
    
            ctx.export("merakiNetworksApplianceFirewallFirewalledServicesExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:ApplianceFirewallFirewalledServices
        properties:
          access: restricted
          allowedIps:
            - 123.123.123.1
          networkId: string
          service: string
    outputs:
      merakiNetworksApplianceFirewallFirewalledServicesExample: ${example}
    

    Create ApplianceFirewallFirewalledServices Resource

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

    Constructor syntax

    new ApplianceFirewallFirewalledServices(name: string, args: ApplianceFirewallFirewalledServicesArgs, opts?: CustomResourceOptions);
    @overload
    def ApplianceFirewallFirewalledServices(resource_name: str,
                                            args: ApplianceFirewallFirewalledServicesArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplianceFirewallFirewalledServices(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            network_id: Optional[str] = None,
                                            service: Optional[str] = None,
                                            access: Optional[str] = None,
                                            allowed_ips: Optional[Sequence[str]] = None)
    func NewApplianceFirewallFirewalledServices(ctx *Context, name string, args ApplianceFirewallFirewalledServicesArgs, opts ...ResourceOption) (*ApplianceFirewallFirewalledServices, error)
    public ApplianceFirewallFirewalledServices(string name, ApplianceFirewallFirewalledServicesArgs args, CustomResourceOptions? opts = null)
    public ApplianceFirewallFirewalledServices(String name, ApplianceFirewallFirewalledServicesArgs args)
    public ApplianceFirewallFirewalledServices(String name, ApplianceFirewallFirewalledServicesArgs args, CustomResourceOptions options)
    
    type: meraki:networks:ApplianceFirewallFirewalledServices
    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 ApplianceFirewallFirewalledServicesArgs
    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 ApplianceFirewallFirewalledServicesArgs
    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 ApplianceFirewallFirewalledServicesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplianceFirewallFirewalledServicesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplianceFirewallFirewalledServicesArgs
    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 applianceFirewallFirewalledServicesResource = new Meraki.Networks.ApplianceFirewallFirewalledServices("applianceFirewallFirewalledServicesResource", new()
    {
        NetworkId = "string",
        Service = "string",
        Access = "string",
        AllowedIps = new[]
        {
            "string",
        },
    });
    
    example, err := networks.NewApplianceFirewallFirewalledServices(ctx, "applianceFirewallFirewalledServicesResource", &networks.ApplianceFirewallFirewalledServicesArgs{
    	NetworkId: pulumi.String("string"),
    	Service:   pulumi.String("string"),
    	Access:    pulumi.String("string"),
    	AllowedIps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var applianceFirewallFirewalledServicesResource = new ApplianceFirewallFirewalledServices("applianceFirewallFirewalledServicesResource", ApplianceFirewallFirewalledServicesArgs.builder()
        .networkId("string")
        .service("string")
        .access("string")
        .allowedIps("string")
        .build());
    
    appliance_firewall_firewalled_services_resource = meraki.networks.ApplianceFirewallFirewalledServices("applianceFirewallFirewalledServicesResource",
        network_id="string",
        service="string",
        access="string",
        allowed_ips=["string"])
    
    const applianceFirewallFirewalledServicesResource = new meraki.networks.ApplianceFirewallFirewalledServices("applianceFirewallFirewalledServicesResource", {
        networkId: "string",
        service: "string",
        access: "string",
        allowedIps: ["string"],
    });
    
    type: meraki:networks:ApplianceFirewallFirewalledServices
    properties:
        access: string
        allowedIps:
            - string
        networkId: string
        service: string
    

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

    NetworkId string
    networkId path parameter. Network ID
    Service string
    Appliance service name
    Access string
    A string indicating the rule for which IPs are allowed to use the specified service
    AllowedIps List<string>
    An array of allowed IPs that can access the service
    NetworkId string
    networkId path parameter. Network ID
    Service string
    Appliance service name
    Access string
    A string indicating the rule for which IPs are allowed to use the specified service
    AllowedIps []string
    An array of allowed IPs that can access the service
    networkId String
    networkId path parameter. Network ID
    service String
    Appliance service name
    access String
    A string indicating the rule for which IPs are allowed to use the specified service
    allowedIps List<String>
    An array of allowed IPs that can access the service
    networkId string
    networkId path parameter. Network ID
    service string
    Appliance service name
    access string
    A string indicating the rule for which IPs are allowed to use the specified service
    allowedIps string[]
    An array of allowed IPs that can access the service
    network_id str
    networkId path parameter. Network ID
    service str
    Appliance service name
    access str
    A string indicating the rule for which IPs are allowed to use the specified service
    allowed_ips Sequence[str]
    An array of allowed IPs that can access the service
    networkId String
    networkId path parameter. Network ID
    service String
    Appliance service name
    access String
    A string indicating the rule for which IPs are allowed to use the specified service
    allowedIps List<String>
    An array of allowed IPs that can access the service

    Outputs

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

    Get an existing ApplianceFirewallFirewalledServices 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?: ApplianceFirewallFirewalledServicesState, opts?: CustomResourceOptions): ApplianceFirewallFirewalledServices
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access: Optional[str] = None,
            allowed_ips: Optional[Sequence[str]] = None,
            network_id: Optional[str] = None,
            service: Optional[str] = None) -> ApplianceFirewallFirewalledServices
    func GetApplianceFirewallFirewalledServices(ctx *Context, name string, id IDInput, state *ApplianceFirewallFirewalledServicesState, opts ...ResourceOption) (*ApplianceFirewallFirewalledServices, error)
    public static ApplianceFirewallFirewalledServices Get(string name, Input<string> id, ApplianceFirewallFirewalledServicesState? state, CustomResourceOptions? opts = null)
    public static ApplianceFirewallFirewalledServices get(String name, Output<String> id, ApplianceFirewallFirewalledServicesState 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:
    Access string
    A string indicating the rule for which IPs are allowed to use the specified service
    AllowedIps List<string>
    An array of allowed IPs that can access the service
    NetworkId string
    networkId path parameter. Network ID
    Service string
    Appliance service name
    Access string
    A string indicating the rule for which IPs are allowed to use the specified service
    AllowedIps []string
    An array of allowed IPs that can access the service
    NetworkId string
    networkId path parameter. Network ID
    Service string
    Appliance service name
    access String
    A string indicating the rule for which IPs are allowed to use the specified service
    allowedIps List<String>
    An array of allowed IPs that can access the service
    networkId String
    networkId path parameter. Network ID
    service String
    Appliance service name
    access string
    A string indicating the rule for which IPs are allowed to use the specified service
    allowedIps string[]
    An array of allowed IPs that can access the service
    networkId string
    networkId path parameter. Network ID
    service string
    Appliance service name
    access str
    A string indicating the rule for which IPs are allowed to use the specified service
    allowed_ips Sequence[str]
    An array of allowed IPs that can access the service
    network_id str
    networkId path parameter. Network ID
    service str
    Appliance service name
    access String
    A string indicating the rule for which IPs are allowed to use the specified service
    allowedIps List<String>
    An array of allowed IPs that can access the service
    networkId String
    networkId path parameter. Network ID
    service String
    Appliance service name

    Import

    $ pulumi import meraki:networks/applianceFirewallFirewalledServices:ApplianceFirewallFirewalledServices example "network_id,service"
    

    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.9 published on Tuesday, Jul 16, 2024 by Pulumi