Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix
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
orsync
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:
- Instance
Id string - ID of Firewall instance.
- Vendor
Type string - Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".
- Vpc
Id string - VPC ID.
- Api
Token string - API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".
- Firewall
Name string - Name of firewall instance.
- Number
Of intRetries - Number of retries for
save
orsynchronize
. 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".
- Private
Key stringFile - Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the
file
function to read from a file. - Public
Ip 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.
- Retry
Interval int - Retry interval in seconds for
save
orsynchronize
. Example: 120. Default value: 300. - Route
Table 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".
- Instance
Id string - ID of Firewall instance.
- Vendor
Type string - Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".
- Vpc
Id string - VPC ID.
- Api
Token string - API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".
- Firewall
Name string - Name of firewall instance.
- Number
Of intRetries - Number of retries for
save
orsynchronize
. 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".
- Private
Key stringFile - Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the
file
function to read from a file. - Public
Ip 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.
- Retry
Interval int - Retry interval in seconds for
save
orsynchronize
. Example: 120. Default value: 300. - Route
Table 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".
- instance
Id String - ID of Firewall instance.
- vendor
Type String - Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".
- vpc
Id String - VPC ID.
- api
Token String - API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".
- firewall
Name String - Name of firewall instance.
- number
Of IntegerRetries - Number of retries for
save
orsynchronize
. 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".
- private
Key StringFile - Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the
file
function to read from a file. - public
Ip 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.
- retry
Interval Integer - Retry interval in seconds for
save
orsynchronize
. Example: 120. Default value: 300. - route
Table 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 string - ID of Firewall instance.
- vendor
Type string - Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".
- vpc
Id string - VPC ID.
- api
Token string - API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".
- firewall
Name string - Name of firewall instance.
- number
Of numberRetries - Number of retries for
save
orsynchronize
. 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".
- private
Key stringFile - Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the
file
function to read from a file. - public
Ip 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.
- retry
Interval number - Retry interval in seconds for
save
orsynchronize
. Example: 120. Default value: 300. - route
Table 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_ intretries - Number of retries for
save
orsynchronize
. 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_ strfile - 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
orsynchronize
. 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".
- instance
Id String - ID of Firewall instance.
- vendor
Type String - Select PAN. Valid values: "Generic", "Palo Alto Networks VM-Series", "Aviatrix FQDN Gateway" and "Fortinet FortiGate".
- vpc
Id String - VPC ID.
- api
Token String - API token for API calls. Required and valid only for vendor type "Fortinet FortiGate".
- firewall
Name String - Name of firewall instance.
- number
Of NumberRetries - Number of retries for
save
orsynchronize
. 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".
- private
Key StringFile - Private key file. Valid only for vendor type "Check Point Cloud Guard". Use the
file
function to read from a file. - public
Ip 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.
- retry
Interval Number - Retry interval in seconds for
save
orsynchronize
. Example: 120. Default value: 300. - route
Table 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.
- Instance
Id string - Vendor
Type string - Vpc
Id string - Api
Token string - Firewall
Name string - Number
Of intRetries - Password string
- Private
Key stringFile - Public
Ip string - Retry
Interval int - Route
Table string - Save bool
- Synchronize bool
- Username string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Vendor
Type string - Vpc
Id string - Api
Token string - Firewall
Name string - Number
Of intRetries - Password string
- Private
Key stringFile - Public
Ip string - Retry
Interval int - Route
Table string - Save bool
- Synchronize bool
- Username string
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - vendor
Type String - vpc
Id String - api
Token String - firewall
Name String - number
Of IntegerRetries - password String
- private
Key StringFile - public
Ip String - retry
Interval Integer - route
Table String - save Boolean
- synchronize Boolean
- username String
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - vendor
Type string - vpc
Id string - api
Token string - firewall
Name string - number
Of numberRetries - password string
- private
Key stringFile - public
Ip string - retry
Interval number - route
Table 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_ intretries - password str
- private_
key_ strfile - 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.
- instance
Id String - vendor
Type String - vpc
Id String - api
Token String - firewall
Name String - number
Of NumberRetries - password String
- private
Key StringFile - public
Ip String - retry
Interval Number - route
Table 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.