@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
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 PagerDuty integration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const ngwafPagerdutyAlerts = fastly.getNgwafAlertPagerdutyIntegration({
* workspaceId: example.id,
* });
* export const ngwafPagerdutyAlertsAll = ngwafPagerdutyAlerts;
* ```
*/
export declare function getNgwafAlertPagerdutyIntegration(args: GetNgwafAlertPagerdutyIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetNgwafAlertPagerdutyIntegrationResult>;
/**
* A collection of arguments for invoking getNgwafAlertPagerdutyIntegration.
*/
export interface GetNgwafAlertPagerdutyIntegrationArgs {
/**
* The ID of the workspace.
*/
workspaceId: string;
}
/**
* A collection of values returned by getNgwafAlertPagerdutyIntegration.
*/
export interface GetNgwafAlertPagerdutyIntegrationResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* List of all PagerDuty alerts for a workspace.
*/
readonly pagerdutyAlerts: outputs.GetNgwafAlertPagerdutyIntegrationPagerdutyAlert[];
/**
* The ID of the workspace.
*/
readonly workspaceId: string;
}
/**
* Use this data source to get a Fastly Next-Gen WAF Alert PagerDuty integration.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const ngwafPagerdutyAlerts = fastly.getNgwafAlertPagerdutyIntegration({
* workspaceId: example.id,
* });
* export const ngwafPagerdutyAlertsAll = ngwafPagerdutyAlerts;
* ```
*/
export declare function getNgwafAlertPagerdutyIntegrationOutput(args: GetNgwafAlertPagerdutyIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNgwafAlertPagerdutyIntegrationResult>;
/**
* A collection of arguments for invoking getNgwafAlertPagerdutyIntegration.
*/
export interface GetNgwafAlertPagerdutyIntegrationOutputArgs {
/**
* The ID of the workspace.
*/
workspaceId: pulumi.Input<string>;
}