@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
70 lines (69 loc) • 2.19 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Use this data source to get a Fastly Next-Gen WAF Alert Webhook integration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const ngwafWebhookAlerts = fastly.getNgwafAlertWebhookIntegration({
* workspaceId: example.id,
* });
* export const ngwafWebhookAlertsAll = ngwafWebhookAlerts;
* ```
*/
export declare function getNgwafAlertWebhookIntegration(args: GetNgwafAlertWebhookIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetNgwafAlertWebhookIntegrationResult>;
/**
* A collection of arguments for invoking getNgwafAlertWebhookIntegration.
*/
export interface GetNgwafAlertWebhookIntegrationArgs {
/**
* The ID of the workspace.
*/
workspaceId: string;
}
/**
* A collection of values returned by getNgwafAlertWebhookIntegration.
*/
export interface GetNgwafAlertWebhookIntegrationResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* List of all webhook alerts for a workspace.
*/
readonly webhookAlerts: outputs.GetNgwafAlertWebhookIntegrationWebhookAlert[];
/**
* The ID of the workspace.
*/
readonly workspaceId: string;
}
/**
* Use this data source to get a Fastly Next-Gen WAF Alert Webhook integration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const ngwafWebhookAlerts = fastly.getNgwafAlertWebhookIntegration({
* workspaceId: example.id,
* });
* export const ngwafWebhookAlertsAll = ngwafWebhookAlerts;
* ```
*/
export declare function getNgwafAlertWebhookIntegrationOutput(args: GetNgwafAlertWebhookIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNgwafAlertWebhookIntegrationResult>;
/**
* A collection of arguments for invoking getNgwafAlertWebhookIntegration.
*/
export interface GetNgwafAlertWebhookIntegrationOutputArgs {
/**
* The ID of the workspace.
*/
workspaceId: pulumi.Input<string>;
}