1. Packages
  2. Cisco Meraki Provider
  3. API Docs
  4. networks
  5. ApplianceWarmSpare
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

meraki.networks.ApplianceWarmSpare

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";

const example = new meraki.networks.ApplianceWarmSpare("example", {
    enabled: true,
    networkId: "string",
    spareSerial: "Q234-ABCD-5678",
    uplinkMode: "virtual",
    virtualIp1: "1.2.3.4",
    virtualIp2: "1.2.3.4",
});
export const merakiNetworksApplianceWarmSpareExample = example;
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.networks.ApplianceWarmSpare("example",
    enabled=True,
    network_id="string",
    spare_serial="Q234-ABCD-5678",
    uplink_mode="virtual",
    virtual_ip1="1.2.3.4",
    virtual_ip2="1.2.3.4")
pulumi.export("merakiNetworksApplianceWarmSpareExample", example)
Copy
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.NewApplianceWarmSpare(ctx, "example", &networks.ApplianceWarmSpareArgs{
			Enabled:     pulumi.Bool(true),
			NetworkId:   pulumi.String("string"),
			SpareSerial: pulumi.String("Q234-ABCD-5678"),
			UplinkMode:  pulumi.String("virtual"),
			VirtualIp1:  pulumi.String("1.2.3.4"),
			VirtualIp2:  pulumi.String("1.2.3.4"),
		})
		if err != nil {
			return err
		}
		ctx.Export("merakiNetworksApplianceWarmSpareExample", example)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;

