UNPKG

@pulumi/meraki

Version:

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

136 lines (135 loc) 6.33 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.getSwitchDhcpV4ServersSeen({ * endingBefore: "string", * networkId: "string", * perPage: 1, * startingAfter: "string", * t0: "string", * timespan: 1, * }); * export const merakiNetworksSwitchDhcpV4ServersSeenExample = example.then(example => example.items); * ``` */ export declare function getSwitchDhcpV4ServersSeen(args: GetSwitchDhcpV4ServersSeenArgs, opts?: pulumi.InvokeOptions): Promise<GetSwitchDhcpV4ServersSeenResult>; /** * A collection of arguments for invoking getSwitchDhcpV4ServersSeen. */ export interface GetSwitchDhcpV4ServersSeenArgs { /** * endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ endingBefore?: string; /** * networkId path parameter. Network ID */ networkId: string; /** * perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000. */ perPage?: number; /** * startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ startingAfter?: string; /** * t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today. */ t0?: string; /** * timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. */ timespan?: number; } /** * A collection of values returned by getSwitchDhcpV4ServersSeen. */ export interface GetSwitchDhcpV4ServersSeenResult { /** * endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ readonly endingBefore?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Array of ResponseSwitchGetNetworkSwitchDhcpV4ServersSeen */ readonly items: outputs.networks.GetSwitchDhcpV4ServersSeenItem[]; /** * networkId path parameter. Network ID */ readonly networkId: string; /** * perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000. */ readonly perPage?: number; /** * startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ readonly startingAfter?: string; /** * t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today. */ readonly t0?: string; /** * timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. */ readonly timespan?: number; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.networks.getSwitchDhcpV4ServersSeen({ * endingBefore: "string", * networkId: "string", * perPage: 1, * startingAfter: "string", * t0: "string", * timespan: 1, * }); * export const merakiNetworksSwitchDhcpV4ServersSeenExample = example.then(example => example.items); * ``` */ export declare function getSwitchDhcpV4ServersSeenOutput(args: GetSwitchDhcpV4ServersSeenOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSwitchDhcpV4ServersSeenResult>; /** * A collection of arguments for invoking getSwitchDhcpV4ServersSeen. */ export interface GetSwitchDhcpV4ServersSeenOutputArgs { /** * endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ endingBefore?: pulumi.Input<string>; /** * networkId path parameter. Network ID */ networkId: pulumi.Input<string>; /** * perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000. */ perPage?: pulumi.Input<number>; /** * startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ startingAfter?: pulumi.Input<string>; /** * t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 31 days from today. */ t0?: pulumi.Input<string>; /** * timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. */ timespan?: pulumi.Input<number>; }