Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix
aviatrix.getAviatrixFirewallInstanceImages
Explore with Pulumi AI
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:
- Vpc
Id 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 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 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 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".
- vpc
Id 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:
- Firewall
Images List<GetAviatrix Firewall Instance Images Firewall Image> - List of firewall images.
- Id string
- The provider-assigned unique ID for this managed resource.
- Vpc
Id string
- Firewall
Images []GetAviatrix Firewall Instance Images Firewall Image - List of firewall images.
- Id string
- The provider-assigned unique ID for this managed resource.
- Vpc
Id string
- firewall
Images List<GetAviatrix Firewall Instance Images Firewall Image> - List of firewall images.
- id String
- The provider-assigned unique ID for this managed resource.
- vpc
Id String
- firewall
Images GetAviatrix Firewall Instance Images Firewall Image[] - List of firewall images.
- id string
- The provider-assigned unique ID for this managed resource.
- vpc
Id string
- firewall_
images Sequence[GetAviatrix Firewall Instance Images Firewall Image] - List of firewall images.
- id str
- The provider-assigned unique ID for this managed resource.
- vpc_
id str
- firewall
Images List<Property Map> - List of firewall images.
- id String
- The provider-assigned unique ID for this managed resource.
- vpc
Id String
Supporting Types
GetAviatrixFirewallInstanceImagesFirewallImage
- Firewall
Image string - Name of the firewall image.
- Firewall
Image List<string>Versions - List of firewall image versions.
- Firewall
Sizes List<string> - List of firewall instance sizes.
- Firewall
Image string - Name of the firewall image.
- Firewall
Image []stringVersions - List of firewall image versions.
- Firewall
Sizes []string - List of firewall instance sizes.
- firewall
Image String - Name of the firewall image.
- firewall
Image List<String>Versions - List of firewall image versions.
- firewall
Sizes List<String> - List of firewall instance sizes.
- firewall
Image string - Name of the firewall image.
- firewall
Image string[]Versions - List of firewall image versions.
- firewall
Sizes string[] - List of firewall instance sizes.
- firewall_
image str - Name of the firewall image.
- firewall_
image_ Sequence[str]versions - List of firewall image versions.
- firewall_
sizes Sequence[str] - List of firewall instance sizes.
- firewall
Image String - Name of the firewall image.
- firewall
Image List<String>Versions - List of firewall image versions.
- firewall
Sizes 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.