meraki.networks.ApplianceTrafficShapingRules
Explore with Pulumi AI
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=[meraki.networks.ApplianceTrafficShapingRulesRuleArgs(
definitions=[meraki.networks.ApplianceTrafficShapingRulesRuleDefinitionArgs(
type="string",
value="string",
value_lists=["string"],
value_obj=meraki.networks.ApplianceTrafficShapingRulesRuleDefinitionValueObjArgs(
id="string",
name="string",
),
)],
dscp_tag_value=0,
per_client_bandwidth_limits=meraki.networks.ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsArgs(
bandwidth_limits=meraki.networks.ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsBandwidthLimitsArgs(
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
The ApplianceTrafficShapingRules resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Default
Rules boolEnabled - 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<Appliance
Traffic Shaping Rules Rule> - 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 string - networkId path parameter. Network ID
- Default
Rules boolEnabled - 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
[]Appliance
Traffic Shaping Rules Rule Args - 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 String - networkId path parameter. Network ID
- default
Rules BooleanEnabled - 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<Appliance
Traffic Shaping Rules Rule> - 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 string - networkId path parameter. Network ID
- default
Rules booleanEnabled - 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
Appliance
Traffic Shaping Rules Rule[] - 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_ boolenabled - 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[Appliance
Traffic Shaping Rules Rule Args] - 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 String - networkId path parameter. Network ID
- default
Rules BooleanEnabled - 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.
- Default
Rules boolEnabled - 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 string - networkId path parameter. Network ID
- Rules
List<Appliance
Traffic Shaping Rules Rule> - 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 boolEnabled - 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 string - networkId path parameter. Network ID
- Rules
[]Appliance
Traffic Shaping Rules Rule Args - 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 BooleanEnabled - 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 String - networkId path parameter. Network ID
- rules
List<Appliance
Traffic Shaping Rules Rule> - 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 booleanEnabled - 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 string - networkId path parameter. Network ID
- rules
Appliance
Traffic Shaping Rules Rule[] - 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_ boolenabled - 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[Appliance
Traffic Shaping Rules Rule Args] - 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 BooleanEnabled - 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 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<Appliance
Traffic Shaping Rules Rule Definition> - A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
- Dscp
Tag intValue - 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 ApplianceBandwidth Limits Traffic Shaping Rules Rule Per Client Bandwidth Limits - 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
[]Appliance
Traffic Shaping Rules Rule Definition - A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
- Dscp
Tag intValue - 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 ApplianceBandwidth Limits Traffic Shaping Rules Rule Per Client Bandwidth Limits - 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<Appliance
Traffic Shaping Rules Rule Definition> - A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
- dscp
Tag IntegerValue - 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 ApplianceBandwidth Limits Traffic Shaping Rules Rule Per Client Bandwidth Limits - 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
Appliance
Traffic Shaping Rules Rule Definition[] - A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
- dscp
Tag numberValue - 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 ApplianceBandwidth Limits Traffic Shaping Rules Rule Per Client Bandwidth Limits - 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[Appliance
Traffic Shaping Rules Rule Definition] - A list of objects describing the definitions of your traffic shaping rule. At least one definition is required.
- dscp_
tag_ intvalue - 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_ Appliancebandwidth_ limits Traffic Shaping Rules Rule Per Client Bandwidth Limits - 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.
- dscp
Tag NumberValue - 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 Property MapBandwidth Limits - 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).
- Value
Lists List<string> - The 'value_list' of what you want to block. Send a list in request
- Value
Obj ApplianceTraffic Shaping Rules Rule Definition Value Obj - 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).
- Value
Lists []string - The 'value_list' of what you want to block. Send a list in request
- Value
Obj ApplianceTraffic Shaping Rules Rule Definition Value Obj - 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).
- value
Lists List<String> - The 'value_list' of what you want to block. Send a list in request
- value
Obj ApplianceTraffic Shaping Rules Rule Definition Value Obj - 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).
- value
Lists string[] - The 'value_list' of what you want to block. Send a list in request
- value
Obj ApplianceTraffic Shaping Rules Rule Definition Value Obj - 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 ApplianceTraffic Shaping Rules Rule Definition Value Obj - 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).
- value
Lists List<String> - The 'value_list' of what you want to block. Send a list in request
- value
Obj Property Map - The 'value_obj' of what you want to block. Send a dict in request
ApplianceTrafficShapingRulesRuleDefinitionValueObj, ApplianceTrafficShapingRulesRuleDefinitionValueObjArgs
ApplianceTrafficShapingRulesRulePerClientBandwidthLimits, ApplianceTrafficShapingRulesRulePerClientBandwidthLimitsArgs
- Bandwidth
Limits ApplianceTraffic Shaping Rules Rule Per Client Bandwidth Limits Bandwidth Limits - 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 ApplianceTraffic Shaping Rules Rule Per Client Bandwidth Limits Bandwidth Limits - 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 ApplianceTraffic Shaping Rules Rule Per Client Bandwidth Limits Bandwidth Limits - 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 ApplianceTraffic Shaping Rules Rule Per Client Bandwidth Limits Bandwidth Limits - 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 ApplianceTraffic Shaping Rules Rule Per Client Bandwidth Limits Bandwidth Limits - 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'.
- bandwidth
Limits 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
- limit_
down int - The maximum download limit (integer, in Kbps).
- limit_
up int - 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.