return await Deployment.RunAsync(() => 
{
    var example = new Meraki.Networks.ApplianceWarmSpare("example", new()
    {
        Enabled = true,
        NetworkId = "string",
        SpareSerial = "Q234-ABCD-5678",
        UplinkMode = "virtual",
        VirtualIp1 = "1.2.3.4",
        VirtualIp2 = "1.2.3.4",
    });

    return new Dictionary<string, object?>
    {
        ["merakiNetworksApplianceWarmSpareExample"] = example,
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.ApplianceWarmSpare;
import com.pulumi.meraki.networks.ApplianceWarmSpareArgs;
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 ApplianceWarmSpare("example", ApplianceWarmSpareArgs.builder()
            .enabled(true)
            .networkId("string")
            .spareSerial("Q234-ABCD-5678")
            .uplinkMode("virtual")
            .virtualIp1("1.2.3.4")
            .virtualIp2("1.2.3.4")
            .build());

        ctx.export("merakiNetworksApplianceWarmSpareExample", example);
    }
}
Copy
resources:
  example:
    type: meraki:networks:ApplianceWarmSpare
    properties:
      enabled: true
      networkId: string
      spareSerial: Q234-ABCD-5678
      uplinkMode: virtual
      virtualIp1: 1.2.3.4
      virtualIp2: 1.2.3.4
outputs:
  merakiNetworksApplianceWarmSpareExample: ${example}
Copy

Create ApplianceWarmSpare Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ApplianceWarmSpare(name: string, args: ApplianceWarmSpareArgs, opts?: CustomResourceOptions);
@overload
def ApplianceWarmSpare(resource_name: str,
                       args: ApplianceWarmSpareArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def ApplianceWarmSpare(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       network_id: Optional[str] = None,
                       enabled: Optional[bool] = None,
                       spare_serial: Optional[str] = None,
                       uplink_mode: Optional[str] = None,
                       virtual_ip1: Optional[str] = None,
                       virtual_ip2: Optional[str] = None)
func NewApplianceWarmSpare(ctx *Context, name string, args ApplianceWarmSpareArgs, opts ...ResourceOption) (*ApplianceWarmSpare, error)
public ApplianceWarmSpare(string name, ApplianceWarmSpareArgs args, CustomResourceOptions? opts = null)
public ApplianceWarmSpare(String name, ApplianceWarmSpareArgs args)
public ApplianceWarmSpare(String name, ApplianceWarmSpareArgs args, CustomResourceOptions options)
type: meraki:networks:ApplianceWarmSpare
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ApplianceWarmSpareArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ApplianceWarmSpareArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ApplianceWarmSpareArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ApplianceWarmSpareArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApplianceWarmSpareArgs
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 applianceWarmSpareResource = new Meraki.Networks.ApplianceWarmSpare("applianceWarmSpareResource", new()
{
    NetworkId = "string",
    Enabled = false,
    SpareSerial = "string",
    UplinkMode = "string",
    VirtualIp1 = "string",
    VirtualIp2 = "string",
});
Copy
example, err := networks.NewApplianceWarmSpare(ctx, "applianceWarmSpareResource", &networks.ApplianceWarmSpareArgs{
	NetworkId:   pulumi.String("string"),
	Enabled:     pulumi.Bool(false),
	SpareSerial: pulumi.String("string"),
	UplinkMode:  pulumi.String("string"),
	VirtualIp1:  pulumi.String("string"),
	VirtualIp2:  pulumi.String("string"),
})
Copy
var applianceWarmSpareResource = new ApplianceWarmSpare("applianceWarmSpareResource", ApplianceWarmSpareArgs.builder()
    .networkId("string")
    .enabled(false)
    .spareSerial("string")
    .uplinkMode("string")
    .virtualIp1("string")
    .virtualIp2("string")
    .build());
Copy
appliance_warm_spare_resource = meraki.networks.ApplianceWarmSpare("applianceWarmSpareResource",
    network_id="string",
    enabled=False,
    spare_serial="string",
    uplink_mode="string",
    virtual_ip1="string",
    virtual_ip2="string")
Copy
const applianceWarmSpareResource = new meraki.networks.ApplianceWarmSpare("applianceWarmSpareResource", {
    networkId: "string",
    enabled: false,
    spareSerial: "string",
    uplinkMode: "string",
    virtualIp1: "string",
    virtualIp2: "string",
});
Copy
type: meraki:networks:ApplianceWarmSpare
properties:
    enabled: false
    networkId: string
    spareSerial: string
    uplinkMode: string
    virtualIp1: string
    virtualIp2: string
Copy

ApplianceWarmSpare 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 ApplianceWarmSpare resource accepts the following input properties:

NetworkId This property is required. string
networkId path parameter. Network ID
Enabled bool
Enable warm spare
SpareSerial string
Serial number of the warm spare appliance
UplinkMode string
Uplink mode, either virtual or public
VirtualIp1 string
The WAN 1 shared IP
VirtualIp2 string
The WAN 2 shared IP
NetworkId This property is required. string
networkId path parameter. Network ID
Enabled bool
Enable warm spare
SpareSerial string
Serial number of the warm spare appliance
UplinkMode string
Uplink mode, either virtual or public
VirtualIp1 string
The WAN 1 shared IP
VirtualIp2 string
The WAN 2 shared IP
networkId This property is required. String
networkId path parameter. Network ID
enabled Boolean
Enable warm spare
spareSerial String
Serial number of the warm spare appliance
uplinkMode String
Uplink mode, either virtual or public
virtualIp1 String
The WAN 1 shared IP
virtualIp2 String
The WAN 2 shared IP
networkId This property is required. string
networkId path parameter. Network ID
enabled boolean
Enable warm spare
spareSerial string
Serial number of the warm spare appliance
uplinkMode string
Uplink mode, either virtual or public
virtualIp1 string
The WAN 1 shared IP
virtualIp2 string
The WAN 2 shared IP
network_id This property is required. str
networkId path parameter. Network ID
enabled bool
Enable warm spare
spare_serial str
Serial number of the warm spare appliance
uplink_mode str
Uplink mode, either virtual or public
virtual_ip1 str
The WAN 1 shared IP
virtual_ip2 str
The WAN 2 shared IP
networkId This property is required. String
networkId path parameter. Network ID
enabled Boolean
Enable warm spare
spareSerial String
Serial number of the warm spare appliance
uplinkMode String
Uplink mode, either virtual or public
virtualIp1 String
The WAN 1 shared IP
virtualIp2 String
The WAN 2 shared IP

Outputs

All input properties are implicitly available as output properties. Additionally, the ApplianceWarmSpare resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
PrimarySerial string
Wan1 ApplianceWarmSpareWan1
Wan2 ApplianceWarmSpareWan2
Id string
The provider-assigned unique ID for this managed resource.
PrimarySerial string
Wan1 ApplianceWarmSpareWan1
Wan2 ApplianceWarmSpareWan2
id String
The provider-assigned unique ID for this managed resource.
primarySerial String
wan1 ApplianceWarmSpareWan1
wan2 ApplianceWarmSpareWan2
id string
The provider-assigned unique ID for this managed resource.
primarySerial string
wan1 ApplianceWarmSpareWan1
wan2 ApplianceWarmSpareWan2
id str
The provider-assigned unique ID for this managed resource.
primary_serial str
wan1 ApplianceWarmSpareWan1
wan2 ApplianceWarmSpareWan2
id String
The provider-assigned unique ID for this managed resource.
primarySerial String
wan1 Property Map
wan2 Property Map

Look up Existing ApplianceWarmSpare Resource

Get an existing ApplianceWarmSpare 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?: ApplianceWarmSpareState, opts?: CustomResourceOptions): ApplianceWarmSpare
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enabled: Optional[bool] = None,
        network_id: Optional[str] = None,
        primary_serial: Optional[str] = None,
        spare_serial: Optional[str] = None,
        uplink_mode: Optional[str] = None,
        virtual_ip1: Optional[str] = None,
        virtual_ip2: Optional[str] = None,
        wan1: Optional[ApplianceWarmSpareWan1Args] = None,
        wan2: Optional[ApplianceWarmSpareWan2Args] = None) -> ApplianceWarmSpare
