Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
cloudngfwaws.getNgfws
Explore with Pulumi AI
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
Data source get a list of NGFWs.
Admin Permission Type
Firewall
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudngfwaws from "@pulumi/cloudngfwaws";
const example = cloudngfwaws.getNgfws({});
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws
example = cloudngfwaws.get_ngfws()
package main
import (
"github.com/pulumi/pulumi-cloudngfwaws/sdk/go/cloudngfwaws"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudngfwaws.GetNgfws(ctx, &cloudngfwaws.GetNgfwsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CloudNgfwAws = Pulumi.CloudNgfwAws;
return await Deployment.RunAsync(() =>
{
var example = CloudNgfwAws.GetNgfws.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudngfwaws.CloudngfwawsFunctions;
import com.pulumi.cloudngfwaws.inputs.GetNgfwsArgs;
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 example = CloudngfwawsFunctions.getNgfws();
}
}
variables:
example:
fn::invoke:
Function: cloudngfwaws:getNgfws
Arguments: {}
Using getNgfws
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 getNgfws(args: GetNgfwsArgs, opts?: InvokeOptions): Promise<GetNgfwsResult>
function getNgfwsOutput(args: GetNgfwsOutputArgs, opts?: InvokeOptions): Output<GetNgfwsResult>
def get_ngfws(rulestack: Optional[str] = None,
vpc_ids: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetNgfwsResult
def get_ngfws_output(rulestack: Optional[pulumi.Input[str]] = None,
vpc_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNgfwsResult]
func GetNgfws(ctx *Context, args *GetNgfwsArgs, opts ...InvokeOption) (*GetNgfwsResult, error)
func GetNgfwsOutput(ctx *Context, args *GetNgfwsOutputArgs, opts ...InvokeOption) GetNgfwsResultOutput
> Note: This function is named GetNgfws
in the Go SDK.
public static class GetNgfws
{
public static Task<GetNgfwsResult> InvokeAsync(GetNgfwsArgs args, InvokeOptions? opts = null)
public static Output<GetNgfwsResult> Invoke(GetNgfwsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNgfwsResult> getNgfws(GetNgfwsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudngfwaws:index/getNgfws:getNgfws
arguments:
# arguments dictionary
The following arguments are supported:
getNgfws Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
List<Pulumi.
Cloud Ngfw Aws. Outputs. Get Ngfws Instance> - List of NGFWs.
- Rulestack string
- The rulestack to filter on.
- Vpc
Ids List<string> - List of vpc ids to filter on.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
[]Get
Ngfws Instance - List of NGFWs.
- Rulestack string
- The rulestack to filter on.
- Vpc
Ids []string - List of vpc ids to filter on.
- id String
- The provider-assigned unique ID for this managed resource.
- instances
List<Get
Ngfws Instance> - List of NGFWs.
- rulestack String
- The rulestack to filter on.
- vpc
Ids List<String> - List of vpc ids to filter on.
- id string
- The provider-assigned unique ID for this managed resource.
- instances
Get
Ngfws Instance[] - List of NGFWs.
- rulestack string
- The rulestack to filter on.
- vpc
Ids string[] - List of vpc ids to filter on.
- id str
- The provider-assigned unique ID for this managed resource.
- instances
Sequence[Get
Ngfws Instance] - List of NGFWs.
- rulestack str
- The rulestack to filter on.
- vpc_
ids Sequence[str] - List of vpc ids to filter on.
- id String
- The provider-assigned unique ID for this managed resource.
- instances List<Property Map>
- List of NGFWs.
- rulestack String
- The rulestack to filter on.
- vpc
Ids List<String> - List of vpc ids to filter on.
Supporting Types
GetNgfwsInstance
- account_
id str - The account id.
- name str
- The NGFW name.
Package Details
- Repository
- cloudngfwaws pulumi/pulumi-cloudngfwaws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudngfwaws
Terraform Provider.
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi