1. Packages
  2. Aviatrix
  3. API Docs
  4. getAviatrixFirenet
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

aviatrix.getAviatrixFirenet

Explore with Pulumi AI

The aviatrix_firenet data source provides details about a specific FireNet created by the Aviatrix Controller.

This data source can prove useful when a module accepts a FireNet’s detail as an input variable.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;

return await Deployment.RunAsync(() => 
{
    var foo = Aviatrix.GetAviatrixFirenet.Invoke(new()
    {
        VpcId = "vpc-abcdef",
    });

});
Copy
package main

import (
	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err = aviatrix.LookupAviatrixFirenet(ctx, &GetAviatrixFirenetArgs{
			VpcId: "vpc-abcdef",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aviatrix.AviatrixFunctions;
import com.pulumi.aviatrix.inputs.GetAviatrixFirenetArgs;
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 foo = AviatrixFunctions.getAviatrixFirenet(GetAviatrixFirenetArgs.builder()
            .vpcId("vpc-abcdef")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";

// Aviatrix FireNet Data Source
const foo = pulumi.output(aviatrix.getAviatrixFirenet({
    vpcId: "vpc-abcdef",
}));
Copy
import pulumi
import pulumi_aviatrix as aviatrix

foo = aviatrix.get_aviatrix_firenet(vpc_id="vpc-abcdef")
Copy
variables:
  foo:
    fn::invoke:
      Function: aviatrix:getAviatrixFirenet
      Arguments:
        vpcId: vpc-abcdef
Copy

Using getAviatrixFirenet

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 getAviatrixFirenet(args: GetAviatrixFirenetArgs, opts?: InvokeOptions): Promise<GetAviatrixFirenetResult>
function getAviatrixFirenetOutput(args: GetAviatrixFirenetOutputArgs, opts?: InvokeOptions): Output<GetAviatrixFirenetResult>
Copy
def get_aviatrix_firenet(firewall_instance_associations: Optional[Sequence[GetAviatrixFirenetFirewallInstanceAssociation]] = None,
                         vpc_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetAviatrixFirenetResult
def get_aviatrix_firenet_output(firewall_instance_associations: Optional[pulumi.Input[Sequence[pulumi.Input[GetAviatrixFirenetFirewallInstanceAssociationArgs]]]] = None,
                         vpc_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetAviatrixFirenetResult]
Copy
func LookupAviatrixFirenet(ctx *Context, args *LookupAviatrixFirenetArgs, opts ...InvokeOption) (*LookupAviatrixFirenetResult, error)
func LookupAviatrixFirenetOutput(ctx *Context, args *LookupAviatrixFirenetOutputArgs, opts ...InvokeOption) LookupAviatrixFirenetResultOutput
Copy

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

public static class GetAviatrixFirenet 
{
    public static Task<GetAviatrixFirenetResult> InvokeAsync(GetAviatrixFirenetArgs args, InvokeOptions? opts = null)
    public static Output<GetAviatrixFirenetResult> Invoke(GetAviatrixFirenetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAviatrixFirenetResult> getAviatrixFirenet(GetAviatrixFirenetArgs args, InvokeOptions options)
public static Output<GetAviatrixFirenetResult> getAviatrixFirenet(GetAviatrixFirenetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aviatrix:index/getAviatrixFirenet:getAviatrixFirenet
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

VpcId This property is required. string
ID of the Security VPC.
FirewallInstanceAssociations List<GetAviatrixFirenetFirewallInstanceAssociation>
List of firewall instances associated with fireNet.
VpcId This property is required. string
ID of the Security VPC.
FirewallInstanceAssociations []GetAviatrixFirenetFirewallInstanceAssociation
List of firewall instances associated with fireNet.
vpcId This property is required. String
ID of the Security VPC.
firewallInstanceAssociations List<GetAviatrixFirenetFirewallInstanceAssociation>
List of firewall instances associated with fireNet.
vpcId This property is required. string
ID of the Security VPC.
firewallInstanceAssociations GetAviatrixFirenetFirewallInstanceAssociation[]
List of firewall instances associated with fireNet.
vpc_id This property is required. str
ID of the Security VPC.
firewall_instance_associations Sequence[GetAviatrixFirenetFirewallInstanceAssociation]
List of firewall instances associated with fireNet.
vpcId This property is required. String
ID of the Security VPC.
firewallInstanceAssociations List<Property Map>
List of firewall instances associated with fireNet.

getAviatrixFirenet Result

The following output properties are available:

EgressEnabled bool
Enable/Disable egress through firewall.
EgressStaticCidrs List<string>
List of egress static CIDRs.
HashingAlgorithm string
(Optional) Hashing algorithm to load balance traffic across the firewall.
Id string
The provider-assigned unique ID for this managed resource.
InspectionEnabled bool
Enable/Disable traffic inspection.
KeepAliveViaLanInterfaceEnabled bool
(Optional) Enable Keep Alive via Firewall LAN Interface.
TgwSegmentationForEgressEnabled bool
Enable TGW segmentation for egress.
VpcId string
ID of the Security VPC.
FirewallInstanceAssociations List<GetAviatrixFirenetFirewallInstanceAssociation>
List of firewall instances associated with fireNet.
EgressEnabled bool
Enable/Disable egress through firewall.
EgressStaticCidrs []string
List of egress static CIDRs.
HashingAlgorithm string
(Optional) Hashing algorithm to load balance traffic across the firewall.
Id string
The provider-assigned unique ID for this managed resource.
InspectionEnabled bool
Enable/Disable traffic inspection.
KeepAliveViaLanInterfaceEnabled bool
(Optional) Enable Keep Alive via Firewall LAN Interface.
TgwSegmentationForEgressEnabled bool
Enable TGW segmentation for egress.
VpcId string
ID of the Security VPC.
FirewallInstanceAssociations []GetAviatrixFirenetFirewallInstanceAssociation
List of firewall instances associated with fireNet.
egressEnabled Boolean
Enable/Disable egress through firewall.
egressStaticCidrs List<String>
List of egress static CIDRs.
hashingAlgorithm String
(Optional) Hashing algorithm to load balance traffic across the firewall.
id String
The provider-assigned unique ID for this managed resource.
inspectionEnabled Boolean
Enable/Disable traffic inspection.
keepAliveViaLanInterfaceEnabled Boolean
(Optional) Enable Keep Alive via Firewall LAN Interface.
tgwSegmentationForEgressEnabled Boolean
Enable TGW segmentation for egress.
vpcId String
ID of the Security VPC.
firewallInstanceAssociations List<GetAviatrixFirenetFirewallInstanceAssociation>
List of firewall instances associated with fireNet.
egressEnabled boolean
Enable/Disable egress through firewall.
egressStaticCidrs string[]
List of egress static CIDRs.
hashingAlgorithm string
(Optional) Hashing algorithm to load balance traffic across the firewall.
id string
The provider-assigned unique ID for this managed resource.
inspectionEnabled boolean
Enable/Disable traffic inspection.
keepAliveViaLanInterfaceEnabled boolean
(Optional) Enable Keep Alive via Firewall LAN Interface.
tgwSegmentationForEgressEnabled boolean
Enable TGW segmentation for egress.
vpcId string
ID of the Security VPC.
firewallInstanceAssociations GetAviatrixFirenetFirewallInstanceAssociation[]
List of firewall instances associated with fireNet.
egress_enabled bool
Enable/Disable egress through firewall.
egress_static_cidrs Sequence[str]
List of egress static CIDRs.
hashing_algorithm str
(Optional) Hashing algorithm to load balance traffic across the firewall.
id str
The provider-assigned unique ID for this managed resource.
inspection_enabled bool
Enable/Disable traffic inspection.
keep_alive_via_lan_interface_enabled bool
(Optional) Enable Keep Alive via Firewall LAN Interface.
tgw_segmentation_for_egress_enabled bool
Enable TGW segmentation for egress.
vpc_id str
ID of the Security VPC.
firewall_instance_associations Sequence[GetAviatrixFirenetFirewallInstanceAssociation]
List of firewall instances associated with fireNet.
egressEnabled Boolean
Enable/Disable egress through firewall.
egressStaticCidrs List<String>
List of egress static CIDRs.
hashingAlgorithm String
(Optional) Hashing algorithm to load balance traffic across the firewall.
id String
The provider-assigned unique ID for this managed resource.
inspectionEnabled Boolean
Enable/Disable traffic inspection.
keepAliveViaLanInterfaceEnabled Boolean
(Optional) Enable Keep Alive via Firewall LAN Interface.
tgwSegmentationForEgressEnabled Boolean
Enable TGW segmentation for egress.
vpcId String
ID of the Security VPC.
firewallInstanceAssociations List<Property Map>
List of firewall instances associated with fireNet.

Supporting Types

GetAviatrixFirenetFirewallInstanceAssociation

Attached This property is required. bool
EgressInterface This property is required. string
FirenetGwName This property is required. string
Name of the primary FireNet gateway.
FirewallName This property is required. string
Firewall instance name.

  • lan_interface- Lan interface ID.
InstanceId This property is required. string
ID of Firewall instance.
LanInterface This property is required. string
ManagementInterface This property is required. string
Management interface ID.

  • egress_interface- Egress interface ID.
  • attached- Switch to attach/detach firewall instance to/from fireNet.
VendorType This property is required. string
Type of the firewall.
Attached This property is required. bool
EgressInterface This property is required. string
FirenetGwName This property is required. string
Name of the primary FireNet gateway.
FirewallName This property is required. string
Firewall instance name.

  • lan_interface- Lan interface ID.
InstanceId This property is required. string
ID of Firewall instance.
LanInterface This property is required. string
ManagementInterface This property is required. string
Management interface ID.

  • egress_interface- Egress interface ID.
  • attached- Switch to attach/detach firewall instance to/from fireNet.
VendorType This property is required. string
Type of the firewall.
attached This property is required. Boolean
egressInterface This property is required. String
firenetGwName This property is required. String
Name of the primary FireNet gateway.
firewallName This property is required. String
Firewall instance name.

  • lan_interface- Lan interface ID.
instanceId This property is required. String
ID of Firewall instance.
lanInterface This property is required. String
managementInterface This property is required. String
Management interface ID.

  • egress_interface- Egress interface ID.
  • attached- Switch to attach/detach firewall instance to/from fireNet.
vendorType This property is required. String
Type of the firewall.
attached This property is required. boolean
egressInterface This property is required. string
firenetGwName This property is required. string
Name of the primary FireNet gateway.
firewallName This property is required. string
Firewall instance name.

  • lan_interface- Lan interface ID.
instanceId This property is required. string
ID of Firewall instance.
lanInterface This property is required. string
managementInterface This property is required. string
Management interface ID.

  • egress_interface- Egress interface ID.
  • attached- Switch to attach/detach firewall instance to/from fireNet.
vendorType This property is required. string
Type of the firewall.
attached This property is required. bool
egress_interface This property is required. str
firenet_gw_name This property is required. str
Name of the primary FireNet gateway.
firewall_name This property is required. str
Firewall instance name.

  • lan_interface- Lan interface ID.
instance_id This property is required. str
ID of Firewall instance.
lan_interface This property is required. str
management_interface This property is required. str
Management interface ID.

  • egress_interface- Egress interface ID.
  • attached- Switch to attach/detach firewall instance to/from fireNet.
vendor_type This property is required. str
Type of the firewall.
attached This property is required. Boolean
egressInterface This property is required. String
firenetGwName This property is required. String
Name of the primary FireNet gateway.
firewallName This property is required. String
Firewall instance name.

  • lan_interface- Lan interface ID.
instanceId This property is required. String
ID of Firewall instance.
lanInterface This property is required. String
managementInterface This property is required. String
Management interface ID.

  • egress_interface- Egress interface ID.
  • attached- Switch to attach/detach firewall instance to/from fireNet.
vendorType This property is required. String
Type of the firewall.

Package Details

Repository
aviatrix astipkovits/pulumi-aviatrix
License
Apache-2.0
Notes
This Pulumi package is based on the aviatrix Terraform Provider.