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

aviatrix logo
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

    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:

    VpcId string
    ID of the Security VPC.
    FirewallInstanceAssociations List<GetAviatrixFirenetFirewallInstanceAssociation>
    List of firewall instances associated with fireNet.
    VpcId string
    ID of the Security VPC.
    FirewallInstanceAssociations []GetAviatrixFirenetFirewallInstanceAssociation
    List of firewall instances associated with fireNet.
    vpcId String
    ID of the Security VPC.
    firewallInstanceAssociations List<GetAviatrixFirenetFirewallInstanceAssociation>
    List of firewall instances associated with fireNet.
    vpcId string
    ID of the Security VPC.
    firewallInstanceAssociations GetAviatrixFirenetFirewallInstanceAssociation[]
    List of firewall instances associated with fireNet.
    vpc_id str
    ID of the Security VPC.
    firewall_instance_associations Sequence[GetAviatrixFirenetFirewallInstanceAssociation]
    List of firewall instances associated with fireNet.
    vpcId 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 bool
    EgressInterface string
    FirenetGwName string
    Name of the primary FireNet gateway.
    FirewallName string
    Firewall instance name.

    • lan_interface- Lan interface ID.
    InstanceId string
    ID of Firewall instance.
    LanInterface string
    ManagementInterface string
    Management interface ID.

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

    • lan_interface- Lan interface ID.
    InstanceId string
    ID of Firewall instance.
    LanInterface string
    ManagementInterface string
    Management interface ID.

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

    • lan_interface- Lan interface ID.
    instanceId String
    ID of Firewall instance.
    lanInterface String
    managementInterface String
    Management interface ID.

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

    • lan_interface- Lan interface ID.
    instanceId string
    ID of Firewall instance.
    lanInterface string
    managementInterface string
    Management interface ID.

    • egress_interface- Egress interface ID.
    • attached- Switch to attach/detach firewall instance to/from fireNet.
    vendorType string
    Type of the firewall.
    attached bool
    egress_interface str
    firenet_gw_name str
    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
    egressInterface String
    firenetGwName String
    Name of the primary FireNet gateway.
    firewallName String
    Firewall instance name.

    • lan_interface- Lan interface ID.
    instanceId String
    ID of Firewall instance.
    lanInterface String
    managementInterface String
    Management interface ID.

    • egress_interface- Egress interface ID.
    • attached- Switch to attach/detach firewall instance to/from fireNet.
    vendorType 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.
    aviatrix logo
    Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix