aviatrix.getAviatrixFirenetFirewallManager

Use this data source to do ‘save’ or ‘sync’ for Aviatrix FireNet firewall manager.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var foo = Aviatrix.GetAviatrixFirenetFirewallManager.Invoke(new()
    {
        GatewayName = "transit",
        Password = "password",
        PublicIp = "1.2.3.4",
        RouteTable = "router",
        Save = true,
        Template = "template",
        TemplateStack = "templatestack",
        Username = "admin-api",
        VendorType = "Palo Alto Networks Panorama",
        VpcId = "vpc-abcd123",
    });

});
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.GetAviatrixFirenetFirewallManager(ctx, &GetAviatrixFirenetFirewallManagerArgs{
			GatewayName:   "transit",
			Password:      pulumi.StringRef("password"),
			PublicIp:      pulumi.StringRef("1.2.3.4"),
			RouteTable:    pulumi.StringRef("router"),
			Save:          pulumi.BoolRef(true),
			Template:      pulumi.StringRef("template"),
			TemplateStack: pulumi.StringRef("templatestack"),
			Username:      pulumi.StringRef("admin-api"),
			VendorType:    "Palo Alto Networks Panorama",
			VpcId:         "vpc-abcd123",
		}, 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.GetAviatrixFirenetFirewallManagerArgs;
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.getAviatrixFirenetFirewallManager(GetAviatrixFirenetFirewallManagerArgs.builder()
            .gatewayName("transit")
            .password("password")
            .publicIp("1.2.3.4")
            .routeTable("router")
            .save(true)
            .template("template")
            .templateStack("templatestack")
            .username("admin-api")
            .vendorType("Palo Alto Networks Panorama")
            .vpcId("vpc-abcd123")
            .build());

    }
}
import pulumi
import pulumi_aviatrix as aviatrix

foo = aviatrix.get_aviatrix_firenet_firewall_manager(gateway_name="transit",
    password="password",
    public_ip="1.2.3.4",
    route_table="router",
    save=True,
    template="template",
    template_stack="templatestack",
    username="admin-api",
    vendor_type="Palo Alto Networks Panorama",
    vpc_id="vpc-abcd123")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";

// Aviatrix FireNet Firewall Manager Data Source
const foo = pulumi.output(aviatrix.getAviatrixFirenetFirewallManager({
    gatewayName: "transit",
    password: "password",
    publicIp: "1.2.3.4",
    routeTable: "router",
    save: true,
    template: "template",
    templateStack: "templatestack",
    username: "admin-api",
    vendorType: "Palo Alto Networks Panorama",
    vpcId: "vpc-abcd123",
}));
variables:
  foo:
    fn::invoke:
      Function: aviatrix:getAviatrixFirenetFirewallManager
      Arguments:
        gatewayName: transit
        password: password
        publicIp: 1.2.3.4
        routeTable: router
        save: true
        template: template
        templateStack: templatestack
        username: admin-api
        vendorType: Palo Alto Networks Panorama
        vpcId: vpc-abcd123

