UNPKG

@pulumi/juniper-mist

Version:

A Pulumi package for creating and managing Juniper Mist resources.

64 lines (63 loc) 2.34 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides the list of Org Webhooks. * * A Webhook is a configuration that allows real-time events and data from the Org to be pushed to a provided url.\ * It enables the collection of information about various topics such as device events, alarms, and audits updates at the org level.\ * The Webhook can be set up and customized using the Mist API, allowing users to receive and analyze specific data from a particular site. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as junipermist from "@pulumi/juniper-mist"; * * const webhooks = junipermist.org.getWebhooks({ * orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550", * }); * ``` */ export declare function getWebhooks(args: GetWebhooksArgs, opts?: pulumi.InvokeOptions): Promise<GetWebhooksResult>; /** * A collection of arguments for invoking getWebhooks. */ export interface GetWebhooksArgs { orgId: string; } /** * A collection of values returned by getWebhooks. */ export interface GetWebhooksResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly orgId: string; readonly orgWebhooks: outputs.org.GetWebhooksOrgWebhook[]; } /** * This data source provides the list of Org Webhooks. * * A Webhook is a configuration that allows real-time events and data from the Org to be pushed to a provided url.\ * It enables the collection of information about various topics such as device events, alarms, and audits updates at the org level.\ * The Webhook can be set up and customized using the Mist API, allowing users to receive and analyze specific data from a particular site. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as junipermist from "@pulumi/juniper-mist"; * * const webhooks = junipermist.org.getWebhooks({ * orgId: "15fca2ac-b1a6-47cc-9953-cc6906281550", * }); * ``` */ export declare function getWebhooksOutput(args: GetWebhooksOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebhooksResult>; /** * A collection of arguments for invoking getWebhooks. */ export interface GetWebhooksOutputArgs { orgId: pulumi.Input<string>; }