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

meraki.networks.ApplianceTrafficShapingUplinkBandwidth

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    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:

    NetworkId string
    networkId path parameter. Network ID
    BandwidthLimits ApplianceTrafficShapingUplinkBandwidthBandwidthLimits
    A hash uplink keys and their configured settings for the Appliance
    NetworkId string
    networkId path parameter. Network ID
    BandwidthLimits ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs
    A hash uplink keys and their configured settings for the Appliance
    networkId String
    networkId path parameter. Network ID
    bandwidthLimits ApplianceTrafficShapingUplinkBandwidthBandwidthLimits
    A hash uplink keys and their configured settings for the Appliance
    networkId string
    networkId path parameter. Network ID
    bandwidthLimits ApplianceTrafficShapingUplinkBandwidthBandwidthLimits
    A hash uplink keys and their configured settings for the Appliance
    network_id str
    networkId path parameter. Network ID
    bandwidth_limits ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs
    A hash uplink keys and their configured settings for the Appliance
    networkId String
    networkId path parameter. Network ID
    bandwidthLimits 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.
    The following state arguments are supported:
    BandwidthLimits ApplianceTrafficShapingUplinkBandwidthBandwidthLimits
    A hash uplink keys and their configured settings for the Appliance
    NetworkId string
    networkId path parameter. Network ID
    BandwidthLimits ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs
    A hash uplink keys and their configured settings for the Appliance
    NetworkId string
    networkId path parameter. Network ID
    bandwidthLimits ApplianceTrafficShapingUplinkBandwidthBandwidthLimits
    A hash uplink keys and their configured settings for the Appliance
    networkId String
    networkId path parameter. Network ID
    bandwidthLimits ApplianceTrafficShapingUplinkBandwidthBandwidthLimits
    A hash uplink keys and their configured settings for the Appliance
    networkId string
    networkId path parameter. Network ID
    bandwidth_limits ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs
    A hash uplink keys and their configured settings for the Appliance
    network_id str
    networkId path parameter. Network ID
    bandwidthLimits Property Map
    A hash uplink keys and their configured settings for the Appliance
    networkId String
    networkId path parameter. Network ID

    Supporting Types

    ApplianceTrafficShapingUplinkBandwidthBandwidthLimits, ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsArgs

    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

    LimitDown int
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    LimitUp int
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    LimitDown int
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    LimitUp int
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    limitDown Integer
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    limitUp Integer
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    limitDown number
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    limitUp number
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    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
    limitDown Number
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    limitUp Number
    configured UP limit for the uplink (in Kbps). Null indicated unlimited

    ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1, ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan1Args

    LimitDown int
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    LimitUp int
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    LimitDown int
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    LimitUp int
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    limitDown Integer
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    limitUp Integer
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    limitDown number
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    limitUp number
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    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
    limitDown Number
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    limitUp Number
    configured UP limit for the uplink (in Kbps). Null indicated unlimited

    ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2, ApplianceTrafficShapingUplinkBandwidthBandwidthLimitsWan2Args

    LimitDown int
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    LimitUp int
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    LimitDown int
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    LimitUp int
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    limitDown Integer
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    limitUp Integer
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    limitDown number
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    limitUp number
    configured UP limit for the uplink (in Kbps). Null indicated unlimited
    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
    limitDown Number
    configured DOWN limit for the uplink (in Kbps). Null indicated unlimited
    limitUp Number
    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.
    meraki logo
    Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi