UNPKG

@pulumi/meraki

Version:

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

63 lines (62 loc) 1.74 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.networks.getSwitchStp({ * networkId: "string", * }); * export const merakiNetworksSwitchStpExample = example.then(example => example.item); * ``` */ export declare function getSwitchStp(args: GetSwitchStpArgs, opts?: pulumi.InvokeOptions): Promise<GetSwitchStpResult>; /** * A collection of arguments for invoking getSwitchStp. */ export interface GetSwitchStpArgs { /** * networkId path parameter. Network ID */ networkId: string; } /** * A collection of values returned by getSwitchStp. */ export interface GetSwitchStpResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly item: outputs.networks.GetSwitchStpItem; /** * networkId path parameter. Network ID */ readonly networkId: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.networks.getSwitchStp({ * networkId: "string", * }); * export const merakiNetworksSwitchStpExample = example.then(example => example.item); * ``` */ export declare function getSwitchStpOutput(args: GetSwitchStpOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSwitchStpResult>; /** * A collection of arguments for invoking getSwitchStp. */ export interface GetSwitchStpOutputArgs { /** * networkId path parameter. Network ID */ networkId: pulumi.Input<string>; }