1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. FwFirewallGroupV2
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.FwFirewallGroupV2

Explore with Pulumi AI

Up-to-date reference of API arguments for VPC firewall group you can get at documentation portal

Manages a v2 firewall group resource within OpenTelekomCloud.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const rule1 = new opentelekomcloud.FwRuleV2("rule1", {
    description: "drop TELNET traffic",
    action: "deny",
    protocol: "tcp",
    destinationPort: "23",
    enabled: true,
});
const rule2 = new opentelekomcloud.FwRuleV2("rule2", {
    description: "drop NTP traffic",
    action: "deny",
    protocol: "udp",
    destinationPort: "123",
    enabled: false,
});
const policy1 = new opentelekomcloud.FwPolicyV2("policy1", {rules: [
    rule1.fwRuleV2Id,
    rule2.fwRuleV2Id,
]});
const firewallGroup1 = new opentelekomcloud.FwFirewallGroupV2("firewallGroup1", {ingressPolicyId: policy1.fwPolicyV2Id});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

rule1 = opentelekomcloud.FwRuleV2("rule1",
    description="drop TELNET traffic",
    action="deny",
    protocol="tcp",
    destination_port="23",
    enabled=True)
rule2 = opentelekomcloud.FwRuleV2("rule2",
    description="drop NTP traffic",
    action="deny",
    protocol="udp",
    destination_port="123",
    enabled=False)
