published on Tuesday, Apr 28, 2026 by paloaltonetworks
published on Tuesday, Apr 28, 2026 by paloaltonetworks
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as panos from "@pulumi/panos";
// Create a template for OSPF redistribution profiles
const ospfTemplate = new panos.Template("ospf_template", {
location: {
panorama: {},
},
name: "ospf-routing-template",
});
// Redistribute connected routes into OSPF with basic configuration
const connected = new panos.OspfRedistributionRoutingProfile("connected", {
location: {
template: {
name: ospfTemplate.name,
},
},
name: "ospf-redistribute-connected",
connected: {
enable: true,
metric: 10,
metricType: "type-1",
},
});
// Redistribute BGP routes into OSPF with type-2 metric
const bgp = new panos.OspfRedistributionRoutingProfile("bgp", {
location: {
template: {
name: ospfTemplate.name,
},
},
name: "ospf-redistribute-bgp",
bgp: {
enable: true,
metric: 100,
metricType: "type-2",
},
});
// Redistribute static routes with route-map filtering
const staticWithMap = new panos.OspfRedistributionRoutingProfile("static_with_map", {
location: {
template: {
name: ospfTemplate.name,
},
},
name: "ospf-redistribute-static-filtered",
static: {
enable: true,
routeMap: "static-route-filter",
},
});
// Redistribute multiple sources into OSPF with different configurations
const multiple = new panos.OspfRedistributionRoutingProfile("multiple", {
location: {
template: {
name: ospfTemplate.name,
},
},
name: "ospf-redistribute-multiple",
connected: {
enable: true,
metric: 10,
metricType: "type-1",
},
static: {
enable: true,
metric: 20,
metricType: "type-1",
},
bgp: {
enable: true,
metric: 100,
metricType: "type-2",
},
rip: {
enable: true,
metric: 50,
metricType: "type-2",
routeMap: "rip-filter-map",
},
});
// Default route redistribution with always option
// The 'always' option generates a default route even if one doesn't exist
const defaultRoute = new panos.OspfRedistributionRoutingProfile("default_route", {
location: {
template: {
name: ospfTemplate.name,
},
},
name: "ospf-redistribute-default",
defaultRoute: {
enable: true,
always: true,
metric: 1,
metricType: "type-1",
},
});
import pulumi
import pulumi_panos as panos
# Create a template for OSPF redistribution profiles
ospf_template = panos.Template("ospf_template",
location={
"panorama": {},
},
name="ospf-routing-template")
# Redistribute connected routes into OSPF with basic configuration
connected = panos.OspfRedistributionRoutingProfile("connected",
location={
"template": {
"name": ospf_template.name,
},
},
name="ospf-redistribute-connected",
connected={
"enable": True,
"metric": 10,
"metric_type": "type-1",
})
# Redistribute BGP routes into OSPF with type-2 metric
bgp = panos.OspfRedistributionRoutingProfile("bgp",
location={
"template": {
"name": ospf_template.name,
},
},
name="ospf-redistribute-bgp",
bgp={
"enable": True,
"metric": 100,
"metric_type": "type-2",
})
# Redistribute static routes with route-map filtering
static_with_map = panos.OspfRedistributionRoutingProfile("static_with_map",
location={
"template": {
"name": ospf_template.name,
},
},
name="ospf-redistribute-static-filtered",
static={
"enable": True,
"route_map": "static-route-filter",
})
# Redistribute multiple sources into OSPF with different configurations
multiple = panos.OspfRedistributionRoutingProfile("multiple",
location={
"template": {
"name": ospf_template.name,
},
},
name="ospf-redistribute-multiple",
connected={
"enable": True,
"metric": 10,
"metric_type": "type-1",
},
static={
"enable": True,
"metric": 20,
"metric_type": "type-1",
},
bgp={
"enable": True,
"metric": 100,
"metric_type": "type-2",
},
rip={
"enable": True,
"metric": 50,
"metric_type": "type-2",
"route_map": "rip-filter-map",
})
# Default route redistribution with always option
# The 'always' option generates a default route even if one doesn't exist
default_route = panos.OspfRedistributionRoutingProfile("default_route",
location={
"template": {
"name": ospf_template.name,
},
},
name="ospf-redistribute-default",
default_route={
"enable": True,
"always": True,
"metric": 1,
"metric_type": "type-1",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/panos/v2/panos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a template for OSPF redistribution profiles
ospfTemplate, err := panos.NewTemplate(ctx, "ospf_template", &panos.TemplateArgs{
Location: &panos.TemplateLocationArgs{
Panorama: &panos.TemplateLocationPanoramaArgs{},
},
Name: pulumi.String("ospf-routing-template"),
})
if err != nil {
return err
}
// Redistribute connected routes into OSPF with basic configuration
_, err = panos.NewOspfRedistributionRoutingProfile(ctx, "connected", &panos.OspfRedistributionRoutingProfileArgs{
Location: &panos.OspfRedistributionRoutingProfileLocationArgs{
Template: &panos.OspfRedistributionRoutingProfileLocationTemplateArgs{
Name: ospfTemplate.Name,
},
},
Name: pulumi.String("ospf-redistribute-connected"),
Connected: &panos.OspfRedistributionRoutingProfileConnectedArgs{
Enable: pulumi.Bool(true),
Metric: pulumi.Float64(10),
MetricType: pulumi.String("type-1"),
},
})
if err != nil {
return err
}
// Redistribute BGP routes into OSPF with type-2 metric
_, err = panos.NewOspfRedistributionRoutingProfile(ctx, "bgp", &panos.OspfRedistributionRoutingProfileArgs{
Location: &panos.OspfRedistributionRoutingProfileLocationArgs{
Template: &panos.OspfRedistributionRoutingProfileLocationTemplateArgs{
Name: ospfTemplate.Name,
},
},
Name: pulumi.String("ospf-redistribute-bgp"),
Bgp: &panos.OspfRedistributionRoutingProfileBgpArgs{
Enable: pulumi.Bool(true),
Metric: pulumi.Float64(100),
MetricType: pulumi.String("type-2"),
},
})
if err != nil {
return err
}
// Redistribute static routes with route-map filtering
_, err = panos.NewOspfRedistributionRoutingProfile(ctx, "static_with_map", &panos.OspfRedistributionRoutingProfileArgs{
Location: &panos.OspfRedistributionRoutingProfileLocationArgs{
Template: &panos.OspfRedistributionRoutingProfileLocationTemplateArgs{
Name: ospfTemplate.Name,
},
},
Name: pulumi.String("ospf-redistribute-static-filtered"),
Static: &panos.OspfRedistributionRoutingProfileStaticArgs{
Enable: pulumi.Bool(true),
RouteMap: pulumi.String("static-route-filter"),
},
})
if err != nil {
return err
}
// Redistribute multiple sources into OSPF with different configurations
_, err = panos.NewOspfRedistributionRoutingProfile(ctx, "multiple", &panos.OspfRedistributionRoutingProfileArgs{
Location: &panos.OspfRedistributionRoutingProfileLocationArgs{
Template: &panos.OspfRedistributionRoutingProfileLocationTemplateArgs{
Name: ospfTemplate.Name,
},
},
Name: pulumi.String("ospf-redistribute-multiple"),
Connected: &panos.OspfRedistributionRoutingProfileConnectedArgs{
Enable: pulumi.Bool(true),
Metric: pulumi.Float64(10),
MetricType: pulumi.String("type-1"),
},
Static: &panos.OspfRedistributionRoutingProfileStaticArgs{
Enable: pulumi.Bool(true),
Metric: pulumi.Float64(20),
MetricType: pulumi.String("type-1"),
},
Bgp: &panos.OspfRedistributionRoutingProfileBgpArgs{
Enable: pulumi.Bool(true),
Metric: pulumi.Float64(100),
MetricType: pulumi.String("type-2"),
},
Rip: &panos.OspfRedistributionRoutingProfileRipArgs{
Enable: pulumi.Bool(true),
Metric: pulumi.Float64(50),
MetricType: pulumi.String("type-2"),
RouteMap: pulumi.String("rip-filter-map"),
},
})
if err != nil {
return err
}
// Default route redistribution with always option
// The 'always' option generates a default route even if one doesn't exist
_, err = panos.NewOspfRedistributionRoutingProfile(ctx, "default_route", &panos.OspfRedistributionRoutingProfileArgs{
Location: &panos.OspfRedistributionRoutingProfileLocationArgs{
Template: &panos.OspfRedistributionRoutingProfileLocationTemplateArgs{
Name: ospfTemplate.Name,
},
},
Name: pulumi.String("ospf-redistribute-default"),
DefaultRoute: &panos.OspfRedistributionRoutingProfileDefaultRouteArgs{
Enable: pulumi.Bool(true),
Always: pulumi.Bool(true),
Metric: pulumi.Float64(1),
MetricType: pulumi.String("type-1"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Panos = Pulumi.Panos;
return await Deployment.RunAsync(() =>
{
// Create a template for OSPF redistribution profiles
var ospfTemplate = new Panos.Template("ospf_template", new()
{
Location = new Panos.Inputs.TemplateLocationArgs
{
Panorama = null,
},
Name = "ospf-routing-template",
});
// Redistribute connected routes into OSPF with basic configuration
var connected = new Panos.OspfRedistributionRoutingProfile("connected", new()
{
Location = new Panos.Inputs.OspfRedistributionRoutingProfileLocationArgs
{
Template = new Panos.Inputs.OspfRedistributionRoutingProfileLocationTemplateArgs
{
Name = ospfTemplate.Name,
},
},
Name = "ospf-redistribute-connected",
Connected = new Panos.Inputs.OspfRedistributionRoutingProfileConnectedArgs
{
Enable = true,
Metric = 10,
MetricType = "type-1",
},
});
// Redistribute BGP routes into OSPF with type-2 metric
var bgp = new Panos.OspfRedistributionRoutingProfile("bgp", new()
{
Location = new Panos.Inputs.OspfRedistributionRoutingProfileLocationArgs
{
Template = new Panos.Inputs.OspfRedistributionRoutingProfileLocationTemplateArgs
{
Name = ospfTemplate.Name,
},
},
Name = "ospf-redistribute-bgp",
Bgp = new Panos.Inputs.OspfRedistributionRoutingProfileBgpArgs
{
Enable = true,
Metric = 100,
MetricType = "type-2",
},
});
// Redistribute static routes with route-map filtering
var staticWithMap = new Panos.OspfRedistributionRoutingProfile("static_with_map", new()
{
Location = new Panos.Inputs.OspfRedistributionRoutingProfileLocationArgs
{
Template = new Panos.Inputs.OspfRedistributionRoutingProfileLocationTemplateArgs
{
Name = ospfTemplate.Name,
},
},
Name = "ospf-redistribute-static-filtered",
Static = new Panos.Inputs.OspfRedistributionRoutingProfileStaticArgs
{
Enable = true,
RouteMap = "static-route-filter",
},
});
// Redistribute multiple sources into OSPF with different configurations
var multiple = new Panos.OspfRedistributionRoutingProfile("multiple", new()
{
Location = new Panos.Inputs.OspfRedistributionRoutingProfileLocationArgs
{
Template = new Panos.Inputs.OspfRedistributionRoutingProfileLocationTemplateArgs
{
Name = ospfTemplate.Name,
},
},
Name = "ospf-redistribute-multiple",
Connected = new Panos.Inputs.OspfRedistributionRoutingProfileConnectedArgs
{
Enable = true,
Metric = 10,
MetricType = "type-1",
},
Static = new Panos.Inputs.OspfRedistributionRoutingProfileStaticArgs
{
Enable = true,
Metric = 20,
MetricType = "type-1",
},
Bgp = new Panos.Inputs.OspfRedistributionRoutingProfileBgpArgs
{
Enable = true,
Metric = 100,
MetricType = "type-2",
},
Rip = new Panos.Inputs.OspfRedistributionRoutingProfileRipArgs
{
Enable = true,
Metric = 50,
MetricType = "type-2",
RouteMap = "rip-filter-map",
},
});
// Default route redistribution with always option
// The 'always' option generates a default route even if one doesn't exist
var defaultRoute = new Panos.OspfRedistributionRoutingProfile("default_route", new()
{
Location = new Panos.Inputs.OspfRedistributionRoutingProfileLocationArgs
{
Template = new Panos.Inputs.OspfRedistributionRoutingProfileLocationTemplateArgs
{
Name = ospfTemplate.Name,
},
},
Name = "ospf-redistribute-default",
DefaultRoute = new Panos.Inputs.OspfRedistributionRoutingProfileDefaultRouteArgs
{
Enable = true,
Always = true,
Metric = 1,
MetricType = "type-1",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.panos.Template;
import com.pulumi.panos.TemplateArgs;
import com.pulumi.panos.inputs.TemplateLocationArgs;
import com.pulumi.panos.inputs.TemplateLocationPanoramaArgs;
import com.pulumi.panos.OspfRedistributionRoutingProfile;
import com.pulumi.panos.OspfRedistributionRoutingProfileArgs;
import com.pulumi.panos.inputs.OspfRedistributionRoutingProfileLocationArgs;
import com.pulumi.panos.inputs.OspfRedistributionRoutingProfileLocationTemplateArgs;
import com.pulumi.panos.inputs.OspfRedistributionRoutingProfileConnectedArgs;
import com.pulumi.panos.inputs.OspfRedistributionRoutingProfileBgpArgs;
import com.pulumi.panos.inputs.OspfRedistributionRoutingProfileStaticArgs;
import com.pulumi.panos.inputs.OspfRedistributionRoutingProfileRipArgs;
import com.pulumi.panos.inputs.OspfRedistributionRoutingProfileDefaultRouteArgs;
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) {
// Create a template for OSPF redistribution profiles
var ospfTemplate = new Template("ospfTemplate", TemplateArgs.builder()
.location(TemplateLocationArgs.builder()
.panorama(TemplateLocationPanoramaArgs.builder()
.build())
.build())
.name("ospf-routing-template")
.build());
// Redistribute connected routes into OSPF with basic configuration
var connected = new OspfRedistributionRoutingProfile("connected", OspfRedistributionRoutingProfileArgs.builder()
.location(OspfRedistributionRoutingProfileLocationArgs.builder()
.template(OspfRedistributionRoutingProfileLocationTemplateArgs.builder()
.name(ospfTemplate.name())
.build())
.build())
.name("ospf-redistribute-connected")
.connected(OspfRedistributionRoutingProfileConnectedArgs.builder()
.enable(true)
.metric(10.0)
.metricType("type-1")
.build())
.build());
// Redistribute BGP routes into OSPF with type-2 metric
var bgp = new OspfRedistributionRoutingProfile("bgp", OspfRedistributionRoutingProfileArgs.builder()
.location(OspfRedistributionRoutingProfileLocationArgs.builder()
.template(OspfRedistributionRoutingProfileLocationTemplateArgs.builder()
.name(ospfTemplate.name())
.build())
.build())
.name("ospf-redistribute-bgp")
.bgp(OspfRedistributionRoutingProfileBgpArgs.builder()
.enable(true)
.metric(100.0)
.metricType("type-2")
.build())
.build());
// Redistribute static routes with route-map filtering
var staticWithMap = new OspfRedistributionRoutingProfile("staticWithMap", OspfRedistributionRoutingProfileArgs.builder()
.location(OspfRedistributionRoutingProfileLocationArgs.builder()
.template(OspfRedistributionRoutingProfileLocationTemplateArgs.builder()
.name(ospfTemplate.name())
.build())
.build())
.name("ospf-redistribute-static-filtered")
.static_(OspfRedistributionRoutingProfileStaticArgs.builder()
.enable(true)
.routeMap("static-route-filter")
.build())
.build());
// Redistribute multiple sources into OSPF with different configurations
var multiple = new OspfRedistributionRoutingProfile("multiple", OspfRedistributionRoutingProfileArgs.builder()
.location(OspfRedistributionRoutingProfileLocationArgs.builder()
.template(OspfRedistributionRoutingProfileLocationTemplateArgs.builder()
.name(ospfTemplate.name())
.build())
.build())
.name("ospf-redistribute-multiple")
.connected(OspfRedistributionRoutingProfileConnectedArgs.builder()
.enable(true)
.metric(10.0)
.metricType("type-1")
.build())
.static_(OspfRedistributionRoutingProfileStaticArgs.builder()
.enable(true)
.metric(20.0)
.metricType("type-1")
.build())
.bgp(OspfRedistributionRoutingProfileBgpArgs.builder()
.enable(true)
.metric(100.0)
.metricType("type-2")
.build())
.rip(OspfRedistributionRoutingProfileRipArgs.builder()
.enable(true)
.metric(50.0)
.metricType("type-2")
.routeMap("rip-filter-map")
.build())
.build());
// Default route redistribution with always option
// The 'always' option generates a default route even if one doesn't exist
var defaultRoute = new OspfRedistributionRoutingProfile("defaultRoute", OspfRedistributionRoutingProfileArgs.builder()
.location(OspfRedistributionRoutingProfileLocationArgs.builder()
.template(OspfRedistributionRoutingProfileLocationTemplateArgs.builder()
.name(ospfTemplate.name())
.build())
.build())
.name("ospf-redistribute-default")
.defaultRoute(OspfRedistributionRoutingProfileDefaultRouteArgs.builder()
.enable(true)
.always(true)
.metric(1.0)
.metricType("type-1")
.build())
.build());
}
}
resources:
# Create a template for OSPF redistribution profiles
ospfTemplate:
type: panos:Template
name: ospf_template
properties:
location:
panorama: {}
name: ospf-routing-template
# Redistribute connected routes into OSPF with basic configuration
connected:
type: panos:OspfRedistributionRoutingProfile
properties:
location:
template:
name: ${ospfTemplate.name}
name: ospf-redistribute-connected
connected:
enable: true
metric: 10
metricType: type-1
# Redistribute BGP routes into OSPF with type-2 metric
bgp:
type: panos:OspfRedistributionRoutingProfile
properties:
location:
template:
name: ${ospfTemplate.name}
name: ospf-redistribute-bgp
bgp:
enable: true
metric: 100
metricType: type-2
# Redistribute static routes with route-map filtering
staticWithMap:
type: panos:OspfRedistributionRoutingProfile
name: static_with_map
properties:
location:
template:
name: ${ospfTemplate.name}
name: ospf-redistribute-static-filtered
static:
enable: true
routeMap: static-route-filter
# Redistribute multiple sources into OSPF with different configurations
multiple:
type: panos:OspfRedistributionRoutingProfile
properties:
location:
template:
name: ${ospfTemplate.name}
name: ospf-redistribute-multiple
connected:
enable: true
metric: 10
metricType: type-1
static:
enable: true
metric: 20
metricType: type-1
bgp:
enable: true
metric: 100
metricType: type-2
rip:
enable: true
metric: 50
metricType: type-2
routeMap: rip-filter-map
# Default route redistribution with always option
# The 'always' option generates a default route even if one doesn't exist
defaultRoute:
type: panos:OspfRedistributionRoutingProfile
name: default_route
properties:
location:
template:
name: ${ospfTemplate.name}
name: ospf-redistribute-default
defaultRoute:
enable: true
always: true
metric: 1
metricType: type-1
Create OspfRedistributionRoutingProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OspfRedistributionRoutingProfile(name: string, args: OspfRedistributionRoutingProfileArgs, opts?: CustomResourceOptions);@overload
def OspfRedistributionRoutingProfile(resource_name: str,
args: OspfRedistributionRoutingProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OspfRedistributionRoutingProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[OspfRedistributionRoutingProfileLocationArgs] = None,
bgp: Optional[OspfRedistributionRoutingProfileBgpArgs] = None,
connected: Optional[OspfRedistributionRoutingProfileConnectedArgs] = None,
default_route: Optional[OspfRedistributionRoutingProfileDefaultRouteArgs] = None,
name: Optional[str] = None,
rip: Optional[OspfRedistributionRoutingProfileRipArgs] = None,
static: Optional[OspfRedistributionRoutingProfileStaticArgs] = None)func NewOspfRedistributionRoutingProfile(ctx *Context, name string, args OspfRedistributionRoutingProfileArgs, opts ...ResourceOption) (*OspfRedistributionRoutingProfile, error)public OspfRedistributionRoutingProfile(string name, OspfRedistributionRoutingProfileArgs args, CustomResourceOptions? opts = null)
public OspfRedistributionRoutingProfile(String name, OspfRedistributionRoutingProfileArgs args)
public OspfRedistributionRoutingProfile(String name, OspfRedistributionRoutingProfileArgs args, CustomResourceOptions options)
type: panos:OspfRedistributionRoutingProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OspfRedistributionRoutingProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OspfRedistributionRoutingProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OspfRedistributionRoutingProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OspfRedistributionRoutingProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OspfRedistributionRoutingProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ospfRedistributionRoutingProfileResource = new Panos.OspfRedistributionRoutingProfile("ospfRedistributionRoutingProfileResource", new()
{
Location = new Panos.Inputs.OspfRedistributionRoutingProfileLocationArgs
{
Ngfw = new Panos.Inputs.OspfRedistributionRoutingProfileLocationNgfwArgs
{
NgfwDevice = "string",
},
Template = new Panos.Inputs.OspfRedistributionRoutingProfileLocationTemplateArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
TemplateStack = new Panos.Inputs.OspfRedistributionRoutingProfileLocationTemplateStackArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
},
Bgp = new Panos.Inputs.OspfRedistributionRoutingProfileBgpArgs
{
Enable = false,
Metric = 0,
MetricType = "string",
RouteMap = "string",
},
Connected = new Panos.Inputs.OspfRedistributionRoutingProfileConnectedArgs
{
Enable = false,
Metric = 0,
MetricType = "string",
RouteMap = "string",
},
DefaultRoute = new Panos.Inputs.OspfRedistributionRoutingProfileDefaultRouteArgs
{
Always = false,
Enable = false,
Metric = 0,
MetricType = "string",
},
Name = "string",
Rip = new Panos.Inputs.OspfRedistributionRoutingProfileRipArgs
{
Enable = false,
Metric = 0,
MetricType = "string",
RouteMap = "string",
},
Static = new Panos.Inputs.OspfRedistributionRoutingProfileStaticArgs
{
Enable = false,
Metric = 0,
MetricType = "string",
RouteMap = "string",
},
});
example, err := panos.NewOspfRedistributionRoutingProfile(ctx, "ospfRedistributionRoutingProfileResource", &panos.OspfRedistributionRoutingProfileArgs{
Location: &panos.OspfRedistributionRoutingProfileLocationArgs{
Ngfw: &panos.OspfRedistributionRoutingProfileLocationNgfwArgs{
NgfwDevice: pulumi.String("string"),
},
Template: &panos.OspfRedistributionRoutingProfileLocationTemplateArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
TemplateStack: &panos.OspfRedistributionRoutingProfileLocationTemplateStackArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
},
Bgp: &panos.OspfRedistributionRoutingProfileBgpArgs{
Enable: pulumi.Bool(false),
Metric: pulumi.Float64(0),
MetricType: pulumi.String("string"),
RouteMap: pulumi.String("string"),
},
Connected: &panos.OspfRedistributionRoutingProfileConnectedArgs{
Enable: pulumi.Bool(false),
Metric: pulumi.Float64(0),
MetricType: pulumi.String("string"),
RouteMap: pulumi.String("string"),
},
DefaultRoute: &panos.OspfRedistributionRoutingProfileDefaultRouteArgs{
Always: pulumi.Bool(false),
Enable: pulumi.Bool(false),
Metric: pulumi.Float64(0),
MetricType: pulumi.String("string"),
},
Name: pulumi.String("string"),
Rip: &panos.OspfRedistributionRoutingProfileRipArgs{
Enable: pulumi.Bool(false),
Metric: pulumi.Float64(0),
MetricType: pulumi.String("string"),
RouteMap: pulumi.String("string"),
},
Static: &panos.OspfRedistributionRoutingProfileStaticArgs{
Enable: pulumi.Bool(false),
Metric: pulumi.Float64(0),
MetricType: pulumi.String("string"),
RouteMap: pulumi.String("string"),
},
})
var ospfRedistributionRoutingProfileResource = new OspfRedistributionRoutingProfile("ospfRedistributionRoutingProfileResource", OspfRedistributionRoutingProfileArgs.builder()
.location(OspfRedistributionRoutingProfileLocationArgs.builder()
.ngfw(OspfRedistributionRoutingProfileLocationNgfwArgs.builder()
.ngfwDevice("string")
.build())
.template(OspfRedistributionRoutingProfileLocationTemplateArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.templateStack(OspfRedistributionRoutingProfileLocationTemplateStackArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.build())
.bgp(OspfRedistributionRoutingProfileBgpArgs.builder()
.enable(false)
.metric(0.0)
.metricType("string")
.routeMap("string")
.build())
.connected(OspfRedistributionRoutingProfileConnectedArgs.builder()
.enable(false)
.metric(0.0)
.metricType("string")
.routeMap("string")
.build())
.defaultRoute(OspfRedistributionRoutingProfileDefaultRouteArgs.builder()
.always(false)
.enable(false)
.metric(0.0)
.metricType("string")
.build())
.name("string")
.rip(OspfRedistributionRoutingProfileRipArgs.builder()
.enable(false)
.metric(0.0)
.metricType("string")
.routeMap("string")
.build())
.static_(OspfRedistributionRoutingProfileStaticArgs.builder()
.enable(false)
.metric(0.0)
.metricType("string")
.routeMap("string")
.build())
.build());
ospf_redistribution_routing_profile_resource = panos.OspfRedistributionRoutingProfile("ospfRedistributionRoutingProfileResource",
location={
"ngfw": {
"ngfw_device": "string",
},
"template": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
"template_stack": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
},
bgp={
"enable": False,
"metric": float(0),
"metric_type": "string",
"route_map": "string",
},
connected={
"enable": False,
"metric": float(0),
"metric_type": "string",
"route_map": "string",
},
default_route={
"always": False,
"enable": False,
"metric": float(0),
"metric_type": "string",
},
name="string",
rip={
"enable": False,
"metric": float(0),
"metric_type": "string",
"route_map": "string",
},
static={
"enable": False,
"metric": float(0),
"metric_type": "string",
"route_map": "string",
})
const ospfRedistributionRoutingProfileResource = new panos.OspfRedistributionRoutingProfile("ospfRedistributionRoutingProfileResource", {
location: {
ngfw: {
ngfwDevice: "string",
},
template: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
templateStack: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
},
bgp: {
enable: false,
metric: 0,
metricType: "string",
routeMap: "string",
},
connected: {
enable: false,
metric: 0,
metricType: "string",
routeMap: "string",
},
defaultRoute: {
always: false,
enable: false,
metric: 0,
metricType: "string",
},
name: "string",
rip: {
enable: false,
metric: 0,
metricType: "string",
routeMap: "string",
},
static: {
enable: false,
metric: 0,
metricType: "string",
routeMap: "string",
},
});
type: panos:OspfRedistributionRoutingProfile
properties:
bgp:
enable: false
metric: 0
metricType: string
routeMap: string
connected:
enable: false
metric: 0
metricType: string
routeMap: string
defaultRoute:
always: false
enable: false
metric: 0
metricType: string
location:
ngfw:
ngfwDevice: string
template:
name: string
ngfwDevice: string
panoramaDevice: string
templateStack:
name: string
ngfwDevice: string
panoramaDevice: string
name: string
rip:
enable: false
metric: 0
metricType: string
routeMap: string
static:
enable: false
metric: 0
metricType: string
routeMap: string
OspfRedistributionRoutingProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OspfRedistributionRoutingProfile resource accepts the following input properties:
- Location
Ospf
Redistribution Routing Profile Location - The location of this object.
- Bgp
Ospf
Redistribution Routing Profile Bgp - Connected
Ospf
Redistribution Routing Profile Connected - Default
Route OspfRedistribution Routing Profile Default Route - Name string
- Rip
Ospf
Redistribution Routing Profile Rip - Static
Ospf
Redistribution Routing Profile Static
- Location
Ospf
Redistribution Routing Profile Location Args - The location of this object.
- Bgp
Ospf
Redistribution Routing Profile Bgp Args - Connected
Ospf
Redistribution Routing Profile Connected Args - Default
Route OspfRedistribution Routing Profile Default Route Args - Name string
- Rip
Ospf
Redistribution Routing Profile Rip Args - Static
Ospf
Redistribution Routing Profile Static Args
- location
Ospf
Redistribution Routing Profile Location - The location of this object.
- bgp
Ospf
Redistribution Routing Profile Bgp - connected
Ospf
Redistribution Routing Profile Connected - default
Route OspfRedistribution Routing Profile Default Route - name String
- rip
Ospf
Redistribution Routing Profile Rip - static_
Ospf
Redistribution Routing Profile Static
- location
Ospf
Redistribution Routing Profile Location - The location of this object.
- bgp
Ospf
Redistribution Routing Profile Bgp - connected
Ospf
Redistribution Routing Profile Connected - default
Route OspfRedistribution Routing Profile Default Route - name string
- rip
Ospf
Redistribution Routing Profile Rip - static
Ospf
Redistribution Routing Profile Static
- location
Ospf
Redistribution Routing Profile Location Args - The location of this object.
- bgp
Ospf
Redistribution Routing Profile Bgp Args - connected
Ospf
Redistribution Routing Profile Connected Args - default_
route OspfRedistribution Routing Profile Default Route Args - name str
- rip
Ospf
Redistribution Routing Profile Rip Args - static
Ospf
Redistribution Routing Profile Static Args
- location Property Map
- The location of this object.
- bgp Property Map
- connected Property Map
- default
Route Property Map - name String
- rip Property Map
- static Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the OspfRedistributionRoutingProfile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing OspfRedistributionRoutingProfile Resource
Get an existing OspfRedistributionRoutingProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OspfRedistributionRoutingProfileState, opts?: CustomResourceOptions): OspfRedistributionRoutingProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bgp: Optional[OspfRedistributionRoutingProfileBgpArgs] = None,
connected: Optional[OspfRedistributionRoutingProfileConnectedArgs] = None,
default_route: Optional[OspfRedistributionRoutingProfileDefaultRouteArgs] = None,
location: Optional[OspfRedistributionRoutingProfileLocationArgs] = None,
name: Optional[str] = None,
rip: Optional[OspfRedistributionRoutingProfileRipArgs] = None,
static: Optional[OspfRedistributionRoutingProfileStaticArgs] = None) -> OspfRedistributionRoutingProfilefunc GetOspfRedistributionRoutingProfile(ctx *Context, name string, id IDInput, state *OspfRedistributionRoutingProfileState, opts ...ResourceOption) (*OspfRedistributionRoutingProfile, error)public static OspfRedistributionRoutingProfile Get(string name, Input<string> id, OspfRedistributionRoutingProfileState? state, CustomResourceOptions? opts = null)public static OspfRedistributionRoutingProfile get(String name, Output<String> id, OspfRedistributionRoutingProfileState state, CustomResourceOptions options)resources: _: type: panos:OspfRedistributionRoutingProfile get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bgp
Ospf
Redistribution Routing Profile Bgp - Connected
Ospf
Redistribution Routing Profile Connected - Default
Route OspfRedistribution Routing Profile Default Route - Location
Ospf
Redistribution Routing Profile Location - The location of this object.
- Name string
- Rip
Ospf
Redistribution Routing Profile Rip - Static
Ospf
Redistribution Routing Profile Static
- Bgp
Ospf
Redistribution Routing Profile Bgp Args - Connected
Ospf
Redistribution Routing Profile Connected Args - Default
Route OspfRedistribution Routing Profile Default Route Args - Location
Ospf
Redistribution Routing Profile Location Args - The location of this object.
- Name string
- Rip
Ospf
Redistribution Routing Profile Rip Args - Static
Ospf
Redistribution Routing Profile Static Args
- bgp
Ospf
Redistribution Routing Profile Bgp - connected
Ospf
Redistribution Routing Profile Connected - default
Route OspfRedistribution Routing Profile Default Route - location
Ospf
Redistribution Routing Profile Location - The location of this object.
- name String
- rip
Ospf
Redistribution Routing Profile Rip - static_
Ospf
Redistribution Routing Profile Static
- bgp
Ospf
Redistribution Routing Profile Bgp - connected
Ospf
Redistribution Routing Profile Connected - default
Route OspfRedistribution Routing Profile Default Route - location
Ospf
Redistribution Routing Profile Location - The location of this object.
- name string
- rip
Ospf
Redistribution Routing Profile Rip - static
Ospf
Redistribution Routing Profile Static
- bgp
Ospf
Redistribution Routing Profile Bgp Args - connected
Ospf
Redistribution Routing Profile Connected Args - default_
route OspfRedistribution Routing Profile Default Route Args - location
Ospf
Redistribution Routing Profile Location Args - The location of this object.
- name str
- rip
Ospf
Redistribution Routing Profile Rip Args - static
Ospf
Redistribution Routing Profile Static Args
- bgp Property Map
- connected Property Map
- default
Route Property Map - location Property Map
- The location of this object.
- name String
- rip Property Map
- static Property Map
Supporting Types
OspfRedistributionRoutingProfileBgp, OspfRedistributionRoutingProfileBgpArgs
- Enable bool
- Enable (default) or Disable
- Metric double
- Set Metric (Field ignored if route-map configured).
- Metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- Route
Map string - Apply Route-Map on Redistributed Routes
- Enable bool
- Enable (default) or Disable
- Metric float64
- Set Metric (Field ignored if route-map configured).
- Metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- Route
Map string - Apply Route-Map on Redistributed Routes
- enable Boolean
- Enable (default) or Disable
- metric Double
- Set Metric (Field ignored if route-map configured).
- metric
Type String - Set Metric-Type (Field ignored if route-map configured).
- route
Map String - Apply Route-Map on Redistributed Routes
- enable boolean
- Enable (default) or Disable
- metric number
- Set Metric (Field ignored if route-map configured).
- metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- route
Map string - Apply Route-Map on Redistributed Routes
- enable bool
- Enable (default) or Disable
- metric float
- Set Metric (Field ignored if route-map configured).
- metric_
type str - Set Metric-Type (Field ignored if route-map configured).
- route_
map str - Apply Route-Map on Redistributed Routes
- enable Boolean
- Enable (default) or Disable
- metric Number
- Set Metric (Field ignored if route-map configured).
- metric
Type String - Set Metric-Type (Field ignored if route-map configured).
- route
Map String - Apply Route-Map on Redistributed Routes
OspfRedistributionRoutingProfileConnected, OspfRedistributionRoutingProfileConnectedArgs
- Enable bool
- Enable (default) or Disable
- Metric double
- Set Metric (Field ignored if route-map configured).
- Metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- Route
Map string - Apply Route-Map on Redistributed Routes
- Enable bool
- Enable (default) or Disable
- Metric float64
- Set Metric (Field ignored if route-map configured).
- Metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- Route
Map string - Apply Route-Map on Redistributed Routes
- enable Boolean
- Enable (default) or Disable
- metric Double
- Set Metric (Field ignored if route-map configured).
- metric
Type String - Set Metric-Type (Field ignored if route-map configured).
- route
Map String - Apply Route-Map on Redistributed Routes
- enable boolean
- Enable (default) or Disable
- metric number
- Set Metric (Field ignored if route-map configured).
- metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- route
Map string - Apply Route-Map on Redistributed Routes
- enable bool
- Enable (default) or Disable
- metric float
- Set Metric (Field ignored if route-map configured).
- metric_
type str - Set Metric-Type (Field ignored if route-map configured).
- route_
map str - Apply Route-Map on Redistributed Routes
- enable Boolean
- Enable (default) or Disable
- metric Number
- Set Metric (Field ignored if route-map configured).
- metric
Type String - Set Metric-Type (Field ignored if route-map configured).
- route
Map String - Apply Route-Map on Redistributed Routes
OspfRedistributionRoutingProfileDefaultRoute, OspfRedistributionRoutingProfileDefaultRouteArgs
- Always bool
- Generate default route if it doesn't exist
- Enable bool
- Enable (default) or Disable
- Metric double
- Set Metric
- Metric
Type string - Set Metric-Type
- Always bool
- Generate default route if it doesn't exist
- Enable bool
- Enable (default) or Disable
- Metric float64
- Set Metric
- Metric
Type string - Set Metric-Type
- always Boolean
- Generate default route if it doesn't exist
- enable Boolean
- Enable (default) or Disable
- metric Double
- Set Metric
- metric
Type String - Set Metric-Type
- always boolean
- Generate default route if it doesn't exist
- enable boolean
- Enable (default) or Disable
- metric number
- Set Metric
- metric
Type string - Set Metric-Type
- always bool
- Generate default route if it doesn't exist
- enable bool
- Enable (default) or Disable
- metric float
- Set Metric
- metric_
type str - Set Metric-Type
- always Boolean
- Generate default route if it doesn't exist
- enable Boolean
- Enable (default) or Disable
- metric Number
- Set Metric
- metric
Type String - Set Metric-Type
OspfRedistributionRoutingProfileLocation, OspfRedistributionRoutingProfileLocationArgs
- Ngfw
Ospf
Redistribution Routing Profile Location Ngfw - Located in a specific NGFW device
- Template
Ospf
Redistribution Routing Profile Location Template - Located in a specific template
- Template
Stack OspfRedistribution Routing Profile Location Template Stack - Located in a specific template stack
- Ngfw
Ospf
Redistribution Routing Profile Location Ngfw - Located in a specific NGFW device
- Template
Ospf
Redistribution Routing Profile Location Template - Located in a specific template
- Template
Stack OspfRedistribution Routing Profile Location Template Stack - Located in a specific template stack
- ngfw
Ospf
Redistribution Routing Profile Location Ngfw - Located in a specific NGFW device
- template
Ospf
Redistribution Routing Profile Location Template - Located in a specific template
- template
Stack OspfRedistribution Routing Profile Location Template Stack - Located in a specific template stack
- ngfw
Ospf
Redistribution Routing Profile Location Ngfw - Located in a specific NGFW device
- template
Ospf
Redistribution Routing Profile Location Template - Located in a specific template
- template
Stack OspfRedistribution Routing Profile Location Template Stack - Located in a specific template stack
- ngfw
Ospf
Redistribution Routing Profile Location Ngfw - Located in a specific NGFW device
- template
Ospf
Redistribution Routing Profile Location Template - Located in a specific template
- template_
stack OspfRedistribution Routing Profile Location Template Stack - Located in a specific template stack
- ngfw Property Map
- Located in a specific NGFW device
- template Property Map
- Located in a specific template
- template
Stack Property Map - Located in a specific template stack
OspfRedistributionRoutingProfileLocationNgfw, OspfRedistributionRoutingProfileLocationNgfwArgs
- Ngfw
Device string - The NGFW device
- Ngfw
Device string - The NGFW device
- ngfw
Device String - The NGFW device
- ngfw
Device string - The NGFW device
- ngfw_
device str - The NGFW device
- ngfw
Device String - The NGFW device
OspfRedistributionRoutingProfileLocationTemplate, OspfRedistributionRoutingProfileLocationTemplateArgs
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template
- ngfw_
device str - The NGFW device
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
OspfRedistributionRoutingProfileLocationTemplateStack, OspfRedistributionRoutingProfileLocationTemplateStackArgs
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- Name string
- Specific Panorama template stack
- Ngfw
Device string - The NGFW device
- Panorama
Device string - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
- name string
- Specific Panorama template stack
- ngfw
Device string - The NGFW device
- panorama
Device string - Specific Panorama device
- name str
- Specific Panorama template stack
- ngfw_
device str - The NGFW device
- panorama_
device str - Specific Panorama device
- name String
- Specific Panorama template stack
- ngfw
Device String - The NGFW device
- panorama
Device String - Specific Panorama device
OspfRedistributionRoutingProfileRip, OspfRedistributionRoutingProfileRipArgs
- Enable bool
- Enable (default) or Disable
- Metric double
- Set Metric (Field ignored if route-map configured).
- Metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- Route
Map string - Apply Route-Map on Redistributed Routes
- Enable bool
- Enable (default) or Disable
- Metric float64
- Set Metric (Field ignored if route-map configured).
- Metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- Route
Map string - Apply Route-Map on Redistributed Routes
- enable Boolean
- Enable (default) or Disable
- metric Double
- Set Metric (Field ignored if route-map configured).
- metric
Type String - Set Metric-Type (Field ignored if route-map configured).
- route
Map String - Apply Route-Map on Redistributed Routes
- enable boolean
- Enable (default) or Disable
- metric number
- Set Metric (Field ignored if route-map configured).
- metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- route
Map string - Apply Route-Map on Redistributed Routes
- enable bool
- Enable (default) or Disable
- metric float
- Set Metric (Field ignored if route-map configured).
- metric_
type str - Set Metric-Type (Field ignored if route-map configured).
- route_
map str - Apply Route-Map on Redistributed Routes
- enable Boolean
- Enable (default) or Disable
- metric Number
- Set Metric (Field ignored if route-map configured).
- metric
Type String - Set Metric-Type (Field ignored if route-map configured).
- route
Map String - Apply Route-Map on Redistributed Routes
OspfRedistributionRoutingProfileStatic, OspfRedistributionRoutingProfileStaticArgs
- Enable bool
- Enable (default) or Disable
- Metric double
- Set Metric (Field ignored if route-map configured).
- Metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- Route
Map string - Apply Route-Map on Redistributed Routes
- Enable bool
- Enable (default) or Disable
- Metric float64
- Set Metric (Field ignored if route-map configured).
- Metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- Route
Map string - Apply Route-Map on Redistributed Routes
- enable Boolean
- Enable (default) or Disable
- metric Double
- Set Metric (Field ignored if route-map configured).
- metric
Type String - Set Metric-Type (Field ignored if route-map configured).
- route
Map String - Apply Route-Map on Redistributed Routes
- enable boolean
- Enable (default) or Disable
- metric number
- Set Metric (Field ignored if route-map configured).
- metric
Type string - Set Metric-Type (Field ignored if route-map configured).
- route
Map string - Apply Route-Map on Redistributed Routes
- enable bool
- Enable (default) or Disable
- metric float
- Set Metric (Field ignored if route-map configured).
- metric_
type str - Set Metric-Type (Field ignored if route-map configured).
- route_
map str - Apply Route-Map on Redistributed Routes
- enable Boolean
- Enable (default) or Disable
- metric Number
- Set Metric (Field ignored if route-map configured).
- metric
Type String - Set Metric-Type (Field ignored if route-map configured).
- route
Map String - Apply Route-Map on Redistributed Routes
Import
An OSPF redistribution routing profile can be imported by providing the following base64 encoded object as the ID
Import from an NGFW device
{
location = {
ngfw = {
ngfw_device = "localhost.localdomain"
}
}
name = “ospf-redistribute-connected”
}
$ pulumi import panos:index/ospfRedistributionRoutingProfile:OspfRedistributionRoutingProfile example $(echo '{"location":{"ngfw":{"ngfw_device":"localhost.localdomain"}},"name":"ospf-redistribute-connected"}' | base64)
Import from a Panorama template
{
location = {
template = {
name = "ospf-routing-template"
panorama_device = "localhost.localdomain"
ngfw_device = "localhost.localdomain"
}
}
name = “ospf-redistribute-connected”
}
$ pulumi import panos:index/ospfRedistributionRoutingProfile:OspfRedistributionRoutingProfile example $(echo '{"location":{"template":{"name":"ospf-routing-template","panorama_device":"localhost.localdomain","ngfw_device":"localhost.localdomain"}},"name":"ospf-redistribute-connected"}' | base64)
Import from a Panorama template stack
{
location = {
template_stack = {
name = "ospf-routing-stack"
panorama_device = "localhost.localdomain"
ngfw_device = "localhost.localdomain"
}
}
name = “ospf-redistribute-connected”
}
$ pulumi import panos:index/ospfRedistributionRoutingProfile:OspfRedistributionRoutingProfile example $(echo '{"location":{"template_stack":{"name":"ospf-routing-stack","panorama_device":"localhost.localdomain","ngfw_device":"localhost.localdomain"}},"name":"ospf-redistribute-connected"}' | base64)
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- panos paloaltonetworks/terraform-provider-panos
- License
- Notes
- This Pulumi package is based on the
panosTerraform Provider.
published on Tuesday, Apr 28, 2026 by paloaltonetworks
