meraki.networks.ApplianceTrafficShapingUplinkBandwidth
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = new meraki.networks.ApplianceTrafficShapingUplinkBandwidth("example", {
bandwidthLimits: {
cellular: {
limitDown: 1000000,
limitUp: 1000000,
},
wan1: {
limitDown: 1000000,
limitUp: 1000000,
},
wan2: {
limitDown: 1000000,
limitUp: 1000000,
},
},
networkId: "string",
});
export const merakiNetworksApplianceTrafficShapingUplinkBandwidthExample = example;
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.ApplianceTrafficShapingUplinkBandwidth("example",
bandwidth_limits={
"cellular": {
"limit_down": 1000000,
"limit_up": 1000000,
},
"wan1": {
"limit_down": 1000000,
"limit_up": 1000000,
},
"wan2": {
"limit_down": 1000000,
"limit_up": 1000000,
},
},
network_id="string")
pulumi.export("merakiNetworksApplianceTrafficShapingUplinkBandwidthExample", 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.NewApplianceTrafficShapingUplinkBandwidth(ctx, "example", &networks.ApplianceTrafficShapingUplinkBandwidthArgs{
BandwidthLimits: &networks.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs{
Cellular: &networks.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsCellularArgs{
LimitDown: pulumi.Int(1000000),
LimitUp: pulumi.Int(1000000),
},
Wan1: &networks.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1Args{
LimitDown: pulumi.Int(1000000),
LimitUp: pulumi.Int(1000000),
},
Wan2: &networks.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2Args{
LimitDown: pulumi.Int(1000000),
LimitUp: pulumi.Int(1000000),
},
},
NetworkId: pulumi.String("string"),
})
if err != nil {
return err
}
ctx.Export("merakiNetworksApplianceTrafficShapingUplinkBandwidthExample", 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.ApplianceTrafficShapingUplinkBandwidth("example", new()
{
BandwidthLimits = new Meraki.Networks.Inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs
{
Cellular = new Meraki.Networks.Inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsCellularArgs
{
LimitDown = 1000000,
LimitUp = 1000000,
},
Wan1 = new Meraki.Networks.Inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1Args
{
LimitDown = 1000000,
LimitUp = 1000000,
},
Wan2 = new Meraki.Networks.Inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2Args
{
LimitDown = 1000000,
LimitUp = 1000000,
},
},
NetworkId = "string",
});
return new Dictionary<string, object?>
{
["merakiNetworksApplianceTrafficShapingUplinkBandwidthExample"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.ApplianceTrafficShapingUplinkBandwidth;
import com.pulumi.meraki.networks.ApplianceTrafficShapingUplinkBandwidthArgs;
import com.pulumi.meraki.networks.inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs;
import com.pulumi.meraki.networks.inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsCellularArgs;
import com.pulumi.meraki.networks.inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1Args;
import com.pulumi.meraki.networks.inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2Args;
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 ApplianceTrafficShapingUplinkBandwidth("example", ApplianceTrafficShapingUplinkBandwidthArgs.builder()
.bandwidthLimits(ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs.builder()
.cellular(ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsCellularArgs.builder()
.limitDown(1000000)
.limitUp(1000000)
.build())
.wan1(ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1Args.builder()
.limitDown(1000000)
.limitUp(1000000)
.build())
.wan2(ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2Args.builder()
.limitDown(1000000)
.limitUp(1000000)
.build())
.build())
.networkId("string")
.build());
ctx.export("merakiNetworksApplianceTrafficShapingUplinkBandwidthExample", example);
}
}
resources:
example:
type: meraki:networks:ApplianceTrafficShapingUplinkBandwidth
properties:
bandwidthLimits:
cellular:
limitDown: 1e+06
limitUp: 1e+06
wan1:
limitDown: 1e+06
limitUp: 1e+06
wan2:
limitDown: 1e+06
limitUp: 1e+06
networkId: string
outputs:
merakiNetworksApplianceTrafficShapingUplinkBandwidthExample: ${example}
Create ApplianceTrafficShapingUplinkBandwidth Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApplianceTrafficShapingUplinkBandwidth(name: string, args: ApplianceTrafficShapingUplinkBandwidthArgs, opts?: CustomResourceOptions);
@overload
def ApplianceTrafficShapingUplinkBandwidth(resource_name: str,
args: ApplianceTrafficShapingUplinkBandwidthArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApplianceTrafficShapingUplinkBandwidth(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
bandwidth_limits: Optional[ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs] = None)
func NewApplianceTrafficShapingUplinkBandwidth(ctx *Context, name string, args ApplianceTrafficShapingUplinkBandwidthArgs, opts ...ResourceOption) (*ApplianceTrafficShapingUplinkBandwidth, error)
public ApplianceTrafficShapingUplinkBandwidth(string name, ApplianceTrafficShapingUplinkBandwidthArgs args, CustomResourceOptions? opts = null)
public ApplianceTrafficShapingUplinkBandwidth(String name, ApplianceTrafficShapingUplinkBandwidthArgs args)
public ApplianceTrafficShapingUplinkBandwidth(String name, ApplianceTrafficShapingUplinkBandwidthArgs args, CustomResourceOptions options)
type: meraki:networks:ApplianceTrafficShapingUplinkBandwidth
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 ApplianceTrafficShapingUplinkBandwidthArgs
- 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 ApplianceTrafficShapingUplinkBandwidthArgs
- 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 ApplianceTrafficShapingUplinkBandwidthArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplianceTrafficShapingUplinkBandwidthArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplianceTrafficShapingUplinkBandwidthArgs
- 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 applianceTrafficShapingUplinkBandwidthResource = new Meraki.Networks.ApplianceTrafficShapingUplinkBandwidth("applianceTrafficShapingUplinkBandwidthResource", new()
{
NetworkId = "string",
BandwidthLimits = new Meraki.Networks.Inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs
{
Cellular = new Meraki.Networks.Inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsCellularArgs
{
LimitDown = 0,
LimitUp = 0,
},
Wan1 = new Meraki.Networks.Inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1Args
{
LimitDown = 0,
LimitUp = 0,
},
Wan2 = new Meraki.Networks.Inputs.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2Args
{
LimitDown = 0,
LimitUp = 0,
},
},
});
example, err := networks.NewApplianceTrafficShapingUplinkBandwidth(ctx, "applianceTrafficShapingUplinkBandwidthResource", &networks.ApplianceTrafficShapingUplinkBandwidthArgs{
NetworkId: pulumi.String("string"),
BandwidthLimits: &networks.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs{
Cellular: &networks.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsCellularArgs{
LimitDown: pulumi.Int(0),
LimitUp: pulumi.Int(0),
},
Wan1: &networks.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1Args{
LimitDown: pulumi.Int(0),
LimitUp: pulumi.Int(0),
},
Wan2: &networks.ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2Args{
LimitDown: pulumi.Int(0),
LimitUp: pulumi.Int(0),
},
},
})
var applianceTrafficShapingUplinkBandwidthResource = new ApplianceTrafficShapingUplinkBandwidth("applianceTrafficShapingUplinkBandwidthResource", ApplianceTrafficShapingUplinkBandwidthArgs.builder()
.networkId("string")
.bandwidthLimits(ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs.builder()
.cellular(ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsCellularArgs.builder()
.limitDown(0)
.limitUp(0)
.build())
.wan1(ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1Args.builder()
.limitDown(0)
.limitUp(0)
.build())
.wan2(ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2Args.builder()
.limitDown(0)
.limitUp(0)
.build())
.build())
.build());
appliance_traffic_shaping_uplink_bandwidth_resource = meraki.networks.ApplianceTrafficShapingUplinkBandwidth("applianceTrafficShapingUplinkBandwidthResource",
network_id="string",
bandwidth_limits={
"cellular": {
"limit_down": 0,
"limit_up": 0,
},
"wan1": {
"limit_down": 0,
"limit_up": 0,
},
"wan2": {
"limit_down": 0,
"limit_up": 0,
},
})
const applianceTrafficShapingUplinkBandwidthResource = new meraki.networks.ApplianceTrafficShapingUplinkBandwidth("applianceTrafficShapingUplinkBandwidthResource", {
networkId: "string",
bandwidthLimits: {
cellular: {
limitDown: 0,
limitUp: 0,
},
wan1: {
limitDown: 0,
limitUp: 0,
},
wan2: {
limitDown: 0,
limitUp: 0,
},
},
});
type: meraki:networks:ApplianceTrafficShapingUplinkBandwidth
properties:
bandwidthLimits:
cellular:
limitDown: 0
limitUp: 0
wan1:
limitDown: 0
limitUp: 0
wan2:
limitDown: 0
limitUp: 0
networkId: string
ApplianceTrafficShapingUplinkBandwidth 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 ApplianceTrafficShapingUplinkBandwidth resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Bandwidth
Limits ApplianceTraffic Shaping Uplink Bandwidth Bandwidth Limits - A hash uplink keys and their configured settings for the Appliance
- Network
Id string - networkId path parameter. Network ID
- Bandwidth
Limits ApplianceTraffic Shaping Uplink Bandwidth Bandwidth Limits Args - A hash uplink keys and their configured settings for the Appliance
- network
Id String - networkId path parameter. Network ID
- bandwidth
Limits ApplianceTraffic Shaping Uplink Bandwidth Bandwidth Limits - A hash uplink keys and their configured settings for the Appliance
- network
Id string - networkId path parameter. Network ID
- bandwidth
Limits ApplianceTraffic Shaping Uplink Bandwidth Bandwidth Limits - A hash uplink keys and their configured settings for the Appliance
- network_
id str - networkId path parameter. Network ID
- bandwidth_
limits ApplianceTraffic Shaping Uplink Bandwidth Bandwidth Limits Args - A hash uplink keys and their configured settings for the Appliance
- network
Id String - networkId path parameter. Network ID
- bandwidth
Limits Property Map - A hash uplink keys and their configured settings for the Appliance
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplianceTrafficShapingUplinkBandwidth 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 ApplianceTrafficShapingUplinkBandwidth Resource
Get an existing ApplianceTrafficShapingUplinkBandwidth 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?: ApplianceTrafficShapingUplinkBandwidthState, opts?: CustomResourceOptions): ApplianceTrafficShapingUplinkBandwidth
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth_limits: Optional[ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs] = None,
network_id: Optional[str] = None) -> ApplianceTrafficShapingUplinkBandwidth
func GetApplianceTrafficShapingUplinkBandwidth(ctx *Context, name string, id IDInput, state *ApplianceTrafficShapingUplinkBandwidthState, opts ...ResourceOption) (*ApplianceTrafficShapingUplinkBandwidth, error)
public static ApplianceTrafficShapingUplinkBandwidth Get(string name, Input<string> id, ApplianceTrafficShapingUplinkBandwidthState? state, CustomResourceOptions? opts = null)
public static ApplianceTrafficShapingUplinkBandwidth get(String name, Output<String> id, ApplianceTrafficShapingUplinkBandwidthState 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.
- Bandwidth
Limits ApplianceTraffic Shaping Uplink Bandwidth Bandwidth Limits - A hash uplink keys and their configured settings for the Appliance
- Network
Id string - networkId path parameter. Network ID
- Bandwidth
Limits ApplianceTraffic Shaping Uplink Bandwidth Bandwidth Limits Args - A hash uplink keys and their configured settings for the Appliance
- Network
Id string - networkId path parameter. Network ID
- bandwidth
Limits ApplianceTraffic Shaping Uplink Bandwidth Bandwidth Limits - A hash uplink keys and their configured settings for the Appliance
- network
Id String - networkId path parameter. Network ID
- bandwidth
Limits ApplianceTraffic Shaping Uplink Bandwidth Bandwidth Limits - A hash uplink keys and their configured settings for the Appliance
- network
Id string - networkId path parameter. Network ID
- bandwidth_
limits ApplianceTraffic Shaping Uplink Bandwidth Bandwidth Limits Args - A hash uplink keys and their configured settings for the Appliance
- network_
id str - networkId path parameter. Network ID
- bandwidth
Limits Property Map - A hash uplink keys and their configured settings for the Appliance
- network
Id String - networkId path parameter. Network ID
Supporting Types
ApplianceTrafficShapingUplinkBandwidthBandwidthLimits, ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs
- Cellular
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Cellular - uplink cellular configured limits [optional]
- Wan1
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Wan1 - uplink wan1 configured limits [optional]
- Wan2
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Wan2 - uplink wan2 configured limits [optional]
- Cellular
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Cellular - uplink cellular configured limits [optional]
- Wan1
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Wan1 - uplink wan1 configured limits [optional]
- Wan2
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Wan2 - uplink wan2 configured limits [optional]
- cellular
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Cellular - uplink cellular configured limits [optional]
- wan1
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Wan1 - uplink wan1 configured limits [optional]
- wan2
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Wan2 - uplink wan2 configured limits [optional]
- cellular
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Cellular - uplink cellular configured limits [optional]
- wan1
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Wan1 - uplink wan1 configured limits [optional]
- wan2
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Wan2 - uplink wan2 configured limits [optional]
- cellular
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Cellular - uplink cellular configured limits [optional]
- wan1
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Wan1 - uplink wan1 configured limits [optional]
- wan2
Appliance
Traffic Shaping Uplink Bandwidth Bandwidth Limits Wan2 - uplink wan2 configured limits [optional]
- cellular Property Map
- uplink cellular configured limits [optional]
- wan1 Property Map
- uplink wan1 configured limits [optional]
- wan2 Property Map
- uplink wan2 configured limits [optional]
ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsCellular, ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsCellularArgs
- limit_
down int - configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
- limit_
up int - configured UP limit for the uplink (in Kbps). Null indicated unlimited
ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1, ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1Args
- limit_
down int - configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
- limit_
up int - configured UP limit for the uplink (in Kbps). Null indicated unlimited
ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2, ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2Args
- limit_
down int - configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
- limit_
up int - configured UP limit for the uplink (in Kbps). Null indicated unlimited
Import
$ pulumi import meraki:networks/applianceTrafficShapingUplinkBandwidth:ApplianceTrafficShapingUplinkBandwidth 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.