@pulumi/juniper-mist
Version:
A Pulumi package for creating and managing Juniper Mist resources.
64 lines (63 loc) • 2.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* This data source provides the list of Site Webhooks.
*
* A Site Webhook is a configuration that allows real-time events and data from a specific site to be pushed to a provided url.\
* It enables the collection of information about various topics such as device events, alarms, audits, client sessions and location updates at the site 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.site.getWebhooks({
* siteId: "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 {
siteId: string;
}
/**
* A collection of values returned by getWebhooks.
*/
export interface GetWebhooksResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly siteId: string;
readonly siteWebhooks: outputs.site.GetWebhooksSiteWebhook[];
}
/**
* This data source provides the list of Site Webhooks.
*
* A Site Webhook is a configuration that allows real-time events and data from a specific site to be pushed to a provided url.\
* It enables the collection of information about various topics such as device events, alarms, audits, client sessions and location updates at the site 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.site.getWebhooks({
* siteId: "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 {
siteId: pulumi.Input<string>;
}