opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud
opentelekomcloud.getCfwFirewallV1
Explore with Pulumi AI
opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud
Up-to-date reference of API arguments for CFW firewall instance you can get at documentation portal
Get details about a CFW Firewall Instance resource within OpenTelekomCloud.
Example Usage
Creating A Basic CFW Firewall Instance
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
configuration:
firewallId:
type: dynamic
resources:
firewall1:
type: opentelekomcloud:CfwFirewallV1
properties:
id: ${firewallId}
serviceType: '0'
Using getCfwFirewallV1
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCfwFirewallV1(args: GetCfwFirewallV1Args, opts?: InvokeOptions): Promise<GetCfwFirewallV1Result>
function getCfwFirewallV1Output(args: GetCfwFirewallV1OutputArgs, opts?: InvokeOptions): Output<GetCfwFirewallV1Result>
def get_cfw_firewall_v1(id: Optional[str] = None,
service_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCfwFirewallV1Result
def get_cfw_firewall_v1_output(id: Optional[pulumi.Input[str]] = None,
service_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCfwFirewallV1Result]
func LookupCfwFirewallV1(ctx *Context, args *LookupCfwFirewallV1Args, opts ...InvokeOption) (*LookupCfwFirewallV1Result, error)
func LookupCfwFirewallV1Output(ctx *Context, args *LookupCfwFirewallV1OutputArgs, opts ...InvokeOption) LookupCfwFirewallV1ResultOutput
> Note: This function is named LookupCfwFirewallV1
in the Go SDK.
public static class GetCfwFirewallV1
{
public static Task<GetCfwFirewallV1Result> InvokeAsync(GetCfwFirewallV1Args args, InvokeOptions? opts = null)
public static Output<GetCfwFirewallV1Result> Invoke(GetCfwFirewallV1InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCfwFirewallV1Result> getCfwFirewallV1(GetCfwFirewallV1Args args, InvokeOptions options)
public static Output<GetCfwFirewallV1Result> getCfwFirewallV1(GetCfwFirewallV1Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getCfwFirewallV1:getCfwFirewallV1
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Specifies the Firewall instance ID.
- Service
Type string - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection).
- Id string
- Specifies the Firewall instance ID.
- Service
Type string - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection).
- id String
- Specifies the Firewall instance ID.
- service
Type String - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection).
- id string
- Specifies the Firewall instance ID.
- service
Type string - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection).
- id str
- Specifies the Firewall instance ID.
- service_
type str - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection).
- id String
- Specifies the Firewall instance ID.
- service
Type String - Specifies the Firewall protection type. Currently, its value can only be
0
(Internet protection).
getCfwFirewallV1 Result
The following output properties are available:
- Charge
Mode double - Indicates the billing mode: 0 (yearly/monthly), 1 (pay-per-use).
- 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).
- Flavors
List<Get
Cfw Firewall V1Flavor> - Indicates 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..
- Id string
- 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<GetCfw Firewall 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<Get
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).
- Service
Type string
- Charge
Mode float64 - Indicates the billing mode: 0 (yearly/monthly), 1 (pay-per-use).
- 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).
- Flavors
[]Get
Cfw Firewall V1Flavor - Indicates 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..
- Id string
- 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 []GetCfw Firewall 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
[]Get
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).
- Service
Type string
- charge
Mode Double - Indicates the billing mode: 0 (yearly/monthly), 1 (pay-per-use).
- 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).
- flavors
List<Get
Cfw Firewall V1Flavor> - Indicates 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..
- id String
- 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<GetCfw Firewall 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<Get
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).
- service
Type String
- charge
Mode number - Indicates the billing mode: 0 (yearly/monthly), 1 (pay-per-use).
- 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).
- flavors
Get
Cfw Firewall V1Flavor[] - Indicates 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..
- id string
- 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 GetCfw Firewall 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
Get
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).
- service
Type string
- charge_
mode float - Indicates the billing mode: 0 (yearly/monthly), 1 (pay-per-use).
- 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).
- flavors
Sequence[Get
Cfw Firewall V1Flavor] - Indicates 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..
- id str
- 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[GetCfw Firewall 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[Get
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).
- service_
type str
- charge
Mode Number - Indicates the billing mode: 0 (yearly/monthly), 1 (pay-per-use).
- 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).
- flavors List<Property Map>
- Indicates 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..
- id String
- 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.
- 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).
- service
Type String
Supporting Types
GetCfwFirewallV1Flavor
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
GetCfwFirewallV1ProtectObject
- 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).
GetCfwFirewallV1Resource
- 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.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud