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

meraki.networks.ApplianceTrafficShapingRules

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.ApplianceTrafficShapingRules;
    import com.pulumi.meraki.networks.ApplianceTrafficShapingRulesArgs;
    import com.pulumi.meraki.networks.inputs.ApplianceTrafficShapingRulesRuleArgs;
    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 ApplianceTrafficShapingRules("example", ApplianceTrafficShapingRulesArgs.builder()
                .defaultRulesEnabled(true)
                .networkId("string")
                .rules(ApplianceTrafficShapingRulesRuleArgs.builder()
                    .definitions(ApplianceTrafficShapingRulesRuleDefinitionArgs.builder()
                        .type("host")
                        .value("google.com")
                        .build())
                    .dscp_tag_value(1)
                    .per_client_bandwidth_limits(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .priority("normal")
                    .build())
                .build());
    
            ctx.export("merakiNetworksApplianceTrafficShapingRulesExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:ApplianceTrafficShapingRules
        properties:
          defaultRulesEnabled: true
          networkId: string
          rules:
            - definitions:
                - type: host
                  value: google.com
              dscp_tag_value: 1
              per_client_bandwidth_limits:
                bandwidthLimits:
                  limitDown: 1e+06
                  limitUp: 1e+06
                settings: custom
              priority: normal
    outputs:
      merakiNetworksApplianceTrafficShapingRulesExample: ${example}
    

    Create ApplianceTrafficShapingRules Resource

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

    Constructor syntax

    new ApplianceTrafficShapingRules(name: string, args: ApplianceTrafficShapingRulesArgs, opts?: CustomResourceOptions);
    @overload
    def ApplianceTrafficShapingRules(resource_name: str,
                                     args: ApplianceTrafficShapingRulesArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplianceTrafficShapingRules(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     network_id: Optional[str] = None,
                                     default_rules_enabled: Optional[bool] = None,
                                     rules: Optional[Sequence[ApplianceTrafficShapingRulesRuleArgs]] = None)
    func NewApplianceTrafficShapingRules(ctx *Context, name string, args ApplianceTrafficShapingRulesArgs, opts ...ResourceOption) (*ApplianceTrafficShapingRules, error)
    public ApplianceTrafficShapingRules(string name, ApplianceTrafficShapingRulesArgs args, CustomResourceOptions? opts = null)
    public ApplianceTrafficShapingRules(String name, ApplianceTrafficShapingRulesArgs args)
    public ApplianceTrafficShapingRules(String name, ApplianceTrafficShapingRulesArgs args, CustomResourceOptions options)
    
    type: meraki:networks:ApplianceTrafficShapingRules
    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 ApplianceTrafficShapingRulesArgs
    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 ApplianceTrafficShapingRulesArgs
    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 ApplianceTrafficShapingRulesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplianceTrafficShapingRulesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplianceTrafficShapingRulesArgs
    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 applianceTrafficShapingRulesResource = new Meraki.Networks.ApplianceTrafficShapingRules("applianceTrafficShapingRulesResource", new()
    {
        NetworkId = "string",
        DefaultRulesEnabled = false,
        Rules = new[]
        {
            new Meraki.Networks.Inputs.ApplianceTrafficShapingRulesRuleArgs
            {
                Definitions = new[]
                {
                    new Meraki.Networks.Inputs.ApplianceTrafficShapingRulesRuleDefinitionArgs
                    {
                        Type = "string",
                        Value = "string",
                        ValueLists = new[]
                        {
                            "string",
                        },
                        ValueObj = new Meraki.Networks.Inputs.ApplianceTrafficShapingRulesRuleDefinitionValueObjArgs
                        {
                            Id = "string",
                            Name = "string",
                        },
                    },
                },
                DscpTagValue = 0,
                PerClientBandwidthLimits = new Meraki.Networks.Inputs.ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsArgs
                {
                    BandwidthLimits = new Meraki.Networks.Inputs.ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimitsArgs
                    {
                        LimitDown = 0,
                        LimitUp = 0,
                    },
                    Settings = "string",
                },
                Priority = "string",
            },
        },
    });
    
    example, err := networks.NewApplianceTrafficShapingRules(ctx, "applianceTrafficShapingRulesResource", &networks.ApplianceTrafficShapingRulesArgs{
    	NetworkId:           pulumi.String("string"),
    	DefaultRulesEnabled: pulumi.Bool(false),
    	Rules: networks.ApplianceTrafficShapingRulesRuleArray{
    		&networks.ApplianceTrafficShapingRulesRuleArgs{
    			Definitions: networks.ApplianceTrafficShapingRulesRuleDefinitionArray{
    				&networks.ApplianceTrafficShapingRulesRuleDefinitionArgs{
    					Type:  pulumi.String("string"),
    					Value: pulumi.String("string"),
    					ValueLists: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					ValueObj: &networks.ApplianceTrafficShapingRulesRuleDefinitionValueObjArgs{
    						Id:   pulumi.String("string"),
    						Name: pulumi.String("string"),
    					},
    				},
    			},
    			DscpTagValue: pulumi.Int(0),
    			PerClientBandwidthLimits: &networks.ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsArgs{
    				BandwidthLimits: &networks.ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimitsArgs{
    					LimitDown: pulumi.Int(0),
    					LimitUp:   pulumi.Int(0),
    				},
    				Settings: pulumi.String("string"),
    			},
    			Priority: pulumi.String("string"),
    		},
    	},
    })
    
    var applianceTrafficShapingRulesResource = new ApplianceTrafficShapingRules("applianceTrafficShapingRulesResource", ApplianceTrafficShapingRulesArgs.builder()
        .networkId("string")
        .defaultRulesEnabled(false)
        .rules(ApplianceTrafficShapingRulesRuleArgs.builder()
            .definitions(ApplianceTrafficShapingRulesRuleDefinitionArgs.builder()
                .type("string")
                .value("string")
                .valueLists("string")
                .valueObj(ApplianceTrafficShapingRulesRuleDefinitionValueObjArgs.builder()
                    .id("string")
                    .name("string")
                    .build())
                .build())
            .dscpTagValue(0)
            .perClientBandwidthLimits(ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsArgs.builder()
                .bandwidthLimits(ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimitsArgs.builder()
                    .limitDown(0)
                    .limitUp(0)
                    .build())
                .settings("string")
                .build())
            .priority("string")
            .build())
        .build());
    
    appliance_traffic_shaping_rules_resource = meraki.networks.ApplianceTrafficShapingRules("applianceTrafficShapingRulesResource",
        network_id="string",
        default_rules_enabled=False,
        rules=[{
            "definitions": [{
                "type": "string",
                "value": "string",
                "value_lists": ["string"],
                "value_obj": {
                    "id": "string",
                    "name": "string",
                },
            }],
            "dscp_tag_value": 0,
            "per_client_bandwidth_limits": {
                "bandwidth_limits": {
                    "limit_down": 0,
                    "limit_up": 0,
                },
                "settings": "string",
            },
            "priority": "string",
        }])
    
    const applianceTrafficShapingRulesResource = new meraki.networks.ApplianceTrafficShapingRules("applianceTrafficShapingRulesResource", {
        networkId: "string",
        defaultRulesEnabled: false,
        rules: [{
            definitions: [{
                type: "string",
                value: "string",
                valueLists: ["string"],
                valueObj: {
                    id: "string",
                    name: "string",
                },
            }],
            dscpTagValue: 0,
            perClientBandwidthLimits: {
                bandwidthLimits: {
                    limitDown: 0,
                    limitUp: 0,
                },
                settings: "string",
            },
            priority: "string",
        }],
    });
    
    type: meraki:networks:ApplianceTrafficShapingRules
    properties:
        defaultRulesEnabled: false
        networkId: string
        rules:
            - definitions:
                - type: string
                  value: string
                  valueLists:
                    - string
                  valueObj:
                    id: string
                    name: string
              dscpTagValue: 0
              perClientBandwidthLimits:
                bandwidthLimits:
                    limitDown: 0
                    limitUp: 0
                settings: string
              priority: string
    

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

    NetworkId string
    networkId path parameter. Network ID
    DefaultRulesEnabled bool
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    Rules List<ApplianceTrafficShapingRulesRule>
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
    NetworkId string
    networkId path parameter. Network ID
    DefaultRulesEnabled bool
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    Rules []ApplianceTrafficShapingRulesRuleArgs
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
    networkId String
    networkId path parameter. Network ID
    defaultRulesEnabled Boolean
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    rules List<ApplianceTrafficShapingRulesRule>
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
    networkId string
    networkId path parameter. Network ID
    defaultRulesEnabled boolean
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    rules ApplianceTrafficShapingRulesRule[]
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
    network_id str
    networkId path parameter. Network ID
    default_rules_enabled bool
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    rules Sequence[ApplianceTrafficShapingRulesRuleArgs]
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
    networkId String
    networkId path parameter. Network ID
    defaultRulesEnabled Boolean
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    rules List<Property Map>
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.

    Outputs

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

    Get an existing ApplianceTrafficShapingRules 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?: ApplianceTrafficShapingRulesState, opts?: CustomResourceOptions): ApplianceTrafficShapingRules
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            default_rules_enabled: Optional[bool] = None,
            network_id: Optional[str] = None,
            rules: Optional[Sequence[ApplianceTrafficShapingRulesRuleArgs]] = None) -> ApplianceTrafficShapingRules
    func GetApplianceTrafficShapingRules(ctx *Context, name string, id IDInput, state *ApplianceTrafficShapingRulesState, opts ...ResourceOption) (*ApplianceTrafficShapingRules, error)
    public static ApplianceTrafficShapingRules Get(string name, Input<string> id, ApplianceTrafficShapingRulesState? state, CustomResourceOptions? opts = null)
    public static ApplianceTrafficShapingRules get(String name, Output<String> id, ApplianceTrafficShapingRulesState 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:
    DefaultRulesEnabled bool
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    NetworkId string
    networkId path parameter. Network ID
    Rules List<ApplianceTrafficShapingRulesRule>
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
    DefaultRulesEnabled bool
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    NetworkId string
    networkId path parameter. Network ID
    Rules []ApplianceTrafficShapingRulesRuleArgs
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
    defaultRulesEnabled Boolean
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    networkId String
    networkId path parameter. Network ID
    rules List<ApplianceTrafficShapingRulesRule>
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
    defaultRulesEnabled boolean
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    networkId string
    networkId path parameter. Network ID
    rules ApplianceTrafficShapingRulesRule[]
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
    default_rules_enabled bool
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    network_id str
    networkId path parameter. Network ID
    rules Sequence[ApplianceTrafficShapingRulesRuleArgs]
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.
    defaultRulesEnabled Boolean
    Whether default traffic shaping rules are enabled (true) or disabled (false). There are 4 default rules, which can be seen on your network's traffic shaping page. Note that default rules count against the rule limit of 8.
    networkId String
    networkId path parameter. Network ID
    rules List<Property Map>
    An array of traffic shaping rules. Rules are applied in the order that they are specified in. An empty list (or null) means no rules. Note that you are allowed a maximum of 8 rules.

    Supporting Types

    ApplianceTrafficShapingRulesRule, ApplianceTrafficShapingRulesRuleArgs

    Definitions List<ApplianceTrafficShapingRulesRuleDefinition>
    A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
    DscpTagValue int
    The DSCP tag applied by your rule. null means 'Do not change DSCP tag'. For a list of possible tag values, use the trafficShaping/dscpTaggingOptions endpoint.
    PerClientBandwidthLimits ApplianceTrafficShapingRulesRulePerClientBandwidthLimits
    An object describing the bandwidth settings for your rule.
    Priority string
    A string, indicating the priority level for packets bound to your rule. Can be 'low', 'normal' or 'high'.
    Definitions []ApplianceTrafficShapingRulesRuleDefinition
    A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
    DscpTagValue int
    The DSCP tag applied by your rule. null means 'Do not change DSCP tag'. For a list of possible tag values, use the trafficShaping/dscpTaggingOptions endpoint.
    PerClientBandwidthLimits ApplianceTrafficShapingRulesRulePerClientBandwidthLimits
    An object describing the bandwidth settings for your rule.
    Priority string
    A string, indicating the priority level for packets bound to your rule. Can be 'low', 'normal' or 'high'.
    definitions List<ApplianceTrafficShapingRulesRuleDefinition>
    A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
    dscpTagValue Integer
    The DSCP tag applied by your rule. null means 'Do not change DSCP tag'. For a list of possible tag values, use the trafficShaping/dscpTaggingOptions endpoint.
    perClientBandwidthLimits ApplianceTrafficShapingRulesRulePerClientBandwidthLimits
    An object describing the bandwidth settings for your rule.
    priority String
    A string, indicating the priority level for packets bound to your rule. Can be 'low', 'normal' or 'high'.
    definitions ApplianceTrafficShapingRulesRuleDefinition[]
    A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
    dscpTagValue number
    The DSCP tag applied by your rule. null means 'Do not change DSCP tag'. For a list of possible tag values, use the trafficShaping/dscpTaggingOptions endpoint.
    perClientBandwidthLimits ApplianceTrafficShapingRulesRulePerClientBandwidthLimits
    An object describing the bandwidth settings for your rule.
    priority string
    A string, indicating the priority level for packets bound to your rule. Can be 'low', 'normal' or 'high'.
    definitions Sequence[ApplianceTrafficShapingRulesRuleDefinition]
    A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
    dscp_tag_value int
    The DSCP tag applied by your rule. null means 'Do not change DSCP tag'. For a list of possible tag values, use the trafficShaping/dscpTaggingOptions endpoint.
    per_client_bandwidth_limits ApplianceTrafficShapingRulesRulePerClientBandwidthLimits
    An object describing the bandwidth settings for your rule.
    priority str
    A string, indicating the priority level for packets bound to your rule. Can be 'low', 'normal' or 'high'.
    definitions List<Property Map>
    A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
    dscpTagValue Number
    The DSCP tag applied by your rule. null means 'Do not change DSCP tag'. For a list of possible tag values, use the trafficShaping/dscpTaggingOptions endpoint.
    perClientBandwidthLimits Property Map
    An object describing the bandwidth settings for your rule.
    priority String
    A string, indicating the priority level for packets bound to your rule. Can be 'low', 'normal' or 'high'.

    ApplianceTrafficShapingRulesRuleDefinition, ApplianceTrafficShapingRulesRuleDefinitionArgs

    Type string
    The type of definition. Can be one of 'application', 'applicationCategory', 'host', 'port', 'ipRange' or 'localNet'.
    Value string
    If "type" is 'host', 'port', 'ipRange' or 'localNet', then "value" must be a string, matching either a hostname (e.g. "somesite.com"), a port (e.g. 8080), or an IP range ("192.1.0.0", "192.1.0.0/16", or "10.1.0.0/16:80"). 'localNet' also supports CIDR notation, excluding custom ports. If "type" is 'application' or 'applicationCategory', then "value" must be an object with the structure { "id": "meraki:layer7/..." }, where "id" is the application category or application ID (for a list of IDs for your network, use the trafficShaping/applicationCategories endpoint).
    ValueLists List<string>
    The 'value_list' of what you want to block. Send a list in request
    ValueObj ApplianceTrafficShapingRulesRuleDefinitionValueObj
    The 'value_obj' of what you want to block. Send a dict in request
    Type string
    The type of definition. Can be one of 'application', 'applicationCategory', 'host', 'port', 'ipRange' or 'localNet'.
    Value string
    If "type" is 'host', 'port', 'ipRange' or 'localNet', then "value" must be a string, matching either a hostname (e.g. "somesite.com"), a port (e.g. 8080), or an IP range ("192.1.0.0", "192.1.0.0/16", or "10.1.0.0/16:80"). 'localNet' also supports CIDR notation, excluding custom ports. If "type" is 'application' or 'applicationCategory', then "value" must be an object with the structure { "id": "meraki:layer7/..." }, where "id" is the application category or application ID (for a list of IDs for your network, use the trafficShaping/applicationCategories endpoint).
    ValueLists []string
    The 'value_list' of what you want to block. Send a list in request
    ValueObj ApplianceTrafficShapingRulesRuleDefinitionValueObj
    The 'value_obj' of what you want to block. Send a dict in request
    type String
    The type of definition. Can be one of 'application', 'applicationCategory', 'host', 'port', 'ipRange' or 'localNet'.
    value String
    If "type" is 'host', 'port', 'ipRange' or 'localNet', then "value" must be a string, matching either a hostname (e.g. "somesite.com"), a port (e.g. 8080), or an IP range ("192.1.0.0", "192.1.0.0/16", or "10.1.0.0/16:80"). 'localNet' also supports CIDR notation, excluding custom ports. If "type" is 'application' or 'applicationCategory', then "value" must be an object with the structure { "id": "meraki:layer7/..." }, where "id" is the application category or application ID (for a list of IDs for your network, use the trafficShaping/applicationCategories endpoint).
    valueLists List<String>
    The 'value_list' of what you want to block. Send a list in request
    valueObj ApplianceTrafficShapingRulesRuleDefinitionValueObj
    The 'value_obj' of what you want to block. Send a dict in request
    type string
    The type of definition. Can be one of 'application', 'applicationCategory', 'host', 'port', 'ipRange' or 'localNet'.
    value string
    If "type" is 'host', 'port', 'ipRange' or 'localNet', then "value" must be a string, matching either a hostname (e.g. "somesite.com"), a port (e.g. 8080), or an IP range ("192.1.0.0", "192.1.0.0/16", or "10.1.0.0/16:80"). 'localNet' also supports CIDR notation, excluding custom ports. If "type" is 'application' or 'applicationCategory', then "value" must be an object with the structure { "id": "meraki:layer7/..." }, where "id" is the application category or application ID (for a list of IDs for your network, use the trafficShaping/applicationCategories endpoint).
    valueLists string[]
    The 'value_list' of what you want to block. Send a list in request
    valueObj ApplianceTrafficShapingRulesRuleDefinitionValueObj
    The 'value_obj' of what you want to block. Send a dict in request
    type str
    The type of definition. Can be one of 'application', 'applicationCategory', 'host', 'port', 'ipRange' or 'localNet'.
    value str
    If "type" is 'host', 'port', 'ipRange' or 'localNet', then "value" must be a string, matching either a hostname (e.g. "somesite.com"), a port (e.g. 8080), or an IP range ("192.1.0.0", "192.1.0.0/16", or "10.1.0.0/16:80"). 'localNet' also supports CIDR notation, excluding custom ports. If "type" is 'application' or 'applicationCategory', then "value" must be an object with the structure { "id": "meraki:layer7/..." }, where "id" is the application category or application ID (for a list of IDs for your network, use the trafficShaping/applicationCategories endpoint).
    value_lists Sequence[str]
    The 'value_list' of what you want to block. Send a list in request
    value_obj ApplianceTrafficShapingRulesRuleDefinitionValueObj
    The 'value_obj' of what you want to block. Send a dict in request
    type String
    The type of definition. Can be one of 'application', 'applicationCategory', 'host', 'port', 'ipRange' or 'localNet'.
    value String
    If "type" is 'host', 'port', 'ipRange' or 'localNet', then "value" must be a string, matching either a hostname (e.g. "somesite.com"), a port (e.g. 8080), or an IP range ("192.1.0.0", "192.1.0.0/16", or "10.1.0.0/16:80"). 'localNet' also supports CIDR notation, excluding custom ports. If "type" is 'application' or 'applicationCategory', then "value" must be an object with the structure { "id": "meraki:layer7/..." }, where "id" is the application category or application ID (for a list of IDs for your network, use the trafficShaping/applicationCategories endpoint).
    valueLists List<String>
    The 'value_list' of what you want to block. Send a list in request
    valueObj Property Map
    The 'value_obj' of what you want to block. Send a dict in request

    ApplianceTrafficShapingRulesRuleDefinitionValueObj, ApplianceTrafficShapingRulesRuleDefinitionValueObjArgs

    Id string
    Name string
    Id string
    Name string
    id String
    name String
    id string
    name string
    id str
    name str
    id String
    name String

    ApplianceTrafficShapingRulesRulePerClientBandwidthLimits, ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsArgs

    BandwidthLimits ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimits
    The bandwidth limits object, specifying the upload ('limitUp') and download ('limitDown') speed in Kbps. These are only enforced if 'settings' is set to 'custom'.
    Settings string
    How bandwidth limits are applied by your rule. Can be one of 'network default', 'ignore' or 'custom'.
    BandwidthLimits ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimits
    The bandwidth limits object, specifying the upload ('limitUp') and download ('limitDown') speed in Kbps. These are only enforced if 'settings' is set to 'custom'.
    Settings string
    How bandwidth limits are applied by your rule. Can be one of 'network default', 'ignore' or 'custom'.
    bandwidthLimits ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimits
    The bandwidth limits object, specifying the upload ('limitUp') and download ('limitDown') speed in Kbps. These are only enforced if 'settings' is set to 'custom'.
    settings String
    How bandwidth limits are applied by your rule. Can be one of 'network default', 'ignore' or 'custom'.
    bandwidthLimits ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimits
    The bandwidth limits object, specifying the upload ('limitUp') and download ('limitDown') speed in Kbps. These are only enforced if 'settings' is set to 'custom'.
    settings string
    How bandwidth limits are applied by your rule. Can be one of 'network default', 'ignore' or 'custom'.
    bandwidth_limits ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimits
    The bandwidth limits object, specifying the upload ('limitUp') and download ('limitDown') speed in Kbps. These are only enforced if 'settings' is set to 'custom'.
    settings str
    How bandwidth limits are applied by your rule. Can be one of 'network default', 'ignore' or 'custom'.
    bandwidthLimits Property Map
    The bandwidth limits object, specifying the upload ('limitUp') and download ('limitDown') speed in Kbps. These are only enforced if 'settings' is set to 'custom'.
    settings String
    How bandwidth limits are applied by your rule. Can be one of 'network default', 'ignore' or 'custom'.

    ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimits, ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimitsArgs

    LimitDown int
    The maximum download limit (integer, in Kbps).
    LimitUp int
    The maximum upload limit (integer, in Kbps).
    LimitDown int
    The maximum download limit (integer, in Kbps).
    LimitUp int
    The maximum upload limit (integer, in Kbps).
    limitDown Integer
    The maximum download limit (integer, in Kbps).
    limitUp Integer
    The maximum upload limit (integer, in Kbps).
    limitDown number
    The maximum download limit (integer, in Kbps).
    limitUp number
    The maximum upload limit (integer, in Kbps).
    limit_down int
    The maximum download limit (integer, in Kbps).
    limit_up int
    The maximum upload limit (integer, in Kbps).
    limitDown Number
    The maximum download limit (integer, in Kbps).
    limitUp Number
    The maximum upload limit (integer, in Kbps).

    Import

    $ pulumi import meraki:networks/applianceTrafficShapingRules:ApplianceTrafficShapingRules 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