policy1 = opentelekomcloud.FwPolicyV2("policy1", rules=[
    rule1.fw_rule_v2_id,
    rule2.fw_rule_v2_id,
])
firewall_group1 = opentelekomcloud.FwFirewallGroupV2("firewallGroup1", ingress_policy_id=policy1.fw_policy_v2_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		rule1, err := opentelekomcloud.NewFwRuleV2(ctx, "rule1", &opentelekomcloud.FwRuleV2Args{
			Description:     pulumi.String("drop TELNET traffic"),
			Action:          pulumi.String("deny"),
			Protocol:        pulumi.String("tcp"),
			DestinationPort: pulumi.String("23"),
			Enabled:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		rule2, err := opentelekomcloud.NewFwRuleV2(ctx, "rule2", &opentelekomcloud.FwRuleV2Args{
			Description:     pulumi.String("drop NTP traffic"),
			Action:          pulumi.String("deny"),
			Protocol:        pulumi.String("udp"),
			DestinationPort: pulumi.String("123"),
			Enabled:         pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		policy1, err := opentelekomcloud.NewFwPolicyV2(ctx, "policy1", &opentelekomcloud.FwPolicyV2Args{
			Rules: pulumi.StringArray{
				rule1.FwRuleV2Id,
				rule2.FwRuleV2Id,
			},
		})
		if err != nil {
			return err
		}
		_, err = opentelekomcloud.NewFwFirewallGroupV2(ctx, "firewallGroup1", &opentelekomcloud.FwFirewallGroupV2Args{
			IngressPolicyId: policy1.FwPolicyV2Id,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var rule1 = new Opentelekomcloud.FwRuleV2("rule1", new()
    {
        Description = "drop TELNET traffic",
        Action = "deny",
        Protocol = "tcp",
        DestinationPort = "23",
        Enabled = true,
    });

    var rule2 = new Opentelekomcloud.FwRuleV2("rule2", new()
    {
        Description = "drop NTP traffic",
        Action = "deny",
        Protocol = "udp",
        DestinationPort = "123",
        Enabled = false,
    });

    var policy1 = new Opentelekomcloud.FwPolicyV2("policy1", new()
    {
        Rules = new[]
        {
            rule1.FwRuleV2Id,
            rule2.FwRuleV2Id,
        },
    });

    var firewallGroup1 = new Opentelekomcloud.FwFirewallGroupV2("firewallGroup1", new()
    {
        IngressPolicyId = policy1.FwPolicyV2Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.FwRuleV2;
import com.pulumi.opentelekomcloud.FwRuleV2Args;
import com.pulumi.opentelekomcloud.FwPolicyV2;
import com.pulumi.opentelekomcloud.FwPolicyV2Args;
import com.pulumi.opentelekomcloud.FwFirewallGroupV2;
import com.pulumi.opentelekomcloud.FwFirewallGroupV2Args;
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) {
        var rule1 = new FwRuleV2("rule1", FwRuleV2Args.builder()
            .description("drop TELNET traffic")
            .action("deny")
            .protocol("tcp")
            .destinationPort("23")
            .enabled("true")
            .build());

        var rule2 = new FwRuleV2("rule2", FwRuleV2Args.builder()
            .description("drop NTP traffic")
            .action("deny")
            .protocol("udp")
            .destinationPort("123")
            .enabled("false")
            .build());

        var policy1 = new FwPolicyV2("policy1", FwPolicyV2Args.builder()
            .rules(            
                rule1.fwRuleV2Id(),
                rule2.fwRuleV2Id())
            .build());

        var firewallGroup1 = new FwFirewallGroupV2("firewallGroup1", FwFirewallGroupV2Args.builder()
            .ingressPolicyId(policy1.fwPolicyV2Id())
            .build());

    }
}
Copy
resources:
  rule1:
    type: opentelekomcloud:FwRuleV2
    properties:
      description: drop TELNET traffic
      action: deny
      protocol: tcp
      destinationPort: '23'
      enabled: 'true'
  rule2:
    type: opentelekomcloud:FwRuleV2
    properties:
      description: drop NTP traffic
      action: deny
      protocol: udp
      destinationPort: '123'
      enabled: 'false'
  policy1:
    type: opentelekomcloud:FwPolicyV2
    properties:
      rules:
        - ${rule1.fwRuleV2Id}
        - ${rule2.fwRuleV2Id}
  firewallGroup1:
    type: opentelekomcloud:FwFirewallGroupV2
    properties:
      ingressPolicyId: ${policy1.fwPolicyV2Id}
Copy

Create FwFirewallGroupV2 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new FwFirewallGroupV2(name: string, args?: FwFirewallGroupV2Args, opts?: CustomResourceOptions);
@overload
def FwFirewallGroupV2(resource_name: str,
                      args: Optional[FwFirewallGroupV2Args] = None,
                      opts: Optional[ResourceOptions] = None)

@overload
def FwFirewallGroupV2(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      admin_state_up: Optional[bool] = None,
                      description: Optional[str] = None,
                      egress_policy_id: Optional[str] = None,
                      fw_firewall_group_v2_id: Optional[str] = None,
                      ingress_policy_id: Optional[str] = None,
                      name: Optional[str] = None,
                      ports: Optional[Sequence[str]] = None,
                      region: Optional[str] = None,
                      tenant_id: Optional[str] = None,
                      timeouts: Optional[FwFirewallGroupV2TimeoutsArgs] = None,
                      value_specs: Optional[Mapping[str, str]] = None)
func NewFwFirewallGroupV2(ctx *Context, name string, args *FwFirewallGroupV2Args, opts ...ResourceOption) (*FwFirewallGroupV2, error)
public FwFirewallGroupV2(string name, FwFirewallGroupV2Args? args = null, CustomResourceOptions? opts = null)
public FwFirewallGroupV2(String name, FwFirewallGroupV2Args args)
public FwFirewallGroupV2(String name, FwFirewallGroupV2Args args, CustomResourceOptions options)
type: opentelekomcloud:FwFirewallGroupV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args FwFirewallGroupV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args FwFirewallGroupV2Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args FwFirewallGroupV2Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args FwFirewallGroupV2Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. FwFirewallGroupV2Args
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 fwFirewallGroupV2Resource = new Opentelekomcloud.FwFirewallGroupV2("fwFirewallGroupV2Resource", new()
{
    AdminStateUp = false,
    Description = "string",
    EgressPolicyId = "string",
    FwFirewallGroupV2Id = "string",
    IngressPolicyId = "string",
    Name = "string",
    Ports = new[]
    {
        "string",
    },
    Region = "string",
    TenantId = "string",
    Timeouts = new Opentelekomcloud.Inputs.FwFirewallGroupV2TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
    ValueSpecs = 
    {
        { "string", "string" },
    },
});
Copy
example, err := opentelekomcloud.NewFwFirewallGroupV2(ctx, "fwFirewallGroupV2Resource", &opentelekomcloud.FwFirewallGroupV2Args{
	AdminStateUp:        pulumi.Bool(false),
	Description:         pulumi.String("string"),
	EgressPolicyId:      pulumi.String("string"),
	FwFirewallGroupV2Id: pulumi.String("string"),
	IngressPolicyId:     pulumi.String("string"),
	Name:                pulumi.String("string"),
	Ports: pulumi.StringArray{
		pulumi.String("string"),
	},
	Region:   pulumi.String("string"),
	TenantId: pulumi.String("string"),
	Timeouts: &opentelekomcloud.FwFirewallGroupV2TimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
	ValueSpecs: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var fwFirewallGroupV2Resource = new FwFirewallGroupV2("fwFirewallGroupV2Resource", FwFirewallGroupV2Args.builder()
    .adminStateUp(false)
    .description("string")
    .egressPolicyId("string")
    .fwFirewallGroupV2Id("string")
    .ingressPolicyId("string")
    .name("string")
    .ports("string")
    .region("string")
    .tenantId("string")
    .timeouts(FwFirewallGroupV2TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .valueSpecs(Map.of("string", "string"))
    .build());
Copy
fw_firewall_group_v2_resource = opentelekomcloud.FwFirewallGroupV2("fwFirewallGroupV2Resource",
    admin_state_up=False,
    description="string",
    egress_policy_id="string",
    fw_firewall_group_v2_id="string",
    ingress_policy_id="string",
    name="string",
    ports=["string"],
    region="string",
    tenant_id="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    },
    value_specs={
        "string": "string",
    })
Copy
const fwFirewallGroupV2Resource = new opentelekomcloud.FwFirewallGroupV2("fwFirewallGroupV2Resource", {
    adminStateUp: false,
    description: "string",
    egressPolicyId: "string",
    fwFirewallGroupV2Id: "string",
    ingressPolicyId: "string",
    name: "string",
    ports: ["string"],
    region: "string",
    tenantId: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
    valueSpecs: {
        string: "string",
    },
});
Copy
type: opentelekomcloud:FwFirewallGroupV2
properties:
    adminStateUp: false
    description: string
    egressPolicyId: string
    fwFirewallGroupV2Id: string
    ingressPolicyId: string
    name: string
    ports:
        - string
    region: string
    tenantId: string
    timeouts:
        create: string
        delete: string
        update: string
    valueSpecs:
        string: string
Copy

FwFirewallGroupV2 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 FwFirewallGroupV2 resource accepts the following input properties:

AdminStateUp bool
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
Description string
A description for the firewall group. Changing this updates the description of an existing firewall group.
EgressPolicyId string
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
FwFirewallGroupV2Id string
IngressPolicyId string
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
Name string
A name for the firewall group. Changing this updates the name of an existing firewall group.
Ports List<string>
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
Region string
TenantId string
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
Timeouts FwFirewallGroupV2Timeouts
ValueSpecs Dictionary<string, string>
Map of additional options.
AdminStateUp bool
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
Description string
A description for the firewall group. Changing this updates the description of an existing firewall group.
EgressPolicyId string
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
FwFirewallGroupV2Id string
IngressPolicyId string
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
Name string
A name for the firewall group. Changing this updates the name of an existing firewall group.
Ports []string
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
Region string
TenantId string
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
Timeouts FwFirewallGroupV2TimeoutsArgs
ValueSpecs map[string]string
Map of additional options.
adminStateUp Boolean
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
description String
A description for the firewall group. Changing this updates the description of an existing firewall group.
egressPolicyId String
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
fwFirewallGroupV2Id String
ingressPolicyId String
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
name String
A name for the firewall group. Changing this updates the name of an existing firewall group.
ports List<String>
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region String
tenantId String
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
timeouts FwFirewallGroupV2Timeouts
valueSpecs Map<String,String>
Map of additional options.
adminStateUp boolean
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
description string
A description for the firewall group. Changing this updates the description of an existing firewall group.
egressPolicyId string
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
fwFirewallGroupV2Id string
ingressPolicyId string
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
name string
A name for the firewall group. Changing this updates the name of an existing firewall group.
ports string[]
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region string
tenantId string
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
timeouts FwFirewallGroupV2Timeouts
valueSpecs {[key: string]: string}
Map of additional options.
admin_state_up bool
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
description str
A description for the firewall group. Changing this updates the description of an existing firewall group.
egress_policy_id str
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
fw_firewall_group_v2_id str
ingress_policy_id str
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
name str
A name for the firewall group. Changing this updates the name of an existing firewall group.
ports Sequence[str]
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region str
tenant_id str
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
timeouts FwFirewallGroupV2TimeoutsArgs
value_specs Mapping[str, str]
Map of additional options.
adminStateUp Boolean
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
description String
A description for the firewall group. Changing this updates the description of an existing firewall group.
egressPolicyId String
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
fwFirewallGroupV2Id String
ingressPolicyId String
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
name String
A name for the firewall group. Changing this updates the name of an existing firewall group.
ports List<String>
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region String
tenantId String
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
timeouts Property Map
valueSpecs Map<String>
Map of additional options.

Outputs

All input properties are implicitly available as output properties. Additionally, the FwFirewallGroupV2 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 FwFirewallGroupV2 Resource

Get an existing FwFirewallGroupV2 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?: FwFirewallGroupV2State, opts?: CustomResourceOptions): FwFirewallGroupV2
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        admin_state_up: Optional[bool] = None,
        description: Optional[str] = None,
        egress_policy_id: Optional[str] = None,
        fw_firewall_group_v2_id: Optional[str] = None,
        ingress_policy_id: Optional[str] = None,
        name: Optional[str] = None,
        ports: Optional[Sequence[str]] = None,
        region: Optional[str] = None,
        tenant_id: Optional[str] = None,
        timeouts: Optional[FwFirewallGroupV2TimeoutsArgs] = None,
        value_specs: Optional[Mapping[str, str]] = None) -> FwFirewallGroupV2
func GetFwFirewallGroupV2(ctx *Context, name string, id IDInput, state *FwFirewallGroupV2State, opts ...ResourceOption) (*FwFirewallGroupV2, error)
public static FwFirewallGroupV2 Get(string name, Input<string> id, FwFirewallGroupV2State? state, CustomResourceOptions? opts = null)
public static FwFirewallGroupV2 get(String name, Output<String> id, FwFirewallGroupV2State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:FwFirewallGroupV2    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
AdminStateUp bool
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
Description string
A description for the firewall group. Changing this updates the description of an existing firewall group.
EgressPolicyId string
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
FwFirewallGroupV2Id string
IngressPolicyId string
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
Name string
A name for the firewall group. Changing this updates the name of an existing firewall group.
Ports List<string>
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
Region string
TenantId string
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
Timeouts FwFirewallGroupV2Timeouts
ValueSpecs Dictionary<string, string>
Map of additional options.
AdminStateUp bool
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
Description string
A description for the firewall group. Changing this updates the description of an existing firewall group.
EgressPolicyId string
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
FwFirewallGroupV2Id string
IngressPolicyId string
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
Name string
A name for the firewall group. Changing this updates the name of an existing firewall group.
Ports []string
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
Region string
TenantId string
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
Timeouts FwFirewallGroupV2TimeoutsArgs
ValueSpecs map[string]string
Map of additional options.
adminStateUp Boolean
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
description String
A description for the firewall group. Changing this updates the description of an existing firewall group.
egressPolicyId String
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
fwFirewallGroupV2Id String
ingressPolicyId String
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
name String
A name for the firewall group. Changing this updates the name of an existing firewall group.
ports List<String>
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region String
tenantId String
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
timeouts FwFirewallGroupV2Timeouts
valueSpecs Map<String,String>
Map of additional options.
adminStateUp boolean
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
description string
A description for the firewall group. Changing this updates the description of an existing firewall group.
egressPolicyId string
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
fwFirewallGroupV2Id string
ingressPolicyId string
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
name string
A name for the firewall group. Changing this updates the name of an existing firewall group.
ports string[]
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region string
tenantId string
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
timeouts FwFirewallGroupV2Timeouts
valueSpecs {[key: string]: string}
Map of additional options.
admin_state_up bool
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
description str
A description for the firewall group. Changing this updates the description of an existing firewall group.
egress_policy_id str
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
fw_firewall_group_v2_id str
ingress_policy_id str
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
name str
A name for the firewall group. Changing this updates the name of an existing firewall group.
ports Sequence[str]
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region str
tenant_id str
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
timeouts FwFirewallGroupV2TimeoutsArgs
value_specs Mapping[str, str]
Map of additional options.
adminStateUp Boolean
Administrative up/down status for the firewall group (must be "true" or "false" if provided - defaults to "true"). Changing this updates the admin_state_up of an existing firewall group.
description String
A description for the firewall group. Changing this updates the description of an existing firewall group.
egressPolicyId String
The egress policy resource id for the firewall group. Changing this updates the egress_policy_id of an existing firewall group.
fwFirewallGroupV2Id String
ingressPolicyId String
The ingress policy resource id for the firewall group. Changing this updates the ingress_policy_id of an existing firewall group.
name String
A name for the firewall group. Changing this updates the name of an existing firewall group.
ports List<String>
Port(s) to associate this firewall group instance with. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region String
tenantId String
The owner of the floating IP. Required if admin wants to create a firewall group for another tenant. Changing this creates a new firewall group.
timeouts Property Map
valueSpecs Map<String>
Map of additional options.

Supporting Types

FwFirewallGroupV2Timeouts
, FwFirewallGroupV2TimeoutsArgs

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

Import

Firewall Groups can be imported using the id, e.g.

$ pulumi import opentelekomcloud:index/fwFirewallGroupV2:FwFirewallGroupV2 firewall_group_1 c9e39fb2-ce20-46c8-a964-25f3898c7a97
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.