Using getAviatrixFirenetFirewallManager

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 getAviatrixFirenetFirewallManager(args: GetAviatrixFirenetFirewallManagerArgs, opts?: InvokeOptions): Promise<GetAviatrixFirenetFirewallManagerResult>
function getAviatrixFirenetFirewallManagerOutput(args: GetAviatrixFirenetFirewallManagerOutputArgs, opts?: InvokeOptions): Output<GetAviatrixFirenetFirewallManagerResult>
def get_aviatrix_firenet_firewall_manager(gateway_name: Optional[str] = None,
                                          number_of_retries: Optional[int] = None,
                                          password: Optional[str] = None,
                                          public_ip: Optional[str] = None,
                                          retry_interval: Optional[int] = None,
                                          route_table: Optional[str] = None,
                                          save: Optional[bool] = None,
                                          synchronize: Optional[bool] = None,
                                          template: Optional[str] = None,
                                          template_stack: Optional[str] = None,
                                          username: Optional[str] = None,
                                          vendor_type: Optional[str] = None,
                                          vpc_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetAviatrixFirenetFirewallManagerResult
def get_aviatrix_firenet_firewall_manager_output(gateway_name: Optional[pulumi.Input[str]] = None,
                                          number_of_retries: Optional[pulumi.Input[int]] = None,
                                          password: Optional[pulumi.Input[str]] = None,
                                          public_ip: Optional[pulumi.Input[str]] = None,
                                          retry_interval: Optional[pulumi.Input[int]] = None,
                                          route_table: Optional[pulumi.Input[str]] = None,
                                          save: Optional[pulumi.Input[bool]] = None,
                                          synchronize: Optional[pulumi.Input[bool]] = None,
                                          template: Optional[pulumi.Input[str]] = None,
                                          template_stack: Optional[pulumi.Input[str]] = None,
                                          username: Optional[pulumi.Input[str]] = None,
                                          vendor_type: Optional[pulumi.Input[str]] = None,
                                          vpc_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetAviatrixFirenetFirewallManagerResult]
func GetAviatrixFirenetFirewallManager(ctx *Context, args *GetAviatrixFirenetFirewallManagerArgs, opts ...InvokeOption) (*GetAviatrixFirenetFirewallManagerResult, error)
func GetAviatrixFirenetFirewallManagerOutput(ctx *Context, args *GetAviatrixFirenetFirewallManagerOutputArgs, opts ...InvokeOption) GetAviatrixFirenetFirewallManagerResultOutput

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

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

The following arguments are supported:

GatewayName string

The FireNet gateway name.

VendorType string

Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".

VpcId string

VPC ID.

NumberOfRetries int

Number of retries for save or synchronize. Example: 1. Default value: 0.

Password string

Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".

PublicIp string

The public IP address of the Panorama instance. Required for vendor type "Palo Alto Networks Panorama".

RetryInterval int

Retry interval in seconds for save or synchronize. Example: 120. Default value: 300.

RouteTable string

The name of firewall virtual router to program. If left unspecified, the Controller programs the Panorama template’s first router.

Save bool

Switch to save or not.

Synchronize bool

Switch to sync or not.

Template string

Panorama template for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

TemplateStack string

Panorama template stack for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

Username string

Panorama login name for API calls from the Controller. Required for vendor type "Palo Alto Networks Panorama".

GatewayName string

The FireNet gateway name.

VendorType string

Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".

VpcId string

VPC ID.

NumberOfRetries int

Number of retries for save or synchronize. Example: 1. Default value: 0.

Password string

Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".

PublicIp string

The public IP address of the Panorama instance. Required for vendor type "Palo Alto Networks Panorama".

RetryInterval int

Retry interval in seconds for save or synchronize. Example: 120. Default value: 300.

RouteTable string

The name of firewall virtual router to program. If left unspecified, the Controller programs the Panorama template’s first router.

Save bool

Switch to save or not.

Synchronize bool

Switch to sync or not.

Template string

Panorama template for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

TemplateStack string

Panorama template stack for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

Username string

Panorama login name for API calls from the Controller. Required for vendor type "Palo Alto Networks Panorama".

gatewayName String

The FireNet gateway name.

vendorType String

Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".

vpcId String

VPC ID.

numberOfRetries Integer

Number of retries for save or synchronize. Example: 1. Default value: 0.

password String

Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".

publicIp String

The public IP address of the Panorama instance. Required for vendor type "Palo Alto Networks Panorama".

retryInterval Integer

Retry interval in seconds for save or synchronize. Example: 120. Default value: 300.

routeTable String

The name of firewall virtual router to program. If left unspecified, the Controller programs the Panorama template’s first router.

save Boolean

Switch to save or not.

synchronize Boolean

Switch to sync or not.

template String

Panorama template for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

templateStack String

Panorama template stack for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

username String

Panorama login name for API calls from the Controller. Required for vendor type "Palo Alto Networks Panorama".

gatewayName string

The FireNet gateway name.

vendorType string

Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".

vpcId string

VPC ID.

numberOfRetries number

Number of retries for save or synchronize. Example: 1. Default value: 0.

password string

Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".

publicIp string

The public IP address of the Panorama instance. Required for vendor type "Palo Alto Networks Panorama".

retryInterval number

Retry interval in seconds for save or synchronize. Example: 120. Default value: 300.

routeTable string

The name of firewall virtual router to program. If left unspecified, the Controller programs the Panorama template’s first router.

save boolean

Switch to save or not.

synchronize boolean

Switch to sync or not.

template string

Panorama template for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

templateStack string

Panorama template stack for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

username string

Panorama login name for API calls from the Controller. Required for vendor type "Palo Alto Networks Panorama".

gateway_name str

The FireNet gateway name.

vendor_type str

Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".

vpc_id str

VPC ID.

number_of_retries int

Number of retries for save or synchronize. Example: 1. Default value: 0.

password str

Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".

public_ip str

The public IP address of the Panorama instance. Required for vendor type "Palo Alto Networks Panorama".

retry_interval int

Retry interval in seconds for save or synchronize. Example: 120. Default value: 300.

route_table str

The name of firewall virtual router to program. If left unspecified, the Controller programs the Panorama template’s first router.

save bool

Switch to save or not.

synchronize bool

Switch to sync or not.

template str

Panorama template for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

template_stack str

Panorama template stack for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

username str

Panorama login name for API calls from the Controller. Required for vendor type "Palo Alto Networks Panorama".

gatewayName String

The FireNet gateway name.

vendorType String

Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".

vpcId String

VPC ID.

numberOfRetries Number

Number of retries for save or synchronize. Example: 1. Default value: 0.

password String

Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".

publicIp String

The public IP address of the Panorama instance. Required for vendor type "Palo Alto Networks Panorama".

retryInterval Number

Retry interval in seconds for save or synchronize. Example: 120. Default value: 300.

routeTable String

The name of firewall virtual router to program. If left unspecified, the Controller programs the Panorama template’s first router.

save Boolean

Switch to save or not.

synchronize Boolean

Switch to sync or not.

template String

Panorama template for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

templateStack String

Panorama template stack for each FireNet gateway. Required for vendor type "Palo Alto Networks Panorama".

username String

Panorama login name for API calls from the Controller. Required for vendor type "Palo Alto Networks Panorama".

getAviatrixFirenetFirewallManager Result

The following output properties are available:

GatewayName string
Id string

The provider-assigned unique ID for this managed resource.

VendorType string
VpcId string
NumberOfRetries int
Password string
PublicIp string
RetryInterval int
RouteTable string
Save bool
Synchronize bool
Template string
TemplateStack string
Username string
GatewayName string
Id string

The provider-assigned unique ID for this managed resource.

VendorType string
VpcId string
NumberOfRetries int
Password string
PublicIp string
RetryInterval int
RouteTable string
Save bool
Synchronize bool
Template string
TemplateStack string
Username string
gatewayName String
id String

The provider-assigned unique ID for this managed resource.

vendorType String
vpcId String
numberOfRetries Integer
password String
publicIp String
retryInterval Integer
routeTable String
save Boolean
synchronize Boolean
template String
templateStack String
username String
gatewayName string
id string

The provider-assigned unique ID for this managed resource.

vendorType string
vpcId string
numberOfRetries number
password string
publicIp string
retryInterval number
routeTable string
save boolean
synchronize boolean
template string
templateStack string
username string
gateway_name str
id str

The provider-assigned unique ID for this managed resource.

vendor_type str
vpc_id str
number_of_retries int
password str
public_ip str
retry_interval int
route_table str
save bool
synchronize bool
template str
template_stack str
username str
gatewayName String
id String

The provider-assigned unique ID for this managed resource.

vendorType String
vpcId String
numberOfRetries Number
password String
publicIp String
retryInterval Number
routeTable String
save Boolean
synchronize Boolean
template String
templateStack String
username String

Package Details

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

This Pulumi package is based on the aviatrix Terraform Provider.