UNPKG

@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.21 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to get a Fastly Next-Gen WAF Alert Datadog integration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const ngwafDatadogAlerts = fastly.getNgwafAlertDatadogIntegration({ * workspaceId: testRedactionsWorkspace.id, * }); * export const ngwafDatadogAlertsAll = datadogAlerts; * ``` */ export declare function getNgwafAlertDatadogIntegration(args: GetNgwafAlertDatadogIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetNgwafAlertDatadogIntegrationResult>; /** * A collection of arguments for invoking getNgwafAlertDatadogIntegration. */ export interface GetNgwafAlertDatadogIntegrationArgs { /** * The ID of the workspace. */ workspaceId: string; } /** * A collection of values returned by getNgwafAlertDatadogIntegration. */ export interface GetNgwafAlertDatadogIntegrationResult { /** * List of all Datadog alerts for a workspace. */ readonly datadogAlerts: outputs.GetNgwafAlertDatadogIntegrationDatadogAlert[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The ID of the workspace. */ readonly workspaceId: string; } /** * Use this data source to get a Fastly Next-Gen WAF Alert Datadog integration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const ngwafDatadogAlerts = fastly.getNgwafAlertDatadogIntegration({ * workspaceId: testRedactionsWorkspace.id, * }); * export const ngwafDatadogAlertsAll = datadogAlerts; * ``` */ export declare function getNgwafAlertDatadogIntegrationOutput(args: GetNgwafAlertDatadogIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNgwafAlertDatadogIntegrationResult>; /** * A collection of arguments for invoking getNgwafAlertDatadogIntegration. */ export interface GetNgwafAlertDatadogIntegrationOutputArgs { /** * The ID of the workspace. */ workspaceId: pulumi.Input<string>; }