Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
cloudngfwaws.getNgfw
Explore with Pulumi AI
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi
Data source for retrieving NGFW information.
Admin Permission Type
Firewall
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudngfwaws from "@pulumi/cloudngfwaws";
const example = cloudngfwaws.getNgfw({
name: "example-instance",
});
import pulumi
import pulumi_cloudngfwaws as cloudngfwaws
example = cloudngfwaws.get_ngfw(name="example-instance")
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.LookupNgfw(ctx, &cloudngfwaws.LookupNgfwArgs{
Name: "example-instance",
}, 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.GetNgfw.Invoke(new()
{
Name = "example-instance",
});
});
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.GetNgfwArgs;
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.getNgfw(GetNgfwArgs.builder()
.name("example-instance")
.build());
}
}
variables:
example:
fn::invoke:
Function: cloudngfwaws:getNgfw
Arguments:
name: example-instance
Using getNgfw
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 getNgfw(args: GetNgfwArgs, opts?: InvokeOptions): Promise<GetNgfwResult>
function getNgfwOutput(args: GetNgfwOutputArgs, opts?: InvokeOptions): Output<GetNgfwResult>
def get_ngfw(account_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNgfwResult
def get_ngfw_output(account_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNgfwResult]
func LookupNgfw(ctx *Context, args *LookupNgfwArgs, opts ...InvokeOption) (*LookupNgfwResult, error)
func LookupNgfwOutput(ctx *Context, args *LookupNgfwOutputArgs, opts ...InvokeOption) LookupNgfwResultOutput
> Note: This function is named LookupNgfw
in the Go SDK.
public static class GetNgfw
{
public static Task<GetNgfwResult> InvokeAsync(GetNgfwArgs args, InvokeOptions? opts = null)
public static Output<GetNgfwResult> Invoke(GetNgfwInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNgfwResult> getNgfw(GetNgfwArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: cloudngfwaws:index/getNgfw:getNgfw
arguments:
# arguments dictionary
The following arguments are supported:
- name str
- The NGFW name.
- account_
id str - The account ID. This field is mandatory if using multiple accounts.
getNgfw Result
The following output properties are available:
- App
Id stringVersion - App-ID version number.
- Automatic
Upgrade boolApp Id Version - Automatic App-ID upgrade version number.
- Description string
- The description.
- Endpoint
Mode string - Set endpoint mode from the following options. Valid values are
ServiceManaged
orCustomerManaged
. - Endpoint
Service stringName - The endpoint service name.
- Firewall
Id string - The Id of the NGFW.
- Global
Rulestack string - The global rulestack for this NGFW.
- Id string
- The provider-assigned unique ID for this managed resource.
- Link
Id string - The link ID.
- Link
Status string - The link status.
- Multi
Vpc bool - Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- Name string
- The NGFW name.
- Rulestack string
- The rulestack for this NGFW.
- Statuses
List<Pulumi.
Cloud Ngfw Aws. Outputs. Get Ngfw Status> - Subnet
Mappings List<Pulumi.Cloud Ngfw Aws. Outputs. Get Ngfw Subnet Mapping> - Subnet mappings.
- Dictionary<string, string>
- The tags.
- Update
Token string - The update token.
- Vpc
Id string - The vpc id.
- Account
Id string - The account ID. This field is mandatory if using multiple accounts.
- App
Id stringVersion - App-ID version number.
- Automatic
Upgrade boolApp Id Version - Automatic App-ID upgrade version number.
- Description string
- The description.
- Endpoint
Mode string - Set endpoint mode from the following options. Valid values are
ServiceManaged
orCustomerManaged
. - Endpoint
Service stringName - The endpoint service name.
- Firewall
Id string - The Id of the NGFW.
- Global
Rulestack string - The global rulestack for this NGFW.
- Id string
- The provider-assigned unique ID for this managed resource.
- Link
Id string - The link ID.
- Link
Status string - The link status.
- Multi
Vpc bool - Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- Name string
- The NGFW name.
- Rulestack string
- The rulestack for this NGFW.
- Statuses
[]Get
Ngfw Status - Subnet
Mappings []GetNgfw Subnet Mapping - Subnet mappings.
- map[string]string
- The tags.
- Update
Token string - The update token.
- Vpc
Id string - The vpc id.
- Account
Id string - The account ID. This field is mandatory if using multiple accounts.
- app
Id StringVersion - App-ID version number.
- automatic
Upgrade BooleanApp Id Version - Automatic App-ID upgrade version number.
- description String
- The description.
- endpoint
Mode String - Set endpoint mode from the following options. Valid values are
ServiceManaged
orCustomerManaged
. - endpoint
Service StringName - The endpoint service name.
- firewall
Id String - The Id of the NGFW.
- global
Rulestack String - The global rulestack for this NGFW.
- id String
- The provider-assigned unique ID for this managed resource.
- link
Id String - The link ID.
- link
Status String - The link status.
- multi
Vpc Boolean - Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- name String
- The NGFW name.
- rulestack String
- The rulestack for this NGFW.
- statuses
List<Get
Ngfw Status> - subnet
Mappings List<GetNgfw Subnet Mapping> - Subnet mappings.
- Map<String,String>
- The tags.
- update
Token String - The update token.
- vpc
Id String - The vpc id.
- account
Id String - The account ID. This field is mandatory if using multiple accounts.
- app
Id stringVersion - App-ID version number.
- automatic
Upgrade booleanApp Id Version - Automatic App-ID upgrade version number.
- description string
- The description.
- endpoint
Mode string - Set endpoint mode from the following options. Valid values are
ServiceManaged
orCustomerManaged
. - endpoint
Service stringName - The endpoint service name.
- firewall
Id string - The Id of the NGFW.
- global
Rulestack string - The global rulestack for this NGFW.
- id string
- The provider-assigned unique ID for this managed resource.
- link
Id string - The link ID.
- link
Status string - The link status.
- multi
Vpc boolean - Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- name string
- The NGFW name.
- rulestack string
- The rulestack for this NGFW.
- statuses
Get
Ngfw Status[] - subnet
Mappings GetNgfw Subnet Mapping[] - Subnet mappings.
- {[key: string]: string}
- The tags.
- update
Token string - The update token.
- vpc
Id string - The vpc id.
- account
Id string - The account ID. This field is mandatory if using multiple accounts.
- app_
id_ strversion - App-ID version number.
- automatic_
upgrade_ boolapp_ id_ version - Automatic App-ID upgrade version number.
- description str
- The description.
- endpoint_
mode str - Set endpoint mode from the following options. Valid values are
ServiceManaged
orCustomerManaged
. - endpoint_
service_ strname - The endpoint service name.
- firewall_
id str - The Id of the NGFW.
- global_
rulestack str - The global rulestack for this NGFW.
- id str
- The provider-assigned unique ID for this managed resource.
- link_
id str - The link ID.
- link_
status str - The link status.
- multi_
vpc bool - Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- name str
- The NGFW name.
- rulestack str
- The rulestack for this NGFW.
- statuses
Sequence[Get
Ngfw Status] - subnet_
mappings Sequence[GetNgfw Subnet Mapping] - Subnet mappings.
- Mapping[str, str]
- The tags.
- update_
token str - The update token.
- vpc_
id str - The vpc id.
- account_
id str - The account ID. This field is mandatory if using multiple accounts.
- app
Id StringVersion - App-ID version number.
- automatic
Upgrade BooleanApp Id Version - Automatic App-ID upgrade version number.
- description String
- The description.
- endpoint
Mode String - Set endpoint mode from the following options. Valid values are
ServiceManaged
orCustomerManaged
. - endpoint
Service StringName - The endpoint service name.
- firewall
Id String - The Id of the NGFW.
- global
Rulestack String - The global rulestack for this NGFW.
- id String
- The provider-assigned unique ID for this managed resource.
- link
Id String - The link ID.
- link
Status String - The link status.
- multi
Vpc Boolean - Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
- name String
- The NGFW name.
- rulestack String
- The rulestack for this NGFW.
- statuses List<Property Map>
- subnet
Mappings List<Property Map> - Subnet mappings.
- Map<String>
- The tags.
- update
Token String - The update token.
- vpc
Id String - The vpc id.
- account
Id String - The account ID. This field is mandatory if using multiple accounts.
Supporting Types
GetNgfwStatus
- Attachments
List<Pulumi.
Cloud Ngfw Aws. Inputs. Get Ngfw Status Attachment> - The firewall attachments.
- Failure
Reason string - The firewall failure reason.
- Firewall
Status string - The firewall status.
- Rulestack
Status string - The rulestack status.
- Attachments
[]Get
Ngfw Status Attachment - The firewall attachments.
- Failure
Reason string - The firewall failure reason.
- Firewall
Status string - The firewall status.
- Rulestack
Status string - The rulestack status.
- attachments
List<Get
Ngfw Status Attachment> - The firewall attachments.
- failure
Reason String - The firewall failure reason.
- firewall
Status String - The firewall status.
- rulestack
Status String - The rulestack status.
- attachments
Get
Ngfw Status Attachment[] - The firewall attachments.
- failure
Reason string - The firewall failure reason.
- firewall
Status string - The firewall status.
- rulestack
Status string - The rulestack status.
- attachments
Sequence[Get
Ngfw Status Attachment] - The firewall attachments.
- failure_
reason str - The firewall failure reason.
- firewall_
status str - The firewall status.
- rulestack_
status str - The rulestack status.
- attachments List<Property Map>
- The firewall attachments.
- failure
Reason String - The firewall failure reason.
- firewall
Status String - The firewall status.
- rulestack
Status String - The rulestack status.
GetNgfwStatusAttachment
- Endpoint
Id string - The endpoint id.
- Rejected
Reason string - The reject reason.
- Status string
- The attachment status.
- Subnet
Id string - The subnet id.
- Endpoint
Id string - The endpoint id.
- Rejected
Reason string - The reject reason.
- Status string
- The attachment status.
- Subnet
Id string - The subnet id.
- endpoint
Id String - The endpoint id.
- rejected
Reason String - The reject reason.
- status String
- The attachment status.
- subnet
Id String - The subnet id.
- endpoint
Id string - The endpoint id.
- rejected
Reason string - The reject reason.
- status string
- The attachment status.
- subnet
Id string - The subnet id.
- endpoint_
id str - The endpoint id.
- rejected_
reason str - The reject reason.
- status str
- The attachment status.
- subnet_
id str - The subnet id.
- endpoint
Id String - The endpoint id.
- rejected
Reason String - The reject reason.
- status String
- The attachment status.
- subnet
Id String - The subnet id.
GetNgfwSubnetMapping
- Availability
Zone string - The availability zone, for when the endpoint mode is customer managed.
- Availability
Zone stringId - The availability zone ID, for when the endpoint mode is customer managed.
- Subnet
Id string - The subnet id, for when the endpoint mode is service managed.
- Availability
Zone string - The availability zone, for when the endpoint mode is customer managed.
- Availability
Zone stringId - The availability zone ID, for when the endpoint mode is customer managed.
- Subnet
Id string - The subnet id, for when the endpoint mode is service managed.
- availability
Zone String - The availability zone, for when the endpoint mode is customer managed.
- availability
Zone StringId - The availability zone ID, for when the endpoint mode is customer managed.
- subnet
Id String - The subnet id, for when the endpoint mode is service managed.
- availability
Zone string - The availability zone, for when the endpoint mode is customer managed.
- availability
Zone stringId - The availability zone ID, for when the endpoint mode is customer managed.
- subnet
Id string - The subnet id, for when the endpoint mode is service managed.
- availability_
zone str - The availability zone, for when the endpoint mode is customer managed.
- availability_
zone_ strid - The availability zone ID, for when the endpoint mode is customer managed.
- subnet_
id str - The subnet id, for when the endpoint mode is service managed.
- availability
Zone String - The availability zone, for when the endpoint mode is customer managed.
- availability
Zone StringId - The availability zone ID, for when the endpoint mode is customer managed.
- subnet
Id String - The subnet id, for when the endpoint mode is service managed.
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