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

meraki.networks.ApplianceWarmSpareSwap

Explore with Pulumi AI

~>Warning: This resource does not represent a real-world entity in Meraki Dashboard, therefore changing or deleting this resource on its own has no immediate effect. Instead, it is a task part of a Meraki Dashboard workflow. It is executed in Meraki without any additional verification. It does not check if it was executed before or if a similar configuration or action already existed previously.

Example Usage

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

const example = new meraki.networks.ApplianceWarmSpareSwap("example", {networkId: "string"});
export const merakiNetworksApplianceWarmSpareSwapExample = example;
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.networks.ApplianceWarmSpareSwap("example", network_id="string")
pulumi.export("merakiNetworksApplianceWarmSpareSwapExample", 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.NewApplianceWarmSpareSwap(ctx, "example", &networks.ApplianceWarmSpareSwapArgs{
			NetworkId: pulumi.String("string"),
		})
		if err != nil {
			return err
		}
		ctx.Export("merakiNetworksApplianceWarmSpareSwapExample", 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.ApplianceWarmSpareSwap("example", new()
    {
        NetworkId = "string",
    });

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

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.ApplianceWarmSpareSwap;
import com.pulumi.meraki.networks.ApplianceWarmSpareSwapArgs;
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 ApplianceWarmSpareSwap("example", ApplianceWarmSpareSwapArgs.builder()
            .networkId("string")
            .build());

        ctx.export("merakiNetworksApplianceWarmSpareSwapExample", example);
    }
}
Copy
resources:
  example:
    type: meraki:networks:ApplianceWarmSpareSwap
    properties:
      networkId: string
outputs:
  merakiNetworksApplianceWarmSpareSwapExample: ${example}
Copy

Create ApplianceWarmSpareSwap Resource

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

Constructor syntax

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

@overload
def ApplianceWarmSpareSwap(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           network_id: Optional[str] = None)
func NewApplianceWarmSpareSwap(ctx *Context, name string, args ApplianceWarmSpareSwapArgs, opts ...ResourceOption) (*ApplianceWarmSpareSwap, error)
public ApplianceWarmSpareSwap(string name, ApplianceWarmSpareSwapArgs args, CustomResourceOptions? opts = null)
public ApplianceWarmSpareSwap(String name, ApplianceWarmSpareSwapArgs args)
public ApplianceWarmSpareSwap(String name, ApplianceWarmSpareSwapArgs args, CustomResourceOptions options)
type: meraki:networks:ApplianceWarmSpareSwap
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. ApplianceWarmSpareSwapArgs
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. ApplianceWarmSpareSwapArgs
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. ApplianceWarmSpareSwapArgs
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. ApplianceWarmSpareSwapArgs
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. ApplianceWarmSpareSwapArgs
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 applianceWarmSpareSwapResource = new Meraki.Networks.ApplianceWarmSpareSwap("applianceWarmSpareSwapResource", new()
{
    NetworkId = "string",
});
Copy
example, err := networks.NewApplianceWarmSpareSwap(ctx, "applianceWarmSpareSwapResource", &networks.ApplianceWarmSpareSwapArgs{
	NetworkId: pulumi.String("string"),
})
Copy
var applianceWarmSpareSwapResource = new ApplianceWarmSpareSwap("applianceWarmSpareSwapResource", ApplianceWarmSpareSwapArgs.builder()
    .networkId("string")
    .build());
Copy
appliance_warm_spare_swap_resource = meraki.networks.ApplianceWarmSpareSwap("applianceWarmSpareSwapResource", network_id="string")
Copy
const applianceWarmSpareSwapResource = new meraki.networks.ApplianceWarmSpareSwap("applianceWarmSpareSwapResource", {networkId: "string"});
Copy
type: meraki:networks:ApplianceWarmSpareSwap
properties:
    networkId: string
Copy

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

NetworkId This property is required. string
networkId path parameter. Network ID
NetworkId This property is required. string
networkId path parameter. Network ID
networkId This property is required. String
networkId path parameter. Network ID
networkId This property is required. string
networkId path parameter. Network ID
network_id This property is required. str
networkId path parameter. Network ID
networkId This property is required. String
networkId path parameter. Network ID

Outputs

All input properties are implicitly available as output properties. Additionally, the ApplianceWarmSpareSwap 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 ApplianceWarmSpareSwap Resource

Get an existing ApplianceWarmSpareSwap 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?: ApplianceWarmSpareSwapState, opts?: CustomResourceOptions): ApplianceWarmSpareSwap
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        network_id: Optional[str] = None) -> ApplianceWarmSpareSwap
func GetApplianceWarmSpareSwap(ctx *Context, name string, id IDInput, state *ApplianceWarmSpareSwapState, opts ...ResourceOption) (*ApplianceWarmSpareSwap, error)
public static ApplianceWarmSpareSwap Get(string name, Input<string> id, ApplianceWarmSpareSwapState? state, CustomResourceOptions? opts = null)
public static ApplianceWarmSpareSwap get(String name, Output<String> id, ApplianceWarmSpareSwapState state, CustomResourceOptions options)
resources:  _:    type: meraki:networks:ApplianceWarmSpareSwap    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:
NetworkId string
networkId path parameter. Network ID
NetworkId string
networkId path parameter. Network ID
networkId String
networkId path parameter. Network ID
networkId string
networkId path parameter. Network ID
network_id str
networkId path parameter. Network ID
networkId String
networkId path parameter. Network ID

Package Details

Repository
meraki pulumi/pulumi-meraki
License
Apache-2.0
Notes
This Pulumi package is based on the meraki Terraform Provider.