aviatrix.getAviatrixFirewallInstanceImages

Use this data source to get the list of firewall instance images for use in other resources.

NOTE: A firenet enabled gateway in a security VPC is required for this data source.

Example Usage

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

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

});
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.GetAviatrixFirewallInstanceImages(ctx, &GetAviatrixFirewallInstanceImagesArgs{
			VpcId: "vpc-1234567",
		}, 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.GetAviatrixFirewallInstanceImagesArgs;
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.getAviatrixFirewallInstanceImages(GetAviatrixFirewallInstanceImagesArgs.builder()
            .vpcId("vpc-1234567")
            .build());

    }
}
import pulumi
import pulumi_aviatrix as aviatrix

foo = aviatrix.get_aviatrix_firewall_instance_images(vpc_id="vpc-1234567")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";

// Aviatrix Firewall Instance Images Data Source
const foo = pulumi.output(aviatrix.getAviatrixFirewallInstanceImages({
    vpcId: "vpc-1234567",
}));
variables:
  foo:
    fn::invoke:
      Function: aviatrix:getAviatrixFirewallInstanceImages
      Arguments:
        vpcId: vpc-1234567

Using getAviatrixFirewallInstanceImages

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 getAviatrixFirewallInstanceImages(args: GetAviatrixFirewallInstanceImagesArgs, opts?: InvokeOptions): Promise<GetAviatrixFirewallInstanceImagesResult>
function getAviatrixFirewallInstanceImagesOutput(args: GetAviatrixFirewallInstanceImagesOutputArgs, opts?: InvokeOptions): Output<GetAviatrixFirewallInstanceImagesResult>
def get_aviatrix_firewall_instance_images(vpc_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetAviatrixFirewallInstanceImagesResult
def get_aviatrix_firewall_instance_images_output(vpc_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetAviatrixFirewallInstanceImagesResult]
func GetAviatrixFirewallInstanceImages(ctx *Context, args *GetAviatrixFirewallInstanceImagesArgs, opts ...InvokeOption) (*GetAviatrixFirewallInstanceImagesResult, error)
func GetAviatrixFirewallInstanceImagesOutput(ctx *Context, args *GetAviatrixFirewallInstanceImagesOutputArgs, opts ...InvokeOption) GetAviatrixFirewallInstanceImagesResultOutput

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

public static class GetAviatrixFirewallInstanceImages 
{
    public static Task<GetAviatrixFirewallInstanceImagesResult> InvokeAsync(GetAviatrixFirewallInstanceImagesArgs args, InvokeOptions? opts = null)
    public static Output<GetAviatrixFirewallInstanceImagesResult> Invoke(GetAviatrixFirewallInstanceImagesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAviatrixFirewallInstanceImagesResult> getAviatrixFirewallInstanceImages(GetAviatrixFirewallInstanceImagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aviatrix:index/getAviatrixFirewallInstanceImages:getAviatrixFirewallInstanceImages
  arguments:
    # arguments dictionary

The following arguments are supported:

VpcId string

VPC ID. Example: AWS: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project_id", Azure: "vnet_name:rg_name:resource_guid", OCI: "vpc-oracle-test1".

VpcId string

VPC ID. Example: AWS: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project_id", Azure: "vnet_name:rg_name:resource_guid", OCI: "vpc-oracle-test1".

vpcId String

VPC ID. Example: AWS: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project_id", Azure: "vnet_name:rg_name:resource_guid", OCI: "vpc-oracle-test1".

vpcId string

VPC ID. Example: AWS: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project_id", Azure: "vnet_name:rg_name:resource_guid", OCI: "vpc-oracle-test1".

vpc_id str

VPC ID. Example: AWS: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project_id", Azure: "vnet_name:rg_name:resource_guid", OCI: "vpc-oracle-test1".

vpcId String

VPC ID. Example: AWS: "vpc-abcd1234", GCP: "vpc-gcp-test~-~project_id", Azure: "vnet_name:rg_name:resource_guid", OCI: "vpc-oracle-test1".

getAviatrixFirewallInstanceImages Result

The following output properties are available:

FirewallImages List<GetAviatrixFirewallInstanceImagesFirewallImage>

List of firewall images.

Id string

The provider-assigned unique ID for this managed resource.

VpcId string
FirewallImages []GetAviatrixFirewallInstanceImagesFirewallImage

List of firewall images.

Id string

The provider-assigned unique ID for this managed resource.

VpcId string
firewallImages List<GetAviatrixFirewallInstanceImagesFirewallImage>

List of firewall images.

id String

The provider-assigned unique ID for this managed resource.

vpcId String
firewallImages GetAviatrixFirewallInstanceImagesFirewallImage[]

List of firewall images.

id string

The provider-assigned unique ID for this managed resource.

vpcId string
firewall_images Sequence[GetAviatrixFirewallInstanceImagesFirewallImage]

List of firewall images.

id str

The provider-assigned unique ID for this managed resource.

vpc_id str
firewallImages List<Property Map>

List of firewall images.

id String

The provider-assigned unique ID for this managed resource.

vpcId String

Supporting Types

GetAviatrixFirewallInstanceImagesFirewallImage

FirewallImage string

Name of the firewall image.

FirewallImageVersions List<string>

List of firewall image versions.

FirewallSizes List<string>

List of firewall instance sizes.

FirewallImage string

Name of the firewall image.

FirewallImageVersions []string

List of firewall image versions.

FirewallSizes []string

List of firewall instance sizes.

firewallImage String

Name of the firewall image.

firewallImageVersions List<String>

List of firewall image versions.

firewallSizes List<String>

List of firewall instance sizes.

firewallImage string

Name of the firewall image.

firewallImageVersions string[]

List of firewall image versions.

firewallSizes string[]

List of firewall instance sizes.

firewall_image str

Name of the firewall image.

firewall_image_versions Sequence[str]

List of firewall image versions.

firewall_sizes Sequence[str]

List of firewall instance sizes.

firewallImage String

Name of the firewall image.

firewallImageVersions List<String>

List of firewall image versions.

firewallSizes List<String>

List of firewall instance sizes.

Package Details

Repository
aviatrix astipkovits/pulumi-aviatrix
License
Apache-2.0
Notes

This Pulumi package is based on the aviatrix Terraform Provider.