meraki.devices.CellularSims
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = new meraki.devices.CellularSims("example", {serial: "string"});
export const merakiDevicesCellularSimsExample = example;
import pulumi
import pulumi_meraki as meraki
example = meraki.devices.CellularSims("example", serial="string")
pulumi.export("merakiDevicesCellularSimsExample", example)
package main
import (
"github.com/pulumi/pulumi-meraki/sdk/go/meraki/devices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := devices.NewCellularSims(ctx, "example", &devices.CellularSimsArgs{
Serial: pulumi.String("string"),
})
if err != nil {
return err
}
ctx.Export("merakiDevicesCellularSimsExample", example)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;
return await Deployment.RunAsync(() =>
{
var example = new Meraki.Devices.CellularSims("example", new()
{
Serial = "string",
});
return new Dictionary<string, object?>
{
["merakiDevicesCellularSimsExample"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.devices.CellularSims;
import com.pulumi.meraki.devices.CellularSimsArgs;
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 CellularSims("example", CellularSimsArgs.builder()
.serial("string")
.build());
ctx.export("merakiDevicesCellularSimsExample", example);
}
}
resources:
example:
type: meraki:devices:CellularSims
properties:
serial: string
outputs:
merakiDevicesCellularSimsExample: ${example}
Create CellularSims Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CellularSims(name: string, args: CellularSimsArgs, opts?: CustomResourceOptions);
@overload
def CellularSims(resource_name: str,
args: CellularSimsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CellularSims(resource_name: str,
opts: Optional[ResourceOptions] = None,
serial: Optional[str] = None,
sim_failover: Optional[CellularSimsSimFailoverArgs] = None,
sims: Optional[Sequence[CellularSimsSimArgs]] = None)
func NewCellularSims(ctx *Context, name string, args CellularSimsArgs, opts ...ResourceOption) (*CellularSims, error)
public CellularSims(string name, CellularSimsArgs args, CustomResourceOptions? opts = null)
public CellularSims(String name, CellularSimsArgs args)
public CellularSims(String name, CellularSimsArgs args, CustomResourceOptions options)
type: meraki:devices:CellularSims
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 CellularSimsArgs
- 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 CellularSimsArgs
- 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 CellularSimsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CellularSimsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CellularSimsArgs
- 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 cellularSimsResource = new Meraki.Devices.CellularSims("cellularSimsResource", new()
{
Serial = "string",
SimFailover = new Meraki.Devices.Inputs.CellularSimsSimFailoverArgs
{
Enabled = false,
Timeout = 0,
},
Sims = new[]
{
new Meraki.Devices.Inputs.CellularSimsSimArgs
{
Apns = new[]
{
new Meraki.Devices.Inputs.CellularSimsSimApnArgs
{
AllowedIpTypes = new[]
{
"string",
},
Authentication = new Meraki.Devices.Inputs.CellularSimsSimApnAuthenticationArgs
{
Password = "string",
Type = "string",
Username = "string",
},
Name = "string",
},
},
IsPrimary = false,
Slot = "string",
},
},
});
example, err := devices.NewCellularSims(ctx, "cellularSimsResource", &devices.CellularSimsArgs{
Serial: pulumi.String("string"),
SimFailover: &devices.CellularSimsSimFailoverArgs{
Enabled: pulumi.Bool(false),
Timeout: pulumi.Int(0),
},
Sims: devices.CellularSimsSimArray{
&devices.CellularSimsSimArgs{
Apns: devices.CellularSimsSimApnArray{
&devices.CellularSimsSimApnArgs{
AllowedIpTypes: pulumi.StringArray{
pulumi.String("string"),
},
Authentication: &devices.CellularSimsSimApnAuthenticationArgs{
Password: pulumi.String("string"),
Type: pulumi.String("string"),
Username: pulumi.String("string"),
},
Name: pulumi.String("string"),
},
},
IsPrimary: pulumi.Bool(false),
Slot: pulumi.String("string"),
},
},
})
var cellularSimsResource = new CellularSims("cellularSimsResource", CellularSimsArgs.builder()
.serial("string")
.simFailover(CellularSimsSimFailoverArgs.builder()
.enabled(false)
.timeout(0)
.build())
.sims(CellularSimsSimArgs.builder()
.apns(CellularSimsSimApnArgs.builder()
.allowedIpTypes("string")
.authentication(CellularSimsSimApnAuthenticationArgs.builder()
.password("string")
.type("string")
.username("string")
.build())
.name("string")
.build())
.isPrimary(false)
.slot("string")
.build())
.build());
cellular_sims_resource = meraki.devices.CellularSims("cellularSimsResource",
serial="string",
sim_failover=meraki.devices.CellularSimsSimFailoverArgs(
enabled=False,
timeout=0,
),
sims=[meraki.devices.CellularSimsSimArgs(
apns=[meraki.devices.CellularSimsSimApnArgs(
allowed_ip_types=["string"],
authentication=meraki.devices.CellularSimsSimApnAuthenticationArgs(
password="string",
type="string",
username="string",
),
name="string",
)],
is_primary=False,
slot="string",
)])
const cellularSimsResource = new meraki.devices.CellularSims("cellularSimsResource", {
serial: "string",
simFailover: {
enabled: false,
timeout: 0,
},
sims: [{
apns: [{
allowedIpTypes: ["string"],
authentication: {
password: "string",
type: "string",
username: "string",
},
name: "string",
}],
isPrimary: false,
slot: "string",
}],
});
type: meraki:devices:CellularSims
properties:
serial: string
simFailover:
enabled: false
timeout: 0
sims:
- apns:
- allowedIpTypes:
- string
authentication:
password: string
type: string
username: string
name: string
isPrimary: false
slot: string
CellularSims 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 CellularSims resource accepts the following input properties:
- Serial string
- serial path parameter.
- Sim
Failover CellularSims Sim Failover - SIM Failover settings.
- Sims
List<Cellular
Sims Sim> - List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
- Serial string
- serial path parameter.
- Sim
Failover CellularSims Sim Failover Args - SIM Failover settings.
- Sims
[]Cellular
Sims Sim Args - List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
- serial String
- serial path parameter.
- sim
Failover CellularSims Sim Failover - SIM Failover settings.
- sims
List<Cellular
Sims Sim> - List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
- serial string
- serial path parameter.
- sim
Failover CellularSims Sim Failover - SIM Failover settings.
- sims
Cellular
Sims Sim[] - List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
- serial str
- serial path parameter.
- sim_
failover CellularSims Sim Failover Args - SIM Failover settings.
- sims
Sequence[Cellular
Sims Sim Args] - List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
- serial String
- serial path parameter.
- sim
Failover Property Map - SIM Failover settings.
- sims List<Property Map>
- List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
Outputs
All input properties are implicitly available as output properties. Additionally, the CellularSims 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 CellularSims Resource
Get an existing CellularSims 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?: CellularSimsState, opts?: CustomResourceOptions): CellularSims
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
serial: Optional[str] = None,
sim_failover: Optional[CellularSimsSimFailoverArgs] = None,
sims: Optional[Sequence[CellularSimsSimArgs]] = None) -> CellularSims
func GetCellularSims(ctx *Context, name string, id IDInput, state *CellularSimsState, opts ...ResourceOption) (*CellularSims, error)
public static CellularSims Get(string name, Input<string> id, CellularSimsState? state, CustomResourceOptions? opts = null)
public static CellularSims get(String name, Output<String> id, CellularSimsState 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.
- Serial string
- serial path parameter.
- Sim
Failover CellularSims Sim Failover - SIM Failover settings.
- Sims
List<Cellular
Sims Sim> - List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
- Serial string
- serial path parameter.
- Sim
Failover CellularSims Sim Failover Args - SIM Failover settings.
- Sims
[]Cellular
Sims Sim Args - List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
- serial String
- serial path parameter.
- sim
Failover CellularSims Sim Failover - SIM Failover settings.
- sims
List<Cellular
Sims Sim> - List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
- serial string
- serial path parameter.
- sim
Failover CellularSims Sim Failover - SIM Failover settings.
- sims
Cellular
Sims Sim[] - List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
- serial str
- serial path parameter.
- sim_
failover CellularSims Sim Failover Args - SIM Failover settings.
- sims
Sequence[Cellular
Sims Sim Args] - List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
- serial String
- serial path parameter.
- sim
Failover Property Map - SIM Failover settings.
- sims List<Property Map>
- List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
Supporting Types
CellularSimsSim, CellularSimsSimArgs
- Apns
List<Cellular
Sims Sim Apn> - APN configurations. If empty, the default APN will be used.
- Is
Primary bool - If true, this SIM is used for boot. Must be true on single-sim devices.
- Slot string
- SIM slot being configured. Must be 'sim1' on single-sim devices.
- Apns
[]Cellular
Sims Sim Apn - APN configurations. If empty, the default APN will be used.
- Is
Primary bool - If true, this SIM is used for boot. Must be true on single-sim devices.
- Slot string
- SIM slot being configured. Must be 'sim1' on single-sim devices.
- apns
List<Cellular
Sims Sim Apn> - APN configurations. If empty, the default APN will be used.
- is
Primary Boolean - If true, this SIM is used for boot. Must be true on single-sim devices.
- slot String
- SIM slot being configured. Must be 'sim1' on single-sim devices.
- apns
Cellular
Sims Sim Apn[] - APN configurations. If empty, the default APN will be used.
- is
Primary boolean - If true, this SIM is used for boot. Must be true on single-sim devices.
- slot string
- SIM slot being configured. Must be 'sim1' on single-sim devices.
- apns
Sequence[Cellular
Sims Sim Apn] - APN configurations. If empty, the default APN will be used.
- is_
primary bool - If true, this SIM is used for boot. Must be true on single-sim devices.
- slot str
- SIM slot being configured. Must be 'sim1' on single-sim devices.
- apns List<Property Map>
- APN configurations. If empty, the default APN will be used.
- is
Primary Boolean - If true, this SIM is used for boot. Must be true on single-sim devices.
- slot String
- SIM slot being configured. Must be 'sim1' on single-sim devices.
CellularSimsSimApn, CellularSimsSimApnArgs
- Allowed
Ip List<string>Types - IP versions to support (permitted values include 'ipv4', 'ipv6').
- Authentication
Cellular
Sims Sim Apn Authentication - APN authentication configurations.
- Name string
- APN name.
- Allowed
Ip []stringTypes - IP versions to support (permitted values include 'ipv4', 'ipv6').
- Authentication
Cellular
Sims Sim Apn Authentication - APN authentication configurations.
- Name string
- APN name.
- allowed
Ip List<String>Types - IP versions to support (permitted values include 'ipv4', 'ipv6').
- authentication
Cellular
Sims Sim Apn Authentication - APN authentication configurations.
- name String
- APN name.
- allowed
Ip string[]Types - IP versions to support (permitted values include 'ipv4', 'ipv6').
- authentication
Cellular
Sims Sim Apn Authentication - APN authentication configurations.
- name string
- APN name.
- allowed_
ip_ Sequence[str]types - IP versions to support (permitted values include 'ipv4', 'ipv6').
- authentication
Cellular
Sims Sim Apn Authentication - APN authentication configurations.
- name str
- APN name.
- allowed
Ip List<String>Types - IP versions to support (permitted values include 'ipv4', 'ipv6').
- authentication Property Map
- APN authentication configurations.
- name String
- APN name.
CellularSimsSimApnAuthentication, CellularSimsSimApnAuthenticationArgs
CellularSimsSimFailover, CellularSimsSimFailoverArgs
Import
$ pulumi import meraki:devices/cellularSims:CellularSims example "serial"
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.