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

meraki.networks.ApplianceTrafficShapingVpnExclusions

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    ~>Warning: This resource does not represent a real-world entity in Meraki Dashboard, therefore changing or deleting this resource on its own has no immediate effect. Instead, it is a task part of a Meraki Dashboard workflow. It is executed in Meraki without any additional verification. It does not check if it was executed before or if a similar configuration or action already existed previously.

    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.ApplianceTrafficShapingVpnExclusions;
    import com.pulumi.meraki.networks.ApplianceTrafficShapingVpnExclusionsArgs;
    import com.pulumi.meraki.networks.inputs.ApplianceTrafficShapingVpnExclusionsParametersArgs;
    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 ApplianceTrafficShapingVpnExclusions("example", ApplianceTrafficShapingVpnExclusionsArgs.builder()
                .networkId("string")
                .parameters(ApplianceTrafficShapingVpnExclusionsParametersArgs.builder()
                    .custom(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .major_applications(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .build())
                .build());
    
            ctx.export("merakiNetworksApplianceTrafficShapingVpnExclusionsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:ApplianceTrafficShapingVpnExclusions
        properties:
          networkId: string
          parameters:
            custom:
              - destination: 192.168.3.0/24
                port: '8000'
                protocol: tcp
            major_applications:
              - id: meraki:vpnExclusion/application/2
                name: Office 365 Sharepoint
    outputs:
      merakiNetworksApplianceTrafficShapingVpnExclusionsExample: ${example}
    

    Create ApplianceTrafficShapingVpnExclusions Resource

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

    Constructor syntax

    new ApplianceTrafficShapingVpnExclusions(name: string, args: ApplianceTrafficShapingVpnExclusionsArgs, opts?: CustomResourceOptions);
    @overload
    def ApplianceTrafficShapingVpnExclusions(resource_name: str,
                                             args: ApplianceTrafficShapingVpnExclusionsArgs,
                                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplianceTrafficShapingVpnExclusions(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             network_id: Optional[str] = None,
                                             parameters: Optional[ApplianceTrafficShapingVpnExclusionsParametersArgs] = None)
    func NewApplianceTrafficShapingVpnExclusions(ctx *Context, name string, args ApplianceTrafficShapingVpnExclusionsArgs, opts ...ResourceOption) (*ApplianceTrafficShapingVpnExclusions, error)
    public ApplianceTrafficShapingVpnExclusions(string name, ApplianceTrafficShapingVpnExclusionsArgs args, CustomResourceOptions? opts = null)
    public ApplianceTrafficShapingVpnExclusions(String name, ApplianceTrafficShapingVpnExclusionsArgs args)
    public ApplianceTrafficShapingVpnExclusions(String name, ApplianceTrafficShapingVpnExclusionsArgs args, CustomResourceOptions options)
    
    type: meraki:networks:ApplianceTrafficShapingVpnExclusions
    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 ApplianceTrafficShapingVpnExclusionsArgs
    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 ApplianceTrafficShapingVpnExclusionsArgs
    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 ApplianceTrafficShapingVpnExclusionsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplianceTrafficShapingVpnExclusionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplianceTrafficShapingVpnExclusionsArgs
    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 applianceTrafficShapingVpnExclusionsResource = new Meraki.Networks.ApplianceTrafficShapingVpnExclusions("applianceTrafficShapingVpnExclusionsResource", new()
    {
        NetworkId = "string",
        Parameters = new Meraki.Networks.Inputs.ApplianceTrafficShapingVpnExclusionsParametersArgs
        {
            Customs = new[]
            {
                new Meraki.Networks.Inputs.ApplianceTrafficShapingVpnExclusionsParametersCustomArgs
                {
                    Destination = "string",
                    Port = "string",
                    Protocol = "string",
                },
            },
            MajorApplications = new[]
            {
                new Meraki.Networks.Inputs.ApplianceTrafficShapingVpnExclusionsParametersMajorApplicationArgs
                {
                    Id = "string",
                    Name = "string",
                },
            },
        },
    });
    
    example, err := networks.NewApplianceTrafficShapingVpnExclusions(ctx, "applianceTrafficShapingVpnExclusionsResource", &networks.ApplianceTrafficShapingVpnExclusionsArgs{
    	NetworkId: pulumi.String("string"),
    	Parameters: &networks.ApplianceTrafficShapingVpnExclusionsParametersArgs{
    		Customs: networks.ApplianceTrafficShapingVpnExclusionsParametersCustomArray{
    			&networks.ApplianceTrafficShapingVpnExclusionsParametersCustomArgs{
    				Destination: pulumi.String("string"),
    				Port:        pulumi.String("string"),
    				Protocol:    pulumi.String("string"),
    			},
    		},
    		MajorApplications: networks.ApplianceTrafficShapingVpnExclusionsParametersMajorApplicationArray{
    			&networks.ApplianceTrafficShapingVpnExclusionsParametersMajorApplicationArgs{
    				Id:   pulumi.String("string"),
    				Name: pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var applianceTrafficShapingVpnExclusionsResource = new ApplianceTrafficShapingVpnExclusions("applianceTrafficShapingVpnExclusionsResource", ApplianceTrafficShapingVpnExclusionsArgs.builder()
        .networkId("string")
        .parameters(ApplianceTrafficShapingVpnExclusionsParametersArgs.builder()
            .customs(ApplianceTrafficShapingVpnExclusionsParametersCustomArgs.builder()
                .destination("string")
                .port("string")
                .protocol("string")
                .build())
            .majorApplications(ApplianceTrafficShapingVpnExclusionsParametersMajorApplicationArgs.builder()
                .id("string")
                .name("string")
                .build())
            .build())
        .build());
    
    appliance_traffic_shaping_vpn_exclusions_resource = meraki.networks.ApplianceTrafficShapingVpnExclusions("applianceTrafficShapingVpnExclusionsResource",
        network_id="string",
        parameters=meraki.networks.ApplianceTrafficShapingVpnExclusionsParametersArgs(
            customs=[meraki.networks.ApplianceTrafficShapingVpnExclusionsParametersCustomArgs(
                destination="string",
                port="string",
                protocol="string",
            )],
            major_applications=[meraki.networks.ApplianceTrafficShapingVpnExclusionsParametersMajorApplicationArgs(
                id="string",
                name="string",
            )],
        ))
    
    const applianceTrafficShapingVpnExclusionsResource = new meraki.networks.ApplianceTrafficShapingVpnExclusions("applianceTrafficShapingVpnExclusionsResource", {
        networkId: "string",
        parameters: {
            customs: [{
                destination: "string",
                port: "string",
                protocol: "string",
            }],
            majorApplications: [{
                id: "string",
                name: "string",
            }],
        },
    });
    
    type: meraki:networks:ApplianceTrafficShapingVpnExclusions
    properties:
        networkId: string
        parameters:
            customs:
                - destination: string
                  port: string
                  protocol: string
            majorApplications:
                - id: string
                  name: string
    

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

    NetworkId string
    networkId path parameter. Network ID
    Parameters ApplianceTrafficShapingVpnExclusionsParameters
    networkId String
    networkId path parameter. Network ID
    parameters ApplianceTrafficShapingVpnExclusionsParameters
    networkId string
    networkId path parameter. Network ID
    parameters ApplianceTrafficShapingVpnExclusionsParameters
    networkId String
    networkId path parameter. Network ID
    parameters Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ApplianceTrafficShapingVpnExclusions resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item ApplianceTrafficShapingVpnExclusionsItem
    Id string
    The provider-assigned unique ID for this managed resource.
    Item ApplianceTrafficShapingVpnExclusionsItem
    id String
    The provider-assigned unique ID for this managed resource.
    item ApplianceTrafficShapingVpnExclusionsItem
    id string
    The provider-assigned unique ID for this managed resource.
    item ApplianceTrafficShapingVpnExclusionsItem
    id str
    The provider-assigned unique ID for this managed resource.
    item ApplianceTrafficShapingVpnExclusionsItem
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map

    Look up Existing ApplianceTrafficShapingVpnExclusions Resource

    Get an existing ApplianceTrafficShapingVpnExclusions 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?: ApplianceTrafficShapingVpnExclusionsState, opts?: CustomResourceOptions): ApplianceTrafficShapingVpnExclusions
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            item: Optional[ApplianceTrafficShapingVpnExclusionsItemArgs] = None,
            network_id: Optional[str] = None,
            parameters: Optional[ApplianceTrafficShapingVpnExclusionsParametersArgs] = None) -> ApplianceTrafficShapingVpnExclusions
    func GetApplianceTrafficShapingVpnExclusions(ctx *Context, name string, id IDInput, state *ApplianceTrafficShapingVpnExclusionsState, opts ...ResourceOption) (*ApplianceTrafficShapingVpnExclusions, error)
    public static ApplianceTrafficShapingVpnExclusions Get(string name, Input<string> id, ApplianceTrafficShapingVpnExclusionsState? state, CustomResourceOptions? opts = null)
    public static ApplianceTrafficShapingVpnExclusions get(String name, Output<String> id, ApplianceTrafficShapingVpnExclusionsState 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:
    item Property Map
    networkId String
    networkId path parameter. Network ID
    parameters Property Map

    Supporting Types

    ApplianceTrafficShapingVpnExclusionsItem, ApplianceTrafficShapingVpnExclusionsItemArgs

    Customs List<ApplianceTrafficShapingVpnExclusionsItemCustom>
    Custom VPN exclusion rules.
    MajorApplications List<ApplianceTrafficShapingVpnExclusionsItemMajorApplication>
    Major Application based VPN exclusion rules.
    NetworkId string
    ID of the network whose VPN exclusion rules are returned.
    NetworkName string
    Name of the network whose VPN exclusion rules are returned.
    Customs []ApplianceTrafficShapingVpnExclusionsItemCustom
    Custom VPN exclusion rules.
    MajorApplications []ApplianceTrafficShapingVpnExclusionsItemMajorApplication
    Major Application based VPN exclusion rules.
    NetworkId string
    ID of the network whose VPN exclusion rules are returned.
    NetworkName string
    Name of the network whose VPN exclusion rules are returned.
    customs List<ApplianceTrafficShapingVpnExclusionsItemCustom>
    Custom VPN exclusion rules.
    majorApplications List<ApplianceTrafficShapingVpnExclusionsItemMajorApplication>
    Major Application based VPN exclusion rules.
    networkId String
    ID of the network whose VPN exclusion rules are returned.
    networkName String
    Name of the network whose VPN exclusion rules are returned.
    customs ApplianceTrafficShapingVpnExclusionsItemCustom[]
    Custom VPN exclusion rules.
    majorApplications ApplianceTrafficShapingVpnExclusionsItemMajorApplication[]
    Major Application based VPN exclusion rules.
    networkId string
    ID of the network whose VPN exclusion rules are returned.
    networkName string
    Name of the network whose VPN exclusion rules are returned.
    customs Sequence[ApplianceTrafficShapingVpnExclusionsItemCustom]
    Custom VPN exclusion rules.
    major_applications Sequence[ApplianceTrafficShapingVpnExclusionsItemMajorApplication]
    Major Application based VPN exclusion rules.
    network_id str
    ID of the network whose VPN exclusion rules are returned.
    network_name str
    Name of the network whose VPN exclusion rules are returned.
    customs List<Property Map>
    Custom VPN exclusion rules.
    majorApplications List<Property Map>
    Major Application based VPN exclusion rules.
    networkId String
    ID of the network whose VPN exclusion rules are returned.
    networkName String
    Name of the network whose VPN exclusion rules are returned.

    ApplianceTrafficShapingVpnExclusionsItemCustom, ApplianceTrafficShapingVpnExclusionsItemCustomArgs

    Destination string
    Destination address; hostname required for DNS, IPv4 otherwise.
    Port string
    Destination port.
    Protocol string
    Protocol.
    Destination string
    Destination address; hostname required for DNS, IPv4 otherwise.
    Port string
    Destination port.
    Protocol string
    Protocol.
    destination String
    Destination address; hostname required for DNS, IPv4 otherwise.
    port String
    Destination port.
    protocol String
    Protocol.
    destination string
    Destination address; hostname required for DNS, IPv4 otherwise.
    port string
    Destination port.
    protocol string
    Protocol.
    destination str
    Destination address; hostname required for DNS, IPv4 otherwise.
    port str
    Destination port.
    protocol str
    Protocol.
    destination String
    Destination address; hostname required for DNS, IPv4 otherwise.
    port String
    Destination port.
    protocol String
    Protocol.

    ApplianceTrafficShapingVpnExclusionsItemMajorApplication, ApplianceTrafficShapingVpnExclusionsItemMajorApplicationArgs

    Id string
    Application's Meraki ID.
    Name string
    Application's name.
    Id string
    Application's Meraki ID.
    Name string
    Application's name.
    id String
    Application's Meraki ID.
    name String
    Application's name.
    id string
    Application's Meraki ID.
    name string
    Application's name.
    id str
    Application's Meraki ID.
    name str
    Application's name.
    id String
    Application's Meraki ID.
    name String
    Application's name.

    ApplianceTrafficShapingVpnExclusionsParameters, ApplianceTrafficShapingVpnExclusionsParametersArgs

    Customs List<ApplianceTrafficShapingVpnExclusionsParametersCustom>
    Custom VPN exclusion rules. Pass an empty array to clear existing rules.
    MajorApplications List<ApplianceTrafficShapingVpnExclusionsParametersMajorApplication>
    Major Application based VPN exclusion rules. Pass an empty array to clear existing rules.
    Customs []ApplianceTrafficShapingVpnExclusionsParametersCustom
    Custom VPN exclusion rules. Pass an empty array to clear existing rules.
    MajorApplications []ApplianceTrafficShapingVpnExclusionsParametersMajorApplication
    Major Application based VPN exclusion rules. Pass an empty array to clear existing rules.
    customs List<ApplianceTrafficShapingVpnExclusionsParametersCustom>
    Custom VPN exclusion rules. Pass an empty array to clear existing rules.
    majorApplications List<ApplianceTrafficShapingVpnExclusionsParametersMajorApplication>
    Major Application based VPN exclusion rules. Pass an empty array to clear existing rules.
    customs ApplianceTrafficShapingVpnExclusionsParametersCustom[]
    Custom VPN exclusion rules. Pass an empty array to clear existing rules.
    majorApplications ApplianceTrafficShapingVpnExclusionsParametersMajorApplication[]
    Major Application based VPN exclusion rules. Pass an empty array to clear existing rules.
    customs Sequence[ApplianceTrafficShapingVpnExclusionsParametersCustom]
    Custom VPN exclusion rules. Pass an empty array to clear existing rules.
    major_applications Sequence[ApplianceTrafficShapingVpnExclusionsParametersMajorApplication]
    Major Application based VPN exclusion rules. Pass an empty array to clear existing rules.
    customs List<Property Map>
    Custom VPN exclusion rules. Pass an empty array to clear existing rules.
    majorApplications List<Property Map>
    Major Application based VPN exclusion rules. Pass an empty array to clear existing rules.

    ApplianceTrafficShapingVpnExclusionsParametersCustom, ApplianceTrafficShapingVpnExclusionsParametersCustomArgs

    Destination string
    Destination address; hostname required for DNS, IPv4 otherwise.
    Port string
    Destination port.
    Protocol string
    Protocol.
    Destination string
    Destination address; hostname required for DNS, IPv4 otherwise.
    Port string
    Destination port.
    Protocol string
    Protocol.
    destination String
    Destination address; hostname required for DNS, IPv4 otherwise.
    port String
    Destination port.
    protocol String
    Protocol.
    destination string
    Destination address; hostname required for DNS, IPv4 otherwise.
    port string
    Destination port.
    protocol string
    Protocol.
    destination str
    Destination address; hostname required for DNS, IPv4 otherwise.
    port str
    Destination port.
    protocol str
    Protocol.
    destination String
    Destination address; hostname required for DNS, IPv4 otherwise.
    port String
    Destination port.
    protocol String
    Protocol.

    ApplianceTrafficShapingVpnExclusionsParametersMajorApplication, ApplianceTrafficShapingVpnExclusionsParametersMajorApplicationArgs

    Id string
    Application's Meraki ID.
    Name string
    Application's name.
    Id string
    Application's Meraki ID.
    Name string
    Application's name.
    id String
    Application's Meraki ID.
    name String
    Application's name.
    id string
    Application's Meraki ID.
    name string
    Application's name.
    id str
    Application's Meraki ID.
    name str
    Application's name.
    id String
    Application's Meraki ID.
    name String
    Application's name.

    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