UNPKG

@pulumi/meraki

Version:

A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0

80 lines (79 loc) 3.27 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ~>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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = new meraki.devices.SwitchPortsCycle("example", { * serial: "string", * parameters: { * ports: [ * "1", * "2-5", * "1_MA-MOD-8X10G_1", * "1_MA-MOD-8X10G_2-1_MA-MOD-8X10G_8", * ], * }, * }); * export const merakiDevicesSwitchPortsCycleExample = example; * ``` */ export declare class SwitchPortsCycle extends pulumi.CustomResource { /** * Get an existing SwitchPortsCycle 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?: SwitchPortsCycleState, opts?: pulumi.CustomResourceOptions): SwitchPortsCycle; /** * Returns true if the given object is an instance of SwitchPortsCycle. 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 SwitchPortsCycle; readonly item: pulumi.Output<outputs.devices.SwitchPortsCycleItem>; readonly parameters: pulumi.Output<outputs.devices.SwitchPortsCycleParameters>; /** * serial path parameter. */ readonly serial: pulumi.Output<string>; /** * Create a SwitchPortsCycle 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: SwitchPortsCycleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SwitchPortsCycle resources. */ export interface SwitchPortsCycleState { item?: pulumi.Input<inputs.devices.SwitchPortsCycleItem>; parameters?: pulumi.Input<inputs.devices.SwitchPortsCycleParameters>; /** * serial path parameter. */ serial?: pulumi.Input<string>; } /** * The set of arguments for constructing a SwitchPortsCycle resource. */ export interface SwitchPortsCycleArgs { parameters: pulumi.Input<inputs.devices.SwitchPortsCycleParameters>; /** * serial path parameter. */ serial: pulumi.Input<string>; }