fastly.getNgwafAccountSignals
Use this data source to get a Fastly Next-Gen WAF Account Signal.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const accountSignals = fastly.getNgwafAccountSignals({});
export const fastlyNgwafAccountSignalsAll = accountSignals;
import pulumi
import pulumi_fastly as fastly
account_signals = fastly.get_ngwaf_account_signals()
pulumi.export("fastlyNgwafAccountSignalsAll", account_signals)
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 {
accountSignals, err := fastly.GetNgwafAccountSignals(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
ctx.Export("fastlyNgwafAccountSignalsAll", accountSignals)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fastly = Pulumi.Fastly;
return await Deployment.RunAsync(() =>
{
var accountSignals = Fastly.GetNgwafAccountSignals.Invoke();
return new Dictionary<string, object?>
{
["fastlyNgwafAccountSignalsAll"] = accountSignals,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fastly.FastlyFunctions;
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 accountSignals = FastlyFunctions.getNgwafAccountSignals(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
ctx.export("fastlyNgwafAccountSignalsAll", accountSignals);
}
}
variables:
accountSignals:
fn::invoke:
function: fastly:getNgwafAccountSignals
arguments: {}
outputs:
fastlyNgwafAccountSignalsAll: ${accountSignals}
Using getNgwafAccountSignals
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 getNgwafAccountSignals(opts?: InvokeOptions): Promise<GetNgwafAccountSignalsResult>
function getNgwafAccountSignalsOutput(opts?: InvokeOptions): Output<GetNgwafAccountSignalsResult>def get_ngwaf_account_signals(opts: Optional[InvokeOptions] = None) -> GetNgwafAccountSignalsResult
def get_ngwaf_account_signals_output(opts: Optional[InvokeOptions] = None) -> Output[GetNgwafAccountSignalsResult]func GetNgwafAccountSignals(ctx *Context, opts ...InvokeOption) (*GetNgwafAccountSignalsResult, error)
func GetNgwafAccountSignalsOutput(ctx *Context, opts ...InvokeOption) GetNgwafAccountSignalsResultOutput> Note: This function is named GetNgwafAccountSignals in the Go SDK.
public static class GetNgwafAccountSignals
{
public static Task<GetNgwafAccountSignalsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetNgwafAccountSignalsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetNgwafAccountSignalsResult> getNgwafAccountSignals(InvokeOptions options)
public static Output<GetNgwafAccountSignalsResult> getNgwafAccountSignals(InvokeOptions options)
fn::invoke:
function: fastly:index/getNgwafAccountSignals:getNgwafAccountSignals
arguments:
# arguments dictionarygetNgwafAccountSignals Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Signals
List<Get
Ngwaf Account Signals Signal> - The list of custom signals.
- Id string
- The provider-assigned unique ID for this managed resource.
- Signals
[]Get
Ngwaf Account Signals Signal - The list of custom signals.
- id String
- The provider-assigned unique ID for this managed resource.
- signals
List<Get
Ngwaf Account Signals Signal> - The list of custom signals.
- id string
- The provider-assigned unique ID for this managed resource.
- signals
Get
Ngwaf Account Signals Signal[] - The list of custom signals.
- id str
- The provider-assigned unique ID for this managed resource.
- signals
Sequence[Get
Ngwaf Account Signals Signal] - The list of custom signals.
- id String
- The provider-assigned unique ID for this managed resource.
- signals List<Property Map>
- The list of custom signals.
Supporting Types
GetNgwafAccountSignalsSignal
- Description string
- The description of the signal.
- Id string
- The ID of the signal.
- Name string
- The name of the signal.
- Tag
Name string - The tag name of the signal.
- Description string
- The description of the signal.
- Id string
- The ID of the signal.
- Name string
- The name of the signal.
- Tag
Name string - The tag name of the signal.
- description String
- The description of the signal.
- id String
- The ID of the signal.
- name String
- The name of the signal.
- tag
Name String - The tag name of the signal.
- description string
- The description of the signal.
- id string
- The ID of the signal.
- name string
- The name of the signal.
- tag
Name string - The tag name of the signal.
- description str
- The description of the signal.
- id str
- The ID of the signal.
- name str
- The name of the signal.
- tag_
name str - The tag name of the signal.
- description String
- The description of the signal.
- id String
- The ID of the signal.
- name String
- The name of the signal.
- tag
Name String - The tag name of the signal.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastlyTerraform Provider.
