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",
});
});
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
})
}
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());
}
}
import pulumi
import pulumi_aviatrix as aviatrix
foo = aviatrix.get_aviatrix_firenet(vpc_id="vpc-abcdef")
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",
}));
variables:
foo:
fn::invoke:
Function: aviatrix:getAviatrixFirenet
Arguments:
vpcId: vpc-abcdef
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>
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]
func LookupAviatrixFirenet(ctx *Context, args *LookupAviatrixFirenetArgs, opts ...InvokeOption) (*LookupAviatrixFirenetResult, error)
func LookupAviatrixFirenetOutput(ctx *Context, args *LookupAviatrixFirenetOutputArgs, opts ...InvokeOption) LookupAviatrixFirenetResultOutput
> 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)
}
public static CompletableFuture<GetAviatrixFirenetResult> getAviatrixFirenet(GetAviatrixFirenetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aviatrix:index/getAviatrixFirenet:getAviatrixFirenet
arguments:
# arguments dictionary
The following arguments are supported:
- Vpc
Id string - ID of the Security VPC.
- Firewall
Instance List<GetAssociations Aviatrix Firenet Firewall Instance Association> - List of firewall instances associated with fireNet.
- Vpc
Id string - ID of the Security VPC.
- Firewall
Instance []GetAssociations Aviatrix Firenet Firewall Instance Association - List of firewall instances associated with fireNet.
- vpc
Id String - ID of the Security VPC.
- firewall
Instance List<GetAssociations Aviatrix Firenet Firewall Instance Association> - List of firewall instances associated with fireNet.
- vpc
Id string - ID of the Security VPC.
- firewall
Instance GetAssociations Aviatrix Firenet Firewall Instance Association[] - List of firewall instances associated with fireNet.
- vpc_
id str - ID of the Security VPC.
- firewall_
instance_ Sequence[Getassociations Aviatrix Firenet Firewall Instance Association] - List of firewall instances associated with fireNet.
- vpc
Id String - ID of the Security VPC.
- firewall
Instance List<Property Map>Associations - List of firewall instances associated with fireNet.
getAviatrixFirenet Result
The following output properties are available:
- Egress
Enabled bool - Enable/Disable egress through firewall.
- Egress
Static List<string>Cidrs - List of egress static CIDRs.
- Hashing
Algorithm string - (Optional) Hashing algorithm to load balance traffic across the firewall.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inspection
Enabled bool - Enable/Disable traffic inspection.
- Keep
Alive boolVia Lan Interface Enabled - (Optional) Enable Keep Alive via Firewall LAN Interface.
- Tgw
Segmentation boolFor Egress Enabled - Enable TGW segmentation for egress.
- Vpc
Id string - ID of the Security VPC.
- Firewall
Instance List<GetAssociations Aviatrix Firenet Firewall Instance Association> - List of firewall instances associated with fireNet.
- Egress
Enabled bool - Enable/Disable egress through firewall.
- Egress
Static []stringCidrs - List of egress static CIDRs.
- Hashing
Algorithm string - (Optional) Hashing algorithm to load balance traffic across the firewall.
- Id string
- The provider-assigned unique ID for this managed resource.
- Inspection
Enabled bool - Enable/Disable traffic inspection.
- Keep
Alive boolVia Lan Interface Enabled - (Optional) Enable Keep Alive via Firewall LAN Interface.
- Tgw
Segmentation boolFor Egress Enabled - Enable TGW segmentation for egress.
- Vpc
Id string - ID of the Security VPC.
- Firewall
Instance []GetAssociations Aviatrix Firenet Firewall Instance Association - List of firewall instances associated with fireNet.
- egress
Enabled Boolean - Enable/Disable egress through firewall.
- egress
Static List<String>Cidrs - List of egress static CIDRs.
- hashing
Algorithm String - (Optional) Hashing algorithm to load balance traffic across the firewall.
- id String
- The provider-assigned unique ID for this managed resource.
- inspection
Enabled Boolean - Enable/Disable traffic inspection.
- keep
Alive BooleanVia Lan Interface Enabled - (Optional) Enable Keep Alive via Firewall LAN Interface.
- tgw
Segmentation BooleanFor Egress Enabled - Enable TGW segmentation for egress.
- vpc
Id String - ID of the Security VPC.
- firewall
Instance List<GetAssociations Aviatrix Firenet Firewall Instance Association> - List of firewall instances associated with fireNet.
- egress
Enabled boolean - Enable/Disable egress through firewall.
- egress
Static string[]Cidrs - List of egress static CIDRs.
- hashing
Algorithm string - (Optional) Hashing algorithm to load balance traffic across the firewall.
- id string
- The provider-assigned unique ID for this managed resource.
- inspection
Enabled boolean - Enable/Disable traffic inspection.
- keep
Alive booleanVia Lan Interface Enabled - (Optional) Enable Keep Alive via Firewall LAN Interface.
- tgw
Segmentation booleanFor Egress Enabled - Enable TGW segmentation for egress.
- vpc
Id string - ID of the Security VPC.
- firewall
Instance GetAssociations Aviatrix Firenet Firewall Instance Association[] - List of firewall instances associated with fireNet.
- egress_
enabled bool - Enable/Disable egress through firewall.
- egress_
static_ Sequence[str]cidrs - 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_ boolvia_ lan_ interface_ enabled - (Optional) Enable Keep Alive via Firewall LAN Interface.
- tgw_
segmentation_ boolfor_ egress_ enabled - Enable TGW segmentation for egress.
- vpc_
id str - ID of the Security VPC.
- firewall_
instance_ Sequence[Getassociations Aviatrix Firenet Firewall Instance Association] - List of firewall instances associated with fireNet.
- egress
Enabled Boolean - Enable/Disable egress through firewall.
- egress
Static List<String>Cidrs - List of egress static CIDRs.
- hashing
Algorithm String - (Optional) Hashing algorithm to load balance traffic across the firewall.
- id String
- The provider-assigned unique ID for this managed resource.
- inspection
Enabled Boolean - Enable/Disable traffic inspection.
- keep
Alive BooleanVia Lan Interface Enabled - (Optional) Enable Keep Alive via Firewall LAN Interface.
- tgw
Segmentation BooleanFor Egress Enabled - Enable TGW segmentation for egress.
- vpc
Id String - ID of the Security VPC.
- firewall
Instance List<Property Map>Associations - List of firewall instances associated with fireNet.
Supporting Types
GetAviatrixFirenetFirewallInstanceAssociation
- Attached bool
- Egress
Interface string - Firenet
Gw stringName - Name of the primary FireNet gateway.
- Firewall
Name string - Firewall instance name.
lan_interface
- Lan interface ID.
- Instance
Id string - ID of Firewall instance.
- Lan
Interface string - Management
Interface string - Management interface ID.
egress_interface
- Egress interface ID.attached
- Switch to attach/detach firewall instance to/from fireNet.
- Vendor
Type string - Type of the firewall.
- Attached bool
- Egress
Interface string - Firenet
Gw stringName - Name of the primary FireNet gateway.
- Firewall
Name string - Firewall instance name.
lan_interface
- Lan interface ID.
- Instance
Id string - ID of Firewall instance.
- Lan
Interface string - Management
Interface string - Management interface ID.
egress_interface
- Egress interface ID.attached
- Switch to attach/detach firewall instance to/from fireNet.
- Vendor
Type string - Type of the firewall.
- attached Boolean
- egress
Interface String - firenet
Gw StringName - Name of the primary FireNet gateway.
- firewall
Name String - Firewall instance name.
lan_interface
- Lan interface ID.
- instance
Id String - ID of Firewall instance.
- lan
Interface String - management
Interface String - Management interface ID.
egress_interface
- Egress interface ID.attached
- Switch to attach/detach firewall instance to/from fireNet.
- vendor
Type String - Type of the firewall.
- attached boolean
- egress
Interface string - firenet
Gw stringName - Name of the primary FireNet gateway.
- firewall
Name string - Firewall instance name.
lan_interface
- Lan interface ID.
- instance
Id string - ID of Firewall instance.
- lan
Interface string - management
Interface string - Management interface ID.
egress_interface
- Egress interface ID.attached
- Switch to attach/detach firewall instance to/from fireNet.
- vendor
Type string - Type of the firewall.
- attached bool
- egress_
interface str - firenet_
gw_ strname - Name of the primary FireNet gateway.
- firewall_
name str - Firewall instance name.
lan_interface
- Lan interface ID.
- instance_
id str - ID of Firewall instance.
- lan_
interface str - management_
interface str - Management interface ID.
egress_interface
- Egress interface ID.attached
- Switch to attach/detach firewall instance to/from fireNet.
- vendor_
type str - Type of the firewall.
- attached Boolean
- egress
Interface String - firenet
Gw StringName - Name of the primary FireNet gateway.
- firewall
Name String - Firewall instance name.
lan_interface
- Lan interface ID.
- instance
Id String - ID of Firewall instance.
- lan
Interface String - management
Interface String - Management interface ID.
egress_interface
- Egress interface ID.attached
- Switch to attach/detach firewall instance to/from fireNet.
- vendor
Type 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.