@pulumi/meraki
Version:
A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0
102 lines (101 loc) • 3.22 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as meraki from "@pulumi/meraki";
*
* const example = new meraki.devices.SwitchWarmSpare("example", {
* enabled: true,
* serial: "string",
* spareSerial: "Q234-ABCD-0002",
* });
* export const merakiDevicesSwitchWarmSpareExample = example;
* ```
*
* ## Import
*
* ```sh
* $ pulumi import meraki:devices/switchWarmSpare:SwitchWarmSpare example "serial"
* ```
*/
export declare class SwitchWarmSpare extends pulumi.CustomResource {
/**
* Get an existing SwitchWarmSpare resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SwitchWarmSpareState, opts?: pulumi.CustomResourceOptions): SwitchWarmSpare;
/**
* Returns true if the given object is an instance of SwitchWarmSpare. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is SwitchWarmSpare;
/**
* Enable or disable warm spare for a switch
*/
readonly enabled: pulumi.Output<boolean>;
/**
* Serial number of the primary switch
*/
readonly primarySerial: pulumi.Output<string>;
/**
* serial path parameter.
*/
readonly serial: pulumi.Output<string>;
/**
* Serial number of the warm spare switch
*/
readonly spareSerial: pulumi.Output<string>;
/**
* Create a SwitchWarmSpare resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: SwitchWarmSpareArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering SwitchWarmSpare resources.
*/
export interface SwitchWarmSpareState {
/**
* Enable or disable warm spare for a switch
*/
enabled?: pulumi.Input<boolean>;
/**
* Serial number of the primary switch
*/
primarySerial?: pulumi.Input<string>;
/**
* serial path parameter.
*/
serial?: pulumi.Input<string>;
/**
* Serial number of the warm spare switch
*/
spareSerial?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a SwitchWarmSpare resource.
*/
export interface SwitchWarmSpareArgs {
/**
* Enable or disable warm spare for a switch
*/
enabled?: pulumi.Input<boolean>;
/**
* serial path parameter.
*/
serial: pulumi.Input<string>;
/**
* Serial number of the warm spare switch
*/
spareSerial?: pulumi.Input<string>;
}