func GetApplianceWarmSpare(ctx *Context, name string, id IDInput, state *ApplianceWarmSpareState, opts ...ResourceOption) (*ApplianceWarmSpare, error)
public static ApplianceWarmSpare Get(string name, Input<string> id, ApplianceWarmSpareState? state, CustomResourceOptions? opts = null)
public static ApplianceWarmSpare get(String name, Output<String> id, ApplianceWarmSpareState state, CustomResourceOptions options)
resources:  _:    type: meraki:networks:ApplianceWarmSpare    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Enabled bool
Enable warm spare
NetworkId string
networkId path parameter. Network ID
PrimarySerial string
SpareSerial string
Serial number of the warm spare appliance
UplinkMode string
Uplink mode, either virtual or public
VirtualIp1 string
The WAN 1 shared IP
VirtualIp2 string
The WAN 2 shared IP
Wan1 ApplianceWarmSpareWan1
Wan2 ApplianceWarmSpareWan2
Enabled bool
Enable warm spare
NetworkId string
networkId path parameter. Network ID
PrimarySerial string
SpareSerial string
Serial number of the warm spare appliance
UplinkMode string
Uplink mode, either virtual or public
VirtualIp1 string
The WAN 1 shared IP
VirtualIp2 string
The WAN 2 shared IP
Wan1 ApplianceWarmSpareWan1Args
Wan2 ApplianceWarmSpareWan2Args
enabled Boolean
Enable warm spare
networkId String
networkId path parameter. Network ID
primarySerial String
spareSerial String
Serial number of the warm spare appliance
uplinkMode String
Uplink mode, either virtual or public
virtualIp1 String
The WAN 1 shared IP
virtualIp2 String
The WAN 2 shared IP
wan1 ApplianceWarmSpareWan1
wan2 ApplianceWarmSpareWan2
enabled boolean
Enable warm spare
networkId string
networkId path parameter. Network ID
primarySerial string
spareSerial string
Serial number of the warm spare appliance
uplinkMode string
Uplink mode, either virtual or public
virtualIp1 string
The WAN 1 shared IP
virtualIp2 string
The WAN 2 shared IP
wan1 ApplianceWarmSpareWan1
wan2 ApplianceWarmSpareWan2
enabled bool
Enable warm spare
network_id str
networkId path parameter. Network ID
primary_serial str
spare_serial str
Serial number of the warm spare appliance
uplink_mode str
Uplink mode, either virtual or public
virtual_ip1 str
The WAN 1 shared IP
virtual_ip2 str
The WAN 2 shared IP
wan1 ApplianceWarmSpareWan1Args
wan2 ApplianceWarmSpareWan2Args
enabled Boolean
Enable warm spare
networkId String
networkId path parameter. Network ID
primarySerial String
spareSerial String
Serial number of the warm spare appliance
uplinkMode String
Uplink mode, either virtual or public
virtualIp1 String
The WAN 1 shared IP
virtualIp2 String
The WAN 2 shared IP
wan1 Property Map
wan2 Property Map

Supporting Types

ApplianceWarmSpareWan1
, ApplianceWarmSpareWan1Args

Ip string
Subnet string
Ip string
Subnet string
ip String
subnet String
ip string
subnet string
ip str
subnet str
ip String
subnet String

ApplianceWarmSpareWan2
, ApplianceWarmSpareWan2Args

Ip string
Subnet string
Ip string
Subnet string
ip String
subnet String
ip string
subnet string
ip str
subnet str
ip String
subnet String

Import

$ pulumi import meraki:networks/applianceWarmSpare:ApplianceWarmSpare example "network_id"
Copy

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.