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) 1.99 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to get a Fastly Next-Gen WAF Workspace List. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const workspaceLists = fastly.getNgwafWorkspaceLists({ * workspaceId: example.id, * }); * export const fastlyNgwafWorkspaceListsAll = workspaceLists; * ``` */ export declare function getNgwafWorkspaceLists(args: GetNgwafWorkspaceListsArgs, opts?: pulumi.InvokeOptions): Promise<GetNgwafWorkspaceListsResult>; /** * A collection of arguments for invoking getNgwafWorkspaceLists. */ export interface GetNgwafWorkspaceListsArgs { /** * The ID of the workspace. */ workspaceId: string; } /** * A collection of values returned by getNgwafWorkspaceLists. */ export interface GetNgwafWorkspaceListsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of lists. */ readonly lists: outputs.GetNgwafWorkspaceListsList[]; /** * The ID of the workspace. */ readonly workspaceId: string; } /** * Use this data source to get a Fastly Next-Gen WAF Workspace List. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as fastly from "@pulumi/fastly"; * * const workspaceLists = fastly.getNgwafWorkspaceLists({ * workspaceId: example.id, * }); * export const fastlyNgwafWorkspaceListsAll = workspaceLists; * ``` */ export declare function getNgwafWorkspaceListsOutput(args: GetNgwafWorkspaceListsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNgwafWorkspaceListsResult>; /** * A collection of arguments for invoking getNgwafWorkspaceLists. */ export interface GetNgwafWorkspaceListsOutputArgs { /** * The ID of the workspace. */ workspaceId: pulumi.Input<string>; }