aviatrix.getAviatrixFirenetVendorIntegration

Explore with Pulumi AI

Use this data source to do ‘save’ or ‘sync’ for vendor integration purposes for Aviatrix FireNet.

NOTE: FireNet with Panorama should be set up using the aviatrix_firenet_firewall_manager data source. Do not use save or sync options listed below.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var foo = Aviatrix.GetAviatrixFirenetVendorIntegration.Invoke(new()
    {
        FirewallName = "Avx-Firewall-Instance",
        InstanceId = "i-09ade2592661316f8",
        Password = "Avx123456#",
        PublicIp = "10.11.12.13",
        Save = true,
        Username = "admin",
        VendorType = "Palo Alto Networks VM-Series",
        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.GetAviatrixFirenetVendorIntegration(ctx, &GetAviatrixFirenetVendorIntegrationArgs{
			FirewallName: pulumi.StringRef("Avx-Firewall-Instance"),
			InstanceId:   "i-09ade2592661316f8",
			Password:     pulumi.StringRef("Avx123456#"),
			PublicIp:     pulumi.StringRef("10.11.12.13"),
			Save:         pulumi.BoolRef(true),
			Username:     pulumi.StringRef("admin"),
			VendorType:   "Palo Alto Networks VM-Series",
			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.GetAviatrixFirenetVendorIntegrationArgs;
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.getAviatrixFirenetVendorIntegration(GetAviatrixFirenetVendorIntegrationArgs.builder()
            .firewallName("Avx-Firewall-Instance")
            .instanceId("i-09ade2592661316f8")
            .password("Avx123456#")
            .publicIp("10.11.12.13")
            .save(true)
            .username("admin")
            .vendorType("Palo Alto Networks VM-Series")
            .vpcId("vpc-abcd123")
            .build());

    }
}
import pulumi
import pulumi_aviatrix as aviatrix

foo = aviatrix.get_aviatrix_firenet_vendor_integration(firewall_name="Avx-Firewall-Instance",
    instance_id="i-09ade2592661316f8",
    password="Avx123456#",
    public_ip="10.11.12.13",
    save=True,
    username="admin",
    vendor_type="Palo Alto Networks VM-Series",
    vpc_id="vpc-abcd123")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";

// Aviatrix FireNet Vendor Integration Data Source
const foo = pulumi.output(aviatrix.getAviatrixFirenetVendorIntegration({
    firewallName: "Avx-Firewall-Instance",
    instanceId: "i-09ade2592661316f8",
    password: "Avx123456#",
    publicIp: "10.11.12.13",
    save: true,
    username: "admin",
    vendorType: "Palo Alto Networks VM-Series",
    vpcId: "vpc-abcd123",
}));
variables:
  foo:
    fn::invoke:
      Function: aviatrix:getAviatrixFirenetVendorIntegration
      Arguments:
        firewallName: Avx-Firewall-Instance
        instanceId: i-09ade2592661316f8
        password: Avx123456#
        publicIp: 10.11.12.13
        save: true
        username: admin
        vendorType: Palo Alto Networks VM-Series
        vpcId: vpc-abcd123

Using getAviatrixFirenetVendorIntegration

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 getAviatrixFirenetVendorIntegration(args: GetAviatrixFirenetVendorIntegrationArgs, opts?: InvokeOptions): Promise<GetAviatrixFirenetVendorIntegrationResult>
function getAviatrixFirenetVendorIntegrationOutput(args: GetAviatrixFirenetVendorIntegrationOutputArgs, opts?: InvokeOptions): Output<GetAviatrixFirenetVendorIntegrationResult>
def get_aviatrix_firenet_vendor_integration(api_token: Optional[str] = None,
                                            firewall_name: Optional[str] = None,
                                            instance_id: Optional[str] = None,
                                            number_of_retries: Optional[int] = None,
                                            password: Optional[str] = None,
                                            private_key_file: 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,
                                            username: Optional[str] = None,
                                            vendor_type: Optional[str] = None,
                                            vpc_id: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetAviatrixFirenetVendorIntegrationResult
def get_aviatrix_firenet_vendor_integration_output(api_token: Optional[pulumi.Input[str]] = None,
                                            firewall_name: Optional[pulumi.Input[str]] = None,
                                            instance_id: Optional[pulumi.Input[str]] = None,
                                            number_of_retries: Optional[pulumi.Input[int]] = None,
                                            password: Optional[pulumi.Input[str]] = None,
                                            private_key_file: 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,
                                            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[GetAviatrixFirenetVendorIntegrationResult]
func GetAviatrixFirenetVendorIntegration(ctx *Context, args *GetAviatrixFirenetVendorIntegrationArgs, opts ...InvokeOption) (*GetAviatrixFirenetVendorIntegrationResult, error)
func GetAviatrixFirenetVendorIntegrationOutput(ctx *Context, args *GetAviatrixFirenetVendorIntegrationOutputArgs, opts ...InvokeOption) GetAviatrixFirenetVendorIntegrationResultOutput

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

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

The following arguments are supported:

InstanceId string

ID of Firewall instance.

VendorType string

Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".

VpcId string

VPC ID.

ApiToken string

API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".

FirewallName string

Name of firewall instance.

NumberOfRetries int

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

Password string

Firewall login password for API calls. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

PrivateKeyFile string

Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the file function to read from a file.

PublicIp string

The IP address of the firewall management interface for API calls from the Aviatrix Controller. If not set, the public IP of the firewall instance will be used. If the private IP is provided, please make sure that the controller can access the firewall.

RetryInterval int

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

RouteTable string

Specify the firewall virtual Router name you wish the Controller to program. If left unspecified, the Controller programs the firewall’s default router.

Save bool

Switch to save or not.

Synchronize bool

Switch to sync or not.

Username string

Firewall login name for API calls from the Controller. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

InstanceId string

ID of Firewall instance.

VendorType string

Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".

VpcId string

VPC ID.

ApiToken string

API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".

FirewallName string

Name of firewall instance.

NumberOfRetries int

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

Password string

Firewall login password for API calls. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

PrivateKeyFile string

Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the file function to read from a file.

PublicIp string

The IP address of the firewall management interface for API calls from the Aviatrix Controller. If not set, the public IP of the firewall instance will be used. If the private IP is provided, please make sure that the controller can access the firewall.

RetryInterval int

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

RouteTable string

Specify the firewall virtual Router name you wish the Controller to program. If left unspecified, the Controller programs the firewall’s default router.

Save bool

Switch to save or not.

Synchronize bool

Switch to sync or not.

Username string

Firewall login name for API calls from the Controller. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

instanceId String

ID of Firewall instance.

vendorType String

Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".

vpcId String

VPC ID.

apiToken String

API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".

firewallName String

Name of firewall instance.

numberOfRetries Integer

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

password String

Firewall login password for API calls. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

privateKeyFile String

Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the file function to read from a file.

publicIp String

The IP address of the firewall management interface for API calls from the Aviatrix Controller. If not set, the public IP of the firewall instance will be used. If the private IP is provided, please make sure that the controller can access the firewall.

retryInterval Integer

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

routeTable String

Specify the firewall virtual Router name you wish the Controller to program. If left unspecified, the Controller programs the firewall’s default router.

save Boolean

Switch to save or not.

synchronize Boolean

Switch to sync or not.

username String

Firewall login name for API calls from the Controller. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

instanceId string

ID of Firewall instance.

vendorType string

Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".

vpcId string

VPC ID.

apiToken string

API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".

firewallName string

Name of firewall instance.

numberOfRetries number

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

password string

Firewall login password for API calls. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

privateKeyFile string

Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the file function to read from a file.

publicIp string

The IP address of the firewall management interface for API calls from the Aviatrix Controller. If not set, the public IP of the firewall instance will be used. If the private IP is provided, please make sure that the controller can access the firewall.

retryInterval number

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

routeTable string

Specify the firewall virtual Router name you wish the Controller to program. If left unspecified, the Controller programs the firewall’s default router.

save boolean

Switch to save or not.

synchronize boolean

Switch to sync or not.

username string

Firewall login name for API calls from the Controller. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

instance_id str

ID of Firewall instance.

vendor_type str

Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".

vpc_id str

VPC ID.

api_token str

API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".

firewall_name str

Name of firewall instance.

number_of_retries int

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

password str

Firewall login password for API calls. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

private_key_file str

Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the file function to read from a file.

public_ip str

The IP address of the firewall management interface for API calls from the Aviatrix Controller. If not set, the public IP of the firewall instance will be used. If the private IP is provided, please make sure that the controller can access the firewall.

retry_interval int

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

route_table str

Specify the firewall virtual Router name you wish the Controller to program. If left unspecified, the Controller programs the firewall’s default router.

save bool

Switch to save or not.

synchronize bool

Switch to sync or not.

username str

Firewall login name for API calls from the Controller. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

instanceId String

ID of Firewall instance.

vendorType String

Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".

vpcId String

VPC ID.

apiToken String

API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".

firewallName String

Name of firewall instance.

numberOfRetries Number

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

password String

Firewall login password for API calls. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

privateKeyFile String

Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the file function to read from a file.

publicIp String

The IP address of the firewall management interface for API calls from the Aviatrix Controller. If not set, the public IP of the firewall instance will be used. If the private IP is provided, please make sure that the controller can access the firewall.

retryInterval Number

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

routeTable String

Specify the firewall virtual Router name you wish the Controller to program. If left unspecified, the Controller programs the firewall’s default router.

save Boolean

Switch to save or not.

synchronize Boolean

Switch to sync or not.

username String

Firewall login name for API calls from the Controller. Required for vendor type "Generic", "Palo Alto Networks VM-Series" and "Aviatrix FQDN Gateway".

getAviatrixFirenetVendorIntegration Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

InstanceId string
VendorType string
VpcId string
ApiToken string
FirewallName string
NumberOfRetries int
Password string
PrivateKeyFile string
PublicIp string
RetryInterval int
RouteTable string
Save bool
Synchronize bool
Username string
Id string

The provider-assigned unique ID for this managed resource.

InstanceId string
VendorType string
VpcId string
ApiToken string
FirewallName string
NumberOfRetries int
Password string
PrivateKeyFile string
PublicIp string
RetryInterval int
RouteTable string
Save bool
Synchronize bool
Username string
id String

The provider-assigned unique ID for this managed resource.

instanceId String
vendorType String
vpcId String
apiToken String
firewallName String
numberOfRetries Integer
password String
privateKeyFile String
publicIp String
retryInterval Integer
routeTable String
save Boolean
synchronize Boolean
username String
id string

The provider-assigned unique ID for this managed resource.

instanceId string
vendorType string
vpcId string
apiToken string
firewallName string
numberOfRetries number
password string
privateKeyFile string
publicIp string
retryInterval number
routeTable string
save boolean
synchronize boolean
username string
id str

The provider-assigned unique ID for this managed resource.

instance_id str
vendor_type str
vpc_id str
api_token str
firewall_name str
number_of_retries int
password str
private_key_file str
public_ip str
retry_interval int
route_table str
save bool
synchronize bool
username str
id String

The provider-assigned unique ID for this managed resource.

instanceId String
vendorType String
vpcId String
apiToken String
firewallName String
numberOfRetries Number
password String
privateKeyFile String
publicIp String
retryInterval Number
routeTable String
save Boolean
synchronize Boolean
username String

Package Details

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

This Pulumi package is based on the aviatrix Terraform Provider.