Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as panos from "@pulumi/panos";
// Create a template for the community list profiles
const example = new panos.Template("example", {
location: {
panorama: {},
},
name: "community-list-template",
});
// Extended Community List Profile
const extended = new panos.FiltersCommunityListRoutingProfile("extended", {
location: {
template: {
name: example.name,
},
},
name: "extended-community-list",
description: "Extended BGP community list for filtering routes",
type: {
extended: {
extendedEntries: [
{
name: "1",
action: "permit",
extendedCommunityRegexes: [
"^100:.*",
"^200:.*",
],
},
{
name: "2",
action: "deny",
extendedCommunityRegexes: ["^300:.*"],
},
],
},
},
});
// Large Community List Profile
const large = new panos.FiltersCommunityListRoutingProfile("large", {
location: {
template: {
name: example.name,
},
},
name: "large-community-list",
description: "Large BGP community list for filtering routes",
type: {
large: {
largeEntries: [
{
name: "1",
action: "permit",
largeCommunityRegexes: [
"^1000:.*:.*",
"^2000:.*:.*",
],
},
{
name: "2",
action: "deny",
largeCommunityRegexes: ["^3000:.*:.*"],
},
],
},
},
});
// Regular Community List Profile
const regular = new panos.FiltersCommunityListRoutingProfile("regular", {
location: {
template: {
name: example.name,
},
},
name: "regular-community-list",
description: "Regular BGP community list for filtering routes",
type: {
regular: {
regularEntries: [
{
name: "1",
action: "permit",
communities: [
"100:200",
"300:400",
],
},
{
name: "2",
action: "deny",
communities: ["500:600"],
},
],
},
},
});
import pulumi
import pulumi_panos as panos
# Create a template for the community list profiles
example = panos.Template("example",
location={
"panorama": {},
},
name="community-list-template")
# Extended Community List Profile
extended = panos.FiltersCommunityListRoutingProfile("extended",
location={
"template": {
"name": example.name,
},
},
name="extended-community-list",
description="Extended BGP community list for filtering routes",
type={
"extended": {
"extended_entries": [
{
"name": "1",
"action": "permit",
"extended_community_regexes": [
"^100:.*",
"^200:.*",
],
},
{
"name": "2",
"action": "deny",
"extended_community_regexes": ["^300:.*"],
},
],
},
})
# Large Community List Profile
large = panos.FiltersCommunityListRoutingProfile("large",
location={
"template": {
"name": example.name,
},
},
name="large-community-list",
description="Large BGP community list for filtering routes",
type={
"large": {
"large_entries": [
{
"name": "1",
"action": "permit",
"large_community_regexes": [
"^1000:.*:.*",
"^2000:.*:.*",
],
},
{
"name": "2",
"action": "deny",
"large_community_regexes": ["^3000:.*:.*"],
},
],
},
})
# Regular Community List Profile
regular = panos.FiltersCommunityListRoutingProfile("regular",
location={
"template": {
"name": example.name,
},
},
name="regular-community-list",
description="Regular BGP community list for filtering routes",
type={
"regular": {
"regular_entries": [
{
"name": "1",
"action": "permit",
"communities": [
"100:200",
"300:400",
],
},
{
"name": "2",
"action": "deny",
"communities": ["500:600"],
},
],
},
})
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 the community list profiles
example, err := panos.NewTemplate(ctx, "example", &panos.TemplateArgs{
Location: &panos.TemplateLocationArgs{
Panorama: &panos.TemplateLocationPanoramaArgs{},
},
Name: pulumi.String("community-list-template"),
})
if err != nil {
return err
}
// Extended Community List Profile
_, err = panos.NewFiltersCommunityListRoutingProfile(ctx, "extended", &panos.FiltersCommunityListRoutingProfileArgs{
Location: &panos.FiltersCommunityListRoutingProfileLocationArgs{
Template: &panos.FiltersCommunityListRoutingProfileLocationTemplateArgs{
Name: example.Name,
},
},
Name: pulumi.String("extended-community-list"),
Description: pulumi.String("Extended BGP community list for filtering routes"),
Type: &panos.FiltersCommunityListRoutingProfileTypeArgs{
Extended: &panos.FiltersCommunityListRoutingProfileTypeExtendedArgs{
ExtendedEntries: panos.FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArray{
&panos.FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArgs{
Name: pulumi.String("1"),
Action: pulumi.String("permit"),
ExtendedCommunityRegexes: pulumi.StringArray{
pulumi.String("^100:.*"),
pulumi.String("^200:.*"),
},
},
&panos.FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArgs{
Name: pulumi.String("2"),
Action: pulumi.String("deny"),
ExtendedCommunityRegexes: pulumi.StringArray{
pulumi.String("^300:.*"),
},
},
},
},
},
})
if err != nil {
return err
}
// Large Community List Profile
_, err = panos.NewFiltersCommunityListRoutingProfile(ctx, "large", &panos.FiltersCommunityListRoutingProfileArgs{
Location: &panos.FiltersCommunityListRoutingProfileLocationArgs{
Template: &panos.FiltersCommunityListRoutingProfileLocationTemplateArgs{
Name: example.Name,
},
},
Name: pulumi.String("large-community-list"),
Description: pulumi.String("Large BGP community list for filtering routes"),
Type: &panos.FiltersCommunityListRoutingProfileTypeArgs{
Large: &panos.FiltersCommunityListRoutingProfileTypeLargeArgs{
LargeEntries: panos.FiltersCommunityListRoutingProfileTypeLargeLargeEntryArray{
&panos.FiltersCommunityListRoutingProfileTypeLargeLargeEntryArgs{
Name: pulumi.String("1"),
Action: pulumi.String("permit"),
LargeCommunityRegexes: pulumi.StringArray{
pulumi.String("^1000:.*:.*"),
pulumi.String("^2000:.*:.*"),
},
},
&panos.FiltersCommunityListRoutingProfileTypeLargeLargeEntryArgs{
Name: pulumi.String("2"),
Action: pulumi.String("deny"),
LargeCommunityRegexes: pulumi.StringArray{
pulumi.String("^3000:.*:.*"),
},
},
},
},
},
})
if err != nil {
return err
}
// Regular Community List Profile
_, err = panos.NewFiltersCommunityListRoutingProfile(ctx, "regular", &panos.FiltersCommunityListRoutingProfileArgs{
Location: &panos.FiltersCommunityListRoutingProfileLocationArgs{
Template: &panos.FiltersCommunityListRoutingProfileLocationTemplateArgs{
Name: example.Name,
},
},
Name: pulumi.String("regular-community-list"),
Description: pulumi.String("Regular BGP community list for filtering routes"),
Type: &panos.FiltersCommunityListRoutingProfileTypeArgs{
Regular: &panos.FiltersCommunityListRoutingProfileTypeRegularArgs{
RegularEntries: panos.FiltersCommunityListRoutingProfileTypeRegularRegularEntryArray{
&panos.FiltersCommunityListRoutingProfileTypeRegularRegularEntryArgs{
Name: pulumi.String("1"),
Action: pulumi.String("permit"),
Communities: pulumi.StringArray{
pulumi.String("100:200"),
pulumi.String("300:400"),
},
},
&panos.FiltersCommunityListRoutingProfileTypeRegularRegularEntryArgs{
Name: pulumi.String("2"),
Action: pulumi.String("deny"),
Communities: pulumi.StringArray{
pulumi.String("500:600"),
},
},
},
},
},
})
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 the community list profiles
var example = new Panos.Template("example", new()
{
Location = new Panos.Inputs.TemplateLocationArgs
{
Panorama = null,
},
Name = "community-list-template",
});
// Extended Community List Profile
var extended = new Panos.FiltersCommunityListRoutingProfile("extended", new()
{
Location = new Panos.Inputs.FiltersCommunityListRoutingProfileLocationArgs
{
Template = new Panos.Inputs.FiltersCommunityListRoutingProfileLocationTemplateArgs
{
Name = example.Name,
},
},
Name = "extended-community-list",
Description = "Extended BGP community list for filtering routes",
Type = new Panos.Inputs.FiltersCommunityListRoutingProfileTypeArgs
{
Extended = new Panos.Inputs.FiltersCommunityListRoutingProfileTypeExtendedArgs
{
ExtendedEntries = new[]
{
new Panos.Inputs.FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArgs
{
Name = "1",
Action = "permit",
ExtendedCommunityRegexes = new[]
{
"^100:.*",
"^200:.*",
},
},
new Panos.Inputs.FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArgs
{
Name = "2",
Action = "deny",
ExtendedCommunityRegexes = new[]
{
"^300:.*",
},
},
},
},
},
});
// Large Community List Profile
var large = new Panos.FiltersCommunityListRoutingProfile("large", new()
{
Location = new Panos.Inputs.FiltersCommunityListRoutingProfileLocationArgs
{
Template = new Panos.Inputs.FiltersCommunityListRoutingProfileLocationTemplateArgs
{
Name = example.Name,
},
},
Name = "large-community-list",
Description = "Large BGP community list for filtering routes",
Type = new Panos.Inputs.FiltersCommunityListRoutingProfileTypeArgs
{
Large = new Panos.Inputs.FiltersCommunityListRoutingProfileTypeLargeArgs
{
LargeEntries = new[]
{
new Panos.Inputs.FiltersCommunityListRoutingProfileTypeLargeLargeEntryArgs
{
Name = "1",
Action = "permit",
LargeCommunityRegexes = new[]
{
"^1000:.*:.*",
"^2000:.*:.*",
},
},
new Panos.Inputs.FiltersCommunityListRoutingProfileTypeLargeLargeEntryArgs
{
Name = "2",
Action = "deny",
LargeCommunityRegexes = new[]
{
"^3000:.*:.*",
},
},
},
},
},
});
// Regular Community List Profile
var regular = new Panos.FiltersCommunityListRoutingProfile("regular", new()
{
Location = new Panos.Inputs.FiltersCommunityListRoutingProfileLocationArgs
{
Template = new Panos.Inputs.FiltersCommunityListRoutingProfileLocationTemplateArgs
{
Name = example.Name,
},
},
Name = "regular-community-list",
Description = "Regular BGP community list for filtering routes",
Type = new Panos.Inputs.FiltersCommunityListRoutingProfileTypeArgs
{
Regular = new Panos.Inputs.FiltersCommunityListRoutingProfileTypeRegularArgs
{
RegularEntries = new[]
{
new Panos.Inputs.FiltersCommunityListRoutingProfileTypeRegularRegularEntryArgs
{
Name = "1",
Action = "permit",
Communities = new[]
{
"100:200",
"300:400",
},
},
new Panos.Inputs.FiltersCommunityListRoutingProfileTypeRegularRegularEntryArgs
{
Name = "2",
Action = "deny",
Communities = new[]
{
"500:600",
},
},
},
},
},
});
});
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.FiltersCommunityListRoutingProfile;
import com.pulumi.panos.FiltersCommunityListRoutingProfileArgs;
import com.pulumi.panos.inputs.FiltersCommunityListRoutingProfileLocationArgs;
import com.pulumi.panos.inputs.FiltersCommunityListRoutingProfileLocationTemplateArgs;
import com.pulumi.panos.inputs.FiltersCommunityListRoutingProfileTypeArgs;
import com.pulumi.panos.inputs.FiltersCommunityListRoutingProfileTypeExtendedArgs;
import com.pulumi.panos.inputs.FiltersCommunityListRoutingProfileTypeLargeArgs;
import com.pulumi.panos.inputs.FiltersCommunityListRoutingProfileTypeRegularArgs;
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 the community list profiles
var example = new Template("example", TemplateArgs.builder()
.location(TemplateLocationArgs.builder()
.panorama(TemplateLocationPanoramaArgs.builder()
.build())
.build())
.name("community-list-template")
.build());
// Extended Community List Profile
var extended = new FiltersCommunityListRoutingProfile("extended", FiltersCommunityListRoutingProfileArgs.builder()
.location(FiltersCommunityListRoutingProfileLocationArgs.builder()
.template(FiltersCommunityListRoutingProfileLocationTemplateArgs.builder()
.name(example.name())
.build())
.build())
.name("extended-community-list")
.description("Extended BGP community list for filtering routes")
.type(FiltersCommunityListRoutingProfileTypeArgs.builder()
.extended(FiltersCommunityListRoutingProfileTypeExtendedArgs.builder()
.extendedEntries(
FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArgs.builder()
.name("1")
.action("permit")
.extendedCommunityRegexes(
"^100:.*",
"^200:.*")
.build(),
FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArgs.builder()
.name("2")
.action("deny")
.extendedCommunityRegexes("^300:.*")
.build())
.build())
.build())
.build());
// Large Community List Profile
var large = new FiltersCommunityListRoutingProfile("large", FiltersCommunityListRoutingProfileArgs.builder()
.location(FiltersCommunityListRoutingProfileLocationArgs.builder()
.template(FiltersCommunityListRoutingProfileLocationTemplateArgs.builder()
.name(example.name())
.build())
.build())
.name("large-community-list")
.description("Large BGP community list for filtering routes")
.type(FiltersCommunityListRoutingProfileTypeArgs.builder()
.large(FiltersCommunityListRoutingProfileTypeLargeArgs.builder()
.largeEntries(
FiltersCommunityListRoutingProfileTypeLargeLargeEntryArgs.builder()
.name("1")
.action("permit")
.largeCommunityRegexes(
"^1000:.*:.*",
"^2000:.*:.*")
.build(),
FiltersCommunityListRoutingProfileTypeLargeLargeEntryArgs.builder()
.name("2")
.action("deny")
.largeCommunityRegexes("^3000:.*:.*")
.build())
.build())
.build())
.build());
// Regular Community List Profile
var regular = new FiltersCommunityListRoutingProfile("regular", FiltersCommunityListRoutingProfileArgs.builder()
.location(FiltersCommunityListRoutingProfileLocationArgs.builder()
.template(FiltersCommunityListRoutingProfileLocationTemplateArgs.builder()
.name(example.name())
.build())
.build())
.name("regular-community-list")
.description("Regular BGP community list for filtering routes")
.type(FiltersCommunityListRoutingProfileTypeArgs.builder()
.regular(FiltersCommunityListRoutingProfileTypeRegularArgs.builder()
.regularEntries(
FiltersCommunityListRoutingProfileTypeRegularRegularEntryArgs.builder()
.name("1")
.action("permit")
.communities(
"100:200",
"300:400")
.build(),
FiltersCommunityListRoutingProfileTypeRegularRegularEntryArgs.builder()
.name("2")
.action("deny")
.communities("500:600")
.build())
.build())
.build())
.build());
}
}
resources:
# Create a template for the community list profiles
example:
type: panos:Template
properties:
location:
panorama: {}
name: community-list-template
# Extended Community List Profile
extended:
type: panos:FiltersCommunityListRoutingProfile
properties:
location:
template:
name: ${example.name}
name: extended-community-list
description: Extended BGP community list for filtering routes
type:
extended:
extendedEntries:
- name: '1'
action: permit
extendedCommunityRegexes:
- ^100:.*
- ^200:.*
- name: '2'
action: deny
extendedCommunityRegexes:
- ^300:.*
# Large Community List Profile
large:
type: panos:FiltersCommunityListRoutingProfile
properties:
location:
template:
name: ${example.name}
name: large-community-list
description: Large BGP community list for filtering routes
type:
large:
largeEntries:
- name: '1'
action: permit
largeCommunityRegexes:
- ^1000:.*:.*
- ^2000:.*:.*
- name: '2'
action: deny
largeCommunityRegexes:
- ^3000:.*:.*
# Regular Community List Profile
regular:
type: panos:FiltersCommunityListRoutingProfile
properties:
location:
template:
name: ${example.name}
name: regular-community-list
description: Regular BGP community list for filtering routes
type:
regular:
regularEntries:
- name: '1'
action: permit
communities:
- 100:200
- 300:400
- name: '2'
action: deny
communities:
- 500:600
Create FiltersCommunityListRoutingProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FiltersCommunityListRoutingProfile(name: string, args: FiltersCommunityListRoutingProfileArgs, opts?: CustomResourceOptions);@overload
def FiltersCommunityListRoutingProfile(resource_name: str,
args: FiltersCommunityListRoutingProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FiltersCommunityListRoutingProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
location: Optional[FiltersCommunityListRoutingProfileLocationArgs] = None,
description: Optional[str] = None,
name: Optional[str] = None,
type: Optional[FiltersCommunityListRoutingProfileTypeArgs] = None)func NewFiltersCommunityListRoutingProfile(ctx *Context, name string, args FiltersCommunityListRoutingProfileArgs, opts ...ResourceOption) (*FiltersCommunityListRoutingProfile, error)public FiltersCommunityListRoutingProfile(string name, FiltersCommunityListRoutingProfileArgs args, CustomResourceOptions? opts = null)
public FiltersCommunityListRoutingProfile(String name, FiltersCommunityListRoutingProfileArgs args)
public FiltersCommunityListRoutingProfile(String name, FiltersCommunityListRoutingProfileArgs args, CustomResourceOptions options)
type: panos:FiltersCommunityListRoutingProfile
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 FiltersCommunityListRoutingProfileArgs
- 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 FiltersCommunityListRoutingProfileArgs
- 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 FiltersCommunityListRoutingProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FiltersCommunityListRoutingProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FiltersCommunityListRoutingProfileArgs
- 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 filtersCommunityListRoutingProfileResource = new Panos.FiltersCommunityListRoutingProfile("filtersCommunityListRoutingProfileResource", new()
{
Location = new Panos.Inputs.FiltersCommunityListRoutingProfileLocationArgs
{
Ngfw = new Panos.Inputs.FiltersCommunityListRoutingProfileLocationNgfwArgs
{
NgfwDevice = "string",
},
Template = new Panos.Inputs.FiltersCommunityListRoutingProfileLocationTemplateArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
TemplateStack = new Panos.Inputs.FiltersCommunityListRoutingProfileLocationTemplateStackArgs
{
Name = "string",
NgfwDevice = "string",
PanoramaDevice = "string",
},
},
Description = "string",
Name = "string",
Type = new Panos.Inputs.FiltersCommunityListRoutingProfileTypeArgs
{
Extended = new Panos.Inputs.FiltersCommunityListRoutingProfileTypeExtendedArgs
{
ExtendedEntries = new[]
{
new Panos.Inputs.FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArgs
{
Name = "string",
Action = "string",
ExtendedCommunityRegexes = new[]
{
"string",
},
},
},
},
Large = new Panos.Inputs.FiltersCommunityListRoutingProfileTypeLargeArgs
{
LargeEntries = new[]
{
new Panos.Inputs.FiltersCommunityListRoutingProfileTypeLargeLargeEntryArgs
{
Name = "string",
Action = "string",
LargeCommunityRegexes = new[]
{
"string",
},
},
},
},
Regular = new Panos.Inputs.FiltersCommunityListRoutingProfileTypeRegularArgs
{
RegularEntries = new[]
{
new Panos.Inputs.FiltersCommunityListRoutingProfileTypeRegularRegularEntryArgs
{
Name = "string",
Action = "string",
Communities = new[]
{
"string",
},
},
},
},
},
});
example, err := panos.NewFiltersCommunityListRoutingProfile(ctx, "filtersCommunityListRoutingProfileResource", &panos.FiltersCommunityListRoutingProfileArgs{
Location: &panos.FiltersCommunityListRoutingProfileLocationArgs{
Ngfw: &panos.FiltersCommunityListRoutingProfileLocationNgfwArgs{
NgfwDevice: pulumi.String("string"),
},
Template: &panos.FiltersCommunityListRoutingProfileLocationTemplateArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
TemplateStack: &panos.FiltersCommunityListRoutingProfileLocationTemplateStackArgs{
Name: pulumi.String("string"),
NgfwDevice: pulumi.String("string"),
PanoramaDevice: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Type: &panos.FiltersCommunityListRoutingProfileTypeArgs{
Extended: &panos.FiltersCommunityListRoutingProfileTypeExtendedArgs{
ExtendedEntries: panos.FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArray{
&panos.FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArgs{
Name: pulumi.String("string"),
Action: pulumi.String("string"),
ExtendedCommunityRegexes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Large: &panos.FiltersCommunityListRoutingProfileTypeLargeArgs{
LargeEntries: panos.FiltersCommunityListRoutingProfileTypeLargeLargeEntryArray{
&panos.FiltersCommunityListRoutingProfileTypeLargeLargeEntryArgs{
Name: pulumi.String("string"),
Action: pulumi.String("string"),
LargeCommunityRegexes: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Regular: &panos.FiltersCommunityListRoutingProfileTypeRegularArgs{
RegularEntries: panos.FiltersCommunityListRoutingProfileTypeRegularRegularEntryArray{
&panos.FiltersCommunityListRoutingProfileTypeRegularRegularEntryArgs{
Name: pulumi.String("string"),
Action: pulumi.String("string"),
Communities: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
},
})
var filtersCommunityListRoutingProfileResource = new FiltersCommunityListRoutingProfile("filtersCommunityListRoutingProfileResource", FiltersCommunityListRoutingProfileArgs.builder()
.location(FiltersCommunityListRoutingProfileLocationArgs.builder()
.ngfw(FiltersCommunityListRoutingProfileLocationNgfwArgs.builder()
.ngfwDevice("string")
.build())
.template(FiltersCommunityListRoutingProfileLocationTemplateArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.templateStack(FiltersCommunityListRoutingProfileLocationTemplateStackArgs.builder()
.name("string")
.ngfwDevice("string")
.panoramaDevice("string")
.build())
.build())
.description("string")
.name("string")
.type(FiltersCommunityListRoutingProfileTypeArgs.builder()
.extended(FiltersCommunityListRoutingProfileTypeExtendedArgs.builder()
.extendedEntries(FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArgs.builder()
.name("string")
.action("string")
.extendedCommunityRegexes("string")
.build())
.build())
.large(FiltersCommunityListRoutingProfileTypeLargeArgs.builder()
.largeEntries(FiltersCommunityListRoutingProfileTypeLargeLargeEntryArgs.builder()
.name("string")
.action("string")
.largeCommunityRegexes("string")
.build())
.build())
.regular(FiltersCommunityListRoutingProfileTypeRegularArgs.builder()
.regularEntries(FiltersCommunityListRoutingProfileTypeRegularRegularEntryArgs.builder()
.name("string")
.action("string")
.communities("string")
.build())
.build())
.build())
.build());
filters_community_list_routing_profile_resource = panos.FiltersCommunityListRoutingProfile("filtersCommunityListRoutingProfileResource",
location={
"ngfw": {
"ngfw_device": "string",
},
"template": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
"template_stack": {
"name": "string",
"ngfw_device": "string",
"panorama_device": "string",
},
},
description="string",
name="string",
type={
"extended": {
"extended_entries": [{
"name": "string",
"action": "string",
"extended_community_regexes": ["string"],
}],
},
"large": {
"large_entries": [{
"name": "string",
"action": "string",
"large_community_regexes": ["string"],
}],
},
"regular": {
"regular_entries": [{
"name": "string",
"action": "string",
"communities": ["string"],
}],
},
})
const filtersCommunityListRoutingProfileResource = new panos.FiltersCommunityListRoutingProfile("filtersCommunityListRoutingProfileResource", {
location: {
ngfw: {
ngfwDevice: "string",
},
template: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
templateStack: {
name: "string",
ngfwDevice: "string",
panoramaDevice: "string",
},
},
description: "string",
name: "string",
type: {
extended: {
extendedEntries: [{
name: "string",
action: "string",
extendedCommunityRegexes: ["string"],
}],
},
large: {
largeEntries: [{
name: "string",
action: "string",
largeCommunityRegexes: ["string"],
}],
},
regular: {
regularEntries: [{
name: "string",
action: "string",
communities: ["string"],
}],
},
},
});
type: panos:FiltersCommunityListRoutingProfile
properties:
description: string
location:
ngfw:
ngfwDevice: string
template:
name: string
ngfwDevice: string
panoramaDevice: string
templateStack:
name: string
ngfwDevice: string
panoramaDevice: string
name: string
type:
extended:
extendedEntries:
- action: string
extendedCommunityRegexes:
- string
name: string
large:
largeEntries:
- action: string
largeCommunityRegexes:
- string
name: string
regular:
regularEntries:
- action: string
communities:
- string
name: string
FiltersCommunityListRoutingProfile 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 FiltersCommunityListRoutingProfile resource accepts the following input properties:
- Location
Filters
Community List Routing Profile Location - The location of this object.
- Description string
- Describe BGP Community-List
- Name string
- Type
Filters
Community List Routing Profile Type
- Location
Filters
Community List Routing Profile Location Args - The location of this object.
- Description string
- Describe BGP Community-List
- Name string
- Type
Filters
Community List Routing Profile Type Args
- location
Filters
Community List Routing Profile Location - The location of this object.
- description String
- Describe BGP Community-List
- name String
- type
Filters
Community List Routing Profile Type
- location
Filters
Community List Routing Profile Location - The location of this object.
- description string
- Describe BGP Community-List
- name string
- type
Filters
Community List Routing Profile Type
- location
Filters
Community List Routing Profile Location Args - The location of this object.
- description str
- Describe BGP Community-List
- name str
- type
Filters
Community List Routing Profile Type Args
- location Property Map
- The location of this object.
- description String
- Describe BGP Community-List
- name String
- type Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the FiltersCommunityListRoutingProfile 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 FiltersCommunityListRoutingProfile Resource
Get an existing FiltersCommunityListRoutingProfile 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?: FiltersCommunityListRoutingProfileState, opts?: CustomResourceOptions): FiltersCommunityListRoutingProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
location: Optional[FiltersCommunityListRoutingProfileLocationArgs] = None,
name: Optional[str] = None,
type: Optional[FiltersCommunityListRoutingProfileTypeArgs] = None) -> FiltersCommunityListRoutingProfilefunc GetFiltersCommunityListRoutingProfile(ctx *Context, name string, id IDInput, state *FiltersCommunityListRoutingProfileState, opts ...ResourceOption) (*FiltersCommunityListRoutingProfile, error)public static FiltersCommunityListRoutingProfile Get(string name, Input<string> id, FiltersCommunityListRoutingProfileState? state, CustomResourceOptions? opts = null)public static FiltersCommunityListRoutingProfile get(String name, Output<String> id, FiltersCommunityListRoutingProfileState state, CustomResourceOptions options)resources: _: type: panos:FiltersCommunityListRoutingProfile 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.
- Description string
- Describe BGP Community-List
- Location
Filters
Community List Routing Profile Location - The location of this object.
- Name string
- Type
Filters
Community List Routing Profile Type
- Description string
- Describe BGP Community-List
- Location
Filters
Community List Routing Profile Location Args - The location of this object.
- Name string
- Type
Filters
Community List Routing Profile Type Args
- description String
- Describe BGP Community-List
- location
Filters
Community List Routing Profile Location - The location of this object.
- name String
- type
Filters
Community List Routing Profile Type
- description string
- Describe BGP Community-List
- location
Filters
Community List Routing Profile Location - The location of this object.
- name string
- type
Filters
Community List Routing Profile Type
- description str
- Describe BGP Community-List
- location
Filters
Community List Routing Profile Location Args - The location of this object.
- name str
- type
Filters
Community List Routing Profile Type Args
- description String
- Describe BGP Community-List
- location Property Map
- The location of this object.
- name String
- type Property Map
Supporting Types
FiltersCommunityListRoutingProfileLocation, FiltersCommunityListRoutingProfileLocationArgs
- Ngfw
Filters
Community List Routing Profile Location Ngfw - Located in a specific NGFW device
- Template
Filters
Community List Routing Profile Location Template - Located in a specific template
- Template
Stack FiltersCommunity List Routing Profile Location Template Stack - Located in a specific template stack
- Ngfw
Filters
Community List Routing Profile Location Ngfw - Located in a specific NGFW device
- Template
Filters
Community List Routing Profile Location Template - Located in a specific template
- Template
Stack FiltersCommunity List Routing Profile Location Template Stack - Located in a specific template stack
- ngfw
Filters
Community List Routing Profile Location Ngfw - Located in a specific NGFW device
- template
Filters
Community List Routing Profile Location Template - Located in a specific template
- template
Stack FiltersCommunity List Routing Profile Location Template Stack - Located in a specific template stack
- ngfw
Filters
Community List Routing Profile Location Ngfw - Located in a specific NGFW device
- template
Filters
Community List Routing Profile Location Template - Located in a specific template
- template
Stack FiltersCommunity List Routing Profile Location Template Stack - Located in a specific template stack
- ngfw
Filters
Community List Routing Profile Location Ngfw - Located in a specific NGFW device
- template
Filters
Community List Routing Profile Location Template - Located in a specific template
- template_
stack FiltersCommunity List 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
FiltersCommunityListRoutingProfileLocationNgfw, FiltersCommunityListRoutingProfileLocationNgfwArgs
- 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
FiltersCommunityListRoutingProfileLocationTemplate, FiltersCommunityListRoutingProfileLocationTemplateArgs
- 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
FiltersCommunityListRoutingProfileLocationTemplateStack, FiltersCommunityListRoutingProfileLocationTemplateStackArgs
- 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
FiltersCommunityListRoutingProfileType, FiltersCommunityListRoutingProfileTypeArgs
FiltersCommunityListRoutingProfileTypeExtended, FiltersCommunityListRoutingProfileTypeExtendedArgs
FiltersCommunityListRoutingProfileTypeExtendedExtendedEntry, FiltersCommunityListRoutingProfileTypeExtendedExtendedEntryArgs
- Name string
- Action string
- Permit or Deny (default) this Extended Community-List Entry
- Extended
Community List<string>Regexes
- Name string
- Action string
- Permit or Deny (default) this Extended Community-List Entry
- Extended
Community []stringRegexes
- name String
- action String
- Permit or Deny (default) this Extended Community-List Entry
- extended
Community List<String>Regexes
- name string
- action string
- Permit or Deny (default) this Extended Community-List Entry
- extended
Community string[]Regexes
- name str
- action str
- Permit or Deny (default) this Extended Community-List Entry
- extended_
community_ Sequence[str]regexes
- name String
- action String
- Permit or Deny (default) this Extended Community-List Entry
- extended
Community List<String>Regexes
FiltersCommunityListRoutingProfileTypeLarge, FiltersCommunityListRoutingProfileTypeLargeArgs
FiltersCommunityListRoutingProfileTypeLargeLargeEntry, FiltersCommunityListRoutingProfileTypeLargeLargeEntryArgs
- Name string
- Action string
- Permit or Deny (default) this Large Community-List Entry
- Large
Community List<string>Regexes
- Name string
- Action string
- Permit or Deny (default) this Large Community-List Entry
- Large
Community []stringRegexes
- name String
- action String
- Permit or Deny (default) this Large Community-List Entry
- large
Community List<String>Regexes
- name string
- action string
- Permit or Deny (default) this Large Community-List Entry
- large
Community string[]Regexes
- name str
- action str
- Permit or Deny (default) this Large Community-List Entry
- large_
community_ Sequence[str]regexes
- name String
- action String
- Permit or Deny (default) this Large Community-List Entry
- large
Community List<String>Regexes
FiltersCommunityListRoutingProfileTypeRegular, FiltersCommunityListRoutingProfileTypeRegularArgs
FiltersCommunityListRoutingProfileTypeRegularRegularEntry, FiltersCommunityListRoutingProfileTypeRegularRegularEntryArgs
- Name string
- Action string
- Permit or Deny (default) this Regular Community-List Entry
- Communities List<string>
- Name string
- Action string
- Permit or Deny (default) this Regular Community-List Entry
- Communities []string
- name String
- action String
- Permit or Deny (default) this Regular Community-List Entry
- communities List<String>
- name string
- action string
- Permit or Deny (default) this Regular Community-List Entry
- communities string[]
- name str
- action str
- Permit or Deny (default) this Regular Community-List Entry
- communities Sequence[str]
- name String
- action String
- Permit or Deny (default) this Regular Community-List Entry
- communities List<String>
Package Details
- Repository
- panos paloaltonetworks/terraform-provider-panos
- License
- Notes
- This Pulumi package is based on the
panosTerraform Provider.
