opentelekomcloud.CfwFirewallV1
Explore with Pulumi AI
Up-to-date reference of API arguments for CFW firewall instance you can get at documentation portal
Manages a CFW Firewall Instance resource within OpenTelekomCloud.
Example Usage
Creating A Basic CFW Firewall Instance
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const firewall1 = new opentelekomcloud.CfwFirewallV1("firewall1", {
chargeInfo: {
chargeMode: "postPaid",
},
flavor: {
version: "standard",
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
firewall1 = opentelekomcloud.CfwFirewallV1("firewall1",
charge_info={
"charge_mode": "postPaid",
},
flavor={
"version": "standard",
})
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 {
_, err := opentelekomcloud.NewCfwFirewallV1(ctx, "firewall1", &opentelekomcloud.CfwFirewallV1Args{
ChargeInfo: &opentelekomcloud.CfwFirewallV1ChargeInfoArgs{
ChargeMode: pulumi.String("postPaid"),
},
Flavor: &opentelekomcloud.CfwFirewallV1FlavorArgs{
Version: pulumi.String("standard"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var firewall1 = new Opentelekomcloud.CfwFirewallV1("firewall1", new()
{
ChargeInfo = new Opentelekomcloud.Inputs.CfwFirewallV1ChargeInfoArgs
{
ChargeMode = "postPaid",
},
Flavor = new Opentelekomcloud.Inputs.CfwFirewallV1FlavorArgs
{
Version = "standard",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.CfwFirewallV1;
import com.pulumi.opentelekomcloud.CfwFirewallV1Args;
import com.pulumi.opentelekomcloud.inputs.CfwFirewallV1ChargeInfoArgs;
import com.pulumi.opentelekomcloud.inputs.CfwFirewallV1FlavorArgs;
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 firewall1 = new CfwFirewallV1("firewall1", CfwFirewallV1Args.builder()
.chargeInfo(CfwFirewallV1ChargeInfoArgs.builder()
.chargeMode("postPaid")
.build())
.flavor(CfwFirewallV1FlavorArgs.builder()
.version("standard")
.build())
.build());
}
}
resources:
firewall1:
type: opentelekomcloud:CfwFirewallV1
properties:
chargeInfo:
chargeMode: postPaid
flavor:
version: standard
Notes
But due to some attributes missing from the API response, it’s required to ignore changes as below:
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
// ...
const firewall1 = new opentelekomcloud.CfwFirewallV1("firewall1", {});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
# ...
firewall1 = opentelekomcloud.CfwFirewallV1("firewall1")
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 {
// ...
_, err := opentelekomcloud.NewCfwFirewallV1(ctx, "firewall1", nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
// ...
var firewall1 = new Opentelekomcloud.CfwFirewallV1("firewall1");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.CfwFirewallV1;
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 firewall1 = new CfwFirewallV1("firewall1");
}
}
resources:
firewall1:
type: opentelekomcloud:CfwFirewallV1
Create CfwFirewallV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CfwFirewallV1(name: string, args: CfwFirewallV1Args, opts?: CustomResourceOptions);
@overload
def CfwFirewallV1(resource_name: str,
args: CfwFirewallV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def CfwFirewallV1(resource_name: str,
opts: Optional[ResourceOptions] = None,
charge_info: Optional[CfwFirewallV1ChargeInfoArgs] = None,
flavor: Optional[CfwFirewallV1FlavorArgs] = None,
name: Optional[str] = None,
service_type: Optional[str] = None,
timeouts: Optional[CfwFirewallV1TimeoutsArgs] = None)
func NewCfwFirewallV1(ctx *Context, name string, args CfwFirewallV1Args, opts ...ResourceOption) (*CfwFirewallV1, error)
public CfwFirewallV1(string name, CfwFirewallV1Args args, CustomResourceOptions? opts = null)
public CfwFirewallV1(String name, CfwFirewallV1Args args)
public CfwFirewallV1(String name, CfwFirewallV1Args args, CustomResourceOptions options)
type: opentelekomcloud:CfwFirewallV1
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 CfwFirewallV1Args
- 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 CfwFirewallV1Args
- 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 CfwFirewallV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CfwFirewallV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CfwFirewallV1Args
- 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 cfwFirewallV1Resource = new Opentelekomcloud.CfwFirewallV1("cfwFirewallV1Resource", new()
{
ChargeInfo = new Opentelekomcloud.Inputs.CfwFirewallV1ChargeInfoArgs
{
ChargeMode = "string",
},
Flavor = new Opentelekomcloud.Inputs.CfwFirewallV1FlavorArgs
{
Version = "string",
Bandwidth = 0,
DefaultBandwidth = 0,
DefaultEipCount = 0,
DefaultLogStorage = 0,
DefaultVpcCount = 0,
EipCount = 0,
LogStorage = 0,
VersionCode = 0,
VpcCount = 0,
},
Name = "string",
ServiceType = "string",
Timeouts = new Opentelekomcloud.Inputs.CfwFirewallV1TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := opentelekomcloud.NewCfwFirewallV1(ctx, "cfwFirewallV1Resource", &opentelekomcloud.CfwFirewallV1Args{
ChargeInfo: &opentelekomcloud.CfwFirewallV1ChargeInfoArgs{
ChargeMode: pulumi.String("string"),
},
Flavor: &opentelekomcloud.CfwFirewallV1FlavorArgs{
Version: pulumi.String("string"),
Bandwidth: pulumi.Float64(0),
DefaultBandwidth: pulumi.Float64(0),
DefaultEipCount: pulumi.Float64(0),
DefaultLogStorage: pulumi.Float64(0),
DefaultVpcCount: pulumi.Float64(0),
EipCount: pulumi.Float64(0),
LogStorage: pulumi.Float64(0),
VersionCode: pulumi.Float64(0),
VpcCount: pulumi.Float64(0),
},
Name: pulumi.String("string"),
ServiceType: pulumi.String("string"),
Timeouts: &opentelekomcloud.CfwFirewallV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var cfwFirewallV1Resource = new CfwFirewallV1("cfwFirewallV1Resource", CfwFirewallV1Args.builder()
.chargeInfo(CfwFirewallV1ChargeInfoArgs.builder()
.chargeMode("string")
.build())
.flavor(CfwFirewallV1FlavorArgs.builder()
.version("string")
.bandwidth(0)
.defaultBandwidth(0)
.defaultEipCount(0)
.defaultLogStorage(0)
.defaultVpcCount(0)
.eipCount(0)
.logStorage(0)
.versionCode(0)
.vpcCount(0)
.build())
.name("string")
.serviceType("string")
.timeouts(CfwFirewallV1TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
cfw_firewall_v1_resource = opentelekomcloud.CfwFirewallV1("cfwFirewallV1Resource",
charge_info={
"charge_mode": "string",
},
flavor={
"version": "string",
"bandwidth": 0,
"default_bandwidth": 0,
"default_eip_count": 0,
"default_log_storage": 0,
"default_vpc_count": 0,
"eip_count": 0,
"log_storage": 0,
"version_code": 0,
"vpc_count": 0,
},
name="string",
service_type="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const cfwFirewallV1Resource = new opentelekomcloud.CfwFirewallV1("cfwFirewallV1Resource", {
chargeInfo: {
chargeMode: "string",
},
flavor: {
version: "string",
bandwidth: 0,
defaultBandwidth: 0,
defaultEipCount: 0,
defaultLogStorage: 0,
defaultVpcCount: 0,
eipCount: 0,
logStorage: 0,
versionCode: 0,
vpcCount: 0,
},
name: "string",
serviceType: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: opentelekomcloud:CfwFirewallV1
properties:
chargeInfo:
chargeMode: string
flavor:
bandwidth: 0
defaultBandwidth: 0
defaultEipCount: 0
defaultLogStorage: 0
defaultVpcCount: 0
eipCount: 0
logStorage: 0
version: string
versionCode: 0
vpcCount: 0
name: string
serviceType: string
timeouts:
create: string
delete: string
update: string
CfwFirewallV1 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 CfwFirewallV1 resource accepts the following input properties:
- Charge
Info CfwFirewall V1Charge Info Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- Flavor
Cfw
Firewall V1Flavor - Specifies the Firewall specifications. The flavor structure is documented below.
- Name string
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- Service
Type string - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - Timeouts
Cfw
Firewall V1Timeouts
- Charge
Info CfwFirewall V1Charge Info Args Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- Flavor
Cfw
Firewall V1Flavor Args - Specifies the Firewall specifications. The flavor structure is documented below.
- Name string
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- Service
Type string - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - Timeouts
Cfw
Firewall V1Timeouts Args
- charge
Info CfwFirewall V1Charge Info Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- flavor
Cfw
Firewall V1Flavor - Specifies the Firewall specifications. The flavor structure is documented below.
- name String
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- service
Type String - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - timeouts
Cfw
Firewall V1Timeouts
- charge
Info CfwFirewall V1Charge Info Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- flavor
Cfw
Firewall V1Flavor - Specifies the Firewall specifications. The flavor structure is documented below.
- name string
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- service
Type string - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - timeouts
Cfw
Firewall V1Timeouts
- charge_
info CfwFirewall V1Charge Info Args Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- flavor
Cfw
Firewall V1Flavor Args - Specifies the Firewall specifications. The flavor structure is documented below.
- name str
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- service_
type str - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - timeouts
Cfw
Firewall V1Timeouts Args
- charge
Info Property Map Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- flavor Property Map
- Specifies the Firewall specifications. The flavor structure is documented below.
- name String
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- service
Type String - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the CfwFirewallV1 resource produces the following output properties:
- Charge
Mode double - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - Engine
Type double - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- Enterprise
Project stringId - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- Feature
Toggle Dictionary<string, bool> - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- Ha
Type double - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Available boolObs - Indicates whether OBS is supported: true (yes), false (no).
- Is
Old boolFirewall Instance - Indicates whether an engine is old: true (yes), false (no)..
- bool
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- Protect
Objects List<CfwFirewall V1Protect Object> - Indicates the protected object list. The protect_objects structure is documented below.
- Resource
Id string - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- Resources
List<Cfw
Firewall V1Resource> - Indicates the firewall resource list. The resources structure is documented below.
- Status double
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- Support
Ipv6 bool - Indicates whether IPv6 is supported: true (yes), false (no).
- Support
Url boolFiltering - Indicates whether website filtering is supported: true (yes), false (no).
- Charge
Mode float64 - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - Engine
Type float64 - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- Enterprise
Project stringId - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- Feature
Toggle map[string]bool - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- Ha
Type float64 - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Available boolObs - Indicates whether OBS is supported: true (yes), false (no).
- Is
Old boolFirewall Instance - Indicates whether an engine is old: true (yes), false (no)..
- bool
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- Protect
Objects []CfwFirewall V1Protect Object - Indicates the protected object list. The protect_objects structure is documented below.
- Resource
Id string - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- Resources
[]Cfw
Firewall V1Resource - Indicates the firewall resource list. The resources structure is documented below.
- Status float64
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- Support
Ipv6 bool - Indicates whether IPv6 is supported: true (yes), false (no).
- Support
Url boolFiltering - Indicates whether website filtering is supported: true (yes), false (no).
- charge
Mode Double - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - engine
Type Double - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- enterprise
Project StringId - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- feature
Toggle Map<String,Boolean> - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- ha
Type Double - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- id String
- The provider-assigned unique ID for this managed resource.
- is
Available BooleanObs - Indicates whether OBS is supported: true (yes), false (no).
- is
Old BooleanFirewall Instance - Indicates whether an engine is old: true (yes), false (no)..
- Boolean
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- protect
Objects List<CfwFirewall V1Protect Object> - Indicates the protected object list. The protect_objects structure is documented below.
- resource
Id String - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resources
List<Cfw
Firewall V1Resource> - Indicates the firewall resource list. The resources structure is documented below.
- status Double
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- support
Ipv6 Boolean - Indicates whether IPv6 is supported: true (yes), false (no).
- support
Url BooleanFiltering - Indicates whether website filtering is supported: true (yes), false (no).
- charge
Mode number - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - engine
Type number - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- enterprise
Project stringId - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- feature
Toggle {[key: string]: boolean} - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- ha
Type number - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- id string
- The provider-assigned unique ID for this managed resource.
- is
Available booleanObs - Indicates whether OBS is supported: true (yes), false (no).
- is
Old booleanFirewall Instance - Indicates whether an engine is old: true (yes), false (no)..
- boolean
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- protect
Objects CfwFirewall V1Protect Object[] - Indicates the protected object list. The protect_objects structure is documented below.
- resource
Id string - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resources
Cfw
Firewall V1Resource[] - Indicates the firewall resource list. The resources structure is documented below.
- status number
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- support
Ipv6 boolean - Indicates whether IPv6 is supported: true (yes), false (no).
- support
Url booleanFiltering - Indicates whether website filtering is supported: true (yes), false (no).
- charge_
mode float - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - engine_
type float - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- enterprise_
project_ strid - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- feature_
toggle Mapping[str, bool] - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- ha_
type float - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- id str
- The provider-assigned unique ID for this managed resource.
- is_
available_ boolobs - Indicates whether OBS is supported: true (yes), false (no).
- is_
old_ boolfirewall_ instance - Indicates whether an engine is old: true (yes), false (no)..
- bool
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- protect_
objects Sequence[CfwFirewall V1Protect Object] - Indicates the protected object list. The protect_objects structure is documented below.
- resource_
id str - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resources
Sequence[Cfw
Firewall V1Resource] - Indicates the firewall resource list. The resources structure is documented below.
- status float
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- support_
ipv6 bool - Indicates whether IPv6 is supported: true (yes), false (no).
- support_
url_ boolfiltering - Indicates whether website filtering is supported: true (yes), false (no).
- charge
Mode Number - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - engine
Type Number - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- enterprise
Project StringId - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- feature
Toggle Map<Boolean> - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- ha
Type Number - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- id String
- The provider-assigned unique ID for this managed resource.
- is
Available BooleanObs - Indicates whether OBS is supported: true (yes), false (no).
- is
Old BooleanFirewall Instance - Indicates whether an engine is old: true (yes), false (no)..
- Boolean
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- protect
Objects List<Property Map> - Indicates the protected object list. The protect_objects structure is documented below.
- resource
Id String - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resources List<Property Map>
- Indicates the firewall resource list. The resources structure is documented below.
- status Number
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- support
Ipv6 Boolean - Indicates whether IPv6 is supported: true (yes), false (no).
- support
Url BooleanFiltering - Indicates whether website filtering is supported: true (yes), false (no).
Look up Existing CfwFirewallV1 Resource
Get an existing CfwFirewallV1 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?: CfwFirewallV1State, opts?: CustomResourceOptions): CfwFirewallV1
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
charge_info: Optional[CfwFirewallV1ChargeInfoArgs] = None,
charge_mode: Optional[float] = None,
engine_type: Optional[float] = None,
enterprise_project_id: Optional[str] = None,
feature_toggle: Optional[Mapping[str, bool]] = None,
flavor: Optional[CfwFirewallV1FlavorArgs] = None,
ha_type: Optional[float] = None,
is_available_obs: Optional[bool] = None,
is_old_firewall_instance: Optional[bool] = None,
is_support_threat_tags: Optional[bool] = None,
name: Optional[str] = None,
protect_objects: Optional[Sequence[CfwFirewallV1ProtectObjectArgs]] = None,
resource_id: Optional[str] = None,
resources: Optional[Sequence[CfwFirewallV1ResourceArgs]] = None,
service_type: Optional[str] = None,
status: Optional[float] = None,
support_ipv6: Optional[bool] = None,
support_url_filtering: Optional[bool] = None,
timeouts: Optional[CfwFirewallV1TimeoutsArgs] = None) -> CfwFirewallV1
func GetCfwFirewallV1(ctx *Context, name string, id IDInput, state *CfwFirewallV1State, opts ...ResourceOption) (*CfwFirewallV1, error)
public static CfwFirewallV1 Get(string name, Input<string> id, CfwFirewallV1State? state, CustomResourceOptions? opts = null)
public static CfwFirewallV1 get(String name, Output<String> id, CfwFirewallV1State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:CfwFirewallV1 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.
- Charge
Info CfwFirewall V1Charge Info Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- Charge
Mode double - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - Engine
Type double - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- Enterprise
Project stringId - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- Feature
Toggle Dictionary<string, bool> - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- Flavor
Cfw
Firewall V1Flavor - Specifies the Firewall specifications. The flavor structure is documented below.
- Ha
Type double - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- Is
Available boolObs - Indicates whether OBS is supported: true (yes), false (no).
- Is
Old boolFirewall Instance - Indicates whether an engine is old: true (yes), false (no)..
- bool
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- Name string
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- Protect
Objects List<CfwFirewall V1Protect Object> - Indicates the protected object list. The protect_objects structure is documented below.
- Resource
Id string - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- Resources
List<Cfw
Firewall V1Resource> - Indicates the firewall resource list. The resources structure is documented below.
- Service
Type string - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - Status double
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- Support
Ipv6 bool - Indicates whether IPv6 is supported: true (yes), false (no).
- Support
Url boolFiltering - Indicates whether website filtering is supported: true (yes), false (no).
- Timeouts
Cfw
Firewall V1Timeouts
- Charge
Info CfwFirewall V1Charge Info Args Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- Charge
Mode float64 - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - Engine
Type float64 - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- Enterprise
Project stringId - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- Feature
Toggle map[string]bool - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- Flavor
Cfw
Firewall V1Flavor Args - Specifies the Firewall specifications. The flavor structure is documented below.
- Ha
Type float64 - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- Is
Available boolObs - Indicates whether OBS is supported: true (yes), false (no).
- Is
Old boolFirewall Instance - Indicates whether an engine is old: true (yes), false (no)..
- bool
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- Name string
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- Protect
Objects []CfwFirewall V1Protect Object Args - Indicates the protected object list. The protect_objects structure is documented below.
- Resource
Id string - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- Resources
[]Cfw
Firewall V1Resource Args - Indicates the firewall resource list. The resources structure is documented below.
- Service
Type string - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - Status float64
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- Support
Ipv6 bool - Indicates whether IPv6 is supported: true (yes), false (no).
- Support
Url boolFiltering - Indicates whether website filtering is supported: true (yes), false (no).
- Timeouts
Cfw
Firewall V1Timeouts Args
- charge
Info CfwFirewall V1Charge Info Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- charge
Mode Double - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - engine
Type Double - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- enterprise
Project StringId - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- feature
Toggle Map<String,Boolean> - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- flavor
Cfw
Firewall V1Flavor - Specifies the Firewall specifications. The flavor structure is documented below.
- ha
Type Double - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- is
Available BooleanObs - Indicates whether OBS is supported: true (yes), false (no).
- is
Old BooleanFirewall Instance - Indicates whether an engine is old: true (yes), false (no)..
- Boolean
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- name String
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- protect
Objects List<CfwFirewall V1Protect Object> - Indicates the protected object list. The protect_objects structure is documented below.
- resource
Id String - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resources
List<Cfw
Firewall V1Resource> - Indicates the firewall resource list. The resources structure is documented below.
- service
Type String - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - status Double
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- support
Ipv6 Boolean - Indicates whether IPv6 is supported: true (yes), false (no).
- support
Url BooleanFiltering - Indicates whether website filtering is supported: true (yes), false (no).
- timeouts
Cfw
Firewall V1Timeouts
- charge
Info CfwFirewall V1Charge Info Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- charge
Mode number - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - engine
Type number - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- enterprise
Project stringId - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- feature
Toggle {[key: string]: boolean} - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- flavor
Cfw
Firewall V1Flavor - Specifies the Firewall specifications. The flavor structure is documented below.
- ha
Type number - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- is
Available booleanObs - Indicates whether OBS is supported: true (yes), false (no).
- is
Old booleanFirewall Instance - Indicates whether an engine is old: true (yes), false (no)..
- boolean
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- name string
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- protect
Objects CfwFirewall V1Protect Object[] - Indicates the protected object list. The protect_objects structure is documented below.
- resource
Id string - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resources
Cfw
Firewall V1Resource[] - Indicates the firewall resource list. The resources structure is documented below.
- service
Type string - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - status number
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- support
Ipv6 boolean - Indicates whether IPv6 is supported: true (yes), false (no).
- support
Url booleanFiltering - Indicates whether website filtering is supported: true (yes), false (no).
- timeouts
Cfw
Firewall V1Timeouts
- charge_
info CfwFirewall V1Charge Info Args Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- charge_
mode float - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - engine_
type float - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- enterprise_
project_ strid - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- feature_
toggle Mapping[str, bool] - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- flavor
Cfw
Firewall V1Flavor Args - Specifies the Firewall specifications. The flavor structure is documented below.
- ha_
type float - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- is_
available_ boolobs - Indicates whether OBS is supported: true (yes), false (no).
- is_
old_ boolfirewall_ instance - Indicates whether an engine is old: true (yes), false (no)..
- bool
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- name str
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- protect_
objects Sequence[CfwFirewall V1Protect Object Args] - Indicates the protected object list. The protect_objects structure is documented below.
- resource_
id str - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resources
Sequence[Cfw
Firewall V1Resource Args] - Indicates the firewall resource list. The resources structure is documented below.
- service_
type str - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - status float
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- support_
ipv6 bool - Indicates whether IPv6 is supported: true (yes), false (no).
- support_
url_ boolfiltering - Indicates whether website filtering is supported: true (yes), false (no).
- timeouts
Cfw
Firewall V1Timeouts Args
- charge
Info Property Map Specifies the billing type, which can be yearly/monthly or pay-per-use (default setting). The charge_info structure is documented below.
The
flavor
block supports:- charge
Mode Number - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing. - engine
Type Number - Indicates the engine type. Its value can only be 1 (Hillstone engine).
- enterprise
Project StringId - Indicates the Enterprise project ID, which is the ID of a project planned based on organizations.
- feature
Toggle Map<Boolean> - Provides a map of features indicating whether a feature is enabled: true (yes), false (no).
- flavor Property Map
- Specifies the Firewall specifications. The flavor structure is documented below.
- ha
Type Number - Indicates the Cluster type: 0 (active/standby), 1 (cluster). In active/standby mode, there are four nodes. Two active nodes form a cluster, and the other two are the standby of the active nodes. In cluster mode, only two nodes are started to form a cluster..
- is
Available BooleanObs - Indicates whether OBS is supported: true (yes), false (no).
- is
Old BooleanFirewall Instance - Indicates whether an engine is old: true (yes), false (no)..
- Boolean
- Indicates whether threat intelligence tags are supported: true (yes), false (no).
- name String
- Specifies the CFW firewall instance name. The CFW firewall instance name of the same type is unique in the same tenant.
- protect
Objects List<Property Map> - Indicates the protected object list. The protect_objects structure is documented below.
- resource
Id String - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resources List<Property Map>
- Indicates the firewall resource list. The resources structure is documented below.
- service
Type String - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection). - status Number
- Indicates the firewall status: -1 (waiting for payment), 0 (creating), 1 (deleting), 2 (running), 3 (upgrading), 4 (deleted), 5 (frozen), 6 (creation failed), 7 (deletion failed), 8 (freezing failed), or 9 (being stored), 10 (storage failed), or 11 (upgrade failed).
- support
Ipv6 Boolean - Indicates whether IPv6 is supported: true (yes), false (no).
- support
Url BooleanFiltering - Indicates whether website filtering is supported: true (yes), false (no).
- timeouts Property Map
Supporting Types
CfwFirewallV1ChargeInfo, CfwFirewallV1ChargeInfoArgs
- Charge
Mode string - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing.
- Charge
Mode string - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing.
- charge
Mode String - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing.
- charge
Mode string - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing.
- charge_
mode str - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing.
- charge
Mode String - Specifies the Billing mode. The value can only be
postPaid
(case-sensitive), indicating pay-per-use billing.
CfwFirewallV1Flavor, CfwFirewallV1FlavorArgs
- Version string
Specifies the Firewall edition. Only the professional edition
standard
is supported.The
charge_info
block supports:- Bandwidth double
- Indicates the bandwidth, in Mbits/s.
- Default
Bandwidth double - Indicates the default firewall bandwidth, in Mbits/s.
- Default
Eip doubleCount - Indicates the default number of EIPs.
- Default
Log doubleStorage - Indicates the default log storage, in bytes.
- Default
Vpc doubleCount - Indicates the default number of VPCs.
- Eip
Count double - Indicates the number of EIPs.
- Log
Storage double - Indicates the log storage, in bytes.
- Version
Code double - Indicates the firewall version. Its value can only be 1 (professional edition).
- Vpc
Count double - Indicates the number of VPCs.
- Version string
Specifies the Firewall edition. Only the professional edition
standard
is supported.The
charge_info
block supports:- Bandwidth float64
- Indicates the bandwidth, in Mbits/s.
- Default
Bandwidth float64 - Indicates the default firewall bandwidth, in Mbits/s.
- Default
Eip float64Count - Indicates the default number of EIPs.
- Default
Log float64Storage - Indicates the default log storage, in bytes.
- Default
Vpc float64Count - Indicates the default number of VPCs.
- Eip
Count float64 - Indicates the number of EIPs.
- Log
Storage float64 - Indicates the log storage, in bytes.
- Version
Code float64 - Indicates the firewall version. Its value can only be 1 (professional edition).
- Vpc
Count float64 - Indicates the number of VPCs.
- version String
Specifies the Firewall edition. Only the professional edition
standard
is supported.The
charge_info
block supports:- bandwidth Double
- Indicates the bandwidth, in Mbits/s.
- default
Bandwidth Double - Indicates the default firewall bandwidth, in Mbits/s.
- default
Eip DoubleCount - Indicates the default number of EIPs.
- default
Log DoubleStorage - Indicates the default log storage, in bytes.
- default
Vpc DoubleCount - Indicates the default number of VPCs.
- eip
Count Double - Indicates the number of EIPs.
- log
Storage Double - Indicates the log storage, in bytes.
- version
Code Double - Indicates the firewall version. Its value can only be 1 (professional edition).
- vpc
Count Double - Indicates the number of VPCs.
- version string
Specifies the Firewall edition. Only the professional edition
standard
is supported.The
charge_info
block supports:- bandwidth number
- Indicates the bandwidth, in Mbits/s.
- default
Bandwidth number - Indicates the default firewall bandwidth, in Mbits/s.
- default
Eip numberCount - Indicates the default number of EIPs.
- default
Log numberStorage - Indicates the default log storage, in bytes.
- default
Vpc numberCount - Indicates the default number of VPCs.
- eip
Count number - Indicates the number of EIPs.
- log
Storage number - Indicates the log storage, in bytes.
- version
Code number - Indicates the firewall version. Its value can only be 1 (professional edition).
- vpc
Count number - Indicates the number of VPCs.
- version str
Specifies the Firewall edition. Only the professional edition
standard
is supported.The
charge_info
block supports:- bandwidth float
- Indicates the bandwidth, in Mbits/s.
- default_
bandwidth float - Indicates the default firewall bandwidth, in Mbits/s.
- default_
eip_ floatcount - Indicates the default number of EIPs.
- default_
log_ floatstorage - Indicates the default log storage, in bytes.
- default_
vpc_ floatcount - Indicates the default number of VPCs.
- eip_
count float - Indicates the number of EIPs.
- log_
storage float - Indicates the log storage, in bytes.
- version_
code float - Indicates the firewall version. Its value can only be 1 (professional edition).
- vpc_
count float - Indicates the number of VPCs.
- version String
Specifies the Firewall edition. Only the professional edition
standard
is supported.The
charge_info
block supports:- bandwidth Number
- Indicates the bandwidth, in Mbits/s.
- default
Bandwidth Number - Indicates the default firewall bandwidth, in Mbits/s.
- default
Eip NumberCount - Indicates the default number of EIPs.
- default
Log NumberStorage - Indicates the default log storage, in bytes.
- default
Vpc NumberCount - Indicates the default number of VPCs.
- eip
Count Number - Indicates the number of EIPs.
- log
Storage Number - Indicates the log storage, in bytes.
- version
Code Number - Indicates the firewall version. Its value can only be 1 (professional edition).
- vpc
Count Number - Indicates the number of VPCs.
CfwFirewallV1ProtectObject, CfwFirewallV1ProtectObjectArgs
- Object
Id string - Indicates the protected object ID. It is used to distinguish Internet border protection from VPC border protection after a CFW instance is created.
- Object
Name string - Indicates the protected object name.
- Type double
- Indicates the project type: 0 (north-south), 1 (east-west).
- Object
Id string - Indicates the protected object ID. It is used to distinguish Internet border protection from VPC border protection after a CFW instance is created.
- Object
Name string - Indicates the protected object name.
- Type float64
- Indicates the project type: 0 (north-south), 1 (east-west).
- object
Id String - Indicates the protected object ID. It is used to distinguish Internet border protection from VPC border protection after a CFW instance is created.
- object
Name String - Indicates the protected object name.
- type Double
- Indicates the project type: 0 (north-south), 1 (east-west).
- object
Id string - Indicates the protected object ID. It is used to distinguish Internet border protection from VPC border protection after a CFW instance is created.
- object
Name string - Indicates the protected object name.
- type number
- Indicates the project type: 0 (north-south), 1 (east-west).
- object_
id str - Indicates the protected object ID. It is used to distinguish Internet border protection from VPC border protection after a CFW instance is created.
- object_
name str - Indicates the protected object name.
- type float
- Indicates the project type: 0 (north-south), 1 (east-west).
- object
Id String - Indicates the protected object ID. It is used to distinguish Internet border protection from VPC border protection after a CFW instance is created.
- object
Name String - Indicates the protected object name.
- type Number
- Indicates the project type: 0 (north-south), 1 (east-west).
CfwFirewallV1Resource, CfwFirewallV1ResourceArgs
- Cloud
Service stringType - Indicates the Service type, which is used by CBC.
- Resource
Id string - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- Resource
Size double - Indicates the resource quantity.
- Resource
Size doubleMeasure Id - Indicates the resource unit.
- Resource
Spec stringCode - Indicates the inventory unit code.
- Resource
Type string - Indicates the resource type.
- Cloud
Service stringType - Indicates the Service type, which is used by CBC.
- Resource
Id string - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- Resource
Size float64 - Indicates the resource quantity.
- Resource
Size float64Measure Id - Indicates the resource unit.
- Resource
Spec stringCode - Indicates the inventory unit code.
- Resource
Type string - Indicates the resource type.
- cloud
Service StringType - Indicates the Service type, which is used by CBC.
- resource
Id String - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resource
Size Double - Indicates the resource quantity.
- resource
Size DoubleMeasure Id - Indicates the resource unit.
- resource
Spec StringCode - Indicates the inventory unit code.
- resource
Type String - Indicates the resource type.
- cloud
Service stringType - Indicates the Service type, which is used by CBC.
- resource
Id string - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resource
Size number - Indicates the resource quantity.
- resource
Size numberMeasure Id - Indicates the resource unit.
- resource
Spec stringCode - Indicates the inventory unit code.
- resource
Type string - Indicates the resource type.
- cloud_
service_ strtype - Indicates the Service type, which is used by CBC.
- resource_
id str - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resource_
size float - Indicates the resource quantity.
- resource_
size_ floatmeasure_ id - Indicates the resource unit.
- resource_
spec_ strcode - Indicates the inventory unit code.
- resource_
type str - Indicates the resource type.
- cloud
Service StringType - Indicates the Service type, which is used by CBC.
- resource
Id String - Indicates the resource ID. It can be the firewall ID, bandwidth ID, EIP ID, VPC ID, or the ID returned after CBC callback.
- resource
Size Number - Indicates the resource quantity.
- resource
Size NumberMeasure Id - Indicates the resource unit.
- resource
Spec StringCode - Indicates the inventory unit code.
- resource
Type String - Indicates the resource type.
CfwFirewallV1Timeouts, CfwFirewallV1TimeoutsArgs
Import
CFW Firewall V1 Instance can be imported using the CFW firewall instance ID, id
and service type service_type
, e.g.
$ pulumi import opentelekomcloud:index/cfwFirewallV1:CfwFirewallV1 firewall_1 b4cd6aeb0b7445d3bf271457c6941544in09/service_type
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.