1. Packages
  2. Cisco Meraki
  3. API Docs
  4. devices
  5. CellularSims
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.devices.CellularSims

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    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.
    SimFailover CellularSimsSimFailover
    SIM Failover settings.
    Sims List<CellularSimsSim>
    List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
    Serial string
    serial path parameter.
    SimFailover CellularSimsSimFailoverArgs
    SIM Failover settings.
    Sims []CellularSimsSimArgs
    List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
    serial String
    serial path parameter.
    simFailover CellularSimsSimFailover
    SIM Failover settings.
    sims List<CellularSimsSim>
    List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
    serial string
    serial path parameter.
    simFailover CellularSimsSimFailover
    SIM Failover settings.
    sims CellularSimsSim[]
    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 CellularSimsSimFailoverArgs
    SIM Failover settings.
    sims Sequence[CellularSimsSimArgs]
    List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
    serial String
    serial path parameter.
    simFailover 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.
    The following state arguments are supported:
    Serial string
    serial path parameter.
    SimFailover CellularSimsSimFailover
    SIM Failover settings.
    Sims List<CellularSimsSim>
    List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
    Serial string
    serial path parameter.
    SimFailover CellularSimsSimFailoverArgs
    SIM Failover settings.
    Sims []CellularSimsSimArgs
    List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
    serial String
    serial path parameter.
    simFailover CellularSimsSimFailover
    SIM Failover settings.
    sims List<CellularSimsSim>
    List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
    serial string
    serial path parameter.
    simFailover CellularSimsSimFailover
    SIM Failover settings.
    sims CellularSimsSim[]
    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 CellularSimsSimFailoverArgs
    SIM Failover settings.
    sims Sequence[CellularSimsSimArgs]
    List of SIMs. If a SIM was previously configured and not specified in this request, it will remain unchanged.
    serial String
    serial path parameter.
    simFailover 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<CellularSimsSimApn>
    APN configurations. If empty, the default APN will be used.
    IsPrimary 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 []CellularSimsSimApn
    APN configurations. If empty, the default APN will be used.
    IsPrimary 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<CellularSimsSimApn>
    APN configurations. If empty, the default APN will be used.
    isPrimary 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 CellularSimsSimApn[]
    APN configurations. If empty, the default APN will be used.
    isPrimary 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[CellularSimsSimApn]
    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.
    isPrimary 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

    AllowedIpTypes List<string>
    IP versions to support (permitted values include 'ipv4', 'ipv6').
    Authentication CellularSimsSimApnAuthentication
    APN authentication configurations.
    Name string
    APN name.
    AllowedIpTypes []string
    IP versions to support (permitted values include 'ipv4', 'ipv6').
    Authentication CellularSimsSimApnAuthentication
    APN authentication configurations.
    Name string
    APN name.
    allowedIpTypes List<String>
    IP versions to support (permitted values include 'ipv4', 'ipv6').
    authentication CellularSimsSimApnAuthentication
    APN authentication configurations.
    name String
    APN name.
    allowedIpTypes string[]
    IP versions to support (permitted values include 'ipv4', 'ipv6').
    authentication CellularSimsSimApnAuthentication
    APN authentication configurations.
    name string
    APN name.
    allowed_ip_types Sequence[str]
    IP versions to support (permitted values include 'ipv4', 'ipv6').
    authentication CellularSimsSimApnAuthentication
    APN authentication configurations.
    name str
    APN name.
    allowedIpTypes List<String>
    IP versions to support (permitted values include 'ipv4', 'ipv6').
    authentication Property Map
    APN authentication configurations.
    name String
    APN name.

    CellularSimsSimApnAuthentication, CellularSimsSimApnAuthenticationArgs

    Password string
    APN password, if type is set (if APN password is not supplied, the password is left unchanged).
    Type string
    APN auth type.
    Username string
    APN username, if type is set.
    Password string
    APN password, if type is set (if APN password is not supplied, the password is left unchanged).
    Type string
    APN auth type.
    Username string
    APN username, if type is set.
    password String
    APN password, if type is set (if APN password is not supplied, the password is left unchanged).
    type String
    APN auth type.
    username String
    APN username, if type is set.
    password string
    APN password, if type is set (if APN password is not supplied, the password is left unchanged).
    type string
    APN auth type.
    username string
    APN username, if type is set.
    password str
    APN password, if type is set (if APN password is not supplied, the password is left unchanged).
    type str
    APN auth type.
    username str
    APN username, if type is set.
    password String
    APN password, if type is set (if APN password is not supplied, the password is left unchanged).
    type String
    APN auth type.
    username String
    APN username, if type is set.

    CellularSimsSimFailover, CellularSimsSimFailoverArgs

    Enabled bool
    Failover to secondary SIM (optional)
    Timeout int
    Failover timeout in seconds (optional)
    Enabled bool
    Failover to secondary SIM (optional)
    Timeout int
    Failover timeout in seconds (optional)
    enabled Boolean
    Failover to secondary SIM (optional)
    timeout Integer
    Failover timeout in seconds (optional)
    enabled boolean
    Failover to secondary SIM (optional)
    timeout number
    Failover timeout in seconds (optional)
    enabled bool
    Failover to secondary SIM (optional)
    timeout int
    Failover timeout in seconds (optional)
    enabled Boolean
    Failover to secondary SIM (optional)
    timeout Number
    Failover timeout in seconds (optional)

    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.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi