Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix
aviatrix.getAviatrixFirenetFirewallManager
Explore with Pulumi AI
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:
- Gateway
Name string - The FireNet gateway name.
- Vendor
Type string - Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".
- Vpc
Id string - VPC ID.
- Number
Of intRetries - Number of retries for
save
orsynchronize
. Example: 1. Default value: 0. - Password string
- Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".
- Public
Ip string - 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
orsynchronize
. Example: 120. Default value: 300. - Route
Table 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".
- Template
Stack 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 string - The FireNet gateway name.
- Vendor
Type string - Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".
- Vpc
Id string - VPC ID.
- Number
Of intRetries - Number of retries for
save
orsynchronize
. Example: 1. Default value: 0. - Password string
- Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".
- Public
Ip string - 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
orsynchronize
. Example: 120. Default value: 300. - Route
Table 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".
- Template
Stack 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 String - The FireNet gateway name.
- vendor
Type String - Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".
- vpc
Id String - VPC ID.
- number
Of IntegerRetries - Number of retries for
save
orsynchronize
. Example: 1. Default value: 0. - password String
- Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".
- public
Ip String - The public IP address of the Panorama instance. Required for vendor type "Palo Alto Networks Panorama".
- retry
Interval Integer - Retry interval in seconds for
save
orsynchronize
. Example: 120. Default value: 300. - route
Table 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".
- template
Stack 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 string - The FireNet gateway name.
- vendor
Type string - Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".
- vpc
Id string - VPC ID.
- number
Of numberRetries - Number of retries for
save
orsynchronize
. Example: 1. Default value: 0. - password string
- Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".
- public
Ip string - The public IP address of the Panorama instance. Required for vendor type "Palo Alto Networks Panorama".
- retry
Interval number - Retry interval in seconds for
save
orsynchronize
. Example: 120. Default value: 300. - route
Table 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".
- template
Stack 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_ intretries - Number of retries for
save
orsynchronize
. 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
orsynchronize
. 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".
- gateway
Name String - The FireNet gateway name.
- vendor
Type String - Vendor type. Valid values: "Generic" and "Palo Alto Networks Panorama".
- vpc
Id String - VPC ID.
- number
Of NumberRetries - Number of retries for
save
orsynchronize
. Example: 1. Default value: 0. - password String
- Panorama login password for API calls. Required for vendor type "Palo Alto Networks Panorama".
- public
Ip String - The public IP address of the Panorama instance. Required for vendor type "Palo Alto Networks Panorama".
- retry
Interval Number - Retry interval in seconds for
save
orsynchronize
. Example: 120. Default value: 300. - route
Table 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".
- template
Stack 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:
- Gateway
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Vendor
Type string - Vpc
Id string - Number
Of intRetries - Password string
- Public
Ip string - Retry
Interval int - Route
Table string - Save bool
- Synchronize bool
- Template string
- Template
Stack string - Username string
- Gateway
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Vendor
Type string - Vpc
Id string - Number
Of intRetries - Password string
- Public
Ip string - Retry
Interval int - Route
Table string - Save bool
- Synchronize bool
- Template string
- Template
Stack string - Username string
- gateway
Name String - id String
- The provider-assigned unique ID for this managed resource.
- vendor
Type String - vpc
Id String - number
Of IntegerRetries - password String
- public
Ip String - retry
Interval Integer - route
Table String - save Boolean
- synchronize Boolean
- template String
- template
Stack String - username String
- gateway
Name string - id string
- The provider-assigned unique ID for this managed resource.
- vendor
Type string - vpc
Id string - number
Of numberRetries - password string
- public
Ip string - retry
Interval number - route
Table string - save boolean
- synchronize boolean
- template string
- template
Stack 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_ intretries - password str
- public_
ip str - retry_
interval int - route_
table str - save bool
- synchronize bool
- template str
- template_
stack str - username str
- gateway
Name String - id String
- The provider-assigned unique ID for this managed resource.
- vendor
Type String - vpc
Id String - number
Of NumberRetries - password String
- public
Ip String - retry
Interval Number - route
Table String - save Boolean
- synchronize Boolean
- template String
- template
Stack 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.