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.24 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 Opsgenie integration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const ngwafOpsgenieAlerts = fastly.getNgwafAlertOpsgenieIntegration({ * workspaceId: testRedactionsWorkspace.id, * }); * export const ngwafOpsgenieAlertsAll = opsgenieAlerts; * ``` */ export declare function getNgwafAlertOpsgenieIntegration(args: GetNgwafAlertOpsgenieIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetNgwafAlertOpsgenieIntegrationResult>; /** * A collection of arguments for invoking getNgwafAlertOpsgenieIntegration. */ export interface GetNgwafAlertOpsgenieIntegrationArgs { /** * The ID of the workspace. */ workspaceId: string; } /** * A collection of values returned by getNgwafAlertOpsgenieIntegration. */ export interface GetNgwafAlertOpsgenieIntegrationResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * List of all Opsgenie alerts for a workspace. */ readonly opsgenieAlerts: outputs.GetNgwafAlertOpsgenieIntegrationOpsgenieAlert[]; /** * The ID of the workspace. */ readonly workspaceId: string; } /** * Use this data source to get a Fastly Next-Gen WAF Alert Opsgenie integration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const ngwafOpsgenieAlerts = fastly.getNgwafAlertOpsgenieIntegration({ * workspaceId: testRedactionsWorkspace.id, * }); * export const ngwafOpsgenieAlertsAll = opsgenieAlerts; * ``` */ export declare function getNgwafAlertOpsgenieIntegrationOutput(args: GetNgwafAlertOpsgenieIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNgwafAlertOpsgenieIntegrationResult>; /** * A collection of arguments for invoking getNgwafAlertOpsgenieIntegration. */ export interface GetNgwafAlertOpsgenieIntegrationOutputArgs { /** * The ID of the workspace. */ workspaceId: pulumi.Input<string>; }