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.96 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.getSwitchDhcpServerPolicy({ * networkId: "string", * }); * export const merakiNetworksSwitchDhcpServerPolicyExample = example.then(example => example.item); * ``` */ export declare function getSwitchDhcpServerPolicy(args: GetSwitchDhcpServerPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetSwitchDhcpServerPolicyResult>; /** * A collection of arguments for invoking getSwitchDhcpServerPolicy. */ export interface GetSwitchDhcpServerPolicyArgs { /** * networkId path parameter. Network ID */ networkId: string; } /** * A collection of values returned by getSwitchDhcpServerPolicy. */ export interface GetSwitchDhcpServerPolicyResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly item: outputs.networks.GetSwitchDhcpServerPolicyItem; /** * 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.getSwitchDhcpServerPolicy({ * networkId: "string", * }); * export const merakiNetworksSwitchDhcpServerPolicyExample = example.then(example => example.item); * ``` */ export declare function getSwitchDhcpServerPolicyOutput(args: GetSwitchDhcpServerPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSwitchDhcpServerPolicyResult>; /** * A collection of arguments for invoking getSwitchDhcpServerPolicy. */ export interface GetSwitchDhcpServerPolicyOutputArgs { /** * networkId path parameter. Network ID */ networkId: pulumi.Input<string>; }