Fastly v11.0.0 published on Thursday, Sep 4, 2025 by Pulumi
fastly.getNgwafAlertOpsgenieIntegration
Explore with Pulumi AI
Use this data source to get a Fastly Next-Gen WAF Alert Opsgenie integration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const ngwafOpsgenieAlerts = fastly.getNgwafAlertOpsgenieIntegration({
workspaceId: testRedactionsWorkspace.id,
});
export const ngwafOpsgenieAlertsAll = opsgenieAlerts;
import pulumi
import pulumi_fastly as fastly
ngwaf_opsgenie_alerts = fastly.get_ngwaf_alert_opsgenie_integration(workspace_id=test_redactions_workspace["id"])
pulumi.export("ngwafOpsgenieAlertsAll", opsgenie_alerts)
package main
import (
"github.com/pulumi/pulumi-fastly/sdk/v11/go/fastly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fastly.LookupNgwafAlertOpsgenieIntegration(ctx, &fastly.LookupNgwafAlertOpsgenieIntegrationArgs{
WorkspaceId: testRedactionsWorkspace.Id,
}, nil)
if err != nil {
return err
}
ctx.Export("ngwafOpsgenieAlertsAll", opsgenieAlerts)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fastly = Pulumi.Fastly;
return await Deployment.RunAsync(() =>
{
var ngwafOpsgenieAlerts = Fastly.GetNgwafAlertOpsgenieIntegration.Invoke(new()
{
WorkspaceId = testRedactionsWorkspace.Id,
});
return new Dictionary<string, object?>
{
["ngwafOpsgenieAlertsAll"] = opsgenieAlerts,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fastly.FastlyFunctions;
import com.pulumi.fastly.inputs.GetNgwafAlertOpsgenieIntegrationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var ngwafOpsgenieAlerts = FastlyFunctions.getNgwafAlertOpsgenieIntegration(GetNgwafAlertOpsgenieIntegrationArgs.builder()
.workspaceId(testRedactionsWorkspace.id())
.build());
ctx.export("ngwafOpsgenieAlertsAll", opsgenieAlerts);
}
}
variables:
ngwafOpsgenieAlerts:
fn::invoke:
function: fastly:getNgwafAlertOpsgenieIntegration
arguments:
workspaceId: ${testRedactionsWorkspace.id}
outputs:
ngwafOpsgenieAlertsAll: ${opsgenieAlerts}
Using getNgwafAlertOpsgenieIntegration
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNgwafAlertOpsgenieIntegration(args: GetNgwafAlertOpsgenieIntegrationArgs, opts?: InvokeOptions): Promise<GetNgwafAlertOpsgenieIntegrationResult>
function getNgwafAlertOpsgenieIntegrationOutput(args: GetNgwafAlertOpsgenieIntegrationOutputArgs, opts?: InvokeOptions): Output<GetNgwafAlertOpsgenieIntegrationResult>
def get_ngwaf_alert_opsgenie_integration(workspace_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNgwafAlertOpsgenieIntegrationResult
def get_ngwaf_alert_opsgenie_integration_output(workspace_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNgwafAlertOpsgenieIntegrationResult]
func LookupNgwafAlertOpsgenieIntegration(ctx *Context, args *LookupNgwafAlertOpsgenieIntegrationArgs, opts ...InvokeOption) (*LookupNgwafAlertOpsgenieIntegrationResult, error)
func LookupNgwafAlertOpsgenieIntegrationOutput(ctx *Context, args *LookupNgwafAlertOpsgenieIntegrationOutputArgs, opts ...InvokeOption) LookupNgwafAlertOpsgenieIntegrationResultOutput
> Note: This function is named LookupNgwafAlertOpsgenieIntegration
in the Go SDK.
public static class GetNgwafAlertOpsgenieIntegration
{
public static Task<GetNgwafAlertOpsgenieIntegrationResult> InvokeAsync(GetNgwafAlertOpsgenieIntegrationArgs args, InvokeOptions? opts = null)
public static Output<GetNgwafAlertOpsgenieIntegrationResult> Invoke(GetNgwafAlertOpsgenieIntegrationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNgwafAlertOpsgenieIntegrationResult> getNgwafAlertOpsgenieIntegration(GetNgwafAlertOpsgenieIntegrationArgs args, InvokeOptions options)
public static Output<GetNgwafAlertOpsgenieIntegrationResult> getNgwafAlertOpsgenieIntegration(GetNgwafAlertOpsgenieIntegrationArgs args, InvokeOptions options)
fn::invoke:
function: fastly:index/getNgwafAlertOpsgenieIntegration:getNgwafAlertOpsgenieIntegration
arguments:
# arguments dictionary
The following arguments are supported:
- Workspace
Id string - The ID of the workspace.
- Workspace
Id string - The ID of the workspace.
- workspace
Id String - The ID of the workspace.
- workspace
Id string - The ID of the workspace.
- workspace_
id str - The ID of the workspace.
- workspace
Id String - The ID of the workspace.
getNgwafAlertOpsgenieIntegration Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Opsgenie
Alerts List<GetNgwaf Alert Opsgenie Integration Opsgenie Alert> - List of all Opsgenie alerts for a workspace.
- Workspace
Id string - The ID of the workspace.
- Id string
- The provider-assigned unique ID for this managed resource.
- Opsgenie
Alerts []GetNgwaf Alert Opsgenie Integration Opsgenie Alert - List of all Opsgenie alerts for a workspace.
- Workspace
Id string - The ID of the workspace.
- id String
- The provider-assigned unique ID for this managed resource.
- opsgenie
Alerts List<GetNgwaf Alert Opsgenie Integration Opsgenie Alert> - List of all Opsgenie alerts for a workspace.
- workspace
Id String - The ID of the workspace.
- id string
- The provider-assigned unique ID for this managed resource.
- opsgenie
Alerts GetNgwaf Alert Opsgenie Integration Opsgenie Alert[] - List of all Opsgenie alerts for a workspace.
- workspace
Id string - The ID of the workspace.
- id str
- The provider-assigned unique ID for this managed resource.
- opsgenie_
alerts Sequence[GetNgwaf Alert Opsgenie Integration Opsgenie Alert] - List of all Opsgenie alerts for a workspace.
- workspace_
id str - The ID of the workspace.
- id String
- The provider-assigned unique ID for this managed resource.
- opsgenie
Alerts List<Property Map> - List of all Opsgenie alerts for a workspace.
- workspace
Id String - The ID of the workspace.
Supporting Types
GetNgwafAlertOpsgenieIntegrationOpsgenieAlert
- Id string
- The ID of the workspace alert.
- Id string
- The ID of the workspace alert.
- id String
- The ID of the workspace alert.
- id string
- The ID of the workspace alert.
- id str
- The ID of the workspace alert.
- id String
- The ID of the workspace alert.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastly
Terraform Provider.