1. Packages
  2. Fastly Provider
  3. API Docs
  4. getNgwafWorkspaces
Fastly v11.0.0 published on Thursday, Sep 4, 2025 by Pulumi

fastly.getNgwafWorkspaces

Explore with Pulumi AI

fastly logo
Fastly v11.0.0 published on Thursday, Sep 4, 2025 by Pulumi

    Use this data source to get a list of [Fastly Next-Gen WAF Workspaces][1].

    Using getNgwafWorkspaces

    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 getNgwafWorkspaces(opts?: InvokeOptions): Promise<GetNgwafWorkspacesResult>
    function getNgwafWorkspacesOutput(opts?: InvokeOptions): Output<GetNgwafWorkspacesResult>
    def get_ngwaf_workspaces(opts: Optional[InvokeOptions] = None) -> GetNgwafWorkspacesResult
    def get_ngwaf_workspaces_output(opts: Optional[InvokeOptions] = None) -> Output[GetNgwafWorkspacesResult]
    func GetNgwafWorkspaces(ctx *Context, opts ...InvokeOption) (*GetNgwafWorkspacesResult, error)
    func GetNgwafWorkspacesOutput(ctx *Context, opts ...InvokeOption) GetNgwafWorkspacesResultOutput

    > Note: This function is named GetNgwafWorkspaces in the Go SDK.

    public static class GetNgwafWorkspaces 
    {
        public static Task<GetNgwafWorkspacesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetNgwafWorkspacesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNgwafWorkspacesResult> getNgwafWorkspaces(InvokeOptions options)
    public static Output<GetNgwafWorkspacesResult> getNgwafWorkspaces(InvokeOptions options)
    
    fn::invoke:
      function: fastly:index/getNgwafWorkspaces:getNgwafWorkspaces
      arguments:
        # arguments dictionary

    getNgwafWorkspaces Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Workspaces List<GetNgwafWorkspacesWorkspace>
    List of all workspaces.
    Id string
    The provider-assigned unique ID for this managed resource.
    Workspaces []GetNgwafWorkspacesWorkspace
    List of all workspaces.
    id String
    The provider-assigned unique ID for this managed resource.
    workspaces List<GetNgwafWorkspacesWorkspace>
    List of all workspaces.
    id string
    The provider-assigned unique ID for this managed resource.
    workspaces GetNgwafWorkspacesWorkspace[]
    List of all workspaces.
    id str
    The provider-assigned unique ID for this managed resource.
    workspaces Sequence[GetNgwafWorkspacesWorkspace]
    List of all workspaces.
    id String
    The provider-assigned unique ID for this managed resource.
    workspaces List<Property Map>
    List of all workspaces.

    Supporting Types

    GetNgwafWorkspacesWorkspace

    Id string
    The ID of the workspace.
    Name string
    The name of the workspace.
    Id string
    The ID of the workspace.
    Name string
    The name of the workspace.
    id String
    The ID of the workspace.
    name String
    The name of the workspace.
    id string
    The ID of the workspace.
    name string
    The name of the workspace.
    id str
    The ID of the workspace.
    name str
    The name of the workspace.
    id String
    The ID of the workspace.
    name String
    The name of the workspace.

    Package Details

    Repository
    Fastly pulumi/pulumi-fastly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fastly Terraform Provider.
    fastly logo
    Fastly v11.0.0 published on Thursday, Sep 4, 2025 by Pulumi