meraki.networks.WirelessBilling
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.WirelessBilling;
import com.pulumi.meraki.networks.WirelessBillingArgs;
import com.pulumi.meraki.networks.inputs.WirelessBillingPlanArgs;
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 WirelessBilling("example", WirelessBillingArgs.builder()
.currency("USD")
.networkId("string")
.plans(WirelessBillingPlanArgs.builder()
.bandwidth_limits(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.id("1")
.price(5)
.time_limit("1 hour")
.build())
.build());
ctx.export("merakiNetworksWirelessBillingExample", example);
}
}
resources:
example:
type: meraki:networks:WirelessBilling
properties:
currency: USD
networkId: string
plans:
- bandwidth_limits:
limitDown: 1e+06
limitUp: 1e+06
id: '1'
price: 5
time_limit: 1 hour
outputs:
merakiNetworksWirelessBillingExample: ${example}
Create WirelessBilling Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WirelessBilling(name: string, args: WirelessBillingArgs, opts?: CustomResourceOptions);
@overload
def WirelessBilling(resource_name: str,
args: WirelessBillingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WirelessBilling(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
currency: Optional[str] = None,
plans: Optional[Sequence[WirelessBillingPlanArgs]] = None)
func NewWirelessBilling(ctx *Context, name string, args WirelessBillingArgs, opts ...ResourceOption) (*WirelessBilling, error)
public WirelessBilling(string name, WirelessBillingArgs args, CustomResourceOptions? opts = null)
public WirelessBilling(String name, WirelessBillingArgs args)
public WirelessBilling(String name, WirelessBillingArgs args, CustomResourceOptions options)
type: meraki:networks:WirelessBilling
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 WirelessBillingArgs
- 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 WirelessBillingArgs
- 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 WirelessBillingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WirelessBillingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WirelessBillingArgs
- 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 wirelessBillingResource = new Meraki.Networks.WirelessBilling("wirelessBillingResource", new()
{
NetworkId = "string",
Currency = "string",
Plans = new[]
{
new Meraki.Networks.Inputs.WirelessBillingPlanArgs
{
BandwidthLimits = new Meraki.Networks.Inputs.WirelessBillingPlanBandwidthLimitsArgs
{
LimitDown = 0,
LimitUp = 0,
},
Id = "string",
Price = 0,
TimeLimit = "string",
},
},
});
example, err := networks.NewWirelessBilling(ctx, "wirelessBillingResource", &networks.WirelessBillingArgs{
NetworkId: pulumi.String("string"),
Currency: pulumi.String("string"),
Plans: networks.WirelessBillingPlanArray{
&networks.WirelessBillingPlanArgs{
BandwidthLimits: &networks.WirelessBillingPlanBandwidthLimitsArgs{
LimitDown: pulumi.Int(0),
LimitUp: pulumi.Int(0),
},
Id: pulumi.String("string"),
Price: pulumi.Float64(0),
TimeLimit: pulumi.String("string"),
},
},
})
var wirelessBillingResource = new WirelessBilling("wirelessBillingResource", WirelessBillingArgs.builder()
.networkId("string")
.currency("string")
.plans(WirelessBillingPlanArgs.builder()
.bandwidthLimits(WirelessBillingPlanBandwidthLimitsArgs.builder()
.limitDown(0)
.limitUp(0)
.build())
.id("string")
.price(0)
.timeLimit("string")
.build())
.build());
wireless_billing_resource = meraki.networks.WirelessBilling("wirelessBillingResource",
network_id="string",
currency="string",
plans=[{
"bandwidth_limits": {
"limit_down": 0,
"limit_up": 0,
},
"id": "string",
"price": 0,
"time_limit": "string",
}])
const wirelessBillingResource = new meraki.networks.WirelessBilling("wirelessBillingResource", {
networkId: "string",
currency: "string",
plans: [{
bandwidthLimits: {
limitDown: 0,
limitUp: 0,
},
id: "string",
price: 0,
timeLimit: "string",
}],
});
type: meraki:networks:WirelessBilling
properties:
currency: string
networkId: string
plans:
- bandwidthLimits:
limitDown: 0
limitUp: 0
id: string
price: 0
timeLimit: string
WirelessBilling 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 WirelessBilling resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Currency string
- The currency code of this node group's billing plans
- Plans
List<Wireless
Billing Plan> - Array of billing plans in the node group. (Can configure a maximum of 5)
- Network
Id string - networkId path parameter. Network ID
- Currency string
- The currency code of this node group's billing plans
- Plans
[]Wireless
Billing Plan Args - Array of billing plans in the node group. (Can configure a maximum of 5)
- network
Id String - networkId path parameter. Network ID
- currency String
- The currency code of this node group's billing plans
- plans
List<Wireless
Billing Plan> - Array of billing plans in the node group. (Can configure a maximum of 5)
- network
Id string - networkId path parameter. Network ID
- currency string
- The currency code of this node group's billing plans
- plans
Wireless
Billing Plan[] - Array of billing plans in the node group. (Can configure a maximum of 5)
- network_
id str - networkId path parameter. Network ID
- currency str
- The currency code of this node group's billing plans
- plans
Sequence[Wireless
Billing Plan Args] - Array of billing plans in the node group. (Can configure a maximum of 5)
- network
Id String - networkId path parameter. Network ID
- currency String
- The currency code of this node group's billing plans
- plans List<Property Map>
- Array of billing plans in the node group. (Can configure a maximum of 5)
Outputs
All input properties are implicitly available as output properties. Additionally, the WirelessBilling 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 WirelessBilling Resource
Get an existing WirelessBilling 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?: WirelessBillingState, opts?: CustomResourceOptions): WirelessBilling
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
currency: Optional[str] = None,
network_id: Optional[str] = None,
plans: Optional[Sequence[WirelessBillingPlanArgs]] = None) -> WirelessBilling
func GetWirelessBilling(ctx *Context, name string, id IDInput, state *WirelessBillingState, opts ...ResourceOption) (*WirelessBilling, error)
public static WirelessBilling Get(string name, Input<string> id, WirelessBillingState? state, CustomResourceOptions? opts = null)
public static WirelessBilling get(String name, Output<String> id, WirelessBillingState 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.
- Currency string
- The currency code of this node group's billing plans
- Network
Id string - networkId path parameter. Network ID
- Plans
List<Wireless
Billing Plan> - Array of billing plans in the node group. (Can configure a maximum of 5)
- Currency string
- The currency code of this node group's billing plans
- Network
Id string - networkId path parameter. Network ID
- Plans
[]Wireless
Billing Plan Args - Array of billing plans in the node group. (Can configure a maximum of 5)
- currency String
- The currency code of this node group's billing plans
- network
Id String - networkId path parameter. Network ID
- plans
List<Wireless
Billing Plan> - Array of billing plans in the node group. (Can configure a maximum of 5)
- currency string
- The currency code of this node group's billing plans
- network
Id string - networkId path parameter. Network ID
- plans
Wireless
Billing Plan[] - Array of billing plans in the node group. (Can configure a maximum of 5)
- currency str
- The currency code of this node group's billing plans
- network_
id str - networkId path parameter. Network ID
- plans
Sequence[Wireless
Billing Plan Args] - Array of billing plans in the node group. (Can configure a maximum of 5)
- currency String
- The currency code of this node group's billing plans
- network
Id String - networkId path parameter. Network ID
- plans List<Property Map>
- Array of billing plans in the node group. (Can configure a maximum of 5)
Supporting Types
WirelessBillingPlan, WirelessBillingPlanArgs
- Bandwidth
Limits WirelessBilling Plan Bandwidth Limits - The uplink bandwidth settings for the pricing plan.
- Id string
- The id of the pricing plan to update.
- Price double
- The price of the billing plan.
- Time
Limit string - The time limit of the pricing plan in minutes.
- Bandwidth
Limits WirelessBilling Plan Bandwidth Limits - The uplink bandwidth settings for the pricing plan.
- Id string
- The id of the pricing plan to update.
- Price float64
- The price of the billing plan.
- Time
Limit string - The time limit of the pricing plan in minutes.
- bandwidth
Limits WirelessBilling Plan Bandwidth Limits - The uplink bandwidth settings for the pricing plan.
- id String
- The id of the pricing plan to update.
- price Double
- The price of the billing plan.
- time
Limit String - The time limit of the pricing plan in minutes.
- bandwidth
Limits WirelessBilling Plan Bandwidth Limits - The uplink bandwidth settings for the pricing plan.
- id string
- The id of the pricing plan to update.
- price number
- The price of the billing plan.
- time
Limit string - The time limit of the pricing plan in minutes.
- bandwidth_
limits WirelessBilling Plan Bandwidth Limits - The uplink bandwidth settings for the pricing plan.
- id str
- The id of the pricing plan to update.
- price float
- The price of the billing plan.
- time_
limit str - The time limit of the pricing plan in minutes.
- bandwidth
Limits Property Map - The uplink bandwidth settings for the pricing plan.
- id String
- The id of the pricing plan to update.
- price Number
- The price of the billing plan.
- time
Limit String - The time limit of the pricing plan in minutes.
WirelessBillingPlanBandwidthLimits, WirelessBillingPlanBandwidthLimitsArgs
- 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/wirelessBilling:WirelessBilling 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.