1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. FwFirewallGroupV2
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.FwFirewallGroupV2

Explore with Pulumi AI

Manages a v2 firewall group resource within FlexibleEngine.

Example Usage

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

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

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

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		rule1, err := flexibleengine.NewFwRuleV2(ctx, "rule1", &flexibleengine.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 := flexibleengine.NewFwRuleV2(ctx, "rule2", &flexibleengine.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 := flexibleengine.NewFwPolicyV2(ctx, "policy1", &flexibleengine.FwPolicyV2Args{
			Rules: pulumi.StringArray{
				rule1.FwRuleV2Id,
				rule2.FwRuleV2Id,
			},
		})
		if err != nil {
			return err
		}
		_, err = flexibleengine.NewFwFirewallGroupV2(ctx, "firewallGroup1", &flexibleengine.FwFirewallGroupV2Args{
			IngressPolicyId: policy1.FwPolicyV2Id,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

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

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

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

    var firewallGroup1 = new Flexibleengine.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.flexibleengine.FwRuleV2;
import com.pulumi.flexibleengine.FwRuleV2Args;
import com.pulumi.flexibleengine.FwPolicyV2;
import com.pulumi.flexibleengine.FwPolicyV2Args;
import com.pulumi.flexibleengine.FwFirewallGroupV2;
import com.pulumi.flexibleengine.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: flexibleengine:FwRuleV2
    properties:
      description: drop TELNET traffic
      action: deny
      protocol: tcp
      destinationPort: '23'
      enabled: 'true'
  rule2:
    type: flexibleengine:FwRuleV2
    properties:
      description: drop NTP traffic
      action: deny
      protocol: udp
      destinationPort: '123'
      enabled: 'false'
  policy1:
    type: flexibleengine:FwPolicyV2
    properties:
      rules:
        - ${rule1.fwRuleV2Id}
        - ${rule2.fwRuleV2Id}
  firewallGroup1:
    type: flexibleengine: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: flexibleengine: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 Flexibleengine.FwFirewallGroupV2("fwFirewallGroupV2Resource", new()
{
    Description = "string",
    EgressPolicyId = "string",
    FwFirewallGroupV2Id = "string",
    IngressPolicyId = "string",
    Name = "string",
    Ports = new[]
    {
        "string",
    },
    Region = "string",
    Timeouts = new Flexibleengine.Inputs.FwFirewallGroupV2TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
Copy
example, err := flexibleengine.NewFwFirewallGroupV2(ctx, "fwFirewallGroupV2Resource", &flexibleengine.FwFirewallGroupV2Args{
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"),
Timeouts: &.FwFirewallGroupV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
Copy
var fwFirewallGroupV2Resource = new FwFirewallGroupV2("fwFirewallGroupV2Resource", FwFirewallGroupV2Args.builder()
    .description("string")
    .egressPolicyId("string")
    .fwFirewallGroupV2Id("string")
    .ingressPolicyId("string")
    .name("string")
    .ports("string")
    .region("string")
    .timeouts(FwFirewallGroupV2TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
Copy
fw_firewall_group_v2_resource = flexibleengine.FwFirewallGroupV2("fwFirewallGroupV2Resource",
    description="string",
    egress_policy_id="string",
    fw_firewall_group_v2_id="string",
    ingress_policy_id="string",
    name="string",
    ports=["string"],
    region="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
Copy
const fwFirewallGroupV2Resource = new flexibleengine.FwFirewallGroupV2("fwFirewallGroupV2Resource", {
    description: "string",
    egressPolicyId: "string",
    fwFirewallGroupV2Id: "string",
    ingressPolicyId: "string",
    name: "string",
    ports: ["string"],
    region: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
Copy
type: flexibleengine:FwFirewallGroupV2
properties:
    description: string
    egressPolicyId: string
    fwFirewallGroupV2Id: string
    ingressPolicyId: string
    name: string
    ports:
        - string
    region: string
    timeouts:
        create: string
        delete: string
        update: 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

Deprecated: Deprecated

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
The ID of the firewall group.
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>
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
Region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
TenantId string

Deprecated: Deprecated

Timeouts FwFirewallGroupV2Timeouts
ValueSpecs Dictionary<string, string>

Deprecated: Deprecated

AdminStateUp bool

Deprecated: Deprecated

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
The ID of the firewall group.
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
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
Region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
TenantId string

Deprecated: Deprecated

Timeouts FwFirewallGroupV2TimeoutsArgs
ValueSpecs map[string]string

Deprecated: Deprecated

adminStateUp Boolean

Deprecated: Deprecated

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
The ID of the firewall group.
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>
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region String
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
tenantId String

Deprecated: Deprecated

timeouts FwFirewallGroupV2Timeouts
valueSpecs Map<String,String>

Deprecated: Deprecated

adminStateUp boolean

Deprecated: Deprecated

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
The ID of the firewall group.
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[]
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
tenantId string

Deprecated: Deprecated

timeouts FwFirewallGroupV2Timeouts
valueSpecs {[key: string]: string}

Deprecated: Deprecated

admin_state_up bool

Deprecated: Deprecated

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
The ID of the firewall group.
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]
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region str
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
tenant_id str

Deprecated: Deprecated

timeouts FwFirewallGroupV2TimeoutsArgs
value_specs Mapping[str, str]

Deprecated: Deprecated

adminStateUp Boolean

Deprecated: Deprecated

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
The ID of the firewall group.
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>
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region String
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
tenantId String

Deprecated: Deprecated

timeouts Property Map
valueSpecs Map<String>

Deprecated: Deprecated

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: flexibleengine: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

Deprecated: Deprecated

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
The ID of the firewall group.
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>
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
Region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
TenantId string

Deprecated: Deprecated

Timeouts FwFirewallGroupV2Timeouts
ValueSpecs Dictionary<string, string>

Deprecated: Deprecated

AdminStateUp bool

Deprecated: Deprecated

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
The ID of the firewall group.
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
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
Region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
TenantId string

Deprecated: Deprecated

Timeouts FwFirewallGroupV2TimeoutsArgs
ValueSpecs map[string]string

Deprecated: Deprecated

adminStateUp Boolean

Deprecated: Deprecated

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
The ID of the firewall group.
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>
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region String
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
tenantId String

Deprecated: Deprecated

timeouts FwFirewallGroupV2Timeouts
valueSpecs Map<String,String>

Deprecated: Deprecated

adminStateUp boolean

Deprecated: Deprecated

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
The ID of the firewall group.
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[]
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region string
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
tenantId string

Deprecated: Deprecated

timeouts FwFirewallGroupV2Timeouts
valueSpecs {[key: string]: string}

Deprecated: Deprecated

admin_state_up bool

Deprecated: Deprecated

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
The ID of the firewall group.
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]
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region str
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
tenant_id str

Deprecated: Deprecated

timeouts FwFirewallGroupV2TimeoutsArgs
value_specs Mapping[str, str]

Deprecated: Deprecated

adminStateUp Boolean

Deprecated: Deprecated

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
The ID of the firewall group.
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>
The ports associated with this firewall group instance. Must be a list of strings. Changing this updates the associated routers of an existing firewall group.
region String
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
tenantId String

Deprecated: Deprecated

timeouts Property Map
valueSpecs Map<String>

Deprecated: Deprecated

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 flexibleengine: